OLD | NEW |
---|---|
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 ::-webkit-scrollbar { | 5 ::-webkit-scrollbar { |
6 -webkit-padding-start: 1%; background: #666 -webkit-gradient(linear, left top, right top, from(rgba(255,255,255,0.5)), color-stop(0.5, rgba(255,255,255,0.1)), color-stop(0.5, rgba(0,0,0,0)), to(rgba(0,0,0,0.01))); | 6 -webkit-padding-start: 1%; background: #666 -webkit-gradient(linear, left top, right top, from(rgba(255,255,255,0.5)), color-stop(0.5, rgba(255,255,255,0.1)), color-stop(0.5, rgba(0,0,0,0)), to(rgba(0,0,0,0.01))); |
7 } | 7 } |
8 </style> | 8 </style> |
9 <script> | 9 <script> |
10 function runTest() { | 10 function runTest() { |
11 if (window.testRunner) { | 11 if (window.testRunner) { |
12 testRunner.dumpAsText(); | 12 testRunner.dumpAsText(); |
13 document.body.offsetTop; | 13 document.body.offsetTop; |
14 testRunner.display(); | |
15 } | 14 } |
16 }; | 15 }; |
17 </script> | 16 </script> |
18 </head> | 17 </head> |
19 <body onload="runTest()"> | 18 <body onload="runTest()"> |
20 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=86162">bug 86162</a >: | 19 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=86162">bug 86162</a >: |
21 This tests that there is no crash when using percentage value for scrollbar's pa dding property. On success you should see a frame with scrollbars and one PASS m essage in it. | 20 This tests that there is no crash when using percentage value for scrollbar's pa dding property. On success you should see a frame with scrollbars and one PASS m essage in it. |
22 <div style="height: 1000px;"></div> | 21 <div style="height: 1000px;"></div> |
23 </body> | 22 </body> |
24 </html> | 23 </html> |
OLD | NEW |