| Index: third_party/WebKit/LayoutTests/editing/spelling/inline_spelling_markers.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/spelling/inline_spelling_markers.html b/third_party/WebKit/LayoutTests/editing/spelling/inline_spelling_markers.html
|
| index da206462e2095ead8db873d705471da123d883ff..54dbf293563e868cf52e4dd8ec1a42085f88e344 100644
|
| --- a/third_party/WebKit/LayoutTests/editing/spelling/inline_spelling_markers.html
|
| +++ b/third_party/WebKit/LayoutTests/editing/spelling/inline_spelling_markers.html
|
| @@ -27,7 +27,7 @@ body { overflow:hidden; }
|
| </head>
|
| <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.");
|
|
|
| @@ -72,22 +72,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'); },
|
|
|