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

Side by Side Diff: third_party/WebKit/LayoutTests/shadow-dom/event-composed-path-closed-shadowroot2.html

Issue 2051743002: Rename deep-path to composed-path in LayoutTests/shadow-dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean-tests-2
Patch Set: 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 unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <script src="../resources/js-test.js"></script> 2 <script src="../resources/js-test.js"></script>
3 <script src="../fast/dom/shadow/resources/shadow-dom.js"></script> 3 <script src="../fast/dom/shadow/resources/shadow-dom.js"></script>
4 <body></body> 4 <body></body>
5 <script> 5 <script>
6 function prepareTree() { 6 function prepareTree() {
7 // Note: #target will be distributed to furthest <content>. 7 // Note: #target will be distributed to furthest <content>.
8 document.body.appendChild( 8 document.body.appendChild(
9 createDOM('div', {id: 'host_closed'}, 9 createDOM('div', {id: 'host_closed'},
10 attachShadow({mode: 'closed'}, 10 attachShadow({mode: 'closed'},
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 debug('\nDispaching a click event on #target, listening on #' + node.id + '.') ; 46 debug('\nDispaching a click event on #target, listening on #' + node.id + '.') ;
47 eventPath = null; 47 eventPath = null;
48 target.click(); 48 target.click();
49 debug('Got event.composedPath() for #' + node.id + ':'); 49 debug('Got event.composedPath() for #' + node.id + ':');
50 debug(dumpNodeList(eventPath)); 50 debug(dumpNodeList(eventPath));
51 51
52 node.removeEventListener('click', clickHandler, false); 52 node.removeEventListener('click', clickHandler, false);
53 }); 53 });
54 </script> 54 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698