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

Issue 2280963002: Fix clip-path reference box/coordinate space setup for hit-testing (Closed)

Created:
4 years, 3 months ago by fs
Modified:
4 years, 3 months ago
Reviewers:
Stephen Chennney
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, slimming-paint-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix clip-path reference box/coordinate space setup for hit-testing Synchronize hit-testing code with rendering code with regards to how the coordinate space is handled (for userSpaceOnUse <clipPath>s), and how the reference boxes is computed. Also "straighten" out code-flow a bit while here. BUG=418484 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/9b55e0544cd1f6770d3e2664cef25fadca00487c Cr-Commit-Position: refs/heads/master@{#414730}

Patch Set 1 #

Patch Set 2 : Go through with test-cleanup... #

Total comments: 4

Patch Set 3 : DCHECK rootLayer; rename computeReferenceBox to boxForClipPath #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -27 lines) Patch
A third_party/WebKit/LayoutTests/css3/masking/clip-path-hittest.html View 1 1 chunk +36 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/css3/masking/clip-path-hittest-reference-usou.html View 1 1 chunk +41 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 1 chunk +31 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp View 1 2 2 chunks +2 lines, -9 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
fs
4 years, 3 months ago (2016-08-26 13:11:00 UTC) #7
Stephen Chennney
No significant problem, but I found a couple of things to be less clear than ...
4 years, 3 months ago (2016-08-26 14:19:28 UTC) #10
fs
https://codereview.chromium.org/2280963002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayer.cpp File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): https://codereview.chromium.org/2280963002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode2076 third_party/WebKit/Source/core/paint/PaintLayer.cpp:2076: convertToLayerCoords(rootLayer, offsetToRootLayer); On 2016/08/26 at 14:19:28, Stephen Chennney wrote: ...
4 years, 3 months ago (2016-08-26 14:41:51 UTC) #11
Stephen Chennney
On 2016/08/26 14:41:51, fs wrote: > https://codereview.chromium.org/2280963002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayer.cpp > File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): > > https://codereview.chromium.org/2280963002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode2076 > ...
4 years, 3 months ago (2016-08-26 15:02:59 UTC) #12
fs
On 2016/08/26 at 15:02:59, schenney wrote: > On 2016/08/26 14:41:51, fs wrote: > > https://codereview.chromium.org/2280963002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayer.cpp ...
4 years, 3 months ago (2016-08-26 15:09:09 UTC) #14
Stephen Chennney
Thanks. LGTM.
4 years, 3 months ago (2016-08-26 15:27:13 UTC) #16
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/2280963002/40001
4 years, 3 months ago (2016-08-26 15:49:12 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-08-26 16:44:36 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-08-26 16:46:07 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9b55e0544cd1f6770d3e2664cef25fadca00487c
Cr-Commit-Position: refs/heads/master@{#414730}

Powered by Google App Engine
This is Rietveld 408576698