Chromium Code Reviews
DescriptionTurn down BackgroundImageGeometry aggressive LayoutUnit conversion by a notch
https://codereview.chromium.org/1456813002 was landed with the best of
intentions. While still a progression, it turned out to be a little
aggressive about the LayoutUnit conversion. The patch kept the notion
of flooring our tile size, but moved that operation to the end of the
background image geometry calculation. This ends up causing trouble
on even relatively simple pages with scaled background images.
We continue to get the benefit of calculating offsets in LayoutUnits
from the previous patch, but this will fix the issue of using pre-floored
tile size values by applying the sub-pixel heuristic before using the
calculated tile size for other calculations.
BUG=565926
Committed: https://crrev.com/9c60333a01e2cad5fa21318c39c8a330244b3d56
Cr-Commit-Position: refs/heads/master@{#363805}
Patch Set 1 #Patch Set 2 : Heuristic! #Patch Set 3 : add test and test expectations #Patch Set 4 : Add comment to additional sub-pixel heuristic call #
Total comments: 3
Messages
Total messages: 13 (4 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||