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

Issue 312423002: Don't expose the user agent shadow tree (Closed)

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

Description

Don't expose the user agent shadow tree Don't expose the user agent shadow tree used for the cloned <use> tree. Add one test for the attribute event listener code path (onclick) and one for addEventListener API. To make sure the shadow tree is not exposed, make sure we always wrap non-shadow tree SVG Elements. BUG=313438 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176065

Patch Set 1 #

Patch Set 2 : Another approach #

Patch Set 3 : #

Patch Set 4 : Use EventPath #

Patch Set 5 : Patch currentTarget #

Total comments: 1

Patch Set 6 : Fix tests before landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, --1 lines) Patch
A LayoutTests/svg/custom/use-event-handler-on-referenced-element-addEventListener.svg View 1 2 3 4 5 1 chunk +44 lines, -0 lines 0 comments Download
A + LayoutTests/svg/custom/use-event-handler-on-referenced-element-addEventListener-expected.txt View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A LayoutTests/svg/custom/use-event-handler-on-referenced-element-hierarchy.svg View 1 2 3 4 5 1 chunk +39 lines, -0 lines 0 comments Download
A + LayoutTests/svg/custom/use-event-handler-on-referenced-element-hierarchy-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/events/Event.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/events/Event.cpp View 1 2 3 4 2 chunks +13 lines, -0 lines 0 comments Download
M Source/core/svg/SVGUseElement.cpp View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
rwlbuis
Is this what needs to be implemented? http://www.w3.org/TR/2013/WD-shadow-dom-20130514/#events If so, is there is code for ...
6 years, 6 months ago (2014-06-05 23:46:34 UTC) #1
esprehn
This is not correct, you can't just redefine what parentNode means in svg. You just ...
6 years, 6 months ago (2014-06-05 23:58:55 UTC) #2
rwlbuis
On 2014/06/05 23:58:55, esprehn wrote: > This is not correct, you can't just redefine what ...
6 years, 6 months ago (2014-06-06 02:41:10 UTC) #3
esprehn
On 2014/06/06 at 02:41:10, rob.buis wrote: > On 2014/06/05 23:58:55, esprehn wrote: > > This ...
6 years, 6 months ago (2014-06-11 01:10:23 UTC) #4
rwlbuis
PTAL, 323343004 will fix the target attribute, my patch fixes currentTarget to always point to ...
6 years, 6 months ago (2014-06-12 21:48:43 UTC) #5
esprehn
lgtm, please fix the test before landing. https://codereview.chromium.org/312423002/diff/80001/LayoutTests/svg/custom/use-event-handler-on-referenced-element-hierarchy.svg File LayoutTests/svg/custom/use-event-handler-on-referenced-element-hierarchy.svg (right): https://codereview.chromium.org/312423002/diff/80001/LayoutTests/svg/custom/use-event-handler-on-referenced-element-hierarchy.svg#newcode24 LayoutTests/svg/custom/use-event-handler-on-referenced-element-hierarchy.svg:24: if (rect.parentNode ...
6 years, 6 months ago (2014-06-12 21:52:36 UTC) #6
rwlbuis
The CQ bit was checked by rob.buis@samsung.com
6 years, 6 months ago (2014-06-12 23:05:56 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/312423002/100001
6 years, 6 months ago (2014-06-12 23:06:39 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-13 00:11:14 UTC) #9
Message was sent while issue was closed.
Change committed as 176065

Powered by Google App Engine
This is Rietveld 408576698