summaryrefslogtreecommitdiff
path: root/editor/libeditor/crashtests/1057677.html
blob: d0b9497a5abc1da10bcd888f2a8f17a357eee51d (plain)
1
2
3
4
5
6
7
8
9
<html><body></body><script>
document.designMode = "on";
var hrElem = document.createElement("HR");
var select = window.getSelection();
document.body.appendChild(hrElem);
select.collapse(hrElem,0);
document.execCommand("InsertHTML", false, "<div>foo</div><div>bar</div>");
</script>
</html>