blob: e49570dbc03665e1d933c083f8e24a91cef840e2 [file] [log] [blame]
<body><!-- webkit-test-runner [ enableKeygenElement=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>