Chromium Code Reviews
Descriptioncc: Make impl-thread property trees handle fixed-position layers
This makes impl-thread property trees correctly handle fixed-position
layers, as long as there's no bounds_delta (handling bounds_delta is
left for another CL). This CL makes the offset between a fixed-position
layer and its container unchangeable on the compositor thread, so that
it remains unaffected by impl scrolling of intermediate layers. This
also changes the transform node used as the parent of a fixed-position
node when the fixed-position container is scrollable: since scrolls of
this container aren't supposed to affect contained fixed-position
layers, yet do contribute to this node's local transform, this node's
parent is used as the transform tree parent of contained fixed-position
nodes.
This makes the portions of LayerPostionConstraintTests that do not
involve bounds_delta pass with verification enabled.
BUG=481585
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/5e47dec44b5f6211afd795da37d8b4a257ae133c
Cr-Commit-Position: refs/heads/master@{#332055}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Don't rebuild impl property trees #
Total comments: 6
Patch Set 4 : Add DCHECK #
Messages
Total messages: 9 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||