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

Issue 1839973003: If the <use> is hidden and the child of it is visible, should clip the non-resource (Closed)

Created:
4 years, 8 months ago by hyunjunekim2
Modified:
4 years, 7 months ago
Reviewers:
pdr., fs
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, krit, eae+blinkwatch, f(malita), gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

If the <use> is hidden and the child of it is visible, should clip the non-resource. If <use> element that is child of <clipPath> element is hidden and the child of it is visible, should clip the non-resource element. Because check the child of <use> element whether is visible or not. If it is visible, contains on clip boundaries. There is the change one more on this test named 'clip-path-referencing-use2.svg' is "50x50" -> "0x0" change. Because if the clipping target doesn't need clipping, doesn't contain clip boundary about <use> element on calculateClipContentPaintInvalidationRect function. And remove reportError() to print error info for <clipPath> usage on SVGUseElement. BUG=590153 Committed: https://crrev.com/53cbed151cea16f4d27cc887a272d9e672c41b75 Cr-Commit-Position: refs/heads/master@{#390669}

Patch Set 1 : wrong #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 24

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Total comments: 22

Patch Set 16 : #

Patch Set 17 : #

Patch Set 18 : #

Patch Set 19 : #

Total comments: 2

Patch Set 20 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -11 lines) Patch
M third_party/WebKit/LayoutTests/platform/linux/svg/custom/clip-path-referencing-use2-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -2 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/clip-path/visible-clip-path-as-hidden-use-element.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +10 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/svg/clip-path/visible-clip-path-as-hidden-use-element-expected.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/clip-path/visible-nested-clip-path-as-hidden-use-element.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +13 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/svg/clip-path/visible-nested-clip-path-as-hidden-use-element-expected.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 0 chunks +-1 lines, --1 lines 0 comments Download
M third_party/WebKit/LayoutTests/svg/custom/clip-path-referencing-use2-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGUseElement.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGUseElement.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 75 (62 generated)
hyunjunekim2
Could you check PS9? And Could you give me advice? Thank you.
4 years, 8 months ago (2016-04-19 08:09:31 UTC) #20
fs
I have a hard time making something out of the description/commit message. I think what ...
4 years, 8 months ago (2016-04-19 10:17:28 UTC) #29
hyunjunekim2
fs, Could you give me feedback and advice? Thank you. https://codereview.chromium.org/1839973003/diff/160001/third_party/WebKit/LayoutTests/svg/clip-path/invisible-clip-path-as-geometry-element-expected.html File third_party/WebKit/LayoutTests/svg/clip-path/invisible-clip-path-as-geometry-element-expected.html (right): https://codereview.chromium.org/1839973003/diff/160001/third_party/WebKit/LayoutTests/svg/clip-path/invisible-clip-path-as-geometry-element-expected.html#newcode1 ...
4 years, 7 months ago (2016-04-27 12:18:40 UTC) #36
fs
Please work in the subject/description/commit message. It'd seem like a good thing to have 'visibility' ...
4 years, 7 months ago (2016-04-27 14:14:40 UTC) #37
fs
On 2016/04/27 at 14:14:40, fs wrote: ... > https://codereview.chromium.org/1839973003/diff/160001/third_party/WebKit/Source/core/svg/SVGUseElement.cpp#newcode483 > third_party/WebKit/Source/core/svg/SVGUseElement.cpp:483: Node* n = userAgentShadowRoot()->firstChild(); ...
4 years, 7 months ago (2016-04-27 14:16:13 UTC) #38
hyunjunekim2
Could you check PS19? Thank you. https://codereview.chromium.org/1839973003/diff/160001/third_party/WebKit/Source/core/svg/SVGUseElement.cpp File third_party/WebKit/Source/core/svg/SVGUseElement.cpp (right): https://codereview.chromium.org/1839973003/diff/160001/third_party/WebKit/Source/core/svg/SVGUseElement.cpp#newcode483 third_party/WebKit/Source/core/svg/SVGUseElement.cpp:483: Node* n = ...
4 years, 7 months ago (2016-04-29 12:59:09 UTC) #56
hyunjunekim2
On 2016/04/27 14:16:13, fs wrote: > On 2016/04/27 at 14:14:40, fs wrote: > ... > ...
4 years, 7 months ago (2016-04-29 13:00:40 UTC) #57
fs
LGTM w/ nit https://codereview.chromium.org/1839973003/diff/360001/third_party/WebKit/LayoutTests/svg/clip-path/visible-nested-clip-path-as-hidden-use-element.html File third_party/WebKit/LayoutTests/svg/clip-path/visible-nested-clip-path-as-hidden-use-element.html (right): https://codereview.chromium.org/1839973003/diff/360001/third_party/WebKit/LayoutTests/svg/clip-path/visible-nested-clip-path-as-hidden-use-element.html#newcode4 third_party/WebKit/LayoutTests/svg/clip-path/visible-nested-clip-path-as-hidden-use-element.html:4: <rect id="rect" x="0" y="0" width="100" height="100" ...
4 years, 7 months ago (2016-04-29 13:36:13 UTC) #64
hyunjunekim2
Done. https://codereview.chromium.org/1839973003/diff/360001/third_party/WebKit/LayoutTests/svg/clip-path/visible-nested-clip-path-as-hidden-use-element.html File third_party/WebKit/LayoutTests/svg/clip-path/visible-nested-clip-path-as-hidden-use-element.html (right): https://codereview.chromium.org/1839973003/diff/360001/third_party/WebKit/LayoutTests/svg/clip-path/visible-nested-clip-path-as-hidden-use-element.html#newcode4 third_party/WebKit/LayoutTests/svg/clip-path/visible-nested-clip-path-as-hidden-use-element.html:4: <rect id="rect" x="0" y="0" width="100" height="100" visibility="visible"/> On ...
4 years, 7 months ago (2016-04-29 14:14:25 UTC) #65
hyunjunekim2
fs, Go ahead. Thank you.
4 years, 7 months ago (2016-04-29 15:21:25 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1839973003/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1839973003/380001
4 years, 7 months ago (2016-04-29 15:21:53 UTC) #69
commit-bot: I haz the power
Committed patchset #20 (id:380001)
4 years, 7 months ago (2016-04-29 16:33:55 UTC) #73
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:26:23 UTC) #74
Message was sent while issue was closed.
Patchset 20 (id:??) landed as
https://crrev.com/53cbed151cea16f4d27cc887a272d9e672c41b75
Cr-Commit-Position: refs/heads/master@{#390669}

Powered by Google App Engine
This is Rietveld 408576698