OLD | NEW |
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 Loading... |
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> |
OLD | NEW |