blob: 49c2dc14035b03791c22bb692e01b4d1208b9e5d [file] [log] [blame]
<body><!-- webkit-test-runner [ KeygenElementEnabled=true ] -->
<p>This test passes if it doesn't crash.</p>
<svg id="svgRoot">
<animate attributeName="fill" />
</svg>
<div id="inputParent" onfocusin="onFoucsIn()">
<keygen id="input">
</div>
<details ontoggle="onToggle()" open="true"></details>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function onFoucsIn() {
svgRoot.remove();
}
function onToggle() {
input.autofocus = true;
inputParent.after(inputParent);
}
</script>
</body>