Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 10 additions & 0 deletions features/container-scroll-state-queries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Container scroll-state queries
description: Container scroll-state queries with the `@container scroll-state(...)` at-rule apply styles to an element based on the sticky positioning, snapped, and scrollable state of the container.
# Note that a fourth state for scroll direction is being discussed:
# https://github.com/w3c/csswg-drafts/issues/6400
# https://github.com/w3c/csswg-drafts/issues/11191
# TODO: If shipped, update the description or split into smaller features.
Comment on lines +3 to +6
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this would be easier to handle if BCD actually tracked container queries like it does media queries—it'd be obvious when new variations on the query appear. I've sent mdn/browser-compat-data#25766.

spec: https://drafts.csswg.org/css-conditional-5/#scroll-state-container
group: container-queries
compat_features:
- css.properties.container-type.scroll-state
8 changes: 8 additions & 0 deletions features/container-scroll-state-queries.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Generated from: container-scroll-state-queries.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support: {}
compat_features:
- css.properties.container-type.scroll-state
Loading