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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/middleClickAutoscroll-drag-scrollable-iframe-div.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 <script src="../../resources/js-test.js"> </script> 2 <script src="../../resources/js-test.js"> </script>
3 <script> 3 <script>
4 var button_was_clicked = false; 4 var button_was_clicked = false;
5 5
6 function test() { 6 function test() {
7 if (window.testRunner) { 7 if (window.testRunner) {
8 testRunner.waitUntilDone(); 8 testRunner.waitUntilDone();
9 testRunner.dumpAsText(); 9 testRunner.dumpAsText();
10 testRunner.layoutAndPaintAsyncThen( 10 testRunner.layoutAndPaintAsyncThen(
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 <p>To test manually, hold the middle mouse button on the box with scrollbars and scroll by dragging the mouse outside the bounds of the box. If the bug occu rs once the cursor leaves the bounds of the box it will remain stuck in the pann ing state.</p> 67 <p>To test manually, hold the middle mouse button on the box with scrollbars and scroll by dragging the mouse outside the bounds of the box. If the bug occu rs once the cursor leaves the bounds of the box it will remain stuck in the pann ing state.</p>
68 68
69 <div id="ScrollableIFrameDiv" style="height: 100px; width: 100px"> 69 <div id="ScrollableIFrameDiv" style="height: 100px; width: 100px">
70 <iframe id="ScrollIFrame" src="resources/iframe-with-overflow-scrollable -div.html" style="height: 100px; width: 100px"> 70 <iframe id="ScrollIFrame" src="resources/iframe-with-overflow-scrollable -div.html" style="height: 100px; width: 100px">
71 </iframe> 71 </iframe>
72 </div> 72 </div>
73 73
74 <button id="testCompletedButton" type="button" onclick="testCompleted()"> Cl ick me </button> 74 <button id="testCompletedButton" type="button" onclick="testCompleted()"> Cl ick me </button>
75 </body> 75 </body>
76 </html> 76 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698