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

Unified Diff: LayoutTests/editing/spelling/markers-input-type-text-expected.txt

Issue 21024004: Add/remove spell checking markers in text inputs depending on focus. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Clean up in the test & the new expected file. Created 7 years, 5 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/markers-input-type-text-expected.txt
diff --git a/LayoutTests/editing/spelling/markers-input-type-text-expected.txt b/LayoutTests/editing/spelling/markers-input-type-text-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e460e1c8836b800cc2e59fed5b6f262ab0af3947
--- /dev/null
+++ b/LayoutTests/editing/spelling/markers-input-type-text-expected.txt
@@ -0,0 +1,18 @@
+Markers in text inputs should only be visible if an input is being edited but removing markers from the input must not touch other markers.When testing manually type something misspelled in the first textarea, focus the text input and type something with misspellings there too.Then focus the second text area. Mispelling marks should be removed from the inputbut not for the first textarea. Focus the input again - misspelling marks should be restored.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+PASS internals.markerCountForNode(findFirstTextNode(testTextArea), "spelling") is 1
+PASS internals.markerCountForNode(findFirstTextNode(testInput), "spelling") is 4
+PASS internals.markerCountForNode(findFirstTextNode(testInput), "spelling") is 0
+PASS internals.markerCountForNode(findFirstTextNode(testTextArea), "spelling") is 1
+PASS internals.markerCountForNode(findFirstTextNode(testInput), "spelling") is 4
+PASS internals.markerCountForNode(findFirstTextNode(testTextArea), "spelling") is 1
+
+
+
+
« no previous file with comments | « LayoutTests/editing/spelling/markers-input-type-text.html ('k') | LayoutTests/editing/spelling/resources/util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698