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

> 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?

You are correct, `completedScroll` would have been a better name in my hastily written example above.

Our discussion seems to deserve a separate resolution in the WG.  If you agree, I would suggest moving this discussion over to #12495 for a wider audience and settle this PR in one of the following ways:
1. Land the PR as-is, quoting #12495.
1. Change this PR to "always resolve with `false` or `undefined`", quoting that same issue.
1. Change this PR to resolve with an enum value which will be defined later on through that issue.
 
@emilio What do you think?

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


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

Received on Friday, 12 September 2025 21:08:21 UTC