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

Unified Diff: third_party/WebKit/LayoutTests/shadow-dom/event-path-related-target-scoped.html

Issue 2053353002: Add tests for an event with a related target (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@events-add-retarget
Patch Set: Add more description Created 4 years, 6 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 | « third_party/WebKit/LayoutTests/shadow-dom/event-composed-path-with-related-target.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/shadow-dom/event-path-related-target-scoped.html
diff --git a/third_party/WebKit/LayoutTests/shadow-dom/event-path-related-target-scoped.html b/third_party/WebKit/LayoutTests/shadow-dom/event-path-related-target-scoped.html
deleted file mode 100644
index f306bf6b29284f18082da5aff6a51ef6003acf90..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/shadow-dom/event-path-related-target-scoped.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="resources/shadow-dom.js"></script>
-<div id=host>
- <template id=shadowRoot data-mode=open>
- <input id=input1></input>
- <input id=input2></input>
- </template>
-</div>
-<script>
-test(() => {
- let nodes = createTestTree(host);
- let log = dispatchEventWithLog(nodes, nodes['input1'],
- new FocusEvent('test', { bubbles: true, relatedTarget: nodes['input2']}));
- let expectedPath = ['input1', 'shadowRoot'];
- assert_event_path_equals(log,
- [['input1', 'input1', 'input2', expectedPath],
- ['shadowRoot', 'input1', 'input2', expectedPath]]);
-}, 'An event should stop at the common ancestor of target and relatedTarget.');
-</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/shadow-dom/event-composed-path-with-related-target.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698