| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title>Test rubber banding overhang drawing with custom scrollbars</title> | 3 <title>Test rubber banding overhang drawing with custom scrollbars</title> |
| 4 <style> | 4 <style> |
| 5 html { | 5 html { |
| 6 overflow: scroll; | 6 overflow: scroll; |
| 7 } | 7 } |
| 8 ::-webkit-scrollbar { | 8 ::-webkit-scrollbar { |
| 9 width: 16px; | 9 width: 16px; |
| 10 height: 16px; | 10 height: 16px; |
| 11 } | 11 } |
| 12 ::-webkit-scrollbar-track-piece, | 12 ::-webkit-scrollbar-track-piece, |
| 13 ::-webkit-scrollbar-corner { | 13 ::-webkit-scrollbar-corner { |
| 14 background-color: blue; | 14 background-color: orange; |
| 15 } | 15 } |
| 16 </style> | 16 </style> |
| 17 </head> | 17 </head> |
| 18 <body> | 18 <body> |
| 19 <div style="height:30px; background-color:black; width:100%"></div> | 19 <div style="height:30px; background-color:black; width:100%"></div> |
| 20 <div id="info">This test requires DRT.</div> | 20 <div id="info">This test requires DRT.</div> |
| 21 <script> | 21 <script> |
| 22 if (window.internals) { | 22 if (window.internals) { |
| 23 document.getElementById('info').style.visibility = "hidden"; | 23 document.getElementById('info').style.visibility = "hidden"; |
| 24 internals.setScrollViewPosition(document, -50, -50); | 24 internals.setScrollViewPosition(document, -50, -50); |
| 25 } | 25 } |
| 26 </script> | 26 </script> |
| 27 </body> | 27 </body> |
| 28 </html> | 28 </html> |
| OLD | NEW |