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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cfb7994dadc16361fbab85d1dd8ca748eb4529d4 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.html |
@@ -0,0 +1,23 @@ |
+<!doctype html> |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+<script src="../assert_selection.js"></script> |
+<script src="spellcheck_test.js"></script> |
+ |
+<script> |
+// This file tests the functionality of spellcheck_test.js |
+ |
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.
|
+spellcheck_test( |
+ '<div contentEditable>|</div>', |
+ 'insertText wellcome.', |
+ spellingMarker(0, 8, 'welcome'), // 'wellcome' |
+ 'Mark misspellings and give replacement suggestions after simple typing.' |
+); |
+ |
+spellcheck_test( |
+ '<div contentEditable>|</div>', |
+ 'insertText You has the right.', |
+ 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.
|
+ 'Mark ungrammatical phrases after simple typing.' |
+); |
+</script> |