Re: [csswg-drafts] [cssom-view-1] Scroll methods in Element and Window return Promises (#12355)

> In this model, we shouldn't need the boolean at all. ScrollIntoView just needs to wait until the promises for each of the scrolled scrollers resolve. If another scroll interrupts one or more of those scrolls then those interrupted scroll promises will be resolved immediately.

My question is: do the uninterrupted scrollers still continue their scrolling even after one got interrupted?  This is about the observed behavior and not about the returned promise.  To explain in a different way, suppose a ScrollIntoView call starts smooth scrolling in scrollers `A`, `B` and `C`, and then a `B.scrollBy(0)` call interrupts the smooth scrolling of `B`.  Shouldn't `A` and `C` immediately stop scrolling?

-- 
GitHub Notification of comment by mustaqahmed
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/12355#issuecomment-3325056296 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 23 September 2025 18:11:35 UTC