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

Issue 1323443003: Don't transfer viewport to an invalid/dirty <use> instance (Closed)

Created:
5 years, 3 months ago by fs
Modified:
5 years, 3 months ago
Reviewers:
pdr.
CC:
blink-reviews, krit, f(malita), gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Don't transfer viewport to an invalid/dirty <use> instance If an update is pending for a <use> shadow tree, the width/height needn't be updated, since the update of the shadow tree will do it. Make sure to clear the reference to the instance root when invalidating the shadow tree. Also split clearResourceReferences into a few different parts. BUG=516051 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201738

Patch Set 1 #

Patch Set 2 : Clear shadow tree on invalidation instead. #

Patch Set 3 : Only clear the instance root. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -12 lines) Patch
A LayoutTests/svg/custom/use-target-removed.svg View 1 chunk +15 lines, -0 lines 0 comments Download
A + LayoutTests/svg/custom/use-target-removed-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/svg/SVGUseElement.h View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M Source/core/svg/SVGUseElement.cpp View 1 2 8 chunks +24 lines, -10 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
fs
Optionally I guess m_targetElementInstance could be cleared (and the shadow tree dropped etc) up front ...
5 years, 3 months ago (2015-08-31 13:09:43 UTC) #2
pdr.
On 2015/08/31 at 13:09:43, fs wrote: > Optionally I guess m_targetElementInstance could be cleared (and ...
5 years, 3 months ago (2015-09-01 21:46:57 UTC) #3
fs
On 2015/09/01 21:46:57, pdr wrote: > On 2015/08/31 at 13:09:43, fs wrote: > > Optionally ...
5 years, 3 months ago (2015-09-03 10:35:56 UTC) #4
pdr.
Wow, thanks! LGTM
5 years, 3 months ago (2015-09-03 19:40:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1323443003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1323443003/40001
5 years, 3 months ago (2015-09-03 19:40:41 UTC) #7
commit-bot: I haz the power
5 years, 3 months ago (2015-09-03 19:45:27 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201738

Powered by Google App Engine
This is Rietveld 408576698