Chromium Code Reviews
DescriptionAbsolute-position the initial containing block.
LayoutView needs to clip its contents when root layer scrolling is enabled. It
already does, but only as a side effect of being composited, and some things
hit-test in front of the scrollbars because DeprecatedPaintLayerClipper thinks
absolute-positioned content can only be clipped by positioned containers.
Generally a static-positioned scroller will not clip absolute-positioned
descendants, so this seems like the cleanest fix (versus special-casing
LayoutView in DPLClipper).
I think there are other cases where the assumption in DPLClipper may be wrong
(in particular, when the scroller has a transform), but that can be addressed
separately; see http://crbug.com/499083.
Two test cases in WebFrameTest no longer pass with root layer scrolling, but
they only worked by accident. Fix tracked in http://crbug.com/499053.
BUG=495856
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197054
Patch Set 1 : #
Messages
Total messages: 12 (7 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||