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>
7 window
.testRunner
.dumpAsText();
9 var start
= document
.getElementById("start");
10 var end
= document
.getElementById("end");
11 var sel
= window
.getSelection();
12 sel
.setBaseAndExtent(start
, 0, end
, 0);
14 sel
.modify("extend", "forward", "paragraph");
16 document
.execCommand("Delete");