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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html

Issue 2261173005: wheel layout tests moved to fast/events/wheel folder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html b/third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html
deleted file mode 100644
index ca4c57e4320aeead2517974f58cc383dd274fc07..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/js-test.js"></script>
-<script>
- window.jsTestIsAsync = true;
-
- description("Test that wheel scrolling over the page scrollbar scrolls " +
- "the page. We also placed an overflow div below the " +
- "scrollbar to make sure we target the page and not the div " +
- "in that case.");
-
- var overflowDiv;
-
- window.onload = function() {
- if (!window.testRunner || !window.eventSender)
- return;
-
- internals.settings.setScrollAnimatorEnabled(false);
-
- overflowDiv = document.getElementById('overflowDiv');
-
- // Move the mouse over the vertical scrollbar.
- eventSender.mouseMoveTo(790, 300);
-
- // Scroll down precisely by 30 px.
- eventSender.continuousMouseScrollBy(0, -30, false, true);
-
- shouldBe('window.scrollY', '30');
- shouldBe('overflowDiv.scrollTop', '0');
- finishJSTest();
- }
-</script>
-
-<body style="margin:0">
- <div id="overflowDiv" style="width:1000px; height:500px; overflow:scroll">
- <div style="height: 1000px"></div>
- </div>
- <div style="height: 1000px"></div>
-</body>

Powered by Google App Engine
This is Rietveld 408576698