Commit Graph

5 Commits

Author SHA1 Message Date
Natalie Weizenbaum
b79c8ee2ba Require shortcut links 2024-06-17 17:49:23 -07:00
Natalie Weizenbaum
54b9bbed50
[Supports General] Disambiguate SupportsCondition/SupportsAnything (#2938)
Within parentheses, a production like `#{$value} and ...` could be
parsed as either branch, but *should* be parsed as a
SupportsCondition.

See #2780
2020-11-04 14:26:39 -08:00
Natalie Weizenbaum
e2b931f4e5 [Supports General] SupportsInParens can be a lone Interpolation
This matches the existing behavior of Sass, and ensures backwards
compatibility as well as `@supports #{$variable} {` which is an
important pattern of use.
2020-11-03 16:47:51 -08:00
Natalie Weizenbaum
dc138fb449 [Supports General] Mark InterpolatedAnyValue productions as optional
According to @tabatkins, this matches the intended CSS syntax. The
syntax as written in the current drafts is mistaken in disallowing
empty values here.
2020-11-03 16:34:19 -08:00
Natalie Weizenbaum
b7968bc117
[Supports General] Mark as accepted (#2833) 2020-03-09 12:16:36 -07:00