OLD | NEW |
1 <html> | 1 <html> |
2 <script src="../fast/js/resources/js-test-pre.js"></script> | 2 <script src="../resources/js-test.js"></script> |
3 <script> | 3 <script> |
4 if (window.testRunner) | 4 if (window.testRunner) |
5 testRunner.dumpAsText(); | 5 testRunner.dumpAsText(); |
6 </script> | 6 </script> |
7 <body> | 7 <body> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <textarea name="area1" id="area1" rows="5" cols="40"> | 9 <textarea name="area1" id="area1" rows="5" cols="40"> |
10 line 1 | 10 line 1 |
11 line 2 | 11 line 2 |
12 line 3 | 12 line 3 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 shouldBe("window.getSelection().setBaseAndExtent(contenteditableLine
3, 1, contenteditableLine3, 1); " + | 56 shouldBe("window.getSelection().setBaseAndExtent(contenteditableLine
3, 1, contenteditableLine3, 1); " + |
57 "contenteditableAXUIElement.insertionPointLineNumber;", "2"
); | 57 "contenteditableAXUIElement.insertionPointLineNumber;", "2"
); |
58 | 58 |
59 contenteditableLine2.focus(); | 59 contenteditableLine2.focus(); |
60 var textareaAXUIElement = accessibilityController.focusedElement; | 60 var textareaAXUIElement = accessibilityController.focusedElement; |
61 shouldBe("textareaAXUIElement.insertionPointLineNumber", "0"); | 61 shouldBe("textareaAXUIElement.insertionPointLineNumber", "0"); |
62 } | 62 } |
63 </script> | 63 </script> |
64 </body> | 64 </body> |
65 </html> | 65 </html> |
OLD | NEW |