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

Side by Side Diff: third_party/WebKit/LayoutTests/shadow-dom/v0/get-destination-insertion-points.html

Issue 2051373002: Rewrite and organize tests in LayoutTests/shadow-dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean-test2-3
Patch Set: clean up 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 description("Tests for getDestinationInsertionPoints()."); 6 description("Tests for getDestinationInsertionPoints().");
7 7
8 document.body.appendChild( 8 document.body.appendChild(
9 createDOM('div', {}, 9 createDOM('div', {},
10 createDOM('div', {'id': 'host-1'}, 10 createDOM('div', {'id': 'host-1'},
11 createShadowRoot( 11 createShadowRoot(
12 createDOM('content', {'id': 'content-1'})), 12 createDOM('content', {'id': 'content-1'})),
13 createDOM('div', {'id': 'child-1'})))); 13 createDOM('div', {'id': 'child-1'}))));
(...skipping 17 matching lines...) Expand all
31 createDOM('div', {}, 31 createDOM('div', {},
32 createDOM('div', {'id': 'host-3'}, 32 createDOM('div', {'id': 'host-3'},
33 attachShadow( 33 attachShadow(
34 {'mode': 'closed'}, 34 {'mode': 'closed'},
35 createDOM('content', {'id': 'content-3'})), 35 createDOM('content', {'id': 'content-3'})),
36 createDOM('div', {'id': 'child-3'})))); 36 createDOM('div', {'id': 'child-3'}))));
37 37
38 shouldBe('document.getElementById("child-3").getDestinationInsertionPoints().len gth', '0'); 38 shouldBe('document.getElementById("child-3").getDestinationInsertionPoints().len gth', '0');
39 39
40 </script> 40 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698