Skip to content

Properly parse @container queries#473

Merged
aeschli merged 6 commits intomicrosoft:mainfrom
ej-shafran:fix-style-query-parsing
Feb 23, 2026
Merged

Properly parse @container queries#473
aeschli merged 6 commits intomicrosoft:mainfrom
ej-shafran:fix-style-query-parsing

Conversation

@ej-shafran
Copy link
Contributor

@ej-shafran ej-shafran commented Jan 27, 2026

Spec

Sources in the spec:

Issues

Closes #410 (except the part about combining and and or, since it seems like that's not defined by the spec):

  • Properly parse standalone properties in style() queries (e.g. @container style(--property) {})
  • Properly parse multiple comma-separated queries (e.g. @container style(--a), style(--b) {})
  • Properly parse container names without queries (e.g. @container card {})

@ej-shafran ej-shafran changed the title Properly parse standalone properties in style() query Properly parse standalone properties in style() query Jan 27, 2026
@ej-shafran ej-shafran changed the title Properly parse standalone properties in style() query Properly parse @container queries Jan 27, 2026
@ej-shafran
Copy link
Contributor Author

@microsoft-github-policy-service agree company="Hilma"

@aeschli aeschli enabled auto-merge (squash) February 23, 2026 14:15
@aeschli
Copy link
Collaborator

aeschli commented Feb 23, 2026

Thanks @ej-shafran !

@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 23, 2026
@aeschli aeschli merged commit 54c68ce into microsoft:main Feb 23, 2026
3 checks 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.

Error when parsing @container with style queries

3 participants