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