OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Distributed under both the W3C Test Suite License [1] and the W3C | 3 Distributed under both the W3C Test Suite License [1] and the W3C |
4 3-clause BSD License [2]. To contribute to a W3C Test Suite, see the | 4 3-clause BSD License [2]. To contribute to a W3C Test Suite, see the |
5 policies and contribution forms [3]. | 5 policies and contribution forms [3]. |
6 | 6 |
7 [1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license | 7 [1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license |
8 [2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license | 8 [2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license |
9 [3] http://www.w3.org/2004/10/27-testcases | 9 [3] http://www.w3.org/2004/10/27-testcases |
10 --> | 10 --> |
(...skipping 15 matching lines...) Expand all Loading... |
26 <p>You should see green text saying "PASS" below.</p> | 26 <p>You should see green text saying "PASS" below.</p> |
27 <div id="host">FAIL</div> | 27 <div id="host">FAIL</div> |
28 <script> | 28 <script> |
29 var shadowRoot = window.host.attachShadow({mode: 'open'}); | 29 var shadowRoot = window.host.attachShadow({mode: 'open'}); |
30 shadowRoot.innerHTML = | 30 shadowRoot.innerHTML = |
31 '<style>#pass { color: green; }</style>\n' + | 31 '<style>#pass { color: green; }</style>\n' + |
32 '<div id="pass">PASS</div>'; | 32 '<div id="pass">PASS</div>'; |
33 </script> | 33 </script> |
34 </body> | 34 </body> |
35 </html> | 35 </html> |
OLD | NEW |