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

Unified Diff: LayoutTests/editing/spelling/design-mode-spellcheck-off-expected.txt

Issue 219073002: design-mode-spellcheck-off.html is always passing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: verify 'asd' (not 'asdf') since MockSpellCheck::misspelledWords[] contatins it Created 6 years, 9 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
« no previous file with comments | « LayoutTests/editing/spelling/design-mode-spellcheck-off.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/spelling/design-mode-spellcheck-off-expected.txt
diff --git a/LayoutTests/editing/spelling/design-mode-spellcheck-off-expected.txt b/LayoutTests/editing/spelling/design-mode-spellcheck-off-expected.txt
index 8c0fd81e982cf3f840dd0aa3e0dbe16b27e02ea6..51253b8bef807401548efb3bc3ac91492a5061f5 100644
--- a/LayoutTests/editing/spelling/design-mode-spellcheck-off-expected.txt
+++ b/LayoutTests/editing/spelling/design-mode-spellcheck-off-expected.txt
@@ -1,10 +1,12 @@
-This tests whether WebKit does not spell check in 'designMode' when spellcheck='false'. To test manually, click 'asdf' above. There should be no spelling marker for 'asdf' after the click.
+This tests whether WebKit does not spell check in 'designMode' when spellcheck='false'. To test manually, click 'asd' and move cursor until '.'. There should be no spelling marker for 'asd'.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS internals.hasSpellingMarker(document, 0, 4) became false
+PASS internals.hasSpellingMarker(document, 0, 3) became false
+document.body.setAttribute("spellcheck", "true")
+PASS internals.hasSpellingMarker(document, 0, 3) became different from false
PASS successfullyParsed is true
TEST COMPLETE
-asdf is misspelled.
+asd is misspelled.
« no previous file with comments | « LayoutTests/editing/spelling/design-mode-spellcheck-off.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698