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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/shadow-dom/event-composed.html

Issue 2086283003: Update web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into wpt_import Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>Shadow DOM: Event composed</title>
3 <meta name="author" title="Hayato Ito" href="mailto:hayato@google.com">
2 <script src="../resources/testharness.js"></script> 4 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script> 5 <script src="../resources/testharnessreport.js"></script>
4 <script src="resources/shadow-dom.js"></script> 6 <script src="resources/shadow-dom.js"></script>
5 <div id=host> 7 <div id=host>
6 <template id=shadowRoot data-mode=open> 8 <template id=shadowRoot data-mode=open>
7 <div id=target></div> 9 <div id=target></div>
8 </template> 10 </template>
9 </div> 11 </div>
10 <script> 12 <script>
11 test(() => { 13 test(() => {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 ['shadowRoot', 'target', null, expectedPath], 72 ['shadowRoot', 'target', null, expectedPath],
71 ['host', 'host', null, expectedPath]]); 73 ['host', 'host', null, expectedPath]]);
72 } 74 }
73 75
74 test(() => { 76 test(() => {
75 assertUAComposed('click', (target) => { target.click(); }); 77 assertUAComposed('click', (target) => { target.click(); });
76 }, 'A UA click event should not be scoped'); 78 }, 'A UA click event should not be scoped');
77 79
78 // TODO(hayato): Test other UIEvents. 80 // TODO(hayato): Test other UIEvents.
79 </script> 81 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698