1 <p>This tests for a crash when triple-click/deleting the content in a list item that is at the end of the document, when there is a div with -webkit-user-select:none after the list item.
</p>
2 <div id=
"div" contenteditable=
"true"><ul><li>One
</li><li id=
"start">Two
</li><span id=
"end" style=
"-webkit-user-select:none"><img src=
"../resources/abe.png"></span></ul></div>
5 var start
= document
.getElementById("start");
6 var end
= document
.getElementById("end");
7 var sel
= window
.getSelection();
8 sel
.setBaseAndExtent(start
, 0, end
, 0);
10 sel
.modify("extend", "forward", "paragraph");
12 document
.execCommand("Delete");