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

Unified Diff: LayoutTests/platform/chromium-win/fast/events/panScroll-panIcon.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-panIcon.html
diff --git a/LayoutTests/platform/chromium-win/fast/events/panScroll-panIcon.html b/LayoutTests/platform/chromium-win/fast/events/panScroll-panIcon.html
deleted file mode 100644
index 410fcf54faef7fd8b94bf61307749831a29f5de1..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium-win/fast/events/panScroll-panIcon.html
+++ /dev/null
@@ -1,61 +0,0 @@
-<html>
-<head>
-<style type="text/css">
-#draggable {
- padding: 5pt;
- border: 3px solid #00cc00;
- background: #00cccc;
- width: 80px;
- cursor: hand;
-}
-
-#scrollable {
- height: 200px;
- overflow: auto;
- border: solid 3px #cc0000;
- font-size: 80px;
-}
-</style>
-<script>
-function $(id) { return document.getElementById(id); }
-var MIDDLE_BUTTON = 1;
-var PAN_SCROLL_RADIUS = 15; // from WebCore/platform/ScrollView.h
-
-function setUpTest()
-{
- var scrollable = $('scrollable');
- for (var i = 0; i < 10; ++i) {
- var line = document.createElement('div');
- line.innerHTML = "line " + i;
- scrollable.appendChild(line);
- }
-
- if (!window.eventSender)
- return;
-
- // Start pan scroll by click
- eventSender.mouseMoveTo(scrollable.offsetLeft + 5, scrollable.offsetTop + 5);
- eventSender.mouseDown(MIDDLE_BUTTON);
- eventSender.mouseUp(MIDDLE_BUTTON);
-
- // Stop pan scroll by click
- eventSender.mouseDown(MIDDLE_BUTTON);
- eventSender.mouseUp(MIDDLE_BUTTON);
-}
-</script>
-</head>
-<body>
-You should run this test in DRT.
-<br>
-For manual testing, hold middle button in scrollable and move aroudn mouse pointer for scrolling, then release middle button to stop scrolling.
-You won't see pan icon after pan scroll.
-<div id="container">
-Scrollable
-<div id="scrollable">
-</div>
-</div>
-<script>
-setUpTest();
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698