Index: third_party/WebKit/LayoutTests/editing/spelling/markers.html |
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/markers.html b/third_party/WebKit/LayoutTests/editing/spelling/markers.html |
index bb0b7f455f17373f67c367d621a7b58d60bca047..fe97fd888e58ab47678e3181db91c5e8b2b8ec27 100644 |
--- a/third_party/WebKit/LayoutTests/editing/spelling/markers.html |
+++ b/third_party/WebKit/LayoutTests/editing/spelling/markers.html |
@@ -14,7 +14,7 @@ |
<body> |
<div id="container"></div> |
<script> |
-description("Tests spelling and grammar markers for misspellings."); |
+description("Tests spelling markers for misspellings."); |
jsTestIsAsync = true; |
@@ -38,14 +38,11 @@ function typeText(elem, text) { |
var container = document.getElementById('container'); |
-var elementWithGrammarIssue = createEditableElement(container); |
-typeText(elementWithGrammarIssue, 'I have a issue.'); |
- |
var elementWithSpellingIssue = createEditableElement(container); |
typeText(elementWithSpellingIssue, 'zz.'); |
-var elementWithGrammarAndSpellingIssue = createEditableElement(container); |
-typeText(elementWithGrammarAndSpellingIssue, 'orange,zz,apple.'); |
+var elementAlsoWithSpellingIssue = createEditableElement(container); |
+typeText(elementAlsoWithSpellingIssue, 'orange,zz,apple.'); |
var element; |
var next; |
@@ -68,15 +65,12 @@ function verifyMarkers(e, misspellings) { |
} |
var misspellings = [ |
- { marker:'grammar', issue:'a' }, |
{ marker:'spelling', issue:'zz' }, |
- { marker:'grammar', issue:'orange,zz,apple.' } |
]; |
var tests = [ |
- function() { verifyMarkers(elementWithGrammarIssue, misspellings.slice(0, 1)) }, |
- function() { verifyMarkers(elementWithSpellingIssue, misspellings.slice(1, 2)) }, |
- function() { verifyMarkers(elementWithGrammarAndSpellingIssue, misspellings.slice(1, 3)) }, |
+ function() { verifyMarkers(elementWithSpellingIssue, misspellings.slice(0, 1)) }, |
+ function() { verifyMarkers(elementAlsoWithSpellingIssue, misspellings.slice(0, 1)) }, |
]; |
function done() |