| Index: third_party/WebKit/LayoutTests/editing/spelling/inline-spelling-markers-hidpi.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/spelling/inline-spelling-markers-hidpi.html b/third_party/WebKit/LayoutTests/editing/spelling/inline-spelling-markers-hidpi.html
|
| index bac826a777698dd2393e18d6f71e9adec862ad01..1cf623c1f1fc8d3ef49288c8f06124c1316942b7 100644
|
| --- a/third_party/WebKit/LayoutTests/editing/spelling/inline-spelling-markers-hidpi.html
|
| +++ b/third_party/WebKit/LayoutTests/editing/spelling/inline-spelling-markers-hidpi.html
|
| @@ -27,7 +27,7 @@ body { overflow:hidden; }
|
| <body>
|
|
|
| <script>
|
| -description("This tests the correct placement of inline spelling and grammar "
|
| +description("This tests the correct placement of inline spelling "
|
| + "markers in text. Spelling markers should line up exactly under misspelled "
|
| + "words in all cases.");
|
|
|
| @@ -68,22 +68,15 @@ function verifyMarkers()
|
| if (!window.internals)
|
| return done();
|
|
|
| - // Take care of spelling markers first.
|
| shouldBecomeEqual('internals.hasSpellingMarker(document, 8, 4)', 'true', function() { // Verifies 'adlj'.
|
| shouldBecomeEqual('internals.hasSpellingMarker(document, 13, 6)', 'true', function() { // Verifies 'adaasj'.
|
| - shouldBecomeEqual('internals.hasSpellingMarker(document, 20, 5)', 'true', verifyGrammarMarkers) // Verifies 'sdklj'.
|
| - })
|
| - });
|
| -
|
| - function verifyGrammarMarkers() {
|
| - shouldBecomeEqual('internals.hasGrammarMarker(document, 4, 3)', 'true', function() { // Verifies second 'the'.
|
| - shouldBecomeEqual('internals.hasGrammarMarker(document, 33, 5)', 'true', function() { // Verifies second 'there'.
|
| + shouldBecomeEqual('internals.hasSpellingMarker(document, 20, 5)', 'true', function() { // Verifies 'sdklj'.
|
| // Markers of next element can not be found after modification selection without blur event.
|
| div.blur();
|
| done();
|
| })
|
| - });
|
| - }
|
| + })
|
| + });
|
| }
|
|
|
| var tests = [ function() { moveCursorOverAllWords('testLTR'); },
|
|
|