| .scenario { margin-bottom: 16px;} |
| .scenario:first-line { font-weight: bold; margin-bottom: 16px;} |
| .expected-results:first-line { font-weight: bold } |
| <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script> |
| moveSelectionForwardByCharacterCommand(); |
| insertParagraphCommand(); |
| <title>Editing Test</title> |
| <div class="explanation"> |
| <a href="rdar://problem/3977962"><rdar://problem/3977962></a> font loses bold style after pasting next to existing text and pressing return |
| <div class="expected-results"> |
| Should see this content in the red box below: <div>foo<div><b>bar</b></div></div> |
| <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;"> |
| <div id="test" class="editing"><div>foo<b>bar</b></div></div> |