<!DOCTYPE html> | |
<html> | |
<body> | |
<script src="resources/polyfill.js"></script> | |
<p>When the AuthorShadowDOM does not have a shadow element, the content should not be rendered.</p> | |
<form> | |
<button id="host">something</button> | |
</form> | |
<script> | |
var host = document.getElementById('host'); | |
var shadowRoot = host.webkitCreateShadowRoot(); | |
</script> | |
</body> | |
</html> |