Chromium Code Reviews
DescriptionFix aspect ratio for rounded background image size
The previous calculation to maintain aspect size when one
background image dimension is round and the other is auto
was using the new tile size for the rounded dimension for the
aspect ratio calculation, which is wrong. This change switches
to using the original aspect ratio.
New tests for both horizontal and vertical cases.
R=fmalita@chromium.org
BUG=612278
Committed: https://crrev.com/60855ad5ed67add982bf86c34cb14b44e7b85b75
Cr-Commit-Position: refs/heads/master@{#404154}
Patch Set 1 #Patch Set 2 : Fix tests #Patch Set 3 : Remove new tests; we already have coverage #Messages
Total messages: 17 (7 generated)
|