OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <style> | 5 <style> |
6 .bar { | 6 .bar { |
7 width: 200px; | 7 width: 200px; |
8 height: 50px; | 8 height: 50px; |
9 margin-left: 50px; | 9 margin-left: 50px; |
10 background-color: gray; | 10 background-color: gray; |
(...skipping 15 matching lines...) Expand all Loading... |
26 position: relative; | 26 position: relative; |
27 height: 50px; | 27 height: 50px; |
28 width: 100%; | 28 width: 100%; |
29 border: 2px solid black; | 29 border: 2px solid black; |
30 margin: 2px; | 30 margin: 2px; |
31 } | 31 } |
32 | 32 |
33 </style> | 33 </style> |
34 <script> | 34 <script> |
35 if (window.testRunner) { | 35 if (window.testRunner) { |
36 testRunner.dumpAsText(true); | 36 testRunner.dumpAsTextWithPixelResults(); |
37 testRunner.waitUntilDone(); | 37 testRunner.waitUntilDone(); |
38 } | 38 } |
39 | 39 |
40 function doTest() | 40 function doTest() |
41 { | 41 { |
42 var overflow = document.getElementById('overflow'); | 42 var overflow = document.getElementById('overflow'); |
43 overflow.scrollTop = 50; | 43 overflow.scrollTop = 50; |
44 | 44 |
45 if (window.testRunner) | 45 if (window.testRunner) |
46 testRunner.display(); | 46 testRunner.display(); |
(...skipping 13 matching lines...) Expand all Loading... |
60 | 60 |
61 <div id="overflow"> | 61 <div id="overflow"> |
62 <div></div> | 62 <div></div> |
63 <div></div> | 63 <div></div> |
64 <div></div> | 64 <div></div> |
65 <div></div> | 65 <div></div> |
66 <div></div> | 66 <div></div> |
67 </div> | 67 </div> |
68 </body> | 68 </body> |
69 </html> | 69 </html> |
OLD | NEW |