blob: 3a70ce094f8eb190bbc98d9a9045cb793beff41a [file] [log] [blame]
<!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>
spellcheck_test(
'<div contenteditable spellcheck="false">|</div contenteditable>',
document => {
document.getSelection().setClipboardData('zz apple.');
document.execCommand('paste');
},
'<div contenteditable spellcheck="false">zz apple.</div>',
'No spellchecking when pasting into spellcheck=false.');
</script>