DescriptionRemove LayoutObject::LayerCreationAllowedForSubtree.
This method disallows PaintLayer creation inside a LayoutSVGHiddenContainer,
even for overflow-clipping elements that would normally require a PaintLayer.
This wreaks havoc in the layout code which assumes in numerous places that
HasOverflowClip() implies GetScrollableArea() != nullptr.
It was added in http://crrev.com/88e9d056 to fix a paint bug, but it seems
unnecessary now. The svg/foreignObject layout tests all pass and the original
test case on http://wkbug.com/41386 still renders correctly after this change.
BUG=710087
Review-Url: https://codereview.chromium.org/2851763004
Cr-Commit-Position: refs/heads/master@{#468233}
Committed: https://chromium.googlesource.com/chromium/src/+/c566301a304c90ca1c1b05c9ed96e09b4c0392da
Patch Set 1 #
Messages
Total messages: 13 (9 generated)
|