Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: LayoutTests/editing/spelling/spellcheck-paste-disabled.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698