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

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

Issue 1774113002: Move Shadow DOM V1 tests from fast/dom/shadow to shadow-dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 <script src="resources/shadow-dom.js"></script> 5 <script src="../fast/dom/shadow/resources/shadow-dom.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <script> 8 <script>
9 description("Tests for getDestinationInsertionPoints() which involves re-distrib ution."); 9 description("Tests for getDestinationInsertionPoints() which involves re-distrib ution.");
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('div', {'id': 'host-2'}, 15 createDOM('div', {'id': 'host-2'},
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 createDOM('div', {'id': 'host-22'}, 57 createDOM('div', {'id': 'host-22'},
58 createShadowRoot( 58 createShadowRoot(
59 createDOM('content', {'id': 'content-2 2'})), 59 createDOM('content', {'id': 'content-2 2'})),
60 createDOM('content', {'id': 'content-12'}) )), 60 createDOM('content', {'id': 'content-12'}) )),
61 createDOM('div', {'id': 'child-12'})))); 61 createDOM('div', {'id': 'child-12'}))));
62 62
63 shouldBe('document.getElementById("child-12").getDestinationInsertionPoints().le ngth', '0'); 63 shouldBe('document.getElementById("child-12").getDestinationInsertionPoints().le ngth', '0');
64 </script> 64 </script>
65 </body> 65 </body>
66 </html> 66 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698