blob: a5ee97ba3fb92c13b65a9b181c096a8d7d20f015 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="resources/polyfill.js"></script>
<p>When the AuthorShadowDOM does not have a Shadow DOM, the content won't be rendered.</p>
<form>
<keygen id="host" style="width: 100px; height:30px; margin: 0; padding: 0; border: 0"></keygen>
foobar
</form>
<script>
if (window.internals)
internals.settings.setAuthorShadowDOMForAnyElementEnabled(true);
var shadowRoot = host.webkitCreateShadowRoot();
</script>
</body>
</html>