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();
34 <title>Editing Test
</title>
37 <div class=
"explanation">
38 You should see one
"x" followed by two blank lines. The blank lines should be the same height.
39 The second line
<b>must
</b> be the same height as the first.
40 See:
<<a href=
"rdar://problem/3959727">rdar://problem/
3959727</a>> REGRESSION (Mail): Style not preserved on blank lines
43 <div contenteditable=
"true" id=
"root" style=
"word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
44 <div id=
"test" class=
"editing">x
</div>
48 runDumpAsTextEditingTest();