11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
15 function editingTest() {
16 var selection = window.getSelection();
17 selection.collapse(document.getElementById("selStart"), 0);
18 extendSelectionForwardByLineCommand();
19 extendSelectionForwardByLineCommand();
20 justifyCenterCommand();
21 fontSizeDeltaCommand();
26 <title>Editing Test</title>
28 <body id="root" contenteditable>
29 <div id="test" class="editing">
30 <table> <tr> <td id="selStart"> foo </td> </tr> <tr> <td id="selEnd"> bar </td> </tr> </table>