<!DOCTYPE html> | |
<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> | |
<textarea id="host">Something in the air</textarea> | |
</form> | |
<script> | |
var shadowRoot = host.webkitCreateShadowRoot(); | |
shadowRoot.appendChild(document.createElement('shadow')); | |
</script> |