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

Unified Diff: LayoutTests/platform/chromium-win/fast/events/panScroll-nested-divs.html

Issue 15103004: Move Win-specific LayoutTests to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add calandar-picker tests to NeverFixTests for Mac Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/platform/chromium-win/fast/events/panScroll-nested-divs.html
diff --git a/LayoutTests/platform/chromium-win/fast/events/panScroll-nested-divs.html b/LayoutTests/platform/chromium-win/fast/events/panScroll-nested-divs.html
deleted file mode 100644
index 35811fa12d085321aea24b178616a6a97cce340f..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium-win/fast/events/panScroll-nested-divs.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
- <head>
- <title>Pan Scrolling Test</title>
- </head>
- <body>
- <script>
- if (testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
- </script>
- <div id="overflow" style="width:500px; height:300px; overflow:auto; border:2px solid red; padding:10px">
- <div style="height:200px; position:relative;">
- <div style="height:150px; border:1px blue solid; overflow:auto;">
- Panscrolling starting in the blue box should scroll the outer div.
- </div>
- Panscrolling outside the blue boxes should scroll the outer div.
- </div>
- <div style="height:200px; position:relative;">
- <div style="height:150px; border:1px blue solid; overflow:auto;">
- Panscrolling starting in the blue box should scroll the outer div.
- </div>
- </div>
- </div>
- <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=28023">bug 28023</a> This tests that pan scrolling
- propogates correctly up the DOM tree. On success, our scroll offset should be non-zero.</p>
- <div id="console"></div>
- <script>
- if (eventSender)
- {
- eventSender.mouseMoveTo(50, 50);
- eventSender.mouseDown(1);
- eventSender.mouseUp(1);
- eventSender.mouseMoveTo(50, 200);
- setTimeout(finished, 500);
- }
-
- function finished()
- {
- if (document.getElementById('overflow').scrollTop)
- document.getElementById('console').innerHTML = "Success! Div with overflow was scrolled";
- else
- document.getElementById('console').innerHTML = "Fail! Div with overflow was not scrolled";
-
- window.testRunner.notifyDone();
- }
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698