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