| <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script> |
| moveSelectionForwardByCharacterCommand(); |
| insertParagraphCommand(); |
| <title>Editing Test</title> |
| <body contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;"> |
| Test inserting paragraphs: should see "foo" in a blue box, then a blue box with with two lines in it: First line a bold "x"; second line a non-bold "bar". Fix for this bug: |
| <a href="rdar://problem/3924579"><rdar://problem/3927554></a> Style info applied to remainder of document after a newline is entered |
| <div style="height: 12px"></div> |
| <p id="test"><b>foo</b><br>bar</p> |