[cssom-view] Remove incorrect spec prose "emit the scrollend event"
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
https://w3c.github.io/csswg-drafts/cssom-view/#perform-a-scroll
...then perform a smooth scroll of box to position. Once the position has finished updating, emit the scrollend event. Otherwise, perform an instant scroll of box to position. After an instant scroll emit the scrollend event.
Note: In the case the VisualViewport was scrolled, yielding no translation changes in the document, emit the scrollend on the VisualViewport just as the scroll event is emitted for VisualViewport scrolling.
This algorithm shouldn't say to fire scrollend events, as that is done in https://w3c.github.io/csswg-drafts/cssom-view/#scrolling-events
If you want, you can include a note that clarifies where events are fired, without sounding like requirements. (See https://wpc.guide/skills/#building-blocks-of-a-spec)
cc @emilio @dlrobertson @argyleink
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked CSSOM View “perform a scroll” and “scrolling events” sections. Remove the event-firing prose from the algorithm, optionally clarifying event targets without adding requirements, and confirm that scrollend behavior remains specified in the scrolling-events section.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100