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 |