blob: 04b0c19b208820c46bea26519c32bf6103986a68 [file] [log] [blame]
The spellchecker shouldn't mark substrings of words after pasting. This test succeeds if only 'zz' is marked as misspelled.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
[object Text]
moo zz
PASS internals.markerCountForNode(currentNode, 'spelling') became 1
PASS internals.markerRangeForNode(currentNode, 'spelling', 0).toString() is "zz"
[object HTMLBRElement]
PASS internals.markerCountForNode(currentNode, 'spelling') became 0
[object Text]
food.
PASS internals.markerCountForNode(currentNode, 'spelling') became 0
PASS successfullyParsed is true
TEST COMPLETE
moo zz
food.