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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/mixed_paste.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/mixed_paste.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/mixed_paste.html b/third_party/WebKit/LayoutTests/editing/spelling/mixed_paste.html
index 2ef4ee5646f5ea7f158504e3d283bfd28f1ebf53..ee0060e79617786bf9b818f6c2eab5d2a3a3ef60 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/mixed_paste.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/mixed_paste.html
@@ -11,12 +11,12 @@ spellcheck_test(
'<img src="../resources/abe.png"> zz zz.');
document.execCommand('paste');
},
- '<div contenteditable><img src="../resources/abe.png"> _zz_ _zz_.</div>',
+ '<div contenteditable><img src="../resources/abe.png"> #zz# #zz#.</div>',
'Mark misspelled words after pasting mixed content of image and text.');
// Create HTML longer than the spellchecker's chunk size 16384.
const longHTML = `<img src="../resources/abe.png"> zz${' ah'.repeat(5461)}`;
-const expectedHTML = `<img src="../resources/abe.png"> _zz_${' ah'.repeat(5461)}`;
+const expectedHTML = `<img src="../resources/abe.png"> #zz#${' ah'.repeat(5461)}`;
spellcheck_test(
'<div contenteditable>|</div>',
document => {

Powered by Google App Engine
This is Rietveld 408576698