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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-listbox.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-listbox.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-listbox.html b/third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-listbox.html
index 9847c710e61c14f7c9d048e972cacd16d480ed2a..f5dcfcbb03b470baab26cb73ab0e8c8808b210b3 100644
--- a/third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-listbox.html
+++ b/third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-listbox.html
@@ -116,9 +116,19 @@
eventSender.gestureScrollUpdate(0, -50);
eventSender.gestureScrollEnd(0, 0);
- debug("Gesture scrolling list past the end should scroll container div");
+ debug("Gesture scrolling list past the end shouldn't scroll container div");
shouldBe('box.scrollTop', 'fullyScrolled');
- shouldBe('container.scrollTop', '50');
+ shouldBe('container.scrollTop', '0');
+
+ eventSender.gestureScrollBegin(gestureX, gestureY);
+ eventSender.gestureScrollUpdate(0, -fullyScrolled);
+ eventSender.gestureScrollUpdate(0, -50);
+ eventSender.gestureScrollEnd(0, 0);
+
+ debug("Gesture scrolling list past the end should scroll container div when starting at scroll extent");
+ shouldBe('box.scrollTop', 'fullyScrolled');
+ shouldBe('container.scrollTop', 'fullyScrolled + 50');
+
}
function testHorizontalScroll()

Powered by Google App Engine
This is Rietveld 408576698