Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions css-properties-values-api/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -334,12 +334,12 @@ so long as you don't violate the (very liberal) syntax for custom properties.

Registering a custom property does not change this.
Even if a custom property is, for example,
registered with `syntax: "<color>"`,
registered with `syntax: "&lt;color>"`,
a rule like `@supports (--foo: 1em) {...}`
will still evaluate as true and apply those styles.

Note: This matches the parsing behavior of registered custom properties.
A registered custom property specified as `"<color>"`
A registered custom property specified as `"&lt;color>"`
but written as `--foo: 1em;` will still be accepted as valid at parse-time,
but be automatically [=invalid at computed-value time=].
As ''@supports'' tests parse behavior,
Expand Down