Skip to content

Commit cdf39f9

Browse files
committed
[css-variables] More processor tweaks.
--HG-- extra : rebase_source : 512aecd30389e8d7b6772dcb86919f19d32b5f30
1 parent c7a24c1 commit cdf39f9

1 file changed

Lines changed: 20 additions & 18 deletions

File tree

css-variables/Overview.html

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
content="CSS Custom Properties for Cascading Variables Module Level 1"
1414
name=dcterms.title>
1515
<meta content=text name=dcterms.type>
16-
<meta content=2013-03-01 name=dcterms.issued>
16+
<meta content=2013-03-02 name=dcterms.issued>
1717
<meta content="http://dev.w3.org/csswg/css-variables/"
1818
name=dcterms.creator>
1919
<meta content=W3C name=dcterms.publisher>
@@ -32,7 +32,7 @@
3232
<h1 class=no-ref id=title>CSS Custom Properties for Cascading Variables
3333
Module Level 1</h1>
3434

35-
<h2 class="no-num no-toc no-ref" id=subtitle>Editor's Draft 1 March 2013</h2>
35+
<h2 class="no-num no-toc no-ref" id=subtitle>Editor's Draft 2 March 2013</h2>
3636

3737
<dl>
3838
<dt>This version:
@@ -269,9 +269,9 @@ <h2 id=defining-variables><span class=secno>2. </span> Defining Custom
269269
<tr>
270270
<th>Values:
271271

272-
<td>[ <a href="#value"><var>&lt;value&gt;</var></a> | <a
273-
href="#cdo"><var>&lt;CDO&gt;</var></a> | <a
274-
href="#cdc"><var>&lt;CDC&gt;</var></a> ]
272+
<td>[ <a href="#value-production">&lt;value&gt;</a> | <a
273+
href="#cdo-production">&lt;CDO&gt;</a> | <a
274+
href="#cdc-production">&lt;CDC&gt;</a> ]
275275

276276
<tr>
277277
<th>Initial:
@@ -344,18 +344,18 @@ <h2 id=defining-variables><span class=secno>2. </span> Defining Custom
344344
</div>
345345

346346
<p> <a href="#custom-property">Custom properties</a> have an extremely
347-
permissive value grammar. The <dfn id=value>&lt;value&gt;</dfn> in its
348-
grammar corresponds to the "value" production in <a
347+
permissive value grammar. The <dfn id=value-production>&lt;value&gt;</dfn>
348+
in its grammar corresponds to the "value" production in <a
349349
href="http://www.w3.org/TR/CSS2/syndata.html#tokenization">CSS 2.1 Chapter
350350
4.1</a> <a href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>,
351-
while <dfn id=cdo>&lt;CDO&gt;</dfn> and <dfn id=cdc>&lt;CDC&gt;</dfn>
352-
correspond to the tokens of the same name from the same chapter (they
353-
represent HTML comments showing up in CSS text - "&lt;!--" and "--&gt;").
354-
This is a very technical way of saying that nearly anything can be used in
355-
the value of a custom property, save unmatched closing brackets ("]", ")",
356-
or "}"), a top-level semicolon (as it will end the property), a
357-
"!important" that's not at the end, or invalid tokens (such as BAD_STRING
358-
and BAD_URL).
351+
while <dfn id=cdo-production>&lt;CDO&gt;</dfn> and <dfn
352+
id=cdc-production>&lt;CDC&gt;</dfn> correspond to the tokens of the same
353+
name from the same chapter (they represent HTML comments showing up in CSS
354+
text - "&lt;!--" and "--&gt;"). This is a very technical way of saying
355+
that nearly anything can be used in the value of a custom property, save
356+
unmatched closing brackets ("]", ")", or "}"), a top-level semicolon (as
357+
it will end the property), a "!important" that's not at the end, or
358+
invalid tokens (such as BAD_STRING and BAD_URL).
359359

360360
<p class=note> Custom properties can contain a trailing ‘<code
361361
class=css>!important</code>’, but this is automatically removed from the
@@ -1059,9 +1059,11 @@ <h2 class="no-num no-ref" id=index> Index</h2>
10591059
<li>cascading variable, <a href="#cascading-variable"
10601060
title="section 2."><strong>2.</strong></a>
10611061

1062-
<li>&lt;CDC&gt;, <a href="#cdc" title="section 2."><strong>2.</strong></a>
1062+
<li>&lt;CDC&gt;, <a href="#cdc-production"
1063+
title="section 2."><strong>2.</strong></a>
10631064

1064-
<li>&lt;CDO&gt;, <a href="#cdo" title="section 2."><strong>2.</strong></a>
1065+
<li>&lt;CDO&gt;, <a href="#cdo-production"
1066+
title="section 2."><strong>2.</strong></a>
10651067

10661068
<li>creator, <a href="#cssvariablesdeclaration-creator"
10671069
title="section 4.2."><strong>4.2.</strong></a>
@@ -1110,7 +1112,7 @@ <h2 class="no-num no-ref" id=index> Index</h2>
11101112
title="section 6.2."><strong>6.2.</strong></a>
11111113
</ul>
11121114

1113-
<li>&lt;value&gt;, <a href="#value"
1115+
<li>&lt;value&gt;, <a href="#value-production"
11141116
title="section 2."><strong>2.</strong></a>
11151117

11161118
<li>var-*, <a href="#var-" title="section 2."><strong>2.</strong></a>

0 commit comments

Comments
 (0)