blob: 8d978cf0c75c2f0b372903ccfef1755fd649ec74 [file] [log] [blame]
This tests the correct placement of inline spelling and grammar markers in the following text: 'the the adlj adaasj sdklj. there there'. Spelling markers should line up exactly under misspelled words in all cases.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS internals.hasSpellingMarker(8, 4) became true
PASS internals.hasSpellingMarker(13, 6) became true
PASS internals.hasSpellingMarker(20, 5) became true
PASS internals.hasGrammarMarker(4, 3) became true
PASS internals.hasGrammarMarker(33, 5) became true
PASS internals.hasSpellingMarker(8, 4) became true
PASS internals.hasSpellingMarker(13, 6) became true
PASS internals.hasSpellingMarker(20, 5) became true
PASS internals.hasGrammarMarker(4, 3) became true
PASS internals.hasGrammarMarker(33, 5) became true
PASS internals.hasSpellingMarker(8, 4) became true
PASS internals.hasSpellingMarker(13, 6) became true
PASS internals.hasSpellingMarker(20, 5) became true
PASS internals.hasGrammarMarker(4, 3) became true
PASS internals.hasGrammarMarker(33, 5) became true
PASS internals.hasSpellingMarker(8, 4) became true
PASS internals.hasSpellingMarker(13, 6) became true
PASS internals.hasSpellingMarker(20, 5) became true
PASS internals.hasGrammarMarker(4, 3) became true
PASS internals.hasGrammarMarker(33, 5) became true
PASS successfullyParsed is true
TEST COMPLETE
LTR
the the adlj adaasj sdklj. there there 
RTL
the the adlj adaasj sdklj. there there 
LTR (text-overflow:ellipses):
the the adlj adaasj sdklj. there there 
RTL (text-overflow:ellipses):
the the adlj adaasj sdklj. there there