DescriptionSet root clip layer not to maskToBounds.
The root layer doesn't need to clip because it's drawn to a correctly
sized surface. The only reason it might be needed is to avoid
overlapping the scrollbars, but that's already dealt with by tree
order. The root clip causes a lot of bugs in dynamic viewport scenarios
on Android, and it's not needed elsewhere, so disable masksToBounds
on it. Even though it's now a no-op, we leave it in the tree structure
for consistency and because the clip bounds still contain useful
information.
Also rename "clip layer" to "container layer" since it now doesn't
necessarily clip.
NOTRY=true
BUG=259141
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154172
Patch Set 1 #
Total comments: 2
Patch Set 2 : Change to isMainFrame() #Patch Set 3 : Rename to containerLayer and add NeedsRebaselines #Patch Set 4 : Change Slow test to NeedsManualRebaseline #Patch Set 5 : Another ClipLayer rename #
Messages
Total messages: 9 (0 generated)
|