Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(815)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/middleClickAutoscroll-nested-divs.html

Issue 2289213002: Implement Middle Click Autoscroll on all platforms not just Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' of https://chromium.googlesource.com/chromium/src into panscroll Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698