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

Side by Side Diff: LayoutTests/css3/flexbox/repaint-rtl-column.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 #flexbox { 3 #flexbox {
4 display: -webkit-flex; 4 display: -webkit-flex;
5 -webkit-flex-flow: column; 5 -webkit-flex-flow: column;
6 height: 300px; 6 height: 300px;
7 width: 200px; 7 width: 200px;
8 } 8 }
9 #left { 9 #left {
10 -webkit-flex: 1; 10 -webkit-flex: 1;
(...skipping 15 matching lines...) Expand all
26 // changing the flex values. Only the middle of the test page should be 26 // changing the flex values. Only the middle of the test page should be
27 // repainted. If the top of the test page (above the flexbox) is repainted, 27 // repainted. If the top of the test page (above the flexbox) is repainted,
28 // this test fails. 28 // this test fails.
29 function setFlex(value) 29 function setFlex(value)
30 { 30 {
31 document.getElementById("content").style.webkitFlex = value; 31 document.getElementById("content").style.webkitFlex = value;
32 } 32 }
33 33
34 window.onload = function() { 34 window.onload = function() {
35 if (window.testRunner) { 35 if (window.testRunner) {
36 testRunner.dumpAsText(true); 36 testRunner.dumpAsTextWithPixelResults();
37 document.body.offsetTop; 37 document.body.offsetTop;
38 testRunner.display(); 38 testRunner.display();
39 testRunner.waitUntilDone(); 39 testRunner.waitUntilDone();
40 } 40 }
41 setTimeout(function() { 41 setTimeout(function() {
42 setFlex(4.6); 42 setFlex(4.6);
43 setTimeout(function() { 43 setTimeout(function() {
44 setFlex(5); 44 setFlex(5);
45 if (window.testRunner) 45 if (window.testRunner)
46 testRunner.notifyDone(); 46 testRunner.notifyDone();
47 }) 47 })
48 }) 48 })
49 }; 49 };
50 </script> 50 </script>
51 <div style="height: 60px"></div> 51 <div style="height: 60px"></div>
52 <div id="flexbox" dir="rtl"> 52 <div id="flexbox" dir="rtl">
53 <div id="left"></div> 53 <div id="left"></div>
54 <div id="content"><div></div></div> 54 <div id="content"><div></div></div>
OLDNEW
« no previous file with comments | « LayoutTests/css3/flexbox/repaint-column-reverse.html ('k') | LayoutTests/css3/images/optimize-contrast-canvas.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698