Chromium Code Reviews
Description[cc] Change semantics of fixed-pos container layer
In the old semantics, when we set a layer to be fixed-pos container,
it means descendant fixed-pos layers don't move relative to the
current layer's parent.
This made it impossible (without extra dummy layers) to correctly
implement fixed-pos container that has overflow scroll, because in
this case fixed-pos descendants do scroll along (don't move relative
to the scrolling layer, instead of its parent).
This CL changes the semantics of the fixed-pos container flag, so
the fixed-pos container layer itself becomes the anchor of fixed-pos
descendants, instead of its parent.
BUG=715338
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Patch Set 1 #
Total comments: 3
Patch Set 2 : update tests #Patch Set 3 : add back inner viewport container layer as fixed-pos container #
Total comments: 1
Messages
Total messages: 19 (13 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||