<!DOCTYPE html> | |
<p>When the AuthorShadowDOM does not have a Shadow DOM, the content won't be rendered.</p> | |
<form> | |
<output id="host" style="display: inline-block; width: 100px; height: 30px">ohyohyo</output> | |
<input id="submit" type="submit" value="Submit"> | |
</form> | |
<script> | |
var host = document.getElementById('host'); | |
var shadowRoot = host.createShadowRoot(); | |
</script> |