| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style type="text/css"> | 3 <style type="text/css"> |
| 4 #scrollable { | 4 #scrollable { |
| 5 width:500px; | 5 width:500px; |
| 6 height:300px; | 6 height:300px; |
| 7 overflow:auto; | 7 overflow:auto; |
| 8 border:2px solid red; | 8 border:2px solid red; |
| 9 padding:10px"; | 9 padding:10px"; |
| 10 } | 10 } |
| 11 </style> | 11 </style> |
| 12 <script src="../../resources/js-test.js"></script> | 12 <script src="../../resources/js-test.js"></script> |
| 13 <script src="./resources/panScroll.js"></script> | 13 <script src="./resources/middleClickAutoscroll.js"></script> |
| 14 <script> | 14 <script> |
| 15 function start() | 15 function start() |
| 16 { | 16 { |
| 17 description('Check pan scroll in nested divs'); | 17 description('Check pan scroll in nested divs'); |
| 18 testPanScroll({ | 18 testPanScroll({ |
| 19 'clickOrDrag': 'click', | 19 'clickOrDrag': 'click', |
| 20 'scrollable': $('scrollable'), | 20 'scrollable': $('scrollable'), |
| 21 }); | 21 }); |
| 22 } | 22 } |
| 23 </script> | 23 </script> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 37 <div style="height:200px; position:relative;"> | 37 <div style="height:200px; position:relative;"> |
| 38 <div style="height:150px; border:1px blue solid; overflow:auto;"> | 38 <div style="height:150px; border:1px blue solid; overflow:auto;"> |
| 39 Panscrolling starting in the blue box should scroll the outer div. | 39 Panscrolling starting in the blue box should scroll the outer div. |
| 40 </div> | 40 </div> |
| 41 </div> | 41 </div> |
| 42 </div> | 42 </div> |
| 43 </div> | 43 </div> |
| 44 <div id="console"></div> | 44 <div id="console"></div> |
| 45 </body> | 45 </body> |
| 46 </html> | 46 </html> |
| OLD | NEW |