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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/middleClickAutoscroll-nested-divs-forbidden.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style type="text/css"> 4 <style type="text/css">
5 div { 5 div {
6 line-height: 50px; 6 line-height: 50px;
7 } 7 }
8 #outerdiv { 8 #outerdiv {
9 overflow:auto; 9 overflow:auto;
10 border: 2px solid #000FFF; 10 border: 2px solid #000FFF;
11 } 11 }
12 #innerdiv { 12 #innerdiv {
13 overflow:auto; 13 overflow:auto;
14 border: 2px solid #000000; 14 border: 2px solid #000000;
15 width: 121%; 15 width: 121%;
16 padding: 5px; 16 padding: 5px;
17 } 17 }
18 </style> 18 </style>
19 <script src="../../resources/js-test.js"></script> 19 <script src="../../resources/js-test.js"></script>
20 <script src="./resources/panScroll.js"></script> 20 <script src="./resources/middleClickAutoscroll.js"></script>
21 <script> 21 <script>
22 function start() 22 function start()
23 { 23 {
24 outerdiv = $('outerdiv'); 24 outerdiv = $('outerdiv');
25 25
26 testPanScroll({ 26 testPanScroll({
27 'clickOrDrag': 'drag', 27 'clickOrDrag': 'drag',
28 'endX': 225, 28 'endX': 225,
29 'endY': 75, 29 'endY': 75,
30 'finishTest': function() { 30 'finishTest': function() {
(...skipping 12 matching lines...) Expand all
43 <p>Top of outer div.</p> 43 <p>Top of outer div.</p>
44 <div id="innerdiv"> 44 <div id="innerdiv">
45 <p>Inner div.</p> 45 <p>Inner div.</p>
46 </div> 46 </div>
47 <p>Bottom of outer div.</p> 47 <p>Bottom of outer div.</p>
48 </div> 48 </div>
49 <p>Test for <a href="http://crbug.com/232965">bug 232965</a> This tests that ver tical pan scrolling does not propagate from the inner div to the outer div when the outer div has no vertical overflow.</p> 49 <p>Test for <a href="http://crbug.com/232965">bug 232965</a> This tests that ver tical pan scrolling does not propagate from the inner div to the outer div when the outer div has no vertical overflow.</p>
50 <div id="console"></div> 50 <div id="console"></div>
51 </body> 51 </body>
52 </html> 52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698