OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
5 <script src="../../fast/js/resources/js-test-pre.js"></script> | 5 <script src="../../resources/js-test.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <p id="description"></p> | 8 <p id="description"></p> |
9 <div id="console"></div> | 9 <div id="console"></div> |
10 <script> | 10 <script> |
11 description("Test to make sure left and right arrows keys behave correctly in RT
L content.") | 11 description("Test to make sure left and right arrows keys behave correctly in RT
L content.") |
12 | 12 |
13 var testContainer = document.createElement("div"); | 13 var testContainer = document.createElement("div"); |
14 testContainer.contentEditable = true; | 14 testContainer.contentEditable = true; |
15 testContainer.style.padding = "2px"; | 15 testContainer.style.padding = "2px"; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 testSelectionChange(dragSelection, "extend", "right", 0, 0, "Extend drag
ged selection right (Android)"); | 83 testSelectionChange(dragSelection, "extend", "right", 0, 0, "Extend drag
ged selection right (Android)"); |
84 testSelectionChange(dragSelection, "extend", "left", 1, 0, "Extend dragg
ed selection left (Android)"); | 84 testSelectionChange(dragSelection, "extend", "left", 1, 0, "Extend dragg
ed selection left (Android)"); |
85 } | 85 } |
86 } | 86 } |
87 | 87 |
88 runTests(); | 88 runTests(); |
89 document.body.removeChild(testContainer); | 89 document.body.removeChild(testContainer); |
90 </script> | 90 </script> |
91 </body> | 91 </body> |
92 </html> | 92 </html> |
OLD | NEW |