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

Issue 2375043002: Fix up that no render SVG shape when change clip-path to visible after hidden. (Closed)

Created:
4 years, 2 months ago by hyunjunekim2
Modified:
3 years, 9 months ago
Reviewers:
pdr., fs
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 up that no render SVG shape when change clip-path to visible after hidden. If the client using clip-path is no-change and resources is toggled to visible from hidden, can't render client. Because set wrong mode on |LayoutSVGResourceContainer|. So request repainting if layoutObjects of |LayoutSVGResourceContainer| is invalidated about painting. BUG=590153 Review-Url: https://codereview.chromium.org/2375043002 Cr-Commit-Position: refs/heads/master@{#456612} Committed: https://chromium.googlesource.com/chromium/src/+/83fe4349b1c39dbfb74619f20852c8dc99b6a7c1

Patch Set 1 #

Patch Set 2 : WIP 590153 #

Patch Set 3 : WIP 590153 #

Patch Set 4 : WIP 590153 #

Patch Set 5 : Issue 590153 #

Patch Set 6 : Issue 590153 #

Total comments: 8

Patch Set 7 : Issue 590153 #

Patch Set 8 : Issue 590153 #

Patch Set 9 : Issue 590153 #

Patch Set 10 : Issue 590153 #

Total comments: 3

Patch Set 11 : Remove the old resource #

Total comments: 2

Patch Set 12 : Fix up that no render SVG shape when change clip-path to visible after hidden. #

Patch Set 13 #

Patch Set 14 : rebase #

Total comments: 1

Patch Set 15 : rebase #

Patch Set 16 #

Patch Set 17 : Fix up that no render SVG shape when change clip-path to visible after hidden. #

Total comments: 1

Patch Set 18 : Fix up that no render SVG shape when change clip-path to visible after hidden. #

Patch Set 19 : Fix up that no render SVG shape when change clip-path to visible after hidden. #

Total comments: 1

Patch Set 20 : Fix up that no render SVG shape when change clip-path to visible after hidden. #

Total comments: 1

Patch Set 21 : Fix up that no render SVG shape when change clip-path to visible after hidden. #

Total comments: 1

Patch Set 22 : Issue 590153 #

Total comments: 2

Patch Set 23 : Fix up that no render SVG shape when change clip-path to visible after hidden. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +28 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element-expected.html View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +18 lines, -1 line 0 comments Download

Messages

