| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style> | 3 <style> |
| 4 ::-webkit-scrollbar { | 4 ::-webkit-scrollbar { |
| 5 width: 0px; | 5 width: 0px; |
| 6 height: 0px; | 6 height: 0px; |
| 7 } | 7 } |
| 8 </style> | 8 </style> |
| 9 <script> | 9 <script> |
| 10 window.enablePixelTesting = true; | 10 window.enablePixelTesting = true; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 function test() { | 23 function test() { |
| 24 if (window.internals) | 24 if (window.internals) |
| 25 internals.settings.setScrollAnimatorEnabled(false); | 25 internals.settings.setScrollAnimatorEnabled(false); |
| 26 | 26 |
| 27 document.body.style.width = (document.body.clientWidth + 100) + "px"; | 27 document.body.style.width = (document.body.clientWidth + 100) + "px"; |
| 28 scaleWithEventSender(); | 28 scaleWithEventSender(); |
| 29 scroll(); | 29 scroll(); |
| 30 } | 30 } |
| 31 </script> | 31 </script> |
| 32 <script src="../../resources/js-test.js"></script> | 32 <script src="../../fast/../resources/js-test.js"></script> |
| 33 </head> | 33 </head> |
| 34 <body style="height: 2000px; width: 2000px; margin:0px;" onload="test();"> | 34 <body style="height: 2000px; width: 2000px; margin:0px;" onload="test();"> |
| 35 <div style="position: fixed; bottom: 100px; right: 100px; z-index: 1"> | 35 <div style="position: fixed; bottom: 100px; right: 100px; z-index: 1"> |
| 36 <div style="left:0; top:0; width:100px; height:100px; position:absolute;
background:black;"></div> | 36 <div style="left:0; top:0; width:100px; height:100px; position:absolute;
background:black;"></div> |
| 37 <div style="left:100px; top:0; width:100px; height:100px; position:absol
ute; background:green;"></div> | 37 <div style="left:100px; top:0; width:100px; height:100px; position:absol
ute; background:green;"></div> |
| 38 | 38 |
| 39 <div style="left:0px; top:100px; width:100px; height:100px; position:abs
olute; background:yellow;"></div> | 39 <div style="left:0px; top:100px; width:100px; height:100px; position:abs
olute; background:yellow;"></div> |
| 40 <div style="left:100px; top:100px; width:100px; height:100px; position:a
bsolute; background:blue;"></div> | 40 <div style="left:100px; top:100px; width:100px; height:100px; position:a
bsolute; background:blue;"></div> |
| 41 </div> | 41 </div> |
| 42 </body> | 42 </body> |
| 43 </html> | 43 </html> |
| OLD | NEW |