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

Unified Diff: third_party/WebKit/LayoutTests/svg/custom/use-event-attribute.html

Issue 2742293006: Support event handling in SVG's use-element shadow trees (Closed)
Patch Set: needs rebaseline Created 3 years, 9 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
Index: third_party/WebKit/LayoutTests/svg/custom/use-event-attribute.html
diff --git a/third_party/WebKit/LayoutTests/svg/custom/use-event-attribute.html b/third_party/WebKit/LayoutTests/svg/custom/use-event-attribute.html
deleted file mode 100644
index bec73189add015d23149f8fd90d4327391a09152..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/custom/use-event-attribute.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!DOCTYPE HTML>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<script>
-window.targets = [];
-async_test((t) => {
- window.addEventListener('load', t.step_func(() => {
- assert_array_equals(window.targets, [document.querySelector('image')]);
- t.done();
- }));
-}, 'An event listener should not be called on a cloned node in a svg <use>\'s UA shadow tree.');
-</script>
-<svg>
- <g id="a">
- <image href="" onerror="window.targets.push(event.target);">
- </g>
- <use href="#a">
-</svg>

Powered by Google App Engine
This is Rietveld 408576698