DescriptionSpurious scrollbars should not be drawn when overflow is applied to a frame.
It doesn't really make sense to get overflow scrollbars for an iframe (the
real scrollbars are drawn within the frame, and the frame itself cannot
overflow in any useful way).
Rather than address this in the legacy compositing code, this makes the style
system prevent this nonsensical state from ever occurring, by adjusting the
overflow property to visible for all frame elements.
This matches the existing behavior of the non-composited path here: no
scrollbars are drawn in response to the 'overflow' property on a frame.
BUG=384154
TEST=LayoutTests/scrollbars/iframe-overflow-scroll-ignored.html
Committed: https://crrev.com/55de872c090f19fb64fb5e865a86c97334a4f0f0
Cr-Commit-Position: refs/heads/master@{#383855}
Patch Set 1 #
Total comments: 1
Patch Set 2 : early-return #
Messages
Total messages: 12 (6 generated)
|