DescriptionPreserve identical values for background-size and -webkit-mask-size.
This patch fixes a bug where background-size/-webkit-mask-size would be
incorrectly serialized to text when the values in the pair are identical.
Setting 'background-size: 100% 100%', for example, would produce a text
representation of 'background-size: 100%', which is treated as
'background-position: 100% auto'.
For -webkit-background-size, '100%' really does mean '100% 100%', so we
maintain a policy of 'DropIdenticalValues' for this property.
BUG=364962
TEST=fast/backgrounds/size/parsing-background-sizes-values.html
fast/masking/parsing-mask.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172548
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rebase #Patch Set 3 : Remove comment. #
Messages
Total messages: 6 (0 generated)
|