OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>Reduction</title> | 3 <title>Reduction</title> |
4 <style> | 4 <style> |
5 #content-container { | 5 #content-container { |
6 position:absolute; | 6 position:absolute; |
7 top:48px; | 7 top:48px; |
8 bottom:0; | 8 bottom:0; |
9 left:0; | 9 left:0; |
10 right:0; | 10 right:0; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 .positioned-4 { | 46 .positioned-4 { |
47 position:absolute; | 47 position:absolute; |
48 top:20px; | 48 top:20px; |
49 height:80px; | 49 height:80px; |
50 right:20px; | 50 right:20px; |
51 width:80px; | 51 width:80px; |
52 } | 52 } |
53 </style> | 53 </style> |
54 </head> | 54 </head> |
55 | 55 |
56 <script src="../../resources/run-after-layout-and-paint.js"></script> | 56 <script src="../../../resources/run-after-layout-and-paint.js"></script> |
57 | 57 |
58 <script> | 58 <script> |
59 if (window.testRunner) { | 59 if (window.testRunner) { |
60 testRunner.dumpAsTextWithPixelResults(); | 60 testRunner.dumpAsTextWithPixelResults(); |
61 testRunner.waitUntilDone(); | 61 testRunner.waitUntilDone(); |
62 } | 62 } |
63 | 63 |
64 function repaintTest() { | 64 function repaintTest() { |
65 runAfterLayoutAndPaint(function() { | 65 runAfterLayoutAndPaint(function() { |
66 document.getElementById('overflow').scrollTop = 30; | 66 document.getElementById('overflow').scrollTop = 30; |
(...skipping 16 matching lines...) Expand all Loading... |
83 | 83 |
84 <div style="background-color:purple; width:50px; height:300p
x;"></div> | 84 <div style="background-color:purple; width:50px; height:300p
x;"></div> |
85 <br/> | 85 <br/> |
86 <div style="width:500px; height:50px; background-color:green
;"></div> | 86 <div style="width:500px; height:50px; background-color:green
;"></div> |
87 </div> | 87 </div> |
88 </div> | 88 </div> |
89 </div> | 89 </div> |
90 </div> | 90 </div> |
91 </body> | 91 </body> |
92 </html> | 92 </html> |
OLD | NEW |