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

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

Issue 2056213002: Add tests for retargeted event.target in LayoutTests/shadow-dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@events-1
Patch Set: rebased 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
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
index c8144b6d964605b85df4c9891a9948015e2bc7e8..f306bf6b29284f18082da5aff6a51ef6003acf90 100644
--- 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
@@ -15,7 +15,7 @@ test(() => {
new FocusEvent('test', { bubbles: true, relatedTarget: nodes['input2']}));
let expectedPath = ['input1', 'shadowRoot'];
assert_event_path_equals(log,
- [['input1', 'input2', expectedPath],
- ['shadowRoot', 'input2', expectedPath]]);
+ [['input1', 'input1', 'input2', expectedPath],
+ ['shadowRoot', 'input1', 'input2', expectedPath]]);
}, 'An event should stop at the common ancestor of target and relatedTarget.');
</script>

Powered by Google App Engine
This is Rietveld 408576698