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

Unified Diff: LayoutTests/fast/scroll-behavior/precise-delta-no-animate.html

Issue 882813005: Respect the smooth scrolling setting in LayerScrollableArea. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 10 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/fast/scroll-behavior/precise-delta-no-animate.html
diff --git a/LayoutTests/fast/scroll-behavior/precise-delta-no-animate.html b/LayoutTests/fast/scroll-behavior/precise-delta-no-animate.html
deleted file mode 100644
index 96303ca581f4c53d3507896ef4c749522fb5d5e9..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/scroll-behavior/precise-delta-no-animate.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<style>
-
-#container {
- width: 200px;
- height: 200px;
- overflow: scroll;
-}
-
-#content {
- width: 7500px;
- height: 7500px;
- background-color: blue;
-}
-
-</style>
-<script src="../../resources/js-test.js"></script>
-<div id="container">
- <div id="content"></div>
-</div>
-<div id="console"></div>
-<script>
-
-jsTestIsAsync = true;
-element = document.getElementById("container");
-
-function runTest() {
- element.addEventListener("scroll", function() {
- shouldBe("element.scrollTop", "80");
- finishJSTest();
- });
-
- eventSender.mouseMoveTo(100, 100);
- eventSender.mouseScrollBy(0, -2, /* paged */ false,
- /* has_precise_scrolling_deltas */ true);
-}
-
-description("Tests that a WebMouseWheelEvent with hasPreciseScrollingDeltas " +
- "does not produce an animated scroll");
-
-if (window.eventSender)
- runTest();
-else
- debug("FAIL: This test requires window.eventSender.");
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698