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

Unified Diff: LayoutTests/fast/dom/shadow/event-path-svg.html

Issue 477883003: Support SVG in event.path. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/event-path-svg-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/event-path-svg.html
diff --git a/LayoutTests/fast/dom/shadow/event-path-svg.html b/LayoutTests/fast/dom/shadow/event-path-svg.html
new file mode 100644
index 0000000000000000000000000000000000000000..aab00fa3622e42f36bfe3cab98b26c440d3157ab
--- /dev/null
+++ b/LayoutTests/fast/dom/shadow/event-path-svg.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<script src="../../../resources/js-test.js"></script>
+<script src="resources/shadow-dom.js"></script>
+<pre id="console"></pre>
+<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg" width="100%">
+ <circle id="circle" cx="128" cy="128" r="128"/>
+</svg>
+<script>
+function handler(evnet) {
+ debug(dumpNodeList(event.path));
+}
+circle.addEventListener('click', handler);
+document.addEventListener('click', handler);
+circle.dispatchEvent(new MouseEvent('click', {bubbles: true}));
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/event-path-svg-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698