blob: 822180d0fb01fd512f39d29591917239f6d3f8dc [file] [log] [blame]
Punctuation marks should be treated as whitespace: spelling should ignore them. To test manually, type 'wellcome!', select 'wellcome!', and context-click on the selection. The test succeeds when the context menu has spell check suggestions.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS spellingMarkerRange.toString() is "wellcome"
PASS window.getSelection().toString() is ""
PASS window.getSelection().toString() is "wellcome!"
PASS spellingMarkerRange.toString() is "wellcome"
PASS window.getSelection().toString() is "wellcome!"
PASS contextMenuElements[contextMenuElements.length - 1] is "welcome"
PASS successfullyParsed is true
TEST COMPLETE
wellcome!