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

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

Issue 58533003: Move fast/js/resources files to resources. (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="../../resources/js-test.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>
11 </div> 11 </div>
12 <script language="javascript"> 12 <script language="javascript">
13 description('Test if WebKit does not spellcheck text when pasting text to an ele ment having spellchecking disabled. ' + 13 description('Test if WebKit does not spellcheck text when pasting text to an ele ment having spellchecking disabled. ' +
14 'To test manually, copy the text "zz apple" and paste it to the text area. ' + 14 'To test manually, copy the text "zz apple" and paste it to the text area. ' +
(...skipping 19 matching lines...) Expand all
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 </body> 42 </body>
43 </html> 43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698