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

Unified Diff: LayoutTests/editing/spelling/spellcheck-editable-on-focus-sync-expected.txt

Issue 21694005: Spell check whole content of an editable element when it gets focused. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: style & spurious comment removal. 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
« no previous file with comments | « LayoutTests/editing/spelling/spellcheck-editable-on-focus-sync.html ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/spelling/spellcheck-editable-on-focus-sync-expected.txt
diff --git a/LayoutTests/editing/spelling/spellcheck-editable-on-focus-sync-expected.txt b/LayoutTests/editing/spelling/spellcheck-editable-on-focus-sync-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8edc6f089312a254e6ab89d7c01d3cea2eb10152
--- /dev/null
+++ b/LayoutTests/editing/spelling/spellcheck-editable-on-focus-sync-expected.txt
@@ -0,0 +1,16 @@
+Spell checking should be triggered on focus of an editable. To test manually type focus above editable and textarea. Misspellings in them should be marked on focus.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+PASS internals.markerCountForNode(findFirstTextNode(testEditable), "spelling") is 0
+PASS internals.markerCountForNode(findFirstTextNode(testEditable), "spelling") is 3
+PASS internals.markerCountForNode(findFirstTextNode(testTextArea), "spelling") is 0
+PASS internals.markerCountForNode(findFirstTextNode(testTextArea), "spelling") is 3
+PASS internals.markerCountForNode(findFirstTextNode(testTextField), "spelling") is 0
+PASS internals.markerCountForNode(findFirstTextNode(testTextField), "spelling") is 3
+zz zz zz.
+
« no previous file with comments | « LayoutTests/editing/spelling/spellcheck-editable-on-focus-sync.html ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698