Skip to content

Ambiguity in Documentation: scoll state queries and scroll snap events. #40290

@LukeAtlas22

Description

@LukeAtlas22

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_conditional_rules/Container_scroll-state_queries

What specific section or headline is this issue about?

Types of container scroll-state query - snapped

What information was incorrect, unhelpful, or incomplete?

snapped: Queries whether a container is, or will be, snapped to a scroll snap container ancestor along a given axis.

This statement lets infer that is possible to do two types of snapped query, one corresponding to the event scrollsnapchange, and the other corresponding to the event scrollsnapchanging.

But then it says:

Evaluation will occur when the scrollsnapchanging event fires on the scroll snap container.

What did you expect to see?

Change the first statement, or add (if exist) a way to do a scroll state query on the firing of the scrollsnapchange event.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Labels

Content:CSSCascading Style Sheets docs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions