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

Side by Side Diff: LayoutTests/editing/spelling/spellcheck-editable-on-focus.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="../editing.js"></script> 4 <script src="../editing.js"></script>
5 <script src="resources/util.js"></script> 5 <script src="resources/util.js"></script>
6 <script src="../../fast/js/resources/js-test-pre.js"></script> 6 <script src="../../resources/js-test.js"></script>
7 </head> 7 </head>
8 <body onload="test();"> 8 <body onload="test();">
9 <pre id="console"></pre> 9 <pre id="console"></pre>
10 <div id="container"> 10 <div id="container">
11 <div id="test_editable" contentEditable>zz zz zz. </div> 11 <div id="test_editable" contentEditable>zz zz zz. </div>
12 <textarea id="test_textarea">zz zz zz.</textarea> 12 <textarea id="test_textarea">zz zz zz.</textarea>
13 <input type="text" id="test_textfield" value="zz zz zz."></input> 13 <input type="text" id="test_textfield" value="zz zz zz."></input>
14 </div> 14 </div>
15 <script> 15 <script>
16 description("Spell checking should be triggered on focus of an editable. " + 16 description("Spell checking should be triggered on focus of an editable. " +
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 shouldBe('internals.markerCountForNode(findFirstTextNode(testTextArea), "spe lling")', '0'); 55 shouldBe('internals.markerCountForNode(findFirstTextNode(testTextArea), "spe lling")', '0');
56 testTextArea.focus(); 56 testTextArea.focus();
57 shouldBe('internals.markerCountForNode(findFirstTextNode(testTextField), "sp elling")', '0'); 57 shouldBe('internals.markerCountForNode(findFirstTextNode(testTextField), "sp elling")', '0');
58 testTextField.focus(); 58 testTextField.focus();
59 waitForMarkersToAppear(10); 59 waitForMarkersToAppear(10);
60 } 60 }
61 61
62 </script> 62 </script>
63 </body> 63 </body>
64 </html> 64 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698