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

Issue 257033002: Do not implement EventTarget on SVGElementInstance (Closed)

Created:
6 years, 7 months ago by rwlbuis
Modified:
6 years, 6 months ago
Reviewers:
pdr.
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, ojan
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Do not implement EventTarget on SVGElementInstance Do not implement EventTarget on SVGElementInstance, since SVGElementInstance is scheduled for removal and event handling should be handled in the shadow tree. So instead set the shadow tree elements as event target. BUG=313438 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175307

Patch Set 1 #

Patch Set 2 : Do not implement EventTarget on SVGElementInstance #

Patch Set 3 : Add test use-as-event-target.xhtml #

Patch Set 4 : Rebase against ToT #

Patch Set 5 : Try to fix remaining tests #

Patch Set 6 : Fix test result #

Patch Set 7 : Rebase + re-add test #

Patch Set 8 : Try to go green #

Patch Set 9 : Remove some more SVGElementInstance API #

Total comments: 1

Patch Set 10 : Try to fix TestExpectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -896 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
D LayoutTests/platform/android/svg/custom/use-elementInstance-methods-expected.txt View 1 2 1 chunk +0 lines, -16 lines 0 comments Download
M LayoutTests/svg/custom/resources/use-instanceRoot-event-bubbling.js View 1 2 3 4 5 6 2 chunks +5 lines, -5 lines 0 comments Download
M LayoutTests/svg/custom/resources/use-instanceRoot-event-listeners.js View 1 2 3 4 5 6 4 chunks +11 lines, -11 lines 0 comments Download
D LayoutTests/svg/custom/use-elementInstance-event-target.svg View 1 2 1 chunk +0 lines, -57 lines 0 comments Download
D LayoutTests/svg/custom/use-elementInstance-event-target-expected.txt View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
D LayoutTests/svg/custom/use-elementInstance-methods.svg View 1 2 3 4 5 6 1 chunk +0 lines, -71 lines 0 comments Download
D LayoutTests/svg/custom/use-elementInstance-methods-expected.txt View 1 1 chunk +0 lines, -2 lines 0 comments Download
D LayoutTests/svg/custom/use-instanceRoot-as-event-target.xhtml View 1 2 1 chunk +0 lines, -291 lines 0 comments Download
D LayoutTests/svg/custom/use-instanceRoot-as-event-target-expected.txt View 1 2 1 chunk +0 lines, -117 lines 0 comments Download
M LayoutTests/svg/custom/use-instanceRoot-event-bubbling-expected.txt View 1 2 3 4 5 6 1 chunk +10 lines, -10 lines 0 comments Download
M LayoutTests/svg/custom/use-instanceRoot-event-listener-liveness.xhtml View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
D LayoutTests/svg/custom/use-instanceRoot-event-listeners.xhtml View 1 2 3 4 5 6 1 chunk +0 lines, -20 lines 0 comments Download
D LayoutTests/svg/custom/use-instanceRoot-event-listeners-expected.txt View 1 2 3 4 5 6 1 chunk +0 lines, -20 lines 0 comments Download
M LayoutTests/svg/dom/svg2-inheritance.html View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/svg/dom/svg2-inheritance-expected.txt View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/virtual/stable/webexposed/event-target-in-prototype-expected.txt View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/webexposed/event-target-in-prototype.html View 1 3 4 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/webexposed/event-target-in-prototype-expected.txt View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/events/EventPath.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -15 lines 0 comments Download
M Source/core/events/EventTargetFactory.in View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/svg/SVGElementInstance.h View 1 2 3 4 5 6 7 6 chunks +2 lines, -65 lines 0 comments Download
M Source/core/svg/SVGElementInstance.cpp View 1 2 3 4 5 6 3 chunks +0 lines, -104 lines 0 comments Download
M Source/core/svg/SVGElementInstance.idl View 1 3 2 chunks +1 line, -46 lines 0 comments Download
M Source/core/svg/SVGUseElement.h View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -2 lines 0 comments Download
M Source/core/svg/SVGUseElement.cpp View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -31 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
pdr.
I like where this is heading! Could you add a test or two of what ...
6 years, 7 months ago (2014-04-30 21:08:54 UTC) #1
rwlbuis
On 2014/04/30 21:08:54, pdr wrote: > I like where this is heading! > > Could ...
6 years, 6 months ago (2014-05-28 22:28:32 UTC) #2
pdr.
On 2014/05/28 22:28:32, rwlbuis wrote: > On 2014/04/30 21:08:54, pdr wrote: > > I like ...
6 years, 6 months ago (2014-05-28 23:41:14 UTC) #3
rwlbuis
On 2014/05/28 23:41:14, pdr wrote: > On 2014/05/28 22:28:32, rwlbuis wrote: > > On 2014/04/30 ...
6 years, 6 months ago (2014-05-29 15:20:45 UTC) #4
pdr.
LGTM with a question about SVG logic in EventPath.cpp https://codereview.chromium.org/257033002/diff/280001/Source/core/events/EventPath.cpp File Source/core/events/EventPath.cpp (right): https://codereview.chromium.org/257033002/diff/280001/Source/core/events/EventPath.cpp#newcode61 Source/core/events/EventPath.cpp:61: ...
6 years, 6 months ago (2014-06-02 14:09:06 UTC) #5
rwlbuis
On 2014/06/02 14:09:06, pdr wrote: > LGTM with a question about SVG logic in EventPath.cpp ...
6 years, 6 months ago (2014-06-02 14:48:01 UTC) #6
rwlbuis
The CQ bit was checked by rob.buis@samsung.com
6 years, 6 months ago (2014-06-02 16:36:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/257033002/300001
6 years, 6 months ago (2014-06-02 16:37:24 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-02 17:44:19 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-02 17:47:09 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/6703)
6 years, 6 months ago (2014-06-02 17:47:09 UTC) #11
rwlbuis
The CQ bit was checked by rob.buis@samsung.com
6 years, 6 months ago (2014-06-02 18:00:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/257033002/300001
6 years, 6 months ago (2014-06-02 18:00:58 UTC) #13
commit-bot: I haz the power
6 years, 6 months ago (2014-06-02 18:15:36 UTC) #14
Message was sent while issue was closed.
Change committed as 175307

Powered by Google App Engine
This is Rietveld 408576698