Skip to content

[css-conditional-5] snapped matches scrollsnapchanging #10784 #11031

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion css-conditional-5/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Default Highlight: css
spec:css-contain-2; type:dfn; text:layout containment box
spec:css-contain-2; type:dfn; text:size containment box
spec:css-pseudo-4; type:dfn; text:fictional tag sequence
spec:css-scroll-snap-2; type:dfn; text:scrollsnapchanging
spec:css-sizing-4; type:property; text:contain-intrinsic-size
spec:css-sizing-4; type:property; text:aspect-ratio
spec:intersection-observer; type:dfn; text:intersection root
Expand Down Expand Up @@ -1195,7 +1196,8 @@ Scroll snapping: the '@container/snapped' feature</h4>
</pre>

The '@container/snapped' [=container feature=] queries whether a [=snap target=]
is snapped to its [=snap container=] in the given axis.
is, or would be, snapped to its [=snap container=], in the given axis. That is,
it matches any [=snap target=] that the {{scrollsnapchanging}} event is fired for.

<dl dfn-type=value dfn-for="@container/snapped">
<dt><dfn>none</dfn>
Expand Down