2 /* Force font fallback on Windows to match Mac OS X */
11 src: local('Lucida Grande');
12 unicode-range: U+
21E3;
15 <p>This tests to see that deleting a selection that starts just before a table and ends inside the table does not insert a placeholder br unnecessarily. You should see two ToDos, one empty. The caret should be just before the second.
</p>
16 <div contenteditable=
"true" id=
"div">
17 <table contenteditable=
"false"><tr><td>⇒</td><td contenteditable=
"true">ToDo Content
</td><td>⇣</td></tr></table>
18 <table contenteditable=
"false" id=
"start"><tr><td>⇒</td><td contenteditable=
"true" id=
"end">ToDo Content
</td><td>⇣</td></tr></table>
22 var start
= document
.getElementById("start");
23 var end
= document
.getElementById("end");
24 var sel
= window
.getSelection();
25 sel
.setBaseAndExtent(start
, 0, end
, end
.childNodes
.length
);
26 document
.execCommand("Delete");