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

Unified Diff: third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-distribute-to-scroll-chain-descendant.html

Issue 2069713002: Make all gesture scrolls use customization path internally (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + Fix test Created 4 years, 6 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-distribute-to-scroll-chain-descendant.html
diff --git a/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-distribute-to-scroll-chain-descendant.html b/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-distribute-to-scroll-chain-descendant.html
index 588c2ac440e169db3846ae6f40dbdcabae81ec89..0bd6d4ddbb8e0a0addd5e2689fb4323ff2a45faf 100644
--- a/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-distribute-to-scroll-chain-descendant.html
+++ b/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-distribute-to-scroll-chain-descendant.html
@@ -33,7 +33,7 @@ for (var i = 0; i < elementCount; ++i) {
if ('ScrollState' in window && window.internals) {
test(function() {
- var scrollState = new ScrollState({deltaX: 100});
+ var scrollState = new ScrollState({deltaX: 100, isDirectManipulation: true});
window.internals.setScrollChain(scrollState, elements);
scrollState.distributeToScrollChainDescendant();
assert_equals(0, remainingNumberOfTimesToBeCalled);
@@ -43,7 +43,7 @@ if ('ScrollState' in window && window.internals) {
}, "distributeToScrollChainDescendant propagates correctly.");
test(function() {
- var scrollState = new ScrollState({deltaX: 100});
+ var scrollState = new ScrollState({deltaX: 100, isDirectManipulation: true});
window.internals.setScrollChain(scrollState, []);
assert_equals(0, remainingNumberOfTimesToBeCalled);
scrollState.distributeToScrollChainDescendant();
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698