OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 ::-webkit-scrollbar { | 4 ::-webkit-scrollbar { |
5 height: 30px; | 5 height: 30px; |
6 width: 30px; | 6 width: 30px; |
7 } | 7 } |
8 | 8 |
9 ::-webkit-scrollbar-thumb { | 9 ::-webkit-scrollbar-thumb { |
10 background-color: blue; | 10 background-color: blue; |
11 height: 30px; | 11 height: 30px; |
12 width: 30px; | 12 width: 30px; |
13 } | 13 } |
14 | 14 |
15 body { | 15 body { |
16 background-color: black; | 16 background-color: black; |
17 } | 17 } |
18 | 18 |
19 </style> | 19 </style> |
20 <script> | 20 <script> |
21 function test() | 21 function test() |
22 { | 22 { |
23 if (window.testRunner) { | 23 if (window.testRunner) { |
24 testRunner.waitUntilDone(); | 24 testRunner.waitUntilDone(); |
25 testRunner.dumpAsText(true); | 25 testRunner.dumpAsTextWithPixelResults(); |
26 testRunner.display(); | 26 testRunner.display(); |
27 } | 27 } |
28 | 28 |
29 window.setTimeout(function() { | 29 window.setTimeout(function() { |
30 document.body.scrollTop = 2000; | 30 document.body.scrollTop = 2000; |
31 if (window.testRunner) { | 31 if (window.testRunner) { |
32 testRunner.display(); | 32 testRunner.display(); |
33 testRunner.notifyDone(); | 33 testRunner.notifyDone(); |
34 } | 34 } |
35 }, 0); | 35 }, 0); |
36 } | 36 } |
37 </script> | 37 </script> |
38 </head> | 38 </head> |
39 <body onload="test()"> | 39 <body onload="test()"> |
40 <div style="height: 2000px; color: white;">PASS if blue scrollbar is at the bott
om.</div> | 40 <div style="height: 2000px; color: white;">PASS if blue scrollbar is at the bott
om.</div> |
41 </body> | 41 </body> |
42 </head> | 42 </head> |
OLD | NEW |