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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-div-propagated-diagonally.html

Issue 1320543006: Remove touch scroll chaining from main thread scrolling. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@gclient
Patch Set: Fix silly mistake in mac expectations. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-div-propagated-diagonally.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-div-propagated-diagonally.html b/third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-div-propagated-diagonally.html
deleted file mode 100644
index ce8b3fd678d420a90d6c6c883aa15e99353c5be7..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-div-propagated-diagonally.html
+++ /dev/null
@@ -1,73 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../../../resources/js-test.js"></script>
-<script src="resources/gesture-helpers.js"></script>
-<style type="text/css">
-
-::-webkit-scrollbar {
- width: 0px;
- height: 0px;
-}
-
-#contents {
- width:500px;
- height:150px;
- border-right:700px solid black;
- background:red;
-}
-
-#horizontal {
- width:600px;
- height:600px;
- overflow:scroll;
- background:green;
-}
-
-#vertical {
- height:300px;
- overflow:scroll;
-}
-
-</style>
-</head>
-<body style="margin:0" onload="runTest();">
-
-<div id="vertical">
- <div id="horizontal">
- <div id="contents"></div>
- </div>
-</div>
-
-<p id="description"></p>
-<div id="console"></div>
-<script type="text/javascript">
-
-if (window.testRunner)
- testRunner.waitUntilDone();
-
-function runTest()
-{
- if (window.eventSender) {
- description('This tests that a gesture scroll is propagated from an ' +
- 'inner div to an outer div when the inner div has ' +
- 'remaining scroll offset on one axis, but not on the other.');
- if (checkTestDependencies()) {
- eventSender.gestureScrollBegin(10, 10);
- eventSender.gestureScrollUpdate(-15, -20);
- eventSender.gestureScrollEnd(0, 0);
- shouldBe("horizontal.scrollLeft", "15");
- shouldBe("vertical.scrollTop", "20");
- if (window.testRunner)
- testRunner.notifyDone();
- } else {
- exitIfNecessary();
- }
- } else {
- debug("This test requires DumpRenderTree. Gesture-scroll the page diagonally to validate the implementation.");
- }
-}
-</script>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698