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

Issue 2379753003: [SPInvalidation] Fix paint offset issue of descendants of composited svg root (Closed)

Created:
4 years, 2 months ago by Xianzhu
Modified:
4 years, 2 months ago
Reviewers:
pdr.
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

[SPInvalidation] Fix paint offset issue of descendants of composited svg root We should only exclude container offset if it's included in the mapping result. Svg root records paint offset in itself, creates svgLocalToBorderBoxTransform and clears paint offset for descendants so the result doesn't include the svg root's paint offset. This fixes svg/custom/svg-root-with-opacity.html in slimmingPaintInvalidation mode. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/3d949beb350914d3bbdd8b2df3da71d549a1f674 Cr-Commit-Position: refs/heads/master@{#422025}

Patch Set 1 #

Patch Set 2 : Update comment #

Total comments: 6

Patch Set 3 : paintOffsetFromState #

Total comments: 2

Patch Set 4 : update tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -54 lines) Patch
M third_party/WebKit/Source/core/paint/ObjectPaintProperties.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp View 1 2 1 chunk +14 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintInvalidator.cpp View 1 2 2 chunks +12 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp View 1 2 3 9 chunks +52 lines, -40 lines 0 comments Download

Messages

Total messages: 31 (18 generated)
Xianzhu
4 years, 2 months ago (2016-09-29 16:15:12 UTC) #9
pdr.
https://codereview.chromium.org/2379753003/diff/20001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2379753003/diff/20001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode82 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:82: // Exclude container's paint offset from the result to ...
4 years, 2 months ago (2016-09-29 21:00:54 UTC) #10
Xianzhu
https://codereview.chromium.org/2379753003/diff/20001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2379753003/diff/20001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode82 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:82: // Exclude container's paint offset from the result to ...
4 years, 2 months ago (2016-09-29 22:18:06 UTC) #12
Xianzhu
https://codereview.chromium.org/2379753003/diff/40001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2379753003/diff/40001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode130 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:130: point.moveBy(-paintOffsetFromContainerTreeState); This was a bug but doesn't matter much ...
4 years, 2 months ago (2016-09-29 22:21:35 UTC) #14
Xianzhu
Updated tests.
4 years, 2 months ago (2016-09-29 23:13:11 UTC) #18
pdr.
https://codereview.chromium.org/2379753003/diff/20001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2379753003/diff/20001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode82 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:82: // Exclude container's paint offset from the result to ...
4 years, 2 months ago (2016-09-29 23:31:54 UTC) #20
Xianzhu
https://codereview.chromium.org/2379753003/diff/20001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2379753003/diff/20001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode82 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:82: // Exclude container's paint offset from the result to ...
4 years, 2 months ago (2016-09-30 00:20:24 UTC) #21
pdr.
https://codereview.chromium.org/2379753003/diff/20001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2379753003/diff/20001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode82 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:82: // Exclude container's paint offset from the result to ...
4 years, 2 months ago (2016-09-30 04:06:00 UTC) #24
pdr.
LGTM
4 years, 2 months ago (2016-09-30 04:10:22 UTC) #25
Xianzhu
https://codereview.chromium.org/2379753003/diff/20001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2379753003/diff/20001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode82 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:82: // Exclude container's paint offset from the result to ...
4 years, 2 months ago (2016-09-30 04:10:24 UTC) #26
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/2379753003/60001
4 years, 2 months ago (2016-09-30 04:14:09 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-09-30 04:19:17 UTC) #29
commit-bot: I haz the power
4 years, 2 months ago (2016-09-30 04:21:54 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3d949beb350914d3bbdd8b2df3da71d549a1f674
Cr-Commit-Position: refs/heads/master@{#422025}

Powered by Google App Engine
This is Rietveld 408576698