| Index: third_party/WebKit/LayoutTests/editing/spelling/no_marker_in_blurred_input.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/spelling/no_marker_in_blurred_input.html b/third_party/WebKit/LayoutTests/editing/spelling/no_marker_in_blurred_input.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..86d97075fad3a08d35595cc8a31540eb5260376e
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/editing/spelling/no_marker_in_blurred_input.html
|
| @@ -0,0 +1,21 @@
|
| +<!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>
|
| +<input id=input>
|
| +<textarea id=textarea></textarea>
|
| +<script>
|
| +spellcheck_test(
|
| + '<input>',
|
| + document => {
|
| + const input = document.querySelector('input');
|
| + document.getSelection().setClipboardData('zz.');
|
| + input.focus();
|
| + document.execCommand('paste');
|
| + document.execCommand('paste');
|
| + input.blur();
|
| + },
|
| + '<input value="zz.zz.">',
|
| + 'Markers should not be added to INPUT without focus.');
|
| +</script>
|
|
|