Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Unified Diff: LayoutTests/editing/spelling/spelling-attribute-at-child-expected.txt

Issue 190663014: Verify spellcheck attribute asynchronously (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: apply tony and groby comments Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/editing/spelling/spelling-attribute-at-child-expected.txt
diff --git a/LayoutTests/editing/spelling/spelling-attribute-at-child-expected.txt b/LayoutTests/editing/spelling/spelling-attribute-at-child-expected.txt
index 54b4ef8ba3feca26c08faf1282d8eba3d368740d..0ab342385e7295e24989e506c70e081a66be76ad 100644
--- a/LayoutTests/editing/spelling/spelling-attribute-at-child-expected.txt
+++ b/LayoutTests/editing/spelling/spelling-attribute-at-child-expected.txt
@@ -1,18 +1,44 @@
-Tests if the spellchecker behavior change after the spellcheck attribute changed by the script.
+Tests if the spellchecker behaves correctly when child has own spellcheck attribute.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS childHasSpellingMarker("<div contentEditable>Foo <span spellcheck='false' id='child'>[]</span> Baz</div>") is false
-PASS childHasSpellingMarker("<div contentEditable>Foo <span id='child'>[]</span> Baz</div>") is true
-PASS childHasSpellingMarker("<div contentEditable>Foo <span spellcheck='true' id='child'>[]</span> Baz</div>") is true
-PASS childHasSpellingMarker("<div spellcheck='false' contentEditable>Foo <span spellcheck='false' id='child'>[]</span> Baz</div>") is false
-PASS childHasSpellingMarker("<div spellcheck='false' contentEditable>Foo <span id='child'>[]</span> Baz</div>") is false
-PASS childHasSpellingMarker("<div spellcheck='false' contentEditable>Foo <span spellcheck='true' id='child'>[]</span> Baz</div>") is true
-PASS childHasSpellingMarker("<div spellcheck='true' contentEditable>Foo <span spellcheck='false' id='child'>[]</span> Baz</div>") is false
-PASS childHasSpellingMarker("<div spellcheck='true' contentEditable>Foo <span id='child'>[]</span> Baz</div>") is true
-PASS childHasSpellingMarker("<div spellcheck='true' contentEditable>Foo <span spellcheck='true' id='child'>[]</span> Baz</div>") is true
+<div contenteditable="">Foo <span spellcheck="false" id="child">[zz ]</span> Baz</div>
+PASS internals.hasSpellingMarker(document, 1, 2) became false
+
+<div contenteditable="">Foo <span id="child">[zz ]</span> Baz</div>
+PASS internals.hasSpellingMarker(document, 1, 2) became true
+
+<div contenteditable="">Foo <span spellcheck="true" id="child">[zz ]</span> Baz</div>
+PASS internals.hasSpellingMarker(document, 1, 2) became true
+
+<div spellcheck="false" contenteditable="">Foo <span spellcheck="false" id="child">[zz ]</span> Baz</div>
+PASS internals.hasSpellingMarker(document, 1, 2) became false
+
+<div spellcheck="false" contenteditable="">Foo <span id="child">[zz ]</span> Baz</div>
+PASS internals.hasSpellingMarker(document, 1, 2) became false
+
+<div spellcheck="false" contenteditable="">Foo <span spellcheck="true" id="child">[zz ]</span> Baz</div>
+PASS internals.hasSpellingMarker(document, 1, 2) became true
+
+<div spellcheck="true" contenteditable="">Foo <span spellcheck="false" id="child">[zz ]</span> Baz</div>
+PASS internals.hasSpellingMarker(document, 1, 2) became false
+
+<div spellcheck="true" contenteditable="">Foo <span id="child">[zz ]</span> Baz</div>
+PASS internals.hasSpellingMarker(document, 1, 2) became true
+
+<div spellcheck="true" contenteditable="">Foo <span spellcheck="true" id="child">[zz ]</span> Baz</div>
+PASS internals.hasSpellingMarker(document, 1, 2) became true
+
PASS successfullyParsed is true
TEST COMPLETE
-
+Foo [zz ] Baz
+Foo [zz ] Baz
+Foo [zz ] Baz
+Foo [zz ] Baz
+Foo [zz ] Baz
+Foo [zz ] Baz
+Foo [zz ] Baz
+Foo [zz ] Baz
+Foo [zz ] Baz

Powered by Google App Engine
This is Rietveld 408576698