Skip to content

Commit f02653b

Browse files
committed
[css-env-1] Actually dfn the term 'custom environment variable'.
1 parent acb1257 commit f02653b

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

css-env-1/Overview.bs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,13 @@ A CSS <dfn export for=CSS>environment variable</dfn> is a name associated with a
7878
(a sequence of zero more CSS tokens, with almost no restrictions on what tokens can exist),
7979
similar to a [=custom property=].
8080
[=Environment variables=] can be defined by the user agent,
81-
or by the user.
82-
(In the latter case, the names are <<custom-property-name>>s,
83-
and start with `--` per standard for custom identifiers.)
81+
or by the author.
82+
83+
If author-defined,
84+
they are a <dfn export>custom environment variable</dfn>.
85+
The name of a [=custom environment variable=]
86+
must conform to the <<custom-property-name>> grammar.
87+
This specification does not yet define how authors can define [=custom environment variables=].
8488

8589
Issue: Is the set of UA-defined [=environment variables=] visible to script?
8690
If so, define an API on {{Document}} to expose them.

0 commit comments

Comments
 (0)