The scrollend event is fired when a scroll is completed. Not only is this helpful for web developers that wish to be notified when a scroll is completed, but this may be helpful for testing purposes.
Note: This was also proposed for Interop 2024, but there were concerns with the use of touch scrolls in some of the scrollend tests. This proposal is limited to only test programmatic scrolls.
Description
The
scrollend
event is fired when a scroll is completed. Not only is this helpful for web developers that wish to be notified when a scroll is completed, but this may be helpful for testing purposes.Tests
dom/events/scrolling/scrollend-event-fired-for-programmatic-scroll.html dom/events/scrolling/scrollend-event-fired-for-scroll-attr-change.html
Note: This was also proposed for Interop 2024, but there were concerns with the use of touch scrolls in some of the scrollend tests. This proposal is limited to only test programmatic scrolls.
Specification
https://drafts.csswg.org/cssom-view/
Additional Signals
https://github.com/WebKit/standards-positions/issues/150