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

Side by Side Diff: LayoutTests/editing/spelling/spellcheck-disable-enable-expected.txt

Issue 21130005: Trigger spell check/remove markers if spell checker gets enabled/disabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert paste related changes 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 Spell check markers should be removed from the whole page when disabling spell c hecker but they should be restored in the focused editable if spell checker gets enabled. To test manually type something with mispellings in the above editable element and iframe and turn spell checker off - misspelling markers should disa ppear. Having the editable focused turn spell checker on again. Misspellings in the editable should be marked again.
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(destination_elm.childNodes[0], "spelling") is 1
10 PASS internals.markerCountForNode(destination_elm_in_frame.childNodes[0], "spell ing") is 1
11 PASS internals.markerCountForNode(destination_elm.childNodes[0], "spelling") is 0
12 PASS internals.markerCountForNode(destination_elm_in_frame.childNodes[0], "spell ing") is 0
13 PASS internals.markerCountForNode(destination_elm.childNodes[0], "spelling") is 1
14 zz.
15
OLDNEW
« no previous file with comments | « LayoutTests/editing/spelling/spellcheck-disable-enable.html ('k') | LayoutTests/editing/spelling/spelling-huge-text.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698