| OLD | NEW |
| 1 This tests the correct placement of inline spelling markers in text. Spelling ma
rkers should line up exactly under misspelled words in all cases. | 1 This tests the correct placement of inline spelling and grammar markers in text.
Spelling markers should line up exactly under misspelled words in all cases. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 testLTR: | 6 testLTR: |
| 7 PASS internals.hasSpellingMarker(document, 8, 4) became true | 7 PASS internals.hasSpellingMarker(document, 8, 4) became true |
| 8 PASS internals.hasSpellingMarker(document, 13, 6) became true | 8 PASS internals.hasSpellingMarker(document, 13, 6) became true |
| 9 PASS internals.hasSpellingMarker(document, 20, 5) became true | 9 PASS internals.hasSpellingMarker(document, 20, 5) became true |
| 10 PASS internals.hasGrammarMarker(document, 4, 3) became true |
| 11 PASS internals.hasGrammarMarker(document, 33, 5) became true |
| 10 testRTL: | 12 testRTL: |
| 11 PASS internals.hasSpellingMarker(document, 8, 4) became true | 13 PASS internals.hasSpellingMarker(document, 8, 4) became true |
| 12 PASS internals.hasSpellingMarker(document, 13, 6) became true | 14 PASS internals.hasSpellingMarker(document, 13, 6) became true |
| 13 PASS internals.hasSpellingMarker(document, 20, 5) became true | 15 PASS internals.hasSpellingMarker(document, 20, 5) became true |
| 16 PASS internals.hasGrammarMarker(document, 4, 3) became true |
| 17 PASS internals.hasGrammarMarker(document, 33, 5) became true |
| 14 testLTREllipses: | 18 testLTREllipses: |
| 15 PASS internals.hasSpellingMarker(document, 8, 4) became true | 19 PASS internals.hasSpellingMarker(document, 8, 4) became true |
| 16 PASS internals.hasSpellingMarker(document, 13, 6) became true | 20 PASS internals.hasSpellingMarker(document, 13, 6) became true |
| 17 PASS internals.hasSpellingMarker(document, 20, 5) became true | 21 PASS internals.hasSpellingMarker(document, 20, 5) became true |
| 22 PASS internals.hasGrammarMarker(document, 4, 3) became true |
| 23 PASS internals.hasGrammarMarker(document, 33, 5) became true |
| 18 testRTLEllipses: | 24 testRTLEllipses: |
| 19 PASS internals.hasSpellingMarker(document, 8, 4) became true | 25 PASS internals.hasSpellingMarker(document, 8, 4) became true |
| 20 PASS internals.hasSpellingMarker(document, 13, 6) became true | 26 PASS internals.hasSpellingMarker(document, 13, 6) became true |
| 21 PASS internals.hasSpellingMarker(document, 20, 5) became true | 27 PASS internals.hasSpellingMarker(document, 20, 5) became true |
| 28 PASS internals.hasGrammarMarker(document, 4, 3) became true |
| 29 PASS internals.hasGrammarMarker(document, 33, 5) became true |
| 22 PASS successfullyParsed is true | 30 PASS successfullyParsed is true |
| 23 | 31 |
| 24 TEST COMPLETE | 32 TEST COMPLETE |
| 25 LTR | 33 LTR |
| 26 the the adlj adaasj sdklj. there there | 34 the the adlj adaasj sdklj. there there |
| 27 RTL | 35 RTL |
| 28 the the adlj adaasj sdklj. there there | 36 the the adlj adaasj sdklj. there there |
| 29 LTR (text-overflow:ellipses) | 37 LTR (text-overflow:ellipses) |
| 30 the the adlj adaasj sdklj. there there | 38 the the adlj adaasj sdklj. there there |
| 31 RTL (text-overflow:ellipses) | 39 RTL (text-overflow:ellipses) |
| 32 the the adlj adaasj sdklj. there there | 40 the the adlj adaasj sdklj. there there |
| OLD | NEW |