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><br/> | 9 <div id="src" contenteditable="true" spellcheck="true"></div><br/> |
10 <div id="dst" contenteditable="true" spellcheck="false"></div> | 10 <div id="dst" contenteditable="true" spellcheck="false"></div> |
(...skipping 21 matching lines...) Expand all Loading... |
32 shouldBecomeEqual('internals.hasSpellingMarker(document, 0, 2)', 'true', functio
n(){}); | 32 shouldBecomeEqual('internals.hasSpellingMarker(document, 0, 2)', 'true', functio
n(){}); |
33 window.getSelection().selectAllChildren(srcNode); | 33 window.getSelection().selectAllChildren(srcNode); |
34 document.execCommand('Copy'); | 34 document.execCommand('Copy'); |
35 | 35 |
36 var dstNode = document.getElementById('dst'); | 36 var dstNode = document.getElementById('dst'); |
37 dstNode.focus(); | 37 dstNode.focus(); |
38 document.execCommand('Paste'); | 38 document.execCommand('Paste'); |
39 shouldBecomeDifferent('internals.hasSpellingMarker(document, 0, 2)', 'true', fin
ishJSTest); | 39 shouldBecomeDifferent('internals.hasSpellingMarker(document, 0, 2)', 'true', fin
ishJSTest); |
40 | 40 |
41 </script> | 41 </script> |
42 <script src="../../fast/js/resources/js-test-post.js"></script> | |
43 </body> | 42 </body> |
44 </html> | 43 </html> |
OLD | NEW |