OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="resources/polyfill.js"></script> | |
3 | 2 |
4 <p>When the AuthorShadowDOM has only a shadow element, this should be rendered l
ike no Shadow DOM is added.</p> | 3 <p>When the AuthorShadowDOM has only a shadow element, this should be rendered l
ike no Shadow DOM is added.</p> |
5 <form> | 4 <form> |
6 <textarea id="host" rows="8" cols="20">Something in the air</textarea> | 5 <textarea id="host" rows="8" cols="20">Something in the air</textarea> |
7 </form> | 6 </form> |
8 | 7 |
9 <script> | 8 <script> |
10 var shadowRoot = host.webkitCreateShadowRoot(); | 9 var shadowRoot = host.webkitCreateShadowRoot(); |
11 shadowRoot.appendChild(document.createElement('shadow')); | 10 shadowRoot.appendChild(document.createElement('shadow')); |
12 </script> | 11 </script> |
OLD | NEW |