blob: a6a988db85a36a8c6f21f3a67f7078bd923318cf [file] [log] [blame]
<script>
window.onload = function() {
var parent = document.getElementById('id_1');
parent.removeChild(parent.childNodes[0]);
parent.removeChild(parent.childNodes[0]);
document.getElementById('id_0').appendChild(document.activeElement);
}
</script>
<template id="id_0"></template>
<select required>
<optgroup id="id_1">
<option></option>
</optgroup>
</select>
The test passes if this does not cause a debug assert.