blob: ad4a501158ee500561a85a3533228a4c8a1b6900 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
textarea {
margin: 10px;
border: 2px dashed black;
padding: 10px;
}
</head>
<body>
<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.createShadowRoot();
shadowRoot.appendChild(document.createElement('shadow'));
</script>
</body>
</html>