[csswg-drafts] [css-scroll-snap-2] Use present tense for snap event names (#9697)

DavMila has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-scroll-snap-2] Use present tense for snap event names ==
It was pointed out [here](https://github.com/w3c/csswg-drafts/issues/7442#issuecomment-1214626815) that "snapchanged" (introduced in the scroll-snap-2 [spec](https://drafts.csswg.org/css-scroll-snap-2/#snap-events)) doesn't follow the convention of using present tense to name JavaScript events.

Additionally, [zcorpan](https://github.com/zcorpan) [suggests](https://github.com/w3c/csswg-drafts/issues/7442#issuecomment-1824901288) using names that put the snap events closer, alphabetically, to the `scroll` and `scrollend` events.

To riff off on that suggestion, I propose:
- `scrollsnapchanging` instead of snapchanging, and
- `scrollsnapchange` instead of snapchanged

which reflect not just that snapping is happening but that there is a change in snap targets as is the intention of the events.



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9697 using your GitHub account


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

Received on Monday, 11 December 2023 19:48:43 UTC