9 border:
2px solid blue;
15 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
19 function editingTest() {
20 moveSelectionForwardByCharacterCommand();
21 insertParagraphCommand();
22 insertParagraphCommand();
23 typeCharacterCommand();
24 for (i
= 0; i
< 3; i
++)
25 extendSelectionBackwardByLineCommand();
27 for (i
= 0; i
< 3; i
++)
28 moveSelectionForwardByLineCommand();
29 moveSelectionBackwardByCharacterCommand();
30 insertParagraphCommand();
35 <title>Editing Test
</title>
38 <div class=
"explanation">
39 You should see one
"x" followed by two blank lines, then one more
"x". The blank lines should be the same height.
40 The second and third lines
<b>must
</b> be the same height.
41 See:
<<a href=
"rdar://problem/3959727">rdar://problem/
3959727</a>> REGRESSION (Mail): Style not preserved on blank lines
44 <div contenteditable=
"true" id=
"root" style=
"word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
45 <div id=
"test" class=
"editing">x
</div>
49 runDumpAsTextEditingTest();