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

Issue 2642193011: Unify all types of overflow-related clips for paint and hit testing. (Closed)

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

Description

Unify all types of overflow-related clips for paint and hit testing. This patch: * Centralizes business logic around clipping overflow into LayoutBox instead of spread across paint layer, box and property tree use-cases for painting/ hit-testing. * Makes control clip a kind of overflow clip. Now shouldClipOverflow() and overflowClipRect() apply overflow and control clipping for overflow:hidden/scroll CSS, contain: paint, control clip and SVG viewport overflow clipping. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2642193011 Cr-Commit-Position: refs/heads/master@{#445503} Committed: https://chromium.googlesource.com/chromium/src/+/aa907828b27ae82aeb95be2f86d35d03cc67dc54

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Patch Set 4 : none #

Patch Set 5 : none #

Patch Set 6 : none #

Patch Set 7 : none #

Patch Set 8 : hanna #

Patch Set 9 : none #

Patch Set 10 : none #

Total comments: 2

Patch Set 11 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -55 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac-mac10.10/paint/invalidation/control-clip-expected.txt View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac-mac10.9/paint/invalidation/control-clip-expected.txt View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/control-clip-expected.txt View 1 2 3 4 5 6 7 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.h View 1 2 3 4 5 6 2 chunks +11 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/paint/BlockPainter.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/BoxClipper.cpp View 2 chunks +2 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp View 1 2 3 4 5 6 7 8 9 10 5 chunks +9 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 45 (39 generated)
chrishtr
3 years, 11 months ago (2017-01-22 18:59:02 UTC) #29
pdr.
Great change! Much like. One question https://codereview.chromium.org/2642193011/diff/180001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2642193011/diff/180001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode1795 third_party/WebKit/Source/core/layout/LayoutBox.cpp:1795: if (hasControlClip()) I ...
3 years, 11 months ago (2017-01-23 18:46:12 UTC) #32
chrishtr
https://codereview.chromium.org/2642193011/diff/180001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2642193011/diff/180001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode1795 third_party/WebKit/Source/core/layout/LayoutBox.cpp:1795: if (hasControlClip()) On 2017/01/23 at 18:46:12, pdr. wrote: > ...
3 years, 11 months ago (2017-01-23 18:53:20 UTC) #34
pdr.
On 2017/01/23 at 18:53:20, chrishtr wrote: > https://codereview.chromium.org/2642193011/diff/180001/third_party/WebKit/Source/core/layout/LayoutBox.cpp > File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): > > https://codereview.chromium.org/2642193011/diff/180001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode1795 ...
3 years, 11 months ago (2017-01-23 18:54:04 UTC) #37
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/2642193011/200001
3 years, 11 months ago (2017-01-23 21:55:25 UTC) #42
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 22:01:42 UTC) #45
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/aa907828b27ae82aeb95be2f86d3...

Powered by Google App Engine
This is Rietveld 408576698