blob: 8cf48fb76018bd4d8c2d8d5088d62038f1b5d3d2 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<keygen id="keys" />
<pre id="console">
This tests the keygen element.
</pre>
<script>
var keygen = document.getElementById('keys');
shouldBe('keygen.options', 'undefined'); // keygen is not a select
if (window.internals) {
var shadow = internals.shadowRoot(keygen);
shouldBe('shadow.firstChild.tagName', '"SELECT"');
shouldBe('internals.shadowRoot(shadow.firstChild)', 'null');
}
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>