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

Side by Side Diff: third_party/WebKit/LayoutTests/shadow-dom/v0/get-destination-insertion-points-re-distribution.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() which involves re-distrib ution."); 6 description("Tests for getDestinationInsertionPoints() which involves re-distrib ution.");
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('div', {'id': 'host-2'}, 12 createDOM('div', {'id': 'host-2'},
13 createShadowRoot( 13 createShadowRoot(
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 attachShadow( 52 attachShadow(
53 {'mode': 'closed'}, 53 {'mode': 'closed'},
54 createDOM('div', {'id': 'host-22'}, 54 createDOM('div', {'id': 'host-22'},
55 createShadowRoot( 55 createShadowRoot(
56 createDOM('content', {'id': 'content-2 2'})), 56 createDOM('content', {'id': 'content-2 2'})),
57 createDOM('content', {'id': 'content-12'}) )), 57 createDOM('content', {'id': 'content-12'}) )),
58 createDOM('div', {'id': 'child-12'})))); 58 createDOM('div', {'id': 'child-12'}))));
59 59
60 shouldBe('document.getElementById("child-12").getDestinationInsertionPoints().le ngth', '0'); 60 shouldBe('document.getElementById("child-12").getDestinationInsertionPoints().le ngth', '0');
61 </script> 61 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698