Skip to content

Commit

Permalink
Adjust infinite-scroll-event to pass.
Browse files Browse the repository at this point in the history
scrollTopMax is not a standardized web feature. The actual
functionality was passing as of:

https://chromium.googlesource.com/chromium/src/+/6a9dd6d26726f346345cf1970c2bc3af3ec1afbd

Bug: 997502
Change-Id: Ic120d09d0e6a9652c195afe0ac7cacece917dd47
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1949556
Reviewed-by: Nick Burris <nburris@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#721318}
  • Loading branch information
chrishtr authored and chromium-wpt-export-bot committed Dec 4, 2019
1 parent e92918c commit 3f1485c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
}));
});
window.onload = t.step_func(function() {
window.scrollTo(0, document.scrollingElement.scrollTopMax - 200);
window.scrollTo(0, document.documentElement.scrollHeight);
window.scrollBy(0, -200);
});
</script>

0 comments on commit 3f1485c

Please sign in to comment.