Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Issue 2851763004: Remove LayoutObject::LayerCreationAllowedForSubtree. (Closed)

Created:
3 years, 7 months ago by skobes
Modified:
3 years, 7 months ago
Reviewers:
szager1
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -32 lines) Patch
A third_party/WebKit/LayoutTests/svg/foreignObject/overflow-clip-in-hidden-container-crash.html View 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/foreignObject/overflow-clip-in-hidden-container-crash-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.h View 2 chunks +0 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 chunk +0 lines, -18 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
skobes
(please CQ for me if it LGTY)
3 years, 7 months ago (2017-04-29 02:09:58 UTC) #7
szager1
lgtm
3 years, 7 months ago (2017-04-29 09:05:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2851763004/1
3 years, 7 months ago (2017-04-29 09:05:54 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-04-29 09:09:39 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/c566301a304c90ca1c1b05c9ed96...

Powered by Google App Engine
This is Rietveld 408576698