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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.html

Issue 2435273002: Introduce spellcheck_test (Closed)
Patch Set: Introduce Marker class 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <script src="../assert_selection.js"></script>
5 <script src="spellcheck_test.js"></script>
6
7 <script>
8 // This file tests the functionality of spellcheck_test.js
9
yosin_UTC9 2016/10/24 04:40:08 Let's add test case for spellingMarker() and gramm
Xiaocheng 2016/10/24 05:11:37 Done.
10 spellcheck_test(
11 '<div contentEditable>|</div>',
12 'insertText wellcome.',
13 spellingMarker(0, 8, 'welcome'), // 'wellcome'
14 'Mark misspellings and give replacement suggestions after simple typing.'
15 );
16
17 spellcheck_test(
18 '<div contentEditable>|</div>',
19 'insertText You has the right.',
20 grammarMarker(4, 3), // 'has'
yosin_UTC9 2016/10/24 04:40:08 Could you add a test to take array with multiple e
Xiaocheng 2016/10/24 05:11:37 Done.
21 'Mark ungrammatical phrases after simple typing.'
22 );
23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698