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

Side by Side Diff: LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-child-of-inactive-content.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 <script src="resources/shadow-dom.js"></script> 5 <script src="resources/shadow-dom.js"></script>
6 <script src="resources/event-dispatching.js"></script> 6 <script src="resources/event-dispatching.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <p id="description"></p> 9 <p id="description"></p>
10 <div id="sandbox"></div> 10 <div id="sandbox"></div>
11 <pre id="console"></pre> 11 <pre id="console"></pre>
12 <script> 12 <script>
13 var sandbox = document.getElementById('sandbox'); 13 var sandbox = document.getElementById('sandbox');
14 14
15 sandbox.appendChild( 15 sandbox.appendChild(
16 createDOM('div', {'id': 'top'}, 16 createDOM('div', {'id': 'top'},
17 createDOM('div', {'id': 'A'}), 17 createDOM('div', {'id': 'A'}),
18 createDOM('div', {'id': 'B'}, 18 createDOM('div', {'id': 'B'},
19 createShadowRoot({'id': 'shadow-root-B'}, 19 createShadowRoot({'id': 'shadow-root-B'},
20 createDOM('content', {'id': 'ac tive-content', 'select': '#parent-of-inactive-content'})), 20 createDOM('content', {'id': 'ac tive-content', 'select': '#parent-of-inactive-content'})),
21 createDOM('div', {'id': 'parent-of-inactive-cont ent'}, 21 createDOM('div', {'id': 'parent-of-inactive-cont ent'},
22 createDOM('content', {'id': 'inactive- content'}, 22 createDOM('content', {'id': 'inactive- content'},
23 createDOM('div', {'id': 'chi ld-of-inactive-content'})))))); 23 createDOM('div', {'id': 'chi ld-of-inactive-content'}))))));
24 24
25 addEventListeners(['top', 'A', 'B', 'B/', 'B/active-content', 25 addEventListeners(['top', 'A', 'B', 'B/', 'B/active-content',
26 'parent-of-inactive-content', 'inactive-content', 'ch ild-of-inactive-content']); 26 'parent-of-inactive-content', 'inactive-content', 'ch ild-of-inactive-content']);
27 showSandboxTree(); 27 showSandboxTree();
28 moveMouse('A', 'child-of-inactive-content'); 28 moveMouse('A', 'child-of-inactive-content');
29 </script> 29 </script>
30 <script src="../../js/resources/js-test-post.js"></script>
31 </body> 30 </body>
32 </html> 31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698