OLD | NEW |
1 <div id="container"> | 1 <div id="container"> |
2 <p id="description"></p> | 2 <p id="description"></p> |
3 Manual steps: | 3 Manual steps: |
4 <ol> | 4 <ol> |
5 <li>Move middle of the first paragraph</li> | 5 <li>Move middle of the first paragraph</li> |
6 <li>Type Ctrl+Up</li> | 6 <li>Type Ctrl+Up</li> |
7 <li>Caret should be start of paragrah</li> | 7 <li>Caret should be start of paragrah</li> |
8 <li>Type Ctrl+Down</li> | 8 <li>Type Ctrl+Down</li> |
9 <li>Caret should be next paragrah</li> | 9 <li>Caret should be next paragrah</li> |
10 <li>Do above step with Ctrl+Shift key to extend selection</li> | 10 <li>Do above step with Ctrl+Shift key to extend selection</li> |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 shouldBe('selection.focusOffset', '84'); | 42 shouldBe('selection.focusOffset', '84'); |
43 | 43 |
44 eventSender.keyDown('upArrow', ['ctrlKey', 'shiftKey']); | 44 eventSender.keyDown('upArrow', ['ctrlKey', 'shiftKey']); |
45 shouldBeEqualToString('selection.type', 'Range'); | 45 shouldBeEqualToString('selection.type', 'Range'); |
46 shouldBe('selection.focusNode', 'paragraph1'); | 46 shouldBe('selection.focusNode', 'paragraph1'); |
47 shouldBe('selection.focusOffset', '3'); | 47 shouldBe('selection.focusOffset', '3'); |
48 } | 48 } |
49 if (window.testRunner) | 49 if (window.testRunner) |
50 $('container').outerHTML = ''; | 50 $('container').outerHTML = ''; |
51 </script> | 51 </script> |
52 <script src="../../fast/js/resources/js-test-post.js"></script> | |
OLD | NEW |