<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[164643] trunk/LayoutTests</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/164643">164643</a></dd>
<dt>Author</dt> <dd>g.czajkowski@samsung.com</dd>
<dt>Date</dt> <dd>2014-02-25 05:31:45 -0800 (Tue, 25 Feb 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>Refactoring inline_spelling_markers.html to use asynchronous spellchecking
https://bugs.webkit.org/show_bug.cgi?id=127284
Reviewed by Ryosuke Niwa.
Use asynchronous text checking in inline-spelling-markers.html and
inline-spelling-markers-hidpi.html
Rename the test to inline-spelling-markers.html to match the naming convention.
* editing/spelling/inline-spelling-markers-expected.txt: Added.
Make cross platform text expectation by dumping spelling/grammar markers
instead of whole tree which in terms of spellchecking says nothing.
* editing/spelling/inline-spelling-markers.html: Added.
Remove unnecessary new lines from div elements so position of markers can be given from 0.
Activate text checking by adding a word separator so WebKit starts performing spell and grammar
checking. Selection change does not invoke grammar checking unless we start editing the input
element's content.
* platform/efl/editing/spelling/inline_spelling_markers-expected.png: Removed.
* platform/efl/editing/spelling/inline_spelling_markers-expected.txt: Removed.
* platform/gtk/editing/spelling/inline_spelling_markers-expected.png: Removed.
* platform/gtk/editing/spelling/inline_spelling_markers-expected.txt: Removed.
* platform/mac/editing/spelling/inline_spelling_markers-expected.png: Removed.
* platform/mac/editing/spelling/inline_spelling_markers-expected.txt: Removed.
Those are not needed as pixel tests don't introduce anything special here.
Let's keep them in hidpi test only.
* editing/spelling/inline-spelling-markers-hidpi-expected.txt:
* editing/spelling/inline-spelling-markers-hidpi.html:
Apply changes from inline-spelling-markers.html
* platform/mac/editing/spelling/inline-spelling-markers-hidpi-expected.png: Added.
* platform/efl/editing/spelling/inline-spelling-markers-hidpi-expected.png: Removed.
* platform/gtk/editing/spelling/inline-spelling-markers-hidpi-expected.png: Removed.
Remove wrong baselines due to missing grammar markers.
* platform/efl-wk2/TestExpectations:
* platform/gtk/TestExpectations:
Mark inline-spelling-markers.html and its hidpi version as failures
since EFL and GTK do not implement grammar checking.
* platform/mac-wk2/TestExpectations:
* platform/win/TestExpectations:
Mark inline-spelling-markers.html and its hidpi version as failures
due to missing TextChecker::requestCheckingOfString() implementation.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestseditingspellinginlinespellingmarkershidpiexpectedtxt">trunk/LayoutTests/editing/spelling/inline-spelling-markers-hidpi-expected.txt</a></li>
<li><a href="#trunkLayoutTestseditingspellinginlinespellingmarkershidpihtml">trunk/LayoutTests/editing/spelling/inline-spelling-markers-hidpi.html</a></li>
<li><a href="#trunkLayoutTestsplatformeflwk2TestExpectations">trunk/LayoutTests/platform/efl-wk2/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformgtkTestExpectations">trunk/LayoutTests/platform/gtk/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk2TestExpectations">trunk/LayoutTests/platform/mac-wk2/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformwinTestExpectations">trunk/LayoutTests/platform/win/TestExpectations</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestseditingspellinginlinespellingmarkersexpectedtxt">trunk/LayoutTests/editing/spelling/inline-spelling-markers-expected.txt</a></li>
<li><a href="#trunkLayoutTestseditingspellinginlinespellingmarkershtml">trunk/LayoutTests/editing/spelling/inline-spelling-markers.html</a></li>
<li><a href="#trunkLayoutTestsplatformmaceditingspellinginlinespellingmarkershidpiexpectedpng">trunk/LayoutTests/platform/mac/editing/spelling/inline-spelling-markers-hidpi-expected.png</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestseditingspellinginline_spelling_markershtml">trunk/LayoutTests/editing/spelling/inline_spelling_markers.html</a></li>
<li><a href="#trunkLayoutTestsplatformefleditingspellinginlinespellingmarkershidpiexpectedpng">trunk/LayoutTests/platform/efl/editing/spelling/inline-spelling-markers-hidpi-expected.png</a></li>
<li><a href="#trunkLayoutTestsplatformefleditingspellinginline_spelling_markersexpectedpng">trunk/LayoutTests/platform/efl/editing/spelling/inline_spelling_markers-expected.png</a></li>
<li><a href="#trunkLayoutTestsplatformefleditingspellinginline_spelling_markersexpectedtxt">trunk/LayoutTests/platform/efl/editing/spelling/inline_spelling_markers-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkeditingspellinginlinespellingmarkershidpiexpectedpng">trunk/LayoutTests/platform/gtk/editing/spelling/inline-spelling-markers-hidpi-expected.png</a></li>
<li><a href="#trunkLayoutTestsplatformgtkeditingspellinginline_spelling_markersexpectedpng">trunk/LayoutTests/platform/gtk/editing/spelling/inline_spelling_markers-expected.png</a></li>
<li><a href="#trunkLayoutTestsplatformgtkeditingspellinginline_spelling_markersexpectedtxt">trunk/LayoutTests/platform/gtk/editing/spelling/inline_spelling_markers-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmaceditingspellinginline_spelling_markersexpectedpng">trunk/LayoutTests/platform/mac/editing/spelling/inline_spelling_markers-expected.png</a></li>
<li><a href="#trunkLayoutTestsplatformmaceditingspellinginline_spelling_markersexpectedtxt">trunk/LayoutTests/platform/mac/editing/spelling/inline_spelling_markers-expected.txt</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (164642 => 164643)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2014-02-25 12:44:42 UTC (rev 164642)
+++ trunk/LayoutTests/ChangeLog        2014-02-25 13:31:45 UTC (rev 164643)
</span><span class="lines">@@ -1,3 +1,54 @@
</span><ins>+2014-02-25 Grzegorz Czajkowski <g.czajkowski@samsung.com>
+
+ Refactoring inline_spelling_markers.html to use asynchronous spellchecking
+ https://bugs.webkit.org/show_bug.cgi?id=127284
+
+ Reviewed by Ryosuke Niwa.
+
+ Use asynchronous text checking in inline-spelling-markers.html and
+ inline-spelling-markers-hidpi.html
+
+ Rename the test to inline-spelling-markers.html to match the naming convention.
+
+ * editing/spelling/inline-spelling-markers-expected.txt: Added.
+ Make cross platform text expectation by dumping spelling/grammar markers
+ instead of whole tree which in terms of spellchecking says nothing.
+
+ * editing/spelling/inline-spelling-markers.html: Added.
+ Remove unnecessary new lines from div elements so position of markers can be given from 0.
+ Activate text checking by adding a word separator so WebKit starts performing spell and grammar
+ checking. Selection change does not invoke grammar checking unless we start editing the input
+ element's content.
+
+ * platform/efl/editing/spelling/inline_spelling_markers-expected.png: Removed.
+ * platform/efl/editing/spelling/inline_spelling_markers-expected.txt: Removed.
+ * platform/gtk/editing/spelling/inline_spelling_markers-expected.png: Removed.
+ * platform/gtk/editing/spelling/inline_spelling_markers-expected.txt: Removed.
+ * platform/mac/editing/spelling/inline_spelling_markers-expected.png: Removed.
+ * platform/mac/editing/spelling/inline_spelling_markers-expected.txt: Removed.
+ Those are not needed as pixel tests don't introduce anything special here.
+ Let's keep them in hidpi test only.
+
+ * editing/spelling/inline-spelling-markers-hidpi-expected.txt:
+ * editing/spelling/inline-spelling-markers-hidpi.html:
+ Apply changes from inline-spelling-markers.html
+
+ * platform/mac/editing/spelling/inline-spelling-markers-hidpi-expected.png: Added.
+
+ * platform/efl/editing/spelling/inline-spelling-markers-hidpi-expected.png: Removed.
+ * platform/gtk/editing/spelling/inline-spelling-markers-hidpi-expected.png: Removed.
+ Remove wrong baselines due to missing grammar markers.
+
+ * platform/efl-wk2/TestExpectations:
+ * platform/gtk/TestExpectations:
+ Mark inline-spelling-markers.html and its hidpi version as failures
+ since EFL and GTK do not implement grammar checking.
+
+ * platform/mac-wk2/TestExpectations:
+ * platform/win/TestExpectations:
+ Mark inline-spelling-markers.html and its hidpi version as failures
+ due to missing TextChecker::requestCheckingOfString() implementation.
+
</ins><span class="cx"> 2014-02-25 Radu Stavila <stavila@adobe.com>
</span><span class="cx">
</span><span class="cx"> [CSS Regions] scrollIntoView for elements flowed into regions
</span></span></pre></div>
<a id="trunkLayoutTestseditingspellinginlinespellingmarkersexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/editing/spelling/inline-spelling-markers-expected.txt (0 => 164643)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/editing/spelling/inline-spelling-markers-expected.txt         (rev 0)
+++ trunk/LayoutTests/editing/spelling/inline-spelling-markers-expected.txt        2014-02-25 13:31:45 UTC (rev 164643)
</span><span class="lines">@@ -0,0 +1,64 @@
</span><ins>+This tests the correct placement of inline spelling and grammar markers in the following text: 'the the adlj adaasj sdklj. there there'. Spelling markers should line up exactly under misspelled words in all cases.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+testLTR
+Verifies 'adlj'.
+PASS internals.hasSpellingMarker(8, 4) became true
+Verifies 'adaasj'.
+PASS internals.hasSpellingMarker(13, 6) became true
+Verifies 'sdklj'.
+PASS internals.hasSpellingMarker(20, 5) became true
+Verifies duplicated 'the'.
+PASS internals.hasGrammarMarker(4, 3) became true
+Verifies duplicated 'there'.
+PASS internals.hasGrammarMarker(33, 5) became true
+
+testRTL
+Verifies 'adlj'.
+PASS internals.hasSpellingMarker(8, 4) became true
+Verifies 'adaasj'.
+PASS internals.hasSpellingMarker(13, 6) became true
+Verifies 'sdklj'.
+PASS internals.hasSpellingMarker(20, 5) became true
+Verifies duplicated 'the'.
+PASS internals.hasGrammarMarker(4, 3) became true
+Verifies duplicated 'there'.
+PASS internals.hasGrammarMarker(33, 5) became true
+
+testLTREllipses
+Verifies 'adlj'.
+PASS internals.hasSpellingMarker(8, 4) became true
+Verifies 'adaasj'.
+PASS internals.hasSpellingMarker(13, 6) became true
+Verifies 'sdklj'.
+PASS internals.hasSpellingMarker(20, 5) became true
+Verifies duplicated 'the'.
+PASS internals.hasGrammarMarker(4, 3) became true
+Verifies duplicated 'there'.
+PASS internals.hasGrammarMarker(33, 5) became true
+
+testRTLEllipses
+Verifies 'adlj'.
+PASS internals.hasSpellingMarker(8, 4) became true
+Verifies 'adaasj'.
+PASS internals.hasSpellingMarker(13, 6) became true
+Verifies 'sdklj'.
+PASS internals.hasSpellingMarker(20, 5) became true
+Verifies duplicated 'the'.
+PASS internals.hasGrammarMarker(4, 3) became true
+Verifies duplicated 'there'.
+PASS internals.hasGrammarMarker(33, 5) became true
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+LTR
+the the adlj adaasj sdklj. there there
+RTL
+the the adlj adaasj sdklj. there there
+LTR (text-overflow:ellipses):
+the the adlj adaasj sdklj. there there
+RTL (text-overflow:ellipses):
+the the adlj adaasj sdklj. there there
</ins></span></pre></div>
<a id="trunkLayoutTestseditingspellinginlinespellingmarkershidpiexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/editing/spelling/inline-spelling-markers-hidpi-expected.txt (164642 => 164643)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/editing/spelling/inline-spelling-markers-hidpi-expected.txt        2014-02-25 12:44:42 UTC (rev 164642)
+++ trunk/LayoutTests/editing/spelling/inline-spelling-markers-hidpi-expected.txt        2014-02-25 13:31:45 UTC (rev 164643)
</span><span class="lines">@@ -1,11 +1,36 @@
</span><del>-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.
</del><ins>+This tests the correct placement of inline spelling and grammar markers in the following text: 'the the adlj adaasj sdklj. there there'. Spelling markers should line up exactly under misspelled words in all cases.
</ins><span class="cx">
</span><ins>+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS internals.hasSpellingMarker(8, 4) became true
+PASS internals.hasSpellingMarker(13, 6) became true
+PASS internals.hasSpellingMarker(20, 5) became true
+PASS internals.hasGrammarMarker(4, 3) became true
+PASS internals.hasGrammarMarker(33, 5) became true
+PASS internals.hasSpellingMarker(8, 4) became true
+PASS internals.hasSpellingMarker(13, 6) became true
+PASS internals.hasSpellingMarker(20, 5) became true
+PASS internals.hasGrammarMarker(4, 3) became true
+PASS internals.hasGrammarMarker(33, 5) became true
+PASS internals.hasSpellingMarker(8, 4) became true
+PASS internals.hasSpellingMarker(13, 6) became true
+PASS internals.hasSpellingMarker(20, 5) became true
+PASS internals.hasGrammarMarker(4, 3) became true
+PASS internals.hasGrammarMarker(33, 5) became true
+PASS internals.hasSpellingMarker(8, 4) became true
+PASS internals.hasSpellingMarker(13, 6) became true
+PASS internals.hasSpellingMarker(20, 5) became true
+PASS internals.hasGrammarMarker(4, 3) became true
+PASS internals.hasGrammarMarker(33, 5) became true
+PASS successfullyParsed is true
+
+TEST COMPLETE
</ins><span class="cx"> LTR
</span><del>-the the adlj adaasj sdklj. there there
</del><ins>+the the adlj adaasj sdklj. there there
</ins><span class="cx"> RTL
</span><del>-the the adlj adaasj sdklj. there there
</del><ins>+the the adlj adaasj sdklj. there there
</ins><span class="cx"> LTR (text-overflow:ellipses):
</span><del>-the the adlj adaasj sdklj. there there
</del><ins>+the the adlj adaasj sdklj. there there
</ins><span class="cx"> RTL (text-overflow:ellipses):
</span><del>-the the adlj adaasj sdklj. there there
</del><ins>+the the adlj adaasj sdklj. there there
</ins></span></pre></div>
<a id="trunkLayoutTestseditingspellinginlinespellingmarkershidpihtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/editing/spelling/inline-spelling-markers-hidpi.html (164642 => 164643)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/editing/spelling/inline-spelling-markers-hidpi.html        2014-02-25 12:44:42 UTC (rev 164642)
+++ trunk/LayoutTests/editing/spelling/inline-spelling-markers-hidpi.html        2014-02-25 13:31:45 UTC (rev 164643)
</span><span class="lines">@@ -17,65 +17,96 @@
</span><span class="cx"> .ellipses {
</span><span class="cx"> text-overflow:ellipsis;
</span><span class="cx"> }
</span><del>-
</del><span class="cx"> </style>
</span><ins>+</head>
</ins><span class="cx">
</span><ins>+<body>
+<script src="../../resources/js-test-pre.js"></script>
+LTR
+<div id="testLTR" class="testDiv" contenteditable="true"></div>
+RTL
+<div id="testRTL" class="testDiv forcertl" contenteditable="true"></div>
+LTR (text-overflow:ellipses):
+<div id="testLTREllipses" class="testDiv ellipses" contenteditable="true"></div>
+RTL (text-overflow:ellipses):
+<div id="testRTLEllipses" class="testDiv forcertl ellipses" contenteditable="true"></div>
+
</ins><span class="cx"> <script>
</span><del>-function moveCursorOverAllWords(divName, numWords) {
- div = document.getElementById(divName);
</del><ins>+
+const incorrectPhrase = "the the adlj adaasj sdklj. there there";
+
+description("This tests the correct placement of inline spelling and grammar "
+ + "markers in the following text: "
+ + "'" + incorrectPhrase + "'. "
+ + "Spelling markers should line up exactly under misspelled words in all cases.");
+
+jsTestIsAsync = true;
+
+if (window.internals) {
+ internals.settings.setUnifiedTextCheckerEnabled(true);
+ internals.settings.setAsynchronousSpellCheckingEnabled(true);
+}
+
+function runTextCheckingTestFor(id)
+{
+ var div = document.getElementById(id);
</ins><span class="cx"> div.focus();
</span><del>- var selection = window.getSelection();
- // Move to start of text
- selection.modify("move", "backward", "line");
- // Move cursor over all words so inline spellchecking is activated for all
- for (var i = 0; i < 100; i++ ) {
- selection.modify("move", "forward", "word");
- }
- // Remove focus from the element, since the word under the cursor won't have a misspelling marker.
- div.blur();
</del><ins>+ document.execCommand("InsertText", false, incorrectPhrase);
+
+ // Add a word separator so that both spelling and grammar markers will appear.
+ document.execCommand("InsertText", false, " ");
+
+ verifyMarkers();
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-function startTest() {
- if (!window.testRunner)
- return;
- testRunner.dumpAsText(true);
- testRunner.waitUntilDone();
- testRunner.setBackingScaleFactor(2, function () {
- moveCursorOverAllWords('testLTR');
- moveCursorOverAllWords('testRTL');
- moveCursorOverAllWords('testLTREllipses');
- moveCursorOverAllWords('testRTLEllipses');
- testRunner.notifyDone();
</del><ins>+function verifyMarkers()
+{
+ if (!window.internals)
+ return done();
+
+ // Take care of spelling markers first.
+ shouldBecomeEqual('internals.hasSpellingMarker(8, 4)', 'true', function() { // Verifies 'adlj'.
+ shouldBecomeEqual('internals.hasSpellingMarker(13, 6)', 'true', function() { // Verifies 'adaasj'.
+ shouldBecomeEqual('internals.hasSpellingMarker(20, 5)', 'true', function() { // Verifies 'sdklj'.
+ verifyGrammarMarkers();
+ });
+ });
</ins><span class="cx"> });
</span><ins>+
+ function verifyGrammarMarkers()
+ {
+ shouldBecomeEqual('internals.hasGrammarMarker(4, 3)', 'true', function() { // Verifies duplicated 'the'.
+ shouldBecomeEqual('internals.hasGrammarMarker(33, 5)', 'true', function() { // Verifies duplicated 'there'.
+ done();
+ });
+ });
+ }
</ins><span class="cx"> }
</span><del>-</script>
-</head>
-<body onload="startTest()">
-<p id="explanation">
-This tests the correct placement of inline spelling and grammar markers in text.<br>
-Spelling markers should line up exactly under misspelled words in all cases.
-</p>
</del><span class="cx">
</span><del>-LTR
-<div id="testLTR" class="testDiv" contenteditable="true">
-the the adlj adaasj sdklj. there there
-</div>
</del><ins>+var tests = [
+ function() { runTextCheckingTestFor('testLTR'); },
+ function() { runTextCheckingTestFor('testRTL'); },
+ function() { runTextCheckingTestFor('testLTREllipses'); },
+ function() { runTextCheckingTestFor('testRTLEllipses'); }
+];
</ins><span class="cx">
</span><del>-RTL
-<div id="testRTL" class="testDiv forcertl" contenteditable="true">
-the the adlj adaasj sdklj. there there
-</div>
</del><ins>+function done()
+{
+ var next = tests.shift();
+ if (next)
+ return window.setTimeout(next, 0);
</ins><span class="cx">
</span><ins>+ finishJSTest();
+}
</ins><span class="cx">
</span><del>-LTR (text-overflow:ellipses):
-<div id="testLTREllipses" class="testDiv ellipses" contenteditable="true">
-the the adlj adaasj sdklj. there there
-</div>
</del><ins>+if (window.testRunner) {
+ testRunner.dumpAsText(true);
+ testRunner.setBackingScaleFactor(2, function () {
+ done();
+ });
+}
</ins><span class="cx">
</span><del>-RTL (text-overflow:ellipses):
-<div id="testRTLEllipses" class="testDiv forcertl ellipses" contenteditable="true">
-the the adlj adaasj sdklj. there there
-</div>
-
</del><ins>+</script>
+<script src="../../resources/js-test-post.js"></script>
</ins><span class="cx"> </body>
</span><span class="cx"> </html>
</span></span></pre></div>
<a id="trunkLayoutTestseditingspellinginlinespellingmarkershtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/editing/spelling/inline-spelling-markers.html (0 => 164643)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/editing/spelling/inline-spelling-markers.html         (rev 0)
+++ trunk/LayoutTests/editing/spelling/inline-spelling-markers.html        2014-02-25 13:31:45 UTC (rev 164643)
</span><span class="lines">@@ -0,0 +1,113 @@
</span><ins>+<html>
+<head>
+<style>
+.testDiv {
+ width: 200px;
+ height: 20px;
+ border: 1px solid black;
+ white-space: nowrap;
+ overflow: hidden;
+}
+
+.forcertl {
+ direction: rtl;
+ unicode-bidi: bidi-override;
+}
+
+.ellipses {
+ text-overflow:ellipsis;
+}
+</style>
+</head>
+
+<body>
+<script src="../../resources/js-test-pre.js"></script>
+LTR
+<div id="testLTR" class="testDiv" contenteditable="true"></div>
+RTL
+<div id="testRTL" class="testDiv forcertl" contenteditable="true"></div>
+LTR (text-overflow:ellipses):
+<div id="testLTREllipses" class="testDiv ellipses" contenteditable="true"></div>
+RTL (text-overflow:ellipses):
+<div id="testRTLEllipses" class="testDiv forcertl ellipses" contenteditable="true"></div>
+
+<script>
+
+const incorrectPhrase = "the the adlj adaasj sdklj. there there";
+
+description("This tests the correct placement of inline spelling and grammar "
+ + "markers in the following text: "
+ + "'" + incorrectPhrase + "'. "
+ + "Spelling markers should line up exactly under misspelled words in all cases.");
+
+jsTestIsAsync = true;
+
+if (window.internals) {
+ internals.settings.setUnifiedTextCheckerEnabled(true);
+ internals.settings.setAsynchronousSpellCheckingEnabled(true);
+}
+
+function runTextCheckingTestFor(id)
+{
+ var div = document.getElementById(id);
+ debug(div.id);
+
+ div.focus();
+ document.execCommand("InsertText", false, incorrectPhrase);
+
+ // Add a word separator so that both spelling and grammar markers will appear.
+ document.execCommand("InsertText", false, " ");
+
+ verifyMarkers();
+}
+
+function verifyMarkers()
+{
+ if (!window.internals)
+ return done();
+
+ // Take care of spelling markers first.
+ debug("Verifies 'adlj'.");
+ shouldBecomeEqual('internals.hasSpellingMarker(8, 4)', 'true', function() {
+ debug("Verifies 'adaasj'.");
+ shouldBecomeEqual('internals.hasSpellingMarker(13, 6)', 'true', function() {
+ debug("Verifies 'sdklj'.");
+ shouldBecomeEqual('internals.hasSpellingMarker(20, 5)', 'true', function() {
+ verifyGrammarMarkers();
+ });
+ });
+ });
+
+ function verifyGrammarMarkers()
+ {
+ debug("Verifies duplicated 'the'.");
+ shouldBecomeEqual('internals.hasGrammarMarker(4, 3)', 'true', function() {
+ debug("Verifies duplicated 'there'.");
+ shouldBecomeEqual('internals.hasGrammarMarker(33, 5)', 'true', function() {
+ debug("");
+ done();
+ });
+ });
+ }
+}
+
+var tests = [
+ function() { runTextCheckingTestFor('testLTR'); },
+ function() { runTextCheckingTestFor('testRTL'); },
+ function() { runTextCheckingTestFor('testLTREllipses'); },
+ function() { runTextCheckingTestFor('testRTLEllipses'); }
+];
+
+function done()
+{
+ var next = tests.shift();
+ if (next)
+ return window.setTimeout(next, 0);
+
+ finishJSTest();
+}
+done();
+</script>
+<script src="../../resources/js-test-post.js"></script>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestseditingspellinginline_spelling_markershtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/editing/spelling/inline_spelling_markers.html (164642 => 164643)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/editing/spelling/inline_spelling_markers.html        2014-02-25 12:44:42 UTC (rev 164642)
+++ trunk/LayoutTests/editing/spelling/inline_spelling_markers.html        2014-02-25 13:31:45 UTC (rev 164643)
</span><span class="lines">@@ -1,75 +0,0 @@
</span><del>-<html>
-<head>
-<style>
-.testDiv {
- width: 200px;
- height: 20px;
- border: 1px solid black;
- white-space: nowrap;
- overflow: hidden;
-}
-
-.forcertl {
- direction: rtl;
- unicode-bidi: bidi-override;
-}
-
-.ellipses {
- text-overflow:ellipsis;
-}
-
-</style>
-
-<script>
-function moveCursorOverAllWords(divName, numWords) {
- div = document.getElementById(divName);
- div.focus();
- var selection = window.getSelection();
- // Move to start of text
- selection.modify("move", "backward", "line");
- // Move cursor over all words so inline spellchecking is activated for all
- for (var i = 0; i < 100; i++ ) {
- selection.modify("move", "forward", "word");
- }
- // Remove focus from the element, since the word under the cursor won't have a misspelling marker.
- div.blur();
-}
-
-function startTest() {
- moveCursorOverAllWords('testLTR');
- moveCursorOverAllWords('testRTL');
- moveCursorOverAllWords('testLTREllipses');
- moveCursorOverAllWords('testRTLEllipses');
-
-}
-</script>
-</head>
-<body onload="startTest()">
-<p id="explanation">
-This tests the correct placement of inline spelling and grammar markers in text.<br>
-Spelling markers should line up exactly under misspelled words in all cases.
-</p>
-
-LTR
-<div id="testLTR" class="testDiv" contenteditable="true">
-the the adlj adaasj sdklj. there there
-</div>
-
-RTL
-<div id="testRTL" class="testDiv forcertl" contenteditable="true">
-the the adlj adaasj sdklj. there there
-</div>
-
-
-LTR (text-overflow:ellipses):
-<div id="testLTREllipses" class="testDiv ellipses" contenteditable="true">
-the the adlj adaasj sdklj. there there
-</div>
-
-RTL (text-overflow:ellipses):
-<div id="testRTLEllipses" class="testDiv forcertl ellipses" contenteditable="true">
-the the adlj adaasj sdklj. there there
-</div>
-
-</body>
-</html>
</del></span></pre></div>
<a id="trunkLayoutTestsplatformefleditingspellinginlinespellingmarkershidpiexpectedpng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/platform/efl/editing/spelling/inline-spelling-markers-hidpi-expected.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsplatformefleditingspellinginline_spelling_markersexpectedpng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/platform/efl/editing/spelling/inline_spelling_markers-expected.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsplatformefleditingspellinginline_spelling_markersexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/efl/editing/spelling/inline_spelling_markers-expected.txt (164642 => 164643)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/editing/spelling/inline_spelling_markers-expected.txt        2014-02-25 12:44:42 UTC (rev 164642)
+++ trunk/LayoutTests/platform/efl/editing/spelling/inline_spelling_markers-expected.txt        2014-02-25 13:31:45 UTC (rev 164643)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {P} at (0,0) size 784x36
- RenderText {#text} at (0,0) size 494x17
- text run at (0,0) width 494: "This tests the correct placement of inline spelling and grammar markers in text."
- RenderBR {BR} at (494,14) size 0x0
- RenderText {#text} at (0,18) size 477x17
- text run at (0,18) width 477: "Spelling markers should line up exactly under misspelled words in all cases."
- RenderBlock (anonymous) at (0,52) size 784x18
- RenderText {#text} at (0,0) size 31x17
- text run at (0,0) width 31: "LTR"
- RenderBlock (anonymous) at (0,92) size 784x18
- RenderText {#text} at (0,0) size 31x17
- text run at (0,0) width 31: "RTL"
- RenderBlock (anonymous) at (0,132) size 784x18
- RenderText {#text} at (0,0) size 184x17
- text run at (0,0) width 184: "LTR (text-overflow:ellipses):"
- RenderBlock (anonymous) at (0,172) size 784x18
- RenderText {#text} at (0,0) size 184x17
- text run at (0,0) width 184: "RTL (text-overflow:ellipses):"
-layer at (8,78) size 202x22 clip at (9,79) size 200x20 scrollWidth 221
- RenderBlock {DIV} at (0,70) size 202x22 [border: (1px solid #000000)]
- RenderText {#text} at (1,1) size 220x17
- text run at (1,1) width 220: "the the adlj adaasj sdklj. there there"
-layer at (8,118) size 202x22 clip at (9,119) size 200x20 scrollX 20 scrollWidth 220
- RenderBlock {DIV} at (0,110) size 202x22 [border: (1px solid #000000)]
- RenderText {#text} at (-19,1) size 220x17
- text run at (-19,1) width 220 RTL override: "the the adlj adaasj sdklj. there there"
-layer at (8,158) size 202x22 clip at (9,159) size 200x20 scrollWidth 221
- RenderBlock {DIV} at (0,150) size 202x22 [border: (1px solid #000000)]
- RenderText {#text} at (1,1) size 220x17
- text run at (1,1) width 220: "the the adlj adaasj sdklj. there there"
-layer at (8,198) size 202x22 clip at (9,199) size 200x20 scrollX 20 scrollWidth 220
- RenderBlock {DIV} at (0,190) size 202x22 [border: (1px solid #000000)]
- RenderText {#text} at (-19,1) size 220x17
- text run at (-19,1) width 220 RTL override: "the the adlj adaasj sdklj. there there"
</del></span></pre></div>
<a id="trunkLayoutTestsplatformeflwk2TestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/efl-wk2/TestExpectations (164642 => 164643)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl-wk2/TestExpectations        2014-02-25 12:44:42 UTC (rev 164642)
+++ trunk/LayoutTests/platform/efl-wk2/TestExpectations        2014-02-25 13:31:45 UTC (rev 164643)
</span><span class="lines">@@ -313,6 +313,8 @@
</span><span class="cx"> Bug(EFL) editing/spelling/grammar-markers.html [ Failure ]
</span><span class="cx"> Bug(EFL) editing/spelling/grammar-markers-hidpi.html [ Failure ]
</span><span class="cx"> Bug(EFL) editing/spelling/grammar-paste.html [ Failure ]
</span><ins>+Bug(EFL) editing/spelling/inline-spelling-markers.html [ Failure ]
+Bug(EFL) editing/spelling/inline-spelling-markers-hidpi.html [ Failure ]
</ins><span class="cx"> Bug(EFL) editing/spelling/markers.html [ Failure ]
</span><span class="cx">
</span><span class="cx"> # EFL's text checker doesn't support the text replacement feature.
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/TestExpectations (164642 => 164643)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/TestExpectations        2014-02-25 12:44:42 UTC (rev 164642)
+++ trunk/LayoutTests/platform/gtk/TestExpectations        2014-02-25 13:31:45 UTC (rev 164643)
</span><span class="lines">@@ -1136,6 +1136,8 @@
</span><span class="cx"> Bug(GTK) editing/spelling/grammar-markers.html [ Skip ]
</span><span class="cx"> Bug(GTK) editing/spelling/grammar-markers-hidpi.html [ Skip ]
</span><span class="cx"> Bug(GTK) editing/spelling/grammar-paste.html [ Skip ]
</span><ins>+Bug(GTK) editing/spelling/inline-spelling-markers.html [ Skip ]
+Bug(GTK) editing/spelling/inline-spelling-markers-hidpi.html [ Skip ]
</ins><span class="cx"> Bug(GTK) editing/spelling/markers.html [ Skip ]
</span><span class="cx">
</span><span class="cx"> # Missing asynchronous spellchecking implementation.
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkeditingspellinginlinespellingmarkershidpiexpectedpng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/platform/gtk/editing/spelling/inline-spelling-markers-hidpi-expected.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkeditingspellinginline_spelling_markersexpectedpng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/platform/gtk/editing/spelling/inline_spelling_markers-expected.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkeditingspellinginline_spelling_markersexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/gtk/editing/spelling/inline_spelling_markers-expected.txt (164642 => 164643)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/editing/spelling/inline_spelling_markers-expected.txt        2014-02-25 12:44:42 UTC (rev 164642)
+++ trunk/LayoutTests/platform/gtk/editing/spelling/inline_spelling_markers-expected.txt        2014-02-25 13:31:45 UTC (rev 164643)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {P} at (0,0) size 784x34
- RenderText {#text} at (0,0) size 494x17
- text run at (0,0) width 494: "This tests the correct placement of inline spelling and grammar markers in text."
- RenderBR {BR} at (494,14) size 0x0
- RenderText {#text} at (0,17) size 477x17
- text run at (0,17) width 477: "Spelling markers should line up exactly under misspelled words in all cases."
- RenderBlock (anonymous) at (0,50) size 784x17
- RenderText {#text} at (0,0) size 31x17
- text run at (0,0) width 31: "LTR"
- RenderBlock (anonymous) at (0,89) size 784x17
- RenderText {#text} at (0,0) size 31x17
- text run at (0,0) width 31: "RTL"
- RenderBlock (anonymous) at (0,128) size 784x17
- RenderText {#text} at (0,0) size 184x17
- text run at (0,0) width 184: "LTR (text-overflow:ellipses):"
- RenderBlock (anonymous) at (0,167) size 784x17
- RenderText {#text} at (0,0) size 184x17
- text run at (0,0) width 184: "RTL (text-overflow:ellipses):"
-layer at (8,75) size 202x22 clip at (9,76) size 200x20 scrollWidth 221
- RenderBlock {DIV} at (0,67) size 202x22 [border: (1px solid #000000)]
- RenderText {#text} at (1,1) size 220x17
- text run at (1,1) width 220: "the the adlj adaasj sdklj. there there"
-layer at (8,114) size 202x22 clip at (9,115) size 200x20 scrollX 20 scrollWidth 220
- RenderBlock {DIV} at (0,106) size 202x22 [border: (1px solid #000000)]
- RenderText {#text} at (-19,1) size 220x17
- text run at (-19,1) width 220 RTL override: "the the adlj adaasj sdklj. there there"
-layer at (8,153) size 202x22 clip at (9,154) size 200x20 scrollWidth 221
- RenderBlock {DIV} at (0,145) size 202x22 [border: (1px solid #000000)]
- RenderText {#text} at (1,1) size 220x17
- text run at (1,1) width 220: "the the adlj adaasj sdklj. there there"
-layer at (8,192) size 202x22 clip at (9,193) size 200x20 scrollX 20 scrollWidth 220
- RenderBlock {DIV} at (0,184) size 202x22 [border: (1px solid #000000)]
- RenderText {#text} at (-19,1) size 220x17
- text run at (-19,1) width 220 RTL override: "the the adlj adaasj sdklj. there there"
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmaceditingspellinginlinespellingmarkershidpiexpectedpng"></a>
<div class="binary"><h4>Added: trunk/LayoutTests/platform/mac/editing/spelling/inline-spelling-markers-hidpi-expected.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/LayoutTests/platform/mac/editing/spelling/inline-spelling-markers-hidpi-expected.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkLayoutTestsplatformmaceditingspellinginline_spelling_markersexpectedpng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/platform/mac/editing/spelling/inline_spelling_markers-expected.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmaceditingspellinginline_spelling_markersexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/editing/spelling/inline_spelling_markers-expected.txt (164642 => 164643)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/editing/spelling/inline_spelling_markers-expected.txt        2014-02-25 12:44:42 UTC (rev 164642)
+++ trunk/LayoutTests/platform/mac/editing/spelling/inline_spelling_markers-expected.txt        2014-02-25 13:31:45 UTC (rev 164643)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {P} at (0,0) size 784x36
- RenderText {#text} at (0,0) size 494x18
- text run at (0,0) width 494: "This tests the correct placement of inline spelling and grammar markers in text."
- RenderBR {BR} at (494,14) size 0x0
- RenderText {#text} at (0,18) size 477x18
- text run at (0,18) width 477: "Spelling markers should line up exactly under misspelled words in all cases."
- RenderBlock (anonymous) at (0,52) size 784x18
- RenderText {#text} at (0,0) size 31x18
- text run at (0,0) width 31: "LTR"
- RenderBlock (anonymous) at (0,92) size 784x18
- RenderText {#text} at (0,0) size 31x18
- text run at (0,0) width 31: "RTL"
- RenderBlock (anonymous) at (0,132) size 784x18
- RenderText {#text} at (0,0) size 184x18
- text run at (0,0) width 184: "LTR (text-overflow:ellipses):"
- RenderBlock (anonymous) at (0,172) size 784x18
- RenderText {#text} at (0,0) size 184x18
- text run at (0,0) width 184: "RTL (text-overflow:ellipses):"
-layer at (8,78) size 202x22 clip at (9,79) size 200x20 scrollWidth 221
- RenderBlock {DIV} at (0,70) size 202x22 [border: (1px solid #000000)]
- RenderText {#text} at (1,1) size 220x18
- text run at (1,1) width 220: "the the adlj adaasj sdklj. there there"
-layer at (8,118) size 202x22 clip at (9,119) size 200x20 scrollX 20 scrollWidth 220
- RenderBlock {DIV} at (0,110) size 202x22 [border: (1px solid #000000)]
- RenderText {#text} at (-19,1) size 220x18
- text run at (-19,1) width 220 RTL override: "the the adlj adaasj sdklj. there there"
-layer at (8,158) size 202x22 clip at (9,159) size 200x20 scrollWidth 221
- RenderBlock {DIV} at (0,150) size 202x22 [border: (1px solid #000000)]
- RenderText {#text} at (1,1) size 220x18
- text run at (1,1) width 220: "the the adlj adaasj sdklj. there there"
-layer at (8,198) size 202x22 clip at (9,199) size 200x20 scrollX 20 scrollWidth 220
- RenderBlock {DIV} at (0,190) size 202x22 [border: (1px solid #000000)]
- RenderText {#text} at (-19,1) size 220x18
- text run at (-19,1) width 220 RTL override: "the the adlj adaasj sdklj. there there"
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk2TestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (164642 => 164643)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk2/TestExpectations        2014-02-25 12:44:42 UTC (rev 164642)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations        2014-02-25 13:31:45 UTC (rev 164643)
</span><span class="lines">@@ -373,6 +373,8 @@
</span><span class="cx"> editing/spelling/grammar-markers.html
</span><span class="cx"> editing/spelling/grammar-paste.html
</span><span class="cx"> editing/spelling/grammar-markers-hidpi.html
</span><ins>+editing/spelling/inline-spelling-markers.html
+editing/spelling/inline-spelling-markers-hidpi.html
</ins><span class="cx"> editing/spelling/spellcheck-async-mutation.html
</span><span class="cx"> editing/spelling/spellcheck-async-remove-frame.html
</span><span class="cx"> editing/spelling/spellcheck-async.html
</span></span></pre></div>
<a id="trunkLayoutTestsplatformwinTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/win/TestExpectations (164642 => 164643)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/win/TestExpectations        2014-02-25 12:44:42 UTC (rev 164642)
+++ trunk/LayoutTests/platform/win/TestExpectations        2014-02-25 13:31:45 UTC (rev 164643)
</span><span class="lines">@@ -1063,6 +1063,8 @@
</span><span class="cx"> editing/spelling/grammar.html
</span><span class="cx">
</span><span class="cx"> # Needs grammar checking.
</span><ins>+editing/spelling/inline-spelling-markers.html [ Failure ]
+editing/spelling/inline-spelling-markers-hidpi.html [ Failure ]
</ins><span class="cx"> editing/spelling/markers.html
</span><span class="cx">
</span><span class="cx"> # EditorClient::requestCheckingOfString() is not implemented
</span></span></pre>
</div>
</div>
</body>
</html>