Skip to content

Conversation

emilio
Copy link
Collaborator

@emilio emilio commented Aug 14, 2025

Fixes #11164

Copy link
Member

@nt1m nt1m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was hoping someone more seasoned with scrolling would review, but for the sake of moving this forward, I'll approve this

@nt1m nt1m merged commit 36f0586 into main Sep 19, 2025
1 check passed
in the order they were added to the list, run these substeps:

1. If <var>target</var> is a {{Document}}, and <var>type</var> is <code>"scroll"</code> or <code>"scrollend"</code>,
<a>fire an event</a> named <a event>scroll</a> that bubbles at <var>target</var>.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should fire an event named scroll or scrollend here

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, nice catch, #12835

@emilio emilio deleted the scroll-queue branch September 19, 2025 14:56
emilio added a commit that referenced this pull request Sep 19, 2025
emilio added a commit that referenced this pull request Sep 19, 2025
@nt1m
Copy link
Member

nt1m commented Sep 19, 2025

@emilio Now that this is published, I noticed that this is missing indentation that makes the if/otherwise steps a bit hard to read (notably in "run the scroll steps"): https://drafts.csswg.org/cssom-view/#scrolling-events

Is it possible to fix that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[cssom-view] Scroll steps don't match implementations
2 participants