blob: 4e13c50416dab00690203e449acf7c9363853485 [file] [log] [blame]
Tests if the spellchecker behavior change after the spellcheck attribute changed by the script.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
<div contenteditable="">Foo <span spellcheck="false" id="child">[zz ]</span> Baz</div>
PASS internals.hasSpellingMarker(1, 2) became false
<div contenteditable="">Foo <span id="child">[zz ]</span> Baz</div>
PASS internals.hasSpellingMarker(1, 2) became true
<div contenteditable="">Foo <span spellcheck="true" id="child">[zz ]</span> Baz</div>
PASS internals.hasSpellingMarker(1, 2) became true
<div spellcheck="false" contenteditable="">Foo <span spellcheck="false" id="child">[zz ]</span> Baz</div>
PASS internals.hasSpellingMarker(1, 2) became false
<div spellcheck="false" contenteditable="">Foo <span id="child">[zz ]</span> Baz</div>
PASS internals.hasSpellingMarker(1, 2) became false
<div spellcheck="false" contenteditable="">Foo <span spellcheck="true" id="child">[zz ]</span> Baz</div>
PASS internals.hasSpellingMarker(1, 2) became true
<div spellcheck="true" contenteditable="">Foo <span spellcheck="false" id="child">[zz ]</span> Baz</div>
PASS internals.hasSpellingMarker(1, 2) became false
<div spellcheck="true" contenteditable="">Foo <span id="child">[zz ]</span> Baz</div>
PASS internals.hasSpellingMarker(1, 2) became true
<div spellcheck="true" contenteditable="">Foo <span spellcheck="true" id="child">[zz ]</span> Baz</div>
PASS internals.hasSpellingMarker(1, 2) became true
PASS successfullyParsed is true
TEST COMPLETE