OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
5 <script src="resources/js-test-selection-shared.js"></script> | 5 <script src="resources/js-test-selection-shared.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <div> | 8 <div> |
9 <div id="src" contenteditable="true" spellcheck="true"></div> | 9 <div id="src" contenteditable="true" spellcheck="true"></div> |
10 </div> | 10 </div> |
(...skipping 20 matching lines...) Expand all Loading... |
31 shouldBecomeEqual('internals.hasSpellingMarker(document, 0, 2)', 'true', functio
n() {}); | 31 shouldBecomeEqual('internals.hasSpellingMarker(document, 0, 2)', 'true', functio
n() {}); |
32 window.getSelection().selectAllChildren(srcNode); | 32 window.getSelection().selectAllChildren(srcNode); |
33 document.execCommand('Copy'); | 33 document.execCommand('Copy'); |
34 | 34 |
35 internals.setContinuousSpellCheckingEnabled(false); | 35 internals.setContinuousSpellCheckingEnabled(false); |
36 | 36 |
37 document.execCommand('Paste'); | 37 document.execCommand('Paste'); |
38 shouldBecomeDifferent('internals.hasSpellingMarker(document, 0, 2)', 'true', fin
ishJSTest); | 38 shouldBecomeDifferent('internals.hasSpellingMarker(document, 0, 2)', 'true', fin
ishJSTest); |
39 | 39 |
40 </script> | 40 </script> |
41 <script src="../../fast/js/resources/js-test-post.js"></script> | |
42 </body> | 41 </body> |
43 </html> | 42 </html> |
OLD | NEW |