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

Sure, but promise resolution is async and, in your example `scrolled` is actually not really whether something scrolled, right? E.g a smooth scroll interrupted by the user will resolve with false but it's not clear what behavior the developer would want... It's more like `completedScroll`, and it seems rather subtle / hard to use right in presence of user scrolls or what not, right? Or am I missing something?

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


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

Received on Tuesday, 2 September 2025 22:17:07 UTC