File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
css-properties-values-api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -334,12 +334,12 @@ so long as you don't violate the (very liberal) syntax for custom properties.
334
334
335
335
Registering a custom property does not change this.
336
336
Even if a custom property is, for example,
337
- registered with `syntax: "< color> "`,
337
+ registered with `syntax: "< color>"`,
338
338
a rule like `@supports (--foo: 1em) {...}`
339
339
will still evaluate as true and apply those styles.
340
340
341
341
Note: This matches the parsing behavior of registered custom properties.
342
- A registered custom property specified as `"< color> "`
342
+ A registered custom property specified as `"< color>"`
343
343
but written as `--foo: 1em;` will still be accepted as valid at parse-time,
344
344
but be automatically [=invalid at computed-value time=] .
345
345
As ''@supports'' tests parse behavior,
You can’t perform that action at this time.
0 commit comments