1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
10 border: 2px solid red;
16 <script src="../editing.js" language="JavaScript" type="text/JavaScript" />
20 function editingTest() {
21 for (i = 0; i != 4; i++)
22 moveSelectionForwardByCharacterCommand();
23 for (i = 0; i != 3; i++)
24 extendSelectionForwardByCharacterCommand();
26 moveSelectionForwardByCharacterCommand();
35 <div contenteditable="" id="root" class="editing">
36 <span id="test">foo bar baz</span>
40 runDumpAsTextEditingTest(true);