| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 textarea { | 4 textarea { |
| 5 margin: 10px; | 5 margin: 10px; |
| 6 border: 2px dashed black; | 6 border: 2px dashed black; |
| 7 padding: 10px; | 7 padding: 10px; |
| 8 } | 8 } |
| 9 </head> | 9 </head> |
| 10 <body> | 10 <body> |
| 11 <script src="resources/polyfill.js"></script> | |
| 12 | 11 |
| 13 <p>When the AuthorShadowDOM has only a shadow element, this should be rendered l
ike no Shadow DOM is added.</p> | 12 <p>When the AuthorShadowDOM has only a shadow element, this should be rendered l
ike no Shadow DOM is added.</p> |
| 14 <form> | 13 <form> |
| 15 <textarea id="host">Something in the air</textarea> | 14 <textarea id="host">Something in the air</textarea> |
| 16 </form> | 15 </form> |
| 17 | 16 |
| 18 <script> | 17 <script> |
| 19 var shadowRoot = host.webkitCreateShadowRoot(); | 18 var shadowRoot = host.webkitCreateShadowRoot(); |
| 20 shadowRoot.appendChild(document.createElement('shadow')); | 19 shadowRoot.appendChild(document.createElement('shadow')); |
| 21 </script> | 20 </script> |
| 22 </body> | 21 </body> |
| 23 </html> | 22 </html> |
| OLD | NEW |