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

Side by Side Diff: LayoutTests/editing/spelling/spellcheck-editable-on-focus-sync.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="../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="../../fast/js/resources/js-test-pre.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <pre id="console"></pre> 9 <pre id="console"></pre>
10 <div id="container"> 10 <div id="container">
(...skipping 24 matching lines...) Expand all
35 testEditable.focus(); 35 testEditable.focus();
36 shouldBe('internals.markerCountForNode(findFirstTextNode(testEditable), "spellin g")', '3'); 36 shouldBe('internals.markerCountForNode(findFirstTextNode(testEditable), "spellin g")', '3');
37 shouldBe('internals.markerCountForNode(findFirstTextNode(testTextArea), "spellin g")', '0'); 37 shouldBe('internals.markerCountForNode(findFirstTextNode(testTextArea), "spellin g")', '0');
38 testTextArea.focus(); 38 testTextArea.focus();
39 shouldBe('internals.markerCountForNode(findFirstTextNode(testTextArea), "spellin g")', '3'); 39 shouldBe('internals.markerCountForNode(findFirstTextNode(testTextArea), "spellin g")', '3');
40 shouldBe('internals.markerCountForNode(findFirstTextNode(testTextField), "spelli ng")', '0'); 40 shouldBe('internals.markerCountForNode(findFirstTextNode(testTextField), "spelli ng")', '0');
41 testTextField.focus(); 41 testTextField.focus();
42 shouldBe('internals.markerCountForNode(findFirstTextNode(testTextField), "spelli ng")', '3'); 42 shouldBe('internals.markerCountForNode(findFirstTextNode(testTextField), "spelli ng")', '3');
43 43
44 </script> 44 </script>
45 <script src="../../fast/js/resources/js-test-post.js"></script>
46 </body> 45 </body>
47 </html> 46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698