Skip to content

Commit dc80508

Browse files
committed
[css-variables] Add back the --> that mysteriously got deleted.
1 parent e446b9d commit dc80508

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

css-variables/Overview.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,11 @@ <h2 id=defining-variables><span class=secno>2. </span> Defining Custom
330330
while <dfn id=ltcdogt>&lt;CDO&gt;</dfn> and <dfn
331331
id=ltcdcgt>&lt;CDC&gt;</dfn> correspond to the tokens of the same name
332332
from the same chapter (they represent HTML comments showing up in CSS text
333-
- "&lt;!--" and ""). This is a very technical way of saying that nearly
334-
anything can be used in the value of a custom property, save unmatched
335-
closing brackets ("]", ")", or "}"), a top-level semicolon (as it will end
336-
the property), a "!important" that's not at the end, or invalid tokens
337-
(such as BAD_STRING and BAD_URL).
333+
- "&lt;!--" and "--&gt;"). This is a very technical way of saying that
334+
nearly anything can be used in the value of a custom property, save
335+
unmatched closing brackets ("]", ")", or "}"), a top-level semicolon (as
336+
it will end the property), a "!important" that's not at the end, or
337+
invalid tokens (such as BAD_STRING and BAD_URL).
338338

339339
<p> Note: Custom properties can contain a trailing ‘<code
340340
class=css>!important</code>’, but this is automatically removed from the

css-variables/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h2 id='defining-variables'>
9797
in <a href="http://www.w3.org/TR/CSS2/syndata.html#tokenization">CSS 2.1 Chapter 4.1</a> [[!CSS21]],
9898
while <dfn>&lt;CDO></dfn> and <dfn>&lt;CDC></dfn> correspond to the tokens of the same name
9999
from the same chapter
100-
(they represent HTML comments showing up in CSS text - "&lt;!--" and "").
100+
(they represent HTML comments showing up in CSS text - "&lt;!--" and "--&gt;").
101101
This is a very technical way of saying that nearly anything can be used in the value of a custom property,
102102
save unmatched closing brackets ("]", ")", or "}"),
103103
a top-level semicolon (as it will end the property),

0 commit comments

Comments
 (0)