trisquel-icecat/icecat/testing/web-platform/tests/selection/crashtests/selection-detached-range-find-crash.html
2025-10-06 02:35:48 -06:00

21 lines
504 B
HTML

<script>
document.addEventListener("DOMContentLoaded", () => {
let s = window.getSelection()
r = document.createRange()
r.selectNode(c)
s.addRange(r)
r.selectNode(a)
s.addRange(r)
window.getSelection().modify("move", "right", "line")
b.replaceWith(document.createElement("section"))
window.find("A")
})
</script>
<del>
<strong id="a"></strong>
<menu>
<canvas>
<input/>
<mark>
<small id="b">
<video id="c">