blob: 244429998cadde51c8afe62d663b98c0e8c0fee9 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div>
<content id="content-simplest"></content>
</div>
<script>
description("Shadow DOM related elements should be hidden if the feature is off.");
if (window.internals)
internals.settings.setShadowDOMEnabled(false);
var content = document.createElement("content");
shouldBeTrue("0 <= content.constructor.toString().indexOf('HTMLUnknownElement')");
var shadow = document.createElement("shadow");
shouldBeTrue("0 <= shadow.constructor.toString().indexOf('HTMLUnknownElement')");
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>