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

Side by Side Diff: LayoutTests/compositing/overflow/repaint-after-losing-scrollbars.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 <!-- there should be four green squares and no visible red --> 2 <!-- there should be four green squares and no visible red -->
3 <style> 3 <style>
4 .container { 4 .container {
5 width: 100px; 5 width: 100px;
6 height:100px; 6 height:100px;
7 background-color: green; 7 background-color: green;
8 position:absolute; 8 position:absolute;
9 -webkit-transform:translateZ(0); 9 -webkit-transform:translateZ(0);
10 overflow:auto; 10 overflow:auto;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 <script> 53 <script>
54 function finishTest() { 54 function finishTest() {
55 document.getElementById("vertical").classList.remove("tall"); // topmost div loses a vertical scrollbar 55 document.getElementById("vertical").classList.remove("tall"); // topmost div loses a vertical scrollbar
56 document.getElementById("horizontal").classList.remove("wide"); // second di v loses a horizontal scrollbar 56 document.getElementById("horizontal").classList.remove("wide"); // second di v loses a horizontal scrollbar
57 document.getElementById("both").classList.remove("wide"); // third div loses both 57 document.getElementById("both").classList.remove("wide"); // third div loses both
58 document.getElementById("both").classList.remove("tall"); // vertical and ho rizontal scrollbars 58 document.getElementById("both").classList.remove("tall"); // vertical and ho rizontal scrollbars
59 document.getElementById("corner").classList.remove("resizeWidget"); // botto m div loses a resize corner but no scrollbars 59 document.getElementById("corner").classList.remove("resizeWidget"); // botto m div loses a resize corner but no scrollbars
60 } 60 }
61 61
62 if (window.testRunner) { 62 if (window.testRunner) {
63 testRunner.dumpAsText(true); 63 testRunner.dumpAsTextWithPixelResults();
64 testRunner.display(); // Paint once with all overflow controls visible. 64 testRunner.display(); // Paint once with all overflow controls visible.
65 finishTest(); 65 finishTest();
66 } else 66 } else
67 window.setTimeout(finishTest, 0); 67 window.setTimeout(finishTest, 0);
68 </script> 68 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698