OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 <script src="resources/util.js"></script> | 5 <script src="resources/util.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <div id="container"> | 8 <div id="container"> |
9 <div id="destination" contentEditable></div> | 9 <div id="destination" contentEditable></div> |
10 </div> | 10 </div> |
11 | 11 |
12 <script> | 12 <script> |
13 | 13 |
14 description("Spelling should work when the user selects the misspelled word exac
tly. " + | 14 description("Spelling should work when the user selects the misspelled word exac
tly. " + |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // Esc key to hide the context menu. | 57 // Esc key to hide the context menu. |
58 eventSender.keyDown(String.fromCharCode(0x001B), null); | 58 eventSender.keyDown(String.fromCharCode(0x001B), null); |
59 | 59 |
60 shouldBeEqualToString("window.getSelection().toString()", "home"); | 60 shouldBeEqualToString("window.getSelection().toString()", "home"); |
61 shouldBeEqualToString("contextMenuElements[contextMenuElements.length - 1]",
"<separator>"); | 61 shouldBeEqualToString("contextMenuElements[contextMenuElements.length - 1]",
"<separator>"); |
62 }); | 62 }); |
63 | 63 |
64 </script> | 64 </script> |
65 </body> | 65 </body> |
66 </html> | 66 </html> |
OLD | NEW |