Re: [csswg-drafts] [cssom-view] Fire scrollend consistently in cases where there is no scrolling. (#8218)

Though if we make the scrolling APIs (scrollIntoView, scrollIntoViewIfNeeded, scrollTo, etc) return promises which resolve when the scroll is complete I could see never firing scrollend if there is no scroll.

I'm not sure whether the current spec text is clear on what the behavior should be to the current text,

> Whenever scrolling is [completed](https://drafts.csswg.org/cssom-view/#scroll-completed), the user agent must run these steps

This could be interpreted either way I think.

-- 
GitHub Notification of comment by flackr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8218#issuecomment-1349226697 using your GitHub account


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

Received on Tuesday, 13 December 2022 17:37:52 UTC