24 lines
632 B
HTML
24 lines
632 B
HTML
<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>
|