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

Side by Side Diff: LayoutTests/editing/spelling/inline-spelling-markers-hidpi.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 months 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 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 .testDiv { 4 .testDiv {
5 width: 200px; 5 width: 200px;
6 height: 20px; 6 height: 20px;
7 border: 1px solid black; 7 border: 1px solid black;
8 white-space: nowrap; 8 white-space: nowrap;
9 overflow: hidden; 9 overflow: hidden;
10 } 10 }
(...skipping 20 matching lines...) Expand all
31 for (var i = 0; i < 100; i++ ) { 31 for (var i = 0; i < 100; i++ ) {
32 selection.modify("move", "forward", "word"); 32 selection.modify("move", "forward", "word");
33 } 33 }
34 // Remove focus from the element, since the word under the cursor won't have a misspelling marker. 34 // Remove focus from the element, since the word under the cursor won't have a misspelling marker.
35 div.blur(); 35 div.blur();
36 } 36 }
37 37
38 function startTest() { 38 function startTest() {
39 if (!window.testRunner) 39 if (!window.testRunner)
40 return; 40 return;
41 testRunner.dumpAsText(true); 41 testRunner.dumpAsTextWithPixelResults();
42 testRunner.waitUntilDone(); 42 testRunner.waitUntilDone();
43 testRunner.setBackingScaleFactor(2, function () { 43 testRunner.setBackingScaleFactor(2, function () {
44 moveCursorOverAllWords('testLTR'); 44 moveCursorOverAllWords('testLTR');
45 moveCursorOverAllWords('testRTL'); 45 moveCursorOverAllWords('testRTL');
46 moveCursorOverAllWords('testLTREllipses'); 46 moveCursorOverAllWords('testLTREllipses');
47 moveCursorOverAllWords('testRTLEllipses'); 47 moveCursorOverAllWords('testRTLEllipses');
48 testRunner.notifyDone(); 48 testRunner.notifyDone();
49 }); 49 });
50 } 50 }
51 </script> 51 </script>
(...skipping 20 matching lines...) Expand all
72 the the adlj adaasj sdklj. there there 72 the the adlj adaasj sdklj. there there
73 </div> 73 </div>
74 74
75 RTL (text-overflow:ellipses): 75 RTL (text-overflow:ellipses):
76 <div id="testRTLEllipses" class="testDiv forcertl ellipses" contenteditable="tru e"> 76 <div id="testRTLEllipses" class="testDiv forcertl ellipses" contenteditable="tru e">
77 the the adlj adaasj sdklj. there there 77 the the adlj adaasj sdklj. there there
78 </div> 78 </div>
79 79
80 </body> 80 </body>
81 </html> 81 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698