https://github.com/web-platform-tests/wpt
Revision 42a98283681188744c47f2bba33ad818a5b8d585 authored by Stephen Chenney on 20 December 2018, 17:40:54 UTC, committed by Chromium WPT Sync on 20 December 2018, 17:40:54 UTC
Sub-pixel min-width calculations were rounding up always, as that
ensures they can contain their contents. However, background image
painting always uses a different rounding method (pixel snapping),
as does the rest of the rendering pipeline. This causes problems
under zoom with auto background size and images chosen to fit the cell
exactly.

So round the min cell size instead. A half pixel size reduction is
highly unlikely to hide content, but gaps in backgrounds are really
noticeable.

R=fs@opera.com
Bug: 873400
Change-Id: I07c52e5f1cf1d00637123aad46da89628ac87ff9
1 parent 871bf4b
History
Tip revision: 42a98283681188744c47f2bba33ad818a5b8d585 authored by Stephen Chenney on 20 December 2018, 17:40:54 UTC
Fix table cell background painting under zoom and min-width
Tip revision: 42a9828
File Mode Size
submission
META.yml -rw-r--r-- 43 bytes

back to top