blob: 8680dc2f06570afd892e1f1b2c5d1b69ee7abcde [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="resources/polyfill.js"></script>
<p>When the AuthorShadowDOM has only a shadow element, this should be rendered like no Shadow DOM is added.</p>
<form>
<button id="host">button</button>
</form>
<script>
var host = document.getElementById('host');
var shadowRoot = host.webkitCreateShadowRoot();
shadowRoot.innerHTML = "<shadow></shadow>"
</script>
</body>
</html>