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

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: 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 inpus should only be visible if an input is being edited but rem oving 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 s omething 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.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS internals.markerCountForNode(findFirstTextNode(testTextArea), "spelling") i s 1
7 PASS internals.markerCountForNode(findFirstTextNode(testInput), "spelling") is 4
8 PASS internals.markerCountForNode(findFirstTextNode(testInput), "spelling") is 0
9 PASS internals.markerCountForNode(findFirstTextNode(testTextArea), "spelling") i s 1
10 PASS internals.markerCountForNode(findFirstTextNode(testInput), "spelling") is 4
11 PASS internals.markerCountForNode(findFirstTextNode(testTextArea), "spelling") i s 1
12 PASS successfullyParsed is true
13
14 TEST COMPLETE
15
16
17
18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698