OLD | NEW |
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 Loading... |
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> |
OLD | NEW |