Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

Re-scopes at-rule - #1231

Merged
Kevin Babbitt (kbabbitt) merged 10 commits into
MicrosoftEdge:mainfrom
diekus:diekus-at-rule
Feb 4, 2026
Merged

Kevin Babbitt (kbabbitt) merged 10 commits into
MicrosoftEdge:mainfrom
diekus:diekus-at-rule

Conversation

@diekus

Copy link
Copy Markdown
Contributor

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

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)
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
Copy Markdown
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
Copy Markdown
Contributor Author

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

Comment thread AtRuleFeatureDetection/explainer.md Outdated
/* ... */
}
```
### Context Aware feature detection

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this section should go as a sub-header under "Non-goals" similar to the one being added for @charset. Putting it here makes it seem like it's part of what we're supporting. Moving it up under "Non-goals" also sets up another edit I just noticed we need (comment incoming)

Comment thread AtRuleFeatureDetection/explainer.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

There's no longer a "second form" with the changes that have been made. I can see two things we could do with it:

  1. Remove it entirely
  2. Change "the second form" to @supports-condition and repurpose this section as an example of a potential false positive mentioned in the non-goals section

@kbabbitt
Kevin Babbitt (kbabbitt) merged commit e35a74c into MicrosoftEdge:main Feb 4, 2026
1 check passed
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