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

Issue 2371933003: Fix paint invalidation for composited vertical-rl having overflow (Closed)

Created:
4 years, 2 months ago by Xianzhu
Modified:
4 years, 2 months ago
Reviewers:
chrishtr, wkorman
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, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix paint invalidation for composited vertical-rl having overflow Previously we special cased in slowMapToVisualRectInAncestorSpace() in PaintInvalidationState.cpp for LayoutView background invalidation which was because LayoutView::localOverflowRectForPaintInvalidation() was in physical coordinates while other localOverflowRectForPaintInvalidation() implementations are in flipped physical coordinates. This CL removes the special case, but let LayoutView::localOverflowRectForPaintInvalidation() returns a rect in flipped physical coordinates. BUG=650417 TEST=paint/invalidation/composited-vertical-rl-overflow.html CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/049d91617706a0fd7f96e861364e4340c966d855 Cr-Commit-Position: refs/heads/master@{#421362}

Patch Set 1 #

Patch Set 2 : - #

Total comments: 4

Patch Set 3 : - #

Total comments: 2

Patch Set 4 : pixel snapping looks incorrect #

Total comments: 2

Patch Set 5 : - #

Messages

Total messages: 26 (15 generated)
Xianzhu
4 years, 2 months ago (2016-09-26 23:44:24 UTC) #9
chrishtr
https://codereview.chromium.org/2371933003/diff/20001/third_party/WebKit/Source/core/layout/LayoutView.cpp File third_party/WebKit/Source/core/layout/LayoutView.cpp (left): https://codereview.chromium.org/2371933003/diff/20001/third_party/WebKit/Source/core/layout/LayoutView.cpp#oldcode297 third_party/WebKit/Source/core/layout/LayoutView.cpp:297: return LayoutRect(documentRect()); Why not just return layoutOverflowRect() here? This ...
4 years, 2 months ago (2016-09-27 00:02:44 UTC) #10
Xianzhu
https://codereview.chromium.org/2371933003/diff/20001/third_party/WebKit/Source/core/layout/LayoutView.cpp File third_party/WebKit/Source/core/layout/LayoutView.cpp (left): https://codereview.chromium.org/2371933003/diff/20001/third_party/WebKit/Source/core/layout/LayoutView.cpp#oldcode297 third_party/WebKit/Source/core/layout/LayoutView.cpp:297: return LayoutRect(documentRect()); On 2016/09/27 00:02:43, chrishtr wrote: > Why ...
4 years, 2 months ago (2016-09-27 00:26:45 UTC) #11
wkorman
lgtm
4 years, 2 months ago (2016-09-27 18:22:23 UTC) #16
chrishtr
https://codereview.chromium.org/2371933003/diff/10010/third_party/WebKit/Source/core/layout/LayoutView.cpp File third_party/WebKit/Source/core/layout/LayoutView.cpp (left): https://codereview.chromium.org/2371933003/diff/10010/third_party/WebKit/Source/core/layout/LayoutView.cpp#oldcode297 third_party/WebKit/Source/core/layout/LayoutView.cpp:297: return LayoutRect(documentRect()); Not your fault, but could you add ...
4 years, 2 months ago (2016-09-27 18:24:34 UTC) #17
Xianzhu
https://codereview.chromium.org/2371933003/diff/10010/third_party/WebKit/Source/core/layout/LayoutView.cpp File third_party/WebKit/Source/core/layout/LayoutView.cpp (left): https://codereview.chromium.org/2371933003/diff/10010/third_party/WebKit/Source/core/layout/LayoutView.cpp#oldcode297 third_party/WebKit/Source/core/layout/LayoutView.cpp:297: return LayoutRect(documentRect()); On 2016/09/27 18:24:34, chrishtr wrote: > Not ...
4 years, 2 months ago (2016-09-27 18:36:23 UTC) #18
chrishtr
lgtm https://codereview.chromium.org/2371933003/diff/50001/third_party/WebKit/Source/core/layout/LayoutView.cpp File third_party/WebKit/Source/core/layout/LayoutView.cpp (right): https://codereview.chromium.org/2371933003/diff/50001/third_party/WebKit/Source/core/layout/LayoutView.cpp#newcode825 third_party/WebKit/Source/core/layout/LayoutView.cpp:825: // TODO(crbug.com/650768): The pixel snapping looks incorect. nit: ...
4 years, 2 months ago (2016-09-27 18:55:20 UTC) #19
Xianzhu
https://codereview.chromium.org/2371933003/diff/50001/third_party/WebKit/Source/core/layout/LayoutView.cpp File third_party/WebKit/Source/core/layout/LayoutView.cpp (right): https://codereview.chromium.org/2371933003/diff/50001/third_party/WebKit/Source/core/layout/LayoutView.cpp#newcode825 third_party/WebKit/Source/core/layout/LayoutView.cpp:825: // TODO(crbug.com/650768): The pixel snapping looks incorect. On 2016/09/27 ...
4 years, 2 months ago (2016-09-27 20:48:39 UTC) #20
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/2371933003/70001
4 years, 2 months ago (2016-09-27 20:49:00 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:70001)
4 years, 2 months ago (2016-09-27 22:28:50 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 22:31:08 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/049d91617706a0fd7f96e861364e4340c966d855
Cr-Commit-Position: refs/heads/master@{#421362}

Powered by Google App Engine
This is Rietveld 408576698