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

Issue 1856993004: Let mapToVisualRectInAncestorSpace apply ancestor clip if not scrollsOverflow (Closed)

Created:
4 years, 8 months ago by Xianzhu
Modified:
4 years, 8 months ago
Reviewers:
pdr., chrishtr
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@Saturated
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Let mapToVisualRectInAncestorSpace apply ancestor clip if not scrollsOverflow BUG=597902 Committed: https://crrev.com/ad7b21ace472d41b5b90ddab45f5e7bd44e737f2 Cr-Commit-Position: refs/heads/master@{#385919}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : Update unit test #

Patch Set 10 : Use the same clip policy for slow path and fast path #

Total comments: 2

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -47 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutBox.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutInline.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp View 1 2 3 4 5 6 7 8 9 4 chunks +4 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp View 1 2 3 4 5 6 7 8 5 chunks +74 lines, -6 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
Xianzhu
4 years, 8 months ago (2016-04-06 23:12:45 UTC) #3
chrishtr
lgtm Please update the CL title to specify that non-scrollsOverflow clips are applied, but scrollsOverflow ...
4 years, 8 months ago (2016-04-06 23:18:19 UTC) #4
Xianzhu
https://codereview.chromium.org/1856993004/diff/110001/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp File third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp (right): https://codereview.chromium.org/1856993004/diff/110001/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp#newcode398 third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp:398: // LayoutObject::mapToVisualRectInAncestorSpace() doesn't apply overflow clip of ancestor. On ...
4 years, 8 months ago (2016-04-06 23:37:33 UTC) #6
Xianzhu
Will use this CL to fix bug 597902. Will upload a new patch soon.
4 years, 8 months ago (2016-04-06 23:38:25 UTC) #7
Xianzhu
pdr@ Ptal. The latest patch set contains more changes over the patch set that chrishtr@ ...
4 years, 8 months ago (2016-04-07 17:14:00 UTC) #9
pdr.
This patch looks sound to me. Just one request for cleanup. https://codereview.chromium.org/1856993004/diff/190001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): ...
4 years, 8 months ago (2016-04-07 18:23:45 UTC) #10
Xianzhu
https://codereview.chromium.org/1856993004/diff/190001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/1856993004/diff/190001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode1992 third_party/WebKit/Source/core/layout/LayoutBox.cpp:1992: if (container != ancestor || !containerBox->scrollsOverflow()) { On 2016/04/07 ...
4 years, 8 months ago (2016-04-07 19:04:51 UTC) #11
pdr.
LGTM
4 years, 8 months ago (2016-04-07 21:49:47 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1856993004/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1856993004/210001
4 years, 8 months ago (2016-04-07 21:53:52 UTC) #15
commit-bot: I haz the power
Committed patchset #11 (id:210001)
4 years, 8 months ago (2016-04-07 23:25:38 UTC) #17
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 23:27:13 UTC) #19
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/ad7b21ace472d41b5b90ddab45f5e7bd44e737f2
Cr-Commit-Position: refs/heads/master@{#385919}

Powered by Google App Engine
This is Rietveld 408576698