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

Side by Side Diff: LayoutTests/editing/spelling/markers.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 <style> 4 <style>
5 .editing { 5 .editing {
6 border: 2px solid red; 6 border: 2px solid red;
7 padding: 12px; 7 padding: 12px;
8 font-size: 24px; 8 font-size: 24px;
9 } 9 }
10 </style> 10 </style>
11 <script src="../editing.js" language="JavaScript" type="text/JavaScript" ></scri pt> 11 <script src="../editing.js" language="JavaScript" type="text/JavaScript" ></scri pt>
12 <script src="../../fast/js/resources/js-test-pre.js"></script> 12 <script src="../../resources/js-test.js"></script>
13 </head> 13 </head>
14 <body> 14 <body>
15 <pre id="description"></pre> 15 <pre id="description"></pre>
16 <pre id="console"></pre> 16 <pre id="console"></pre>
17 <div id="container"> 17 <div id="container">
18 </div> 18 </div>
19 19
20 <script> 20 <script>
21 function createEditableElement(id, parent) { 21 function createEditableElement(id, parent) {
22 var e = document.createElement('div'); 22 var e = document.createElement('div');
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 shouldBe('range.toString()', '"zz"'); 70 shouldBe('range.toString()', '"zz"');
71 shouldBe('internals.markerCountForNode(e.firstChild, "grammar")', '1'); 71 shouldBe('internals.markerCountForNode(e.firstChild, "grammar")', '1');
72 range = internals.markerRangeForNode(e.firstChild, "grammar", 0); 72 range = internals.markerRangeForNode(e.firstChild, "grammar", 0);
73 shouldBe('range.toString()', '"orange,zz,apple."'); 73 shouldBe('range.toString()', '"orange,zz,apple."');
74 } 74 }
75 75
76 var successfullyParsed = true; 76 var successfullyParsed = true;
77 </script> 77 </script>
78 </body> 78 </body>
79 </html> 79 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/spelling/input-type-text.html ('k') | LayoutTests/editing/spelling/move-cursor-to-misspelled-word.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698