Total messages: 50 (24 generated)
hyunjunekim2
@fs, pdr Long time on see. Return here. And I made a patch. Could you ...
4 years, 1 month ago (2016-10-30 06:56:30 UTC) #10
fs
https://codereview.chromium.org/2375043002/diff/100001/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html File third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html (right): https://codereview.chromium.org/2375043002/diff/100001/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html#newcode12 third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html:12: setTimeout(function() { It looks like it'd be better to ...
4 years, 1 month ago (2016-10-31 09:59:22 UTC) #11
hyunjunekim2
https://codereview.chromium.org/2375043002/diff/100001/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html File third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html (right): https://codereview.chromium.org/2375043002/diff/100001/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html#newcode12 third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html:12: setTimeout(function() { On 2016/10/31 09:59:22, fs wrote: > It ...
4 years, 1 month ago (2016-10-31 13:18:30 UTC) #12
hyunjunekim2
@fs, Could you tell me advice about latest patch? I changed a patch to run ...
4 years, 1 month ago (2016-11-07 01:23:58 UTC) #18
fs
On 2016/11/07 at 01:23:58, hyunjune.kim wrote: > @fs, > Could you tell me advice about ...
4 years, 1 month ago (2016-11-07 12:03:30 UTC) #19
hyunjunekim2
fs, Could you check PS 11? Thank you.
3 years, 11 months ago (2017-01-05 16:25:51 UTC) #21
fs
https://codereview.chromium.org/2375043002/diff/200001/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp (right): https://codereview.chromium.org/2375043002/diff/200001/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp#newcode93 third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp:93: if (style()->visibility() == EVisibility::Visible && I think this may ...
3 years, 11 months ago (2017-01-05 17:01:47 UTC) #22
hyunjunekim2
fs, Could you check PS 12? Thank you.
3 years, 11 months ago (2017-01-15 14:40:48 UTC) #23
fs
https://codereview.chromium.org/2375043002/diff/260001/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp File third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp (right): https://codereview.chromium.org/2375043002/diff/260001/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp#newcode132 third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp:132: LayoutSVGResourceContainer::markForLayoutAndParentResourceInvalidation(client, true); Why isn't this handled by the call ...
3 years, 11 months ago (2017-01-16 10:03:10 UTC) #24
hyunjunekim2
fs, Changed that it can be handled on |markForLayoutAndParentResourceInvalidation|. Could you check it?
3 years, 11 months ago (2017-01-19 12:59:20 UTC) #26
fs
https://codereview.chromium.org/2375043002/diff/320001/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp (right): https://codereview.chromium.org/2375043002/diff/320001/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp#newcode313 third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp:313: LayoutSVGResourceContainer* container = The line just above here will ...
3 years, 11 months ago (2017-01-19 13:24:41 UTC) #27
hyunjunekim2
On 2017/01/19 13:24:41, fs wrote: > https://codereview.chromium.org/2375043002/diff/320001/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp > File third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp > (right): > > https://codereview.chromium.org/2375043002/diff/320001/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp#newcode313 ...
3 years, 11 months ago (2017-01-19 14:31:43 UTC) #28
fs
On 2017/01/19 at 14:31:43, hyunjune.kim wrote: > On 2017/01/19 13:24:41, fs wrote: > > https://codereview.chromium.org/2375043002/diff/320001/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp ...
3 years, 11 months ago (2017-01-19 15:03:48 UTC) #29
hyunjunekim2
On PS 19, If container needs |PaintInvalidation|, set 'true' in SVGResourcesCache::clientStyleChanged. Could you check it? ...
3 years, 11 months ago (2017-01-23 12:40:00 UTC) #32
fs
https://codereview.chromium.org/2375043002/diff/360001/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp File third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp (right): https://codereview.chromium.org/2375043002/diff/360001/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp#newcode133 third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp:133: if (layoutObject->isSVGResourceContainer()) What if we only toggle 'visibility' on ...
3 years, 11 months ago (2017-01-23 12:44:24 UTC) #33
hyunjunekim2
On 2017/01/23 12:44:24, fs wrote: > https://codereview.chromium.org/2375043002/diff/360001/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp > File third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp (right): > > https://codereview.chromium.org/2375043002/diff/360001/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp#newcode133 > ...
3 years, 11 months ago (2017-01-23 12:55:57 UTC) #34
fs
On 2017/01/23 at 12:55:57, hyunjune.kim wrote: > On 2017/01/23 12:44:24, fs wrote: > > https://codereview.chromium.org/2375043002/diff/360001/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp ...
3 years, 11 months ago (2017-01-23 13:03:40 UTC) #35
hyunjunekim2
fs, Could separate |markForLayoutAndParentResourceInvalidation| function such as PS21? Because other codes use it that no ...
3 years, 10 months ago (2017-01-30 11:50:26 UTC) #36
fs
Sorry for the delay, I was travelling. https://codereview.chromium.org/2375043002/diff/400001/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp (right): https://codereview.chromium.org/2375043002/diff/400001/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp#newcode319 third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp:319: void LayoutSVGResourceContainer::markForLayoutAndParentResourceInvalidation( ...
3 years, 10 months ago (2017-02-06 10:17:35 UTC) #37
hyunjunekim2
Ok, i'm going to work it. thank you for your advice.
3 years, 10 months ago (2017-02-14 12:35:59 UTC) #38
hyunjunekim2
fs, i updated PS22. Could you review it? Thank you.
3 years, 10 months ago (2017-02-19 09:34:12 UTC) #42
fs
lgtm https://codereview.chromium.org/2375043002/diff/420001/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp File third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp (right): https://codereview.chromium.org/2375043002/diff/420001/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp#newcode142 third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp:142: bool needsLayout = diff.needsPaintInvalidation() && It would be ...
3 years, 10 months ago (2017-02-20 09:07:44 UTC) #43
hyunjunekim2
Could you check this PS? Thank you. https://codereview.chromium.org/2375043002/diff/420001/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp File third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp (right): https://codereview.chromium.org/2375043002/diff/420001/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp#newcode142 third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp:142: bool needsLayout ...
3 years, 9 months ago (2017-03-13 10:40:12 UTC) #44
fs
On 2017/03/13 at 10:40:12, hyunjune.kim wrote: > Could you check this PS? Thank you. > ...
3 years, 9 months ago (2017-03-13 10:49:50 UTC) #45
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/2375043002/440001
3 years, 9 months ago (2017-03-14 01:29:28 UTC) #47
commit-bot: I haz the power
3 years, 9 months ago (2017-03-14 03:23:44 UTC) #50
Message was sent while issue was closed.
Committed patchset #23 (id:440001) as
https://chromium.googlesource.com/chromium/src/+/83fe4349b1c39dbfb74619f20852...

Powered by Google App Engine
This is Rietveld 408576698