Skip to content

Conversation

@diekus
Copy link
Member

@diekus diekus commented Jan 21, 2026

Removed 2 use cases for the at-rule function based on 2 CSSWG resolutions.

diekus and others added 5 commits December 9, 2025 10:16
Co-authored-by: Kevin Babbitt <kbabbitt@microsoft.com>
Co-authored-by: Kevin Babbitt <kbabbitt@microsoft.com>
Co-authored-by: Kevin Babbitt <kbabbitt@microsoft.com>
Removed use cases from the explainer.  Detect whether an at-rule, with optional prelude and/or block, is supported based on this resolution: w3c/csswg-drafts#6966 (comment)
Detect whether a given declaration is supported within an at-rule block based on the proposed @supports-condition w3c/csswg-drafts#12622 (comment)
@diekus diekus requested a review from kbabbitt January 21, 2026 15:14
Allow authors to feature-detect new enhancements to existing at-rules, such as:
- New media query features and other additions to at-rule preludes
- New descriptors that may be introduced to rules such as `@font-face`

Copy link
Member

Choose a reason for hiding this comment

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

Rather than deleting these, should we move them to Non-Goals, with a note that the CSSWG resolved to introduce @supports-condition to handle them? And perhaps a link to the spec: https://drafts.csswg.org/css-conditional-5/#supports-condition-rule

- Addresses TAG comments found [here](w3ctag/design-reviews#1176 (comment))
- moves previous capabilities to non-goals based on the new `@supports-condition` at-rule
@diekus
Copy link
Member Author

diekus commented Jan 27, 2026

@kbabbitt I've move the previous capabilities of at-rule to non-goals and added an additional paragraph to address TAG's review.

@diekus diekus requested a review from kbabbitt January 27, 2026 12:39
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.

2 participants