DescriptionBackground image should clamp to minimum size(1, 1) after scale.
While one of the values of background-size is auto we have to use the
appropriate scale to maintain our aspect ratio. In this step we might
end up getting new image width or height as zero. In this case we should
clamp to minimum value as 1.
BUG=424048
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185238
Patch Set 1 #
Total comments: 3
Patch Set 2 : Ref test #Patch Set 3 : Fixed the regressions #
Messages
Total messages: 27 (11 generated)
|