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

Unified Diff: sky/tests/framework/citylist-scrolled.sky

Issue 875473004: Fix city-list example after changes to scrolling (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase tests Created 5 years, 11 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 | « sky/tests/framework/citylist-expected.txt ('k') | sky/tests/framework/citylist-scrolled-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/framework/citylist-scrolled.sky
diff --git a/sky/tests/framework/citylist-scrolled.sky b/sky/tests/framework/citylist-scrolled.sky
index 6216888a6b5c34fd25c7ae7bd136b0a8ee6643cd..3195b5192766c26dbc0790a16002601f685271b0 100644
--- a/sky/tests/framework/citylist-scrolled.sky
+++ b/sky/tests/framework/citylist-scrolled.sky
@@ -10,8 +10,7 @@ cityList.addEventListener('load', function() {
} else {
scrolled = true;
setTimeout(function() {
- cityList.scrollerElement.scrollTop = 200;
- cityList.handleScroll({ target: cityList.scrollerElement });
+ cityList.scrollBy(200);
}, 0);
}
});
« no previous file with comments | « sky/tests/framework/citylist-expected.txt ('k') | sky/tests/framework/citylist-scrolled-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698