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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.html

Issue 2455043002: Switch spelling marker from '_' to '#' in spellcheck_test (Closed)
Patch Set: Created 4 years, 2 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: third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.html b/third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.html
index 033a821407301e1e473f434b882310abeebc541a..2cdebcf46ac047f77adb60cba633d1a8d49dc460 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.html
@@ -10,7 +10,7 @@
spellcheck_test(
'<div contenteditable>|</div>',
'insertText zz.',
- '<div contenteditable>_zz_.</div>',
+ '<div contenteditable>#zz#.</div>',
'Mark misspellings after typing.');
spellcheck_test(
@@ -23,7 +23,7 @@ spellcheck_test(
'<div contenteditable>|</div>',
'insertText orange,zz,apple.',
// Grammar marker under the whole sentence, and spelling marker under 'zz'.
- '<div contenteditable>~orange,_zz_,apple.~</div>',
+ '<div contenteditable>~orange,#zz#,apple.~</div>',
'Mark overlapping grammer and spelling errors.');
spellcheck_test(
@@ -32,7 +32,7 @@ spellcheck_test(
document.querySelector('textarea').focus();
document.execCommand('insertText', false, 'zz.');
},
- '<textarea>_zz_.</textarea>',
+ '<textarea>#zz#.</textarea>',
'Mark misspellings in <textarea>.');
spellcheck_test(
@@ -41,7 +41,7 @@ spellcheck_test(
document.querySelector('input').focus();
document.execCommand('insertText', false, 'asd.');
},
- '<input type="text" value="_asd_.">',
+ '<input type="text" value="#asd#.">',
'Mark misspellings in <input>.');
spellcheck_test(
@@ -58,7 +58,7 @@ spellcheck_test(
// Trigger spellchecker by selection change.
document.getSelection().collapse(div, 0);
},
- '<div contenteditable spellcheck="true">_zz_.</div>',
+ '<div contenteditable spellcheck="true">#zz#.</div>',
'Marker appears after setting spellcheck=true.'
)
});

Powered by Google App Engine
This is Rietveld 408576698