blob: 2cb8b16ba9e3d1a2302e3ab98804a61b9337294d [file] [log] [blame]
This tests whether WebKit can render grammar markers when pasting text if it has a grammar-checker. To test manually, copy the text in the first div element and paste it to the second div element. This test succeeds when WebKit renders a grammar marker under a word "has".
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS ungrammatical phrase 'has' on 'You has the right.'
PASS verifyGrammarMarker(target, "has") became true
PASS successfullyParsed is true
TEST COMPLETE
You has the right.
You has the right.