10 border:
2px solid blue;
15 .scenario { margin-bottom:
16px;}
16 .scenario:first-line { font-weight: bold; margin-bottom:
16px;}
17 .expected-results:first-line { font-weight: bold }
19 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
23 function editingTest() {
24 moveSelectionForwardByLineCommand();
25 extendSelectionForwardByLineCommand();
26 extendSelectionForwardByLineCommand();
32 <title>Editing Test
</title>
36 <div class=
"explanation">
37 <div class=
"scenario">
40 Delete at the end of document when there is a BR following a P.
42 This is a test case for rdar://problem/
4110366
44 <div class=
"expected-results">
47 Red box with four lines. The second line is a nested red box with the word
"hello". The other three lines are empty.
49 Selection is a caret at the start of the fourth line.
52 <div contenteditable
id=
"root" class=
"editing"><p id=
"test" class=
"editing">hello
</p><p class=
"editing"><br></p><br></div><script>runEditingTest();</script></body></html>