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

Unified Diff: LayoutTests/editing/spelling/spellcheck-disable-enable-expected.txt

Issue 21130005: Trigger spell check/remove markers if spell checker gets enabled/disabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert paste related changes Created 7 years, 4 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/spellcheck-disable-enable-expected.txt
diff --git a/LayoutTests/editing/spelling/spellcheck-disable-enable-expected.txt b/LayoutTests/editing/spelling/spellcheck-disable-enable-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac2e6c219ef1bc9142431e67135a08315b6e0784
--- /dev/null
+++ b/LayoutTests/editing/spelling/spellcheck-disable-enable-expected.txt
@@ -0,0 +1,15 @@
+Spell check markers should be removed from the whole page when disabling spell checker but they should be restored in the focused editable if spell checker gets enabled. To test manually type something with mispellings in the above editable element and iframe and turn spell checker off - misspelling markers should disappear. Having the editable focused turn spell checker on again. Misspellings in the editable should be marked again.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+PASS internals.markerCountForNode(destination_elm.childNodes[0], "spelling") is 1
+PASS internals.markerCountForNode(destination_elm_in_frame.childNodes[0], "spelling") is 1
+PASS internals.markerCountForNode(destination_elm.childNodes[0], "spelling") is 0
+PASS internals.markerCountForNode(destination_elm_in_frame.childNodes[0], "spelling") is 0
+PASS internals.markerCountForNode(destination_elm.childNodes[0], "spelling") is 1
+zz.
+
« no previous file with comments | « LayoutTests/editing/spelling/spellcheck-disable-enable.html ('k') | LayoutTests/editing/spelling/spelling-huge-text.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698