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

Side by Side Diff: LayoutTests/fast/dom/shadow/get-destination-insertion-points.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 </head> 6 </head>
7 <body> 7 <body>
8 <script> 8 <script>
9 description("Tests for getDestinationInsertionPoints()."); 9 description("Tests for getDestinationInsertionPoints().");
10 10
11 document.body.appendChild( 11 document.body.appendChild(
12 createDOM('div', {}, 12 createDOM('div', {},
13 createDOM('div', {'id': 'host-1'}, 13 createDOM('div', {'id': 'host-1'},
14 createShadowRoot( 14 createShadowRoot(
15 createDOM('content', {'id': 'content-1'})), 15 createDOM('content', {'id': 'content-1'})),
16 createDOM('div', {'id': 'child-1'})))); 16 createDOM('div', {'id': 'child-1'}))));
17 17
18 shouldBeEqualAsArray(document.getElementById('child-1').getDestinationInsertionP oints(), 18 shouldBeEqualAsArray(document.getElementById('child-1').getDestinationInsertionP oints(),
19 [getNodeInTreeOfTrees('host-1/content-1')]); 19 [getNodeInTreeOfTrees('host-1/content-1')]);
20 20
21 </script> 21 </script>
22 <script src="../../js/resources/js-test-post.js"></script>
23 </body> 22 </body>
24 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698