DescriptionFix clippingContainer for fixed position elements.
Fixed position elements are clipped by CSS clip ancestors,
which may be between the fixed position element and its
containingBlock. So clippingAncestor needs to walk up the
ancestors of a fixed positioned element manually instead
of using containingBlock directly.
I believe this only applies to fixed position elements.
Other elements can use containingBlock because an absolutely
positioned ancestor will never get skipped in the
containingBlock traversal and CSS clip only applies to
absolutely positioned elements.
BUG=347172
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168473
Patch Set 1 #
Total comments: 2
Patch Set 2 : add transform with overflow hidden test case #
Total comments: 1
Patch Set 3 : const_cast #
Messages
Total messages: 13 (0 generated)
|