OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <meta charset="utf-8"> | |
3 <title>v0 features should be inert in v1 shadow trees.</title> | |
4 <script src='../resources/testharness.js'></script> | |
5 <script src='../resources/testharnessreport.js'></script> | |
6 <script src='resources/shadow-dom.js'></script> | |
7 <div id='host'> | |
8 <template data-mode='open'> | |
9 <content></content> | |
10 <shadow></shadow> | |
11 </template> | |
12 <div id='child'></div> | |
13 </div> | |
14 <script> | |
15 convertTemplatesToShadowRootsWithin(host); | |
16 test(function () { | |
17 var content = host.shadowRoot.querySelector('content'); | |
18 var shadow = host.shadowRoot.querySelector('shadow'); | |
19 assert_equals(content.getDistributedNodes().length, 0); | |
20 assert_equals(shadow.getDistributedNodes().length, 0); | |
21 }, "insertion points should be inert in v1"); | |
22 </script> | |
OLD | NEW |