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

Issue 272523002: Remove SVGElementInstance (Closed)

Created:
6 years, 7 months ago by rwlbuis
Modified:
6 years, 6 months ago
CC:
arv+blink, blink-reviews, Inactive, krit, ed+blinkwatch_opera.com, f(malita), fs, gyuyoung.kim_webkit.org, kouhei+svg_chromium.org, Stephen Chennney, watchdog-blink-watchlist_google.com
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Remove SVGElementInstance The SVGElementInstance tree has been removed from SVG2: http://www.w3.org/TR/SVG2/changes.html#structure This patch removes it completely. The exact naming of the various trees after removing the instance tree is still under discussion and will be implemented in a follow-up patch. BUG=313438

Patch Set 1 #

Patch Set 2 : Different approach #

Patch Set 3 : Fix use-nested-children.svg #

Patch Set 4 : Convert instanceTreeIsLoading #

Patch Set 5 : Even less SVGElementInstance #

Patch Set 6 : New approach #

Patch Set 7 : Slight improvement #

Patch Set 8 : Fix test expectations again! #

Patch Set 9 : Remove local test #

Patch Set 10 : Try to go green #

Patch Set 11 : Try to fix debug tests #

Patch Set 12 : Try to fix debug tests for real #

Patch Set 13 : Fix TestExpectations #

Total comments: 1

Patch Set 14 : Use attach/detach #

Total comments: 10

Patch Set 15 : Address issues #

Patch Set 16 : Fix various issues #

Patch Set 17 : Some small cleanups #

Total comments: 29

Patch Set 18 : Address latest review rounds #

Patch Set 19 : Rebase against ToT #

Patch Set 20 : Remove foundProblem mechanism #

Total comments: 4

