| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <body> | 3 <body> |
| 4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
| 5 | 5 |
| 6 <p id="before">Before</p> | 6 <p id="before">Before</p> |
| 7 <textarea id="textarea">Text</textarea> | 7 <textarea id="textarea">Text</textarea> |
| 8 <p id="after">After</p> | 8 <p id="after">After</p> |
| 9 | 9 |
| 10 <div id="console"></div> | 10 <div id="console"></div> |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 textareaSelection.modify("extend", "forward", "line"); | 45 textareaSelection.modify("extend", "forward", "line"); |
| 46 shouldBe("textareaSelection.focusNode", "initialTextareaFocusNode"); | 46 shouldBe("textareaSelection.focusNode", "initialTextareaFocusNode"); |
| 47 shouldBe("textareaSelection.focusOffset", "4"); | 47 shouldBe("textareaSelection.focusOffset", "4"); |
| 48 | 48 |
| 49 shouldBe("window.getSelection().focusNode", "initialFocusNode"); | 49 shouldBe("window.getSelection().focusNode", "initialFocusNode"); |
| 50 shouldBe("window.getSelection().focusOffset", "initialFocusOffset"); | 50 shouldBe("window.getSelection().focusOffset", "initialFocusOffset"); |
| 51 | 51 |
| 52 </script> | 52 </script> |
| 53 | 53 |
| 54 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 55 </body> | 54 </body> |
| 56 </html> | 55 </html> |
| OLD | NEW |