window.scrollTo fling canceling differs between main and impl thread |
|||||
Issue descriptionVersion: 53.0.2761.0 OS: Android What steps will reproduce the problem? (1) Visit bokan.ca/clamp.html. (2) Scroll down (3) Fling up to the top of the page, when the page is scrolled to y=0 it'll window.scrollTo the document bottom. What is the expected output? What do you see instead? When flinging on the impl thread, calling window.scrollTo will cancel the fling so the page will remain at the bottom. When run with --disable-threaded-scrolling, the fling will continue uninterrupted; the page continues to scroll up after window.scrollTo. I'm not sure which of the two behaviors is correct/intended but we should make sure both paths match.
,
Jun 8 2017
The original repro is no longer available. bokan@ can you upload the file elsewhere if you still have it. I agree with #1. Another reason for pushing to have only a single place for fling to be generated.
,
Jun 29 2017
+sahel@ who will likely be working on moving fling this quarter. The plan is to move fling to happen in the browser, but this situation would require Blink to somehow signal to the browser that we should cancel the fling. Here's an updated link: http://bokand.github.io/clamp.html
,
Jul 2
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 4
This is fixed by browser-side fling. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by tdres...@chromium.org
, Jul 26 2016