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() |