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

Unified Diff: third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/touch-scroll-customization.html

Issue 2908073008: Remove a frame of delay on main-thread FlingStart. [2nd land] (Closed)
Patch Set: Fix pad-gesture-fling properlyy Created 3 years, 7 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/scroll-behavior/scroll-customization/touch-scroll-customization.html
diff --git a/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/touch-scroll-customization.html b/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/touch-scroll-customization.html
index 05057cd0ac92a1a1077a15a31b0a831ada5e3612..5248363b88acf2e2b9b013625b6612429ecfac4e 100644
--- a/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/touch-scroll-customization.html
+++ b/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/touch-scroll-customization.html
@@ -204,12 +204,14 @@ if ('ScrollState' in window) {
assert_equals(document.scrollingElement.scrollTop, scrollingElementTop, "For scrollingElement on step " + step);
};
+ assertScrollTops(0, 0, 0, 0);
+
var frame_actions = [
function() {
eventSender.gestureFlingStart(10, 10, -1000000, -1000000, "touchscreen");
},
flingTest.step_func(function() {
- assertScrollTops(0, 0, 0, 1);
+ assertScrollTops(100, 0, 0, 1);
}),
flingTest.step_func(function() {
assertScrollTops(100, 0, 0, 2);

Powered by Google App Engine
This is Rietveld 408576698