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 be disabled when user selects multiple words that a
re not a single misspelling. " + | 14 description("Spelling should be disabled when user selects multiple words that a
re not a single misspelling. " + |
(...skipping 24 matching lines...) Expand all Loading... |
39 | 39 |
40 spellingMarkerRange = internals.markerRangeForNode(textNode, "spelling", 0); | 40 spellingMarkerRange = internals.markerRangeForNode(textNode, "spelling", 0); |
41 shouldBeEqualToString("spellingMarkerRange.toString()", "wellcome"); | 41 shouldBeEqualToString("spellingMarkerRange.toString()", "wellcome"); |
42 shouldBeEqualToString("window.getSelection().toString()", "wellcome home"); | 42 shouldBeEqualToString("window.getSelection().toString()", "wellcome home"); |
43 shouldBeEqualToString("contextMenuElements[contextMenuElements.length - 1]",
"<separator>"); | 43 shouldBeEqualToString("contextMenuElements[contextMenuElements.length - 1]",
"<separator>"); |
44 }); | 44 }); |
45 | 45 |
46 </script> | 46 </script> |
47 </body> | 47 </body> |
48 </html> | 48 </html> |
OLD | NEW |