11 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
15 function editingTest() {
16 for (i
= 0; i
< 3; i
++) {
17 typeCharacterCommand();
21 moveSelectionForwardByCharacterCommand();
22 for (i
= 0; i
< 3; i
++) {
23 typeCharacterCommand();
25 insertLineBreakCommand();
26 for (i
= 0; i
< 3; i
++) {
27 typeCharacterCommand();
33 <title>Editing Test
</title>
36 <p>Test that inserting a line break will preserve bolding. All of the text below should be bold.
</p>
37 <div contenteditable
id=
"root" class=
"editing">
38 <span id=
"test">test
</span>
42 runDumpAsTextEditingTest();