OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="resources/polyfill.js"></script> | |
3 | 2 |
4 <p>When the AuthorShadowDOM does not have a shadow element, this should be rende
red like div.</p> | 3 <p>When the AuthorShadowDOM does not have a shadow element, this should be rende
red like div.</p> |
5 <form> | 4 <form> |
6 <object id="host" data="../resources/apple.gif" type="image/gif" width="20"
height="20"></object> | 5 <object id="host" data="../resources/apple.gif" type="image/gif" width="20"
height="20"></object> |
7 <input id="submit" type="submit" value="Submit"> | 6 <input id="submit" type="submit" value="Submit"> |
8 </form> | 7 </form> |
9 | 8 |
10 <script> | 9 <script> |
11 var host = document.getElementById('host'); | 10 var host = document.getElementById('host'); |
12 var shadowRoot = host.webkitCreateShadowRoot() | 11 var shadowRoot = host.webkitCreateShadowRoot() |
13 </script> | 12 </script> |
OLD | NEW |