blob: 1e0b281e9505bc1eb723f25c6c288b33563f49ca [file] [log] [blame]
<!DOCTYPE html>
<script src="resources/polyfill.js"></script>
<p>When the AuthorShadowDOM does not have a Shadow DOM, the content won't be rendered.</p>
<form>
<fieldset id="host" style="width: 100px; height: 30px; margin: 0; padding: 0; border: 0">
<legend>legend</legend>
<input type="text"></input>
</fieldset>
<input id="submit" type="submit" value="Submit">
</form>
<script>
if (window.internals)
window.internals.settings.setAuthorShadowDOMForAnyElementEnabled(true);
var host = document.getElementById('host');
var shadowRoot = host.webkitCreateShadowRoot();
</script>