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

Side by Side 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, 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 unified diff | Download patch
OLDNEW
(Empty)
1 Markers in text inputs should only be visible if an input is being edited but re moving 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. Mispellin g marks should be removed from the inputbut not for the first textarea. Focus th e input again - misspelling marks should be restored.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS successfullyParsed is true
7
8 TEST COMPLETE
9 PASS internals.markerCountForNode(findFirstTextNode(testTextArea), "spelling") i s 1
10 PASS internals.markerCountForNode(findFirstTextNode(testInput), "spelling") is 4
11 PASS internals.markerCountForNode(findFirstTextNode(testInput), "spelling") is 0
12 PASS internals.markerCountForNode(findFirstTextNode(testTextArea), "spelling") i s 1
13 PASS internals.markerCountForNode(findFirstTextNode(testInput), "spelling") is 4
14 PASS internals.markerCountForNode(findFirstTextNode(testTextArea), "spelling") i s 1
15
16
17
18
OLDNEW
« 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