You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scroll + remembered scroll offset interact in WPT anchor-scroll-chained-002.html.
I believe the reference case is expecting the following:
JS-induced scroll happens
Then, the anchor recalculation point is hit
Then, scrollable overflow for #scroller1 is computed.
This results in a smaller scroller1.scrollHeight, than say, inserting a rAF before the existing JS.
See attached test case, modified for more visibility. asc2.html EDIT: New testcase, outputting to console, as the previous one accidentally caused reflows 🤦 asc2.html)
Testcase aside, could this mean different scrollbar sizes depending on loading time of a website?