DescriptionA container of out-of-flow positioned descendants should be an offsetParent.
This reflects a recent spec change [1]. Previously, the condition was that the
position property be different from 'static', but it's unreasonable that we
shouldn't also include other objects that serve as containing blocks for fixed
and absolutely positioned descendants, such as "transform". Gecko and Edge
already have this behavior.
[1] https://github.com/w3c/csswg-drafts/commit/180b348a1ac0931043cd195651fc5164463d2bce
BUG=645397
Committed: https://crrev.com/69f0712961a7ec8aedcd3ee724fa23c1aa8175fc
Cr-Commit-Position: refs/heads/master@{#417903}
Patch Set 1 #
Messages
Total messages: 17 (12 generated)
|