Chromium Code Reviews
DescriptionFixes incorrect values seen in clip property
Previously getComputedStyle(el).clip would be 'box: 0 0 0 0' when the
element's clip was 'rect(auto, auto, auto, auto)'. This change corrects the
behaviour so that each side of the box is considered correctly (i.e. as
rect(auto auto auto auto)), even the box as a whole is not 'auto'.
Firefox displays rect(auto, auto, auto, auto) in the case where
rect(auto, auto, auto, auto) is used, and rect(auto, X, auto, Y) where rect(auto, X, auto, Y) is used.
Our behavior now matches that.
BUG=412921
Committed: https://crrev.com/19c08f5cdff2046ee2fd143c3582c2e5994fb7aa
Cr-Commit-Position: refs/heads/master@{#363747}
Patch Set 1 #
Messages
Total messages: 14 (7 generated)
|
||||||||||||||||||||||||||||