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

Unified Diff: LayoutTests/editing/spelling/spellcheck-editable-on-focus-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
Index: LayoutTests/editing/spelling/spellcheck-editable-on-focus-expected.txt
diff --git a/LayoutTests/editing/spelling/spellcheck-editable-on-focus-expected.txt b/LayoutTests/editing/spelling/spellcheck-editable-on-focus-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bd697aad9f9ce6065c20ff82571a19d576a2d25
--- /dev/null
+++ b/LayoutTests/editing/spelling/spellcheck-editable-on-focus-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(testTextArea), "spelling") is 0
+PASS internals.markerCountForNode(findFirstTextNode(testTextField), "spelling") is 0
+PASS internals.markerCountForNode(findFirstTextNode(testTextArea), "spelling") is 3
+PASS internals.markerCountForNode(findFirstTextNode(testEditable), "spelling") is 3
+PASS internals.markerCountForNode(findFirstTextNode(testTextField), "spelling") is 3
+zz zz zz.
+

Powered by Google App Engine
This is Rietveld 408576698