DescriptionUnstick background position origins
In the FillLayer class, reset the {x,y} origins each time {x,y}
position is set and require the caller to later call
setBackground{X,Y}Origin to override the default value. This fits
better with the way 'initial' values are set from the StyleBuilder and
avoids the problem of origins lingering in the FillLayer when setting
the 2-value versions of background-position.
Furthermore, split the flag m_backgroundOriginSet into one for each
property so that something like 'background-position-x:initial' won't
reset the position origin for both properties.
Also, remove code for handling 'initial' for {x,y} position, 'initial'
is already handled in the StyleBuilder further up the call chain.
BUG=304721
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160243
Patch Set 1 #Patch Set 2 : Re-upload in an attempt to avoid 'old chunk mismatch' #Messages
Total messages: 4 (0 generated)
|