Re: [csswg-drafts] [cssom-view] Clarify number and order of `scroll` and `scrollend` events when a `scroll` event listener performs another scroll (#13772)

FWIW, if the initial `scrollTop` operation in the test case is done in a requestAnimationFrame callback, such as `requestAnimationFrame(() => { document.scrollingElement.scrollTop = 200; });`

Safari prints `scroll`, `scroll`, `scrollend`, `scroll`, `scrollend`

So it looks to me that Safari kinda agrees on the Chrome's behavior.

Note that I tested it on iOS 26.4.1.

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


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

Received on Sunday, 12 April 2026 22:37:22 UTC