Skip to content

Commit 4592966

Browse files
committed
[css-variables] Per WG resolution, reserve -- for future use by CSS. Fixes w3c#2518.
1 parent 95dcfa0 commit 4592966

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

css-variables-1/Overview.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ Defining Custom Properties: the '--*' family of properties</h2>
7272
whose name starts with two dashes (U+002D HYPHEN-MINUS),
7373
like '--foo'.
7474
The <dfn>&lt;custom-property-name></dfn> production corresponds to this:
75-
it's defined as any valid <a>identifier</a> that starts with two dashes.
75+
it's defined as any valid <a>identifier</a> that starts with two dashes,
76+
except ''--'' itself,
77+
which is reserved for future use by CSS.
7678
<a>Custom properties</a> are solely for use by authors and users;
7779
CSS will never give them a meaning beyond what is presented here.
7880

0 commit comments

Comments
 (0)