Patch Set 21 : Address esprehns nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -634 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/svg/custom/global-constructors-expected.txt View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/svg/custom/script-tests/global-constructors.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
D LayoutTests/svg/custom/use-instanceRoot-modifications.svg View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -43 lines 0 comments Download
D LayoutTests/svg/custom/use-instanceRoot-modifications-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -19 lines 0 comments Download
D LayoutTests/svg/custom/use-instanceRoot-with-use-removed.svg View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -33 lines 0 comments Download
D LayoutTests/svg/custom/use-instanceRoot-with-use-removed-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/virtual/stable/webexposed/global-constructors-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/webexposed/global-constructors-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +0 lines, -3 lines 0 comments Download
M Source/core/svg/SVGElement.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGElement.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +20 lines, -1 line 0 comments Download
D Source/core/svg/SVGElementInstance.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -116 lines 0 comments Download
D Source/core/svg/SVGElementInstance.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -136 lines 0 comments Download
D Source/core/svg/SVGElementInstance.idl View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -38 lines 0 comments Download
M Source/core/svg/SVGElementRareData.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGUseElement.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +12 lines, -22 lines 0 comments Download
M Source/core/svg/SVGUseElement.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 17 chunks +97 lines, -211 lines 0 comments Download
M Source/core/svg/SVGUseElement.idl View 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -4 lines 0 comments Download
M Source/modules/EventTargetModules.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 41 (0 generated)
rwlbuis
This is finally showing up green! I think there are two main areas to fix ...
6 years, 6 months ago (2014-06-03 18:15:06 UTC) #1
eseidel
https://codereview.chromium.org/272523002/diff/350001/Source/core/svg/SVGElement.cpp File Source/core/svg/SVGElement.cpp (right): https://codereview.chromium.org/272523002/diff/350001/Source/core/svg/SVGElement.cpp#newcode528 Source/core/svg/SVGElement.cpp:528: // ASSERT(instance->inUseShadowTree()); Why commit commented out code?
6 years, 6 months ago (2014-06-03 18:20:25 UTC) #2
rwlbuis
On 2014/06/03 18:20:25, eseidel wrote: > https://codereview.chromium.org/272523002/diff/350001/Source/core/svg/SVGElement.cpp > File Source/core/svg/SVGElement.cpp (right): > > https://codereview.chromium.org/272523002/diff/350001/Source/core/svg/SVGElement.cpp#newcode528 > ...
6 years, 6 months ago (2014-06-03 18:32:31 UTC) #3
pdr.
On 2014/06/03 18:15:06, rwlbuis wrote: > - @esprehn I am having some problems with the ...
6 years, 6 months ago (2014-06-03 18:53:47 UTC) #4
esprehn
On 2014/06/03 at 18:53:47, pdr wrote: > [...] > > I talked with esprehn and ...
6 years, 6 months ago (2014-06-03 23:01:24 UTC) #5
rwlbuis
On 2014/06/03 23:01:24, esprehn wrote: > On 2014/06/03 at 18:53:47, pdr wrote: > > [...] ...
6 years, 6 months ago (2014-06-04 00:04:42 UTC) #6
pdr.
Epic patch Rob! My complaints below are mostly minor. If you don't mind, I'd like ...
6 years, 6 months ago (2014-06-04 04:07:52 UTC) #7
kouhei (in TOK)
Thanks a lot for working on this! https://codereview.chromium.org/272523002/diff/370001/Source/core/svg/SVGUseElement.cpp File Source/core/svg/SVGUseElement.cpp (right): https://codereview.chromium.org/272523002/diff/370001/Source/core/svg/SVGUseElement.cpp#newcode509 Source/core/svg/SVGUseElement.cpp:509: if (instancePtr->isSVGElement()) ...
6 years, 6 months ago (2014-06-04 04:28:45 UTC) #8
rwlbuis
On 2014/06/04 04:28:45, kouhei wrote: > Thanks a lot for working on this! > > ...
6 years, 6 months ago (2014-06-04 15:02:25 UTC) #9
rwlbuis
On 2014/06/04 04:07:52, pdr wrote: > Epic patch Rob! > > My complaints below are ...
6 years, 6 months ago (2014-06-04 15:11:14 UTC) #10
rwlbuis
On 2014/06/04 15:11:14, rwlbuis wrote: > > > https://codereview.chromium.org/272523002/diff/370001/Source/core/svg/SVGUseElement.cpp#newcode353 > > Source/core/svg/SVGUseElement.cpp:353: > > > ...
6 years, 6 months ago (2014-06-04 18:38:45 UTC) #11
pdr.
This is looking fantastic. I think we're pretty close to landing. @Kouhei, could you please ...
6 years, 6 months ago (2014-06-05 04:40:01 UTC) #12
kouhei (in TOK)
(+cc: oilpan-reviews) lgtm. I love this patch. The SVGElementInstance tree was a headache in oilpan ...
6 years, 6 months ago (2014-06-05 05:41:36 UTC) #13
haraken
This CL doesn't have any complexity in terms of oilpan, so I think you can ...
6 years, 6 months ago (2014-06-05 05:48:59 UTC) #14
esprehn
The copyEventListenersNotCreatedFromMarkupToTarget call looks pretty scary, doesn't that mean the |this| value in the event ...
6 years, 6 months ago (2014-06-05 06:29:15 UTC) #15
rwlbuis
On 2014/06/05 05:48:59, haraken wrote: > This CL doesn't have any complexity in terms of ...
6 years, 6 months ago (2014-06-05 14:38:22 UTC) #16
rwlbuis
> https://codereview.chromium.org/272523002/diff/430001/LayoutTests/TestExpectations > File LayoutTests/TestExpectations (right): > > https://codereview.chromium.org/272523002/diff/430001/LayoutTests/TestExpectations#newcode1085 > LayoutTests/TestExpectations:1085: crbug.com/313438 > svg/custom/use-instanceRoot-with-use-removed.svg [ ...
6 years, 6 months ago (2014-06-05 16:25:21 UTC) #17
rwlbuis
On 2014/06/05 06:29:15, esprehn wrote: > The copyEventListenersNotCreatedFromMarkupToTarget call looks pretty scary, > doesn't that ...
6 years, 6 months ago (2014-06-05 19:21:04 UTC) #18
esprehn
lgtm, couple nits to fix before landing. https://codereview.chromium.org/272523002/diff/490001/Source/core/svg/SVGElement.cpp File Source/core/svg/SVGElement.cpp (right): https://codereview.chromium.org/272523002/diff/490001/Source/core/svg/SVGElement.cpp#newcode113 Source/core/svg/SVGElement.cpp:113: if (correspondingElement()) ...
6 years, 6 months ago (2014-06-05 20:57:25 UTC) #19
rwlbuis
On 2014/06/05 20:57:25, esprehn wrote: > lgtm, couple nits to fix before landing. Thanks, CL ...
6 years, 6 months ago (2014-06-05 23:25:42 UTC) #20
haraken
LGTM in terms of oilpan.
6 years, 6 months ago (2014-06-05 23:28:12 UTC) #21
esprehn
On 2014/06/05 23:25:42, rwlbuis wrote: > On 2014/06/05 20:57:25, esprehn wrote: > > lgtm, couple ...
6 years, 6 months ago (2014-06-05 23:31:58 UTC) #22
pdr.
On 2014/06/05 23:31:58, esprehn wrote: > On 2014/06/05 23:25:42, rwlbuis wrote: > > On 2014/06/05 ...
6 years, 6 months ago (2014-06-06 03:29:38 UTC) #23
rwlbuis
On 2014/06/06 03:29:38, pdr wrote: > On 2014/06/05 23:31:58, esprehn wrote: > > On 2014/06/05 ...
6 years, 6 months ago (2014-06-06 15:10:02 UTC) #24
pdr.
On 2014/06/06 15:10:02, rwlbuis wrote: > On 2014/06/06 03:29:38, pdr wrote: > > On 2014/06/05 ...
6 years, 6 months ago (2014-06-06 15:31:56 UTC) #25
rwlbuis
The CQ bit was checked by rob.buis@samsung.com
6 years, 6 months ago (2014-06-06 15:39:27 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/272523002/510001
6 years, 6 months ago (2014-06-06 15:39:58 UTC) #27
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-06 17:04:31 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-06 17:49:16 UTC) #29
commit-bot: I haz the power
Could not make sense out of svn commit message.
6 years, 6 months ago (2014-06-06 17:49:18 UTC) #30
pdr.
The CQ bit was checked by pdr@chromium.org
6 years, 6 months ago (2014-06-06 17:50:54 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/272523002/510001
6 years, 6 months ago (2014-06-06 17:51:09 UTC) #32
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-06 17:51:40 UTC) #33
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-06 17:51:42 UTC) #34
pdr.
On 2014/06/06 17:49:18, I haz the power (commit-bot) wrote: > Could not make sense out ...
6 years, 6 months ago (2014-06-06 17:54:32 UTC) #35
rwlbuis
The CQ bit was checked by rob.buis@samsung.com
6 years, 6 months ago (2014-06-06 18:37:22 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/272523002/510001
6 years, 6 months ago (2014-06-06 18:38:14 UTC) #37
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-06 18:38:34 UTC) #38
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-06 18:38:35 UTC) #39
pdr.
This actually landed as http://src.chromium.org/viewvc/blink?view=rev&rev=175681. (There is already a fix up for the CQ bug)
6 years, 6 months ago (2014-06-06 18:43:11 UTC) #40
rwlbuis
6 years, 6 months ago (2014-06-06 19:02:17 UTC) #41
On 2014/06/06 18:43:11, pdr wrote:
> This actually landed as
> http://src.chromium.org/viewvc/blink?view=rev&rev=175681. (There is already a
> fix up for the CQ bug)

Thanks!

Powered by Google App Engine
This is Rietveld 408576698