blob: 2b8c72c151d85f1c8253bf8606a525621206ee27 [file] [log] [blame]
Test if WebKit removes grammar markers when we edit a grammatically-incorrect word. To test manually, type a grammatically-incorrect sentence "You has the right." and type a backspace key to delete the last character of "has". This test succeeds when "ha" does not have grammar markers.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS internals.hasGrammarMarker(document, 4, 3) became true
PASS internals.hasGrammarMarker(document, 4, 2) became false
PASS successfullyParsed is true
TEST COMPLETE
You ha