OLD | NEW |
---|---|
(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> | |
OLD | NEW |