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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/spelling/delete-misspelled-word.html

Issue 2455043002: Switch spelling marker from '_' to '#' in spellcheck_test (Closed)
Patch Set: Created 4 years, 1 month 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/testharness.js"></script> 4 <script src="../../resources/testharness.js"></script>
5 <script src="../../resources/testharnessreport.js"></script> 5 <script src="../../resources/testharnessreport.js"></script>
6 <script src="../assert_selection.js"></script> 6 <script src="../assert_selection.js"></script>
7 <script src="spellcheck_test.js"></script> 7 <script src="spellcheck_test.js"></script>
8 8
9 <script> 9 <script>
10 spellcheck_test( 10 spellcheck_test(
11 '<div contenteditable>zz&nbsp;|</div>', 11 '<div contenteditable>zz&nbsp;|</div>',
12 '', 12 '',
13 '<div contenteditable>_zz_ </div>', 13 '<div contenteditable>#zz# </div>',
14 { 14 {
15 title: 'Has marker on initially misspelled word.', 15 title: 'Has marker on initially misspelled word.',
16 callback: sample => spellcheck_test( 16 callback: sample => spellcheck_test(
17 sample, 17 sample,
18 document => { 18 document => {
19 testRunner.execCommand('DeleteBackward'); 19 testRunner.execCommand('DeleteBackward');
20 testRunner.execCommand('DeleteBackward'); 20 testRunner.execCommand('DeleteBackward');
21 document.execCommand('InsertText', false, ' '); 21 document.execCommand('InsertText', false, ' ');
22 }, 22 },
23 '<div contenteditable>z </div>', 23 '<div contenteditable>z </div>',
24 'Blink spellchecks a word again when changing a misspelled word') 24 'Blink spellchecks a word again when changing a misspelled word')
25 }); 25 });
26 </script> 26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698