| .scenario:first-line { font-weight: bold; font-size: 24px; } |
| .expected:first-line { font-weight: bold; font-size: 24px; } |
| .results { margin-bottom: 10px; border: 2px solid green; font-size: 24px; } |
| <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script> |
| extendSelectionForwardByLineCommand(); |
| extendSelectionBackwardByCharacterCommand(); |
| <title>Editing Test</title> |
| <div class="explanation"> |
| Our ability to "edit around" content the HTML editing code does not yet handle very well. |
| <br><i>For this test: </i>Select and delete a list and some surrounding content. |
| The content in the red box must exactly match the content in the green box (except for the border color). |
| <br><i>For this test: </i>Only selected content should get deleted. |
| Surrounding content that is not selected should (obviously) not be affected. |
| <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;"> |
| <div id="test" class="editing"> |