Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<script>
document.addEventListener("DOMContentLoaded", () => {
c.add(d, 1)
b.addEventListener("DOMNodeRemoved", () => {
a.appendChild(f)
})
let r = document.createRange()
r.setEndBefore(d)
r.deleteContents()
})
</script>
<audio>
<canvas id="b">
</canvas>
<select id="c">
<option id="d">A</option>
<optgroup id="f">
<input id="a">