|
13 | 13 | content="CSS Custom Properties for Cascading Variables Module Level 1" |
14 | 14 | name=dcterms.title> |
15 | 15 | <meta content=text name=dcterms.type> |
16 | | - <meta content=2013-03-01 name=dcterms.issued> |
| 16 | + <meta content=2013-03-02 name=dcterms.issued> |
17 | 17 | <meta content="http://dev.w3.org/csswg/css-variables/" |
18 | 18 | name=dcterms.creator> |
19 | 19 | <meta content=W3C name=dcterms.publisher> |
|
32 | 32 | <h1 class=no-ref id=title>CSS Custom Properties for Cascading Variables |
33 | 33 | Module Level 1</h1> |
34 | 34 |
|
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> |
36 | 36 |
|
37 | 37 | <dl> |
38 | 38 | <dt>This version: |
@@ -269,9 +269,9 @@ <h2 id=defining-variables><span class=secno>2. </span> Defining Custom |
269 | 269 | <tr> |
270 | 270 | <th>Values: |
271 | 271 |
|
272 | | - <td>[ <a href="#value"><var><value></var></a> | <a |
273 | | - href="#cdo"><var><CDO></var></a> | <a |
274 | | - href="#cdc"><var><CDC></var></a> ] |
| 272 | + <td>[ <a href="#value-production"><value></a> | <a |
| 273 | + href="#cdo-production"><CDO></a> | <a |
| 274 | + href="#cdc-production"><CDC></a> ] |
275 | 275 |
|
276 | 276 | <tr> |
277 | 277 | <th>Initial: |
@@ -344,18 +344,18 @@ <h2 id=defining-variables><span class=secno>2. </span> Defining Custom |
344 | 344 | </div> |
345 | 345 |
|
346 | 346 | <p> <a href="#custom-property">Custom properties</a> have an extremely |
347 | | - permissive value grammar. The <dfn id=value><value></dfn> in its |
348 | | - grammar corresponds to the "value" production in <a |
| 347 | + permissive value grammar. The <dfn id=value-production><value></dfn> |
| 348 | + in its grammar corresponds to the "value" production in <a |
349 | 349 | href="http://www.w3.org/TR/CSS2/syndata.html#tokenization">CSS 2.1 Chapter |
350 | 350 | 4.1</a> <a href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>, |
351 | | - while <dfn id=cdo><CDO></dfn> and <dfn id=cdc><CDC></dfn> |
352 | | - correspond to the tokens of the same name from the same chapter (they |
353 | | - represent HTML comments showing up in CSS text - "<!--" and "-->"). |
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><CDO></dfn> and <dfn |
| 352 | + id=cdc-production><CDC></dfn> correspond to the tokens of the same |
| 353 | + name from the same chapter (they represent HTML comments showing up in CSS |
| 354 | + text - "<!--" and "-->"). 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). |
359 | 359 |
|
360 | 360 | <p class=note> Custom properties can contain a trailing ‘<code |
361 | 361 | 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> |
1059 | 1059 | <li>cascading variable, <a href="#cascading-variable" |
1060 | 1060 | title="section 2."><strong>2.</strong></a> |
1061 | 1061 |
|
1062 | | - <li><CDC>, <a href="#cdc" title="section 2."><strong>2.</strong></a> |
| 1062 | + <li><CDC>, <a href="#cdc-production" |
| 1063 | + title="section 2."><strong>2.</strong></a> |
1063 | 1064 |
|
1064 | | - <li><CDO>, <a href="#cdo" title="section 2."><strong>2.</strong></a> |
| 1065 | + <li><CDO>, <a href="#cdo-production" |
| 1066 | + title="section 2."><strong>2.</strong></a> |
1065 | 1067 |
|
1066 | 1068 | <li>creator, <a href="#cssvariablesdeclaration-creator" |
1067 | 1069 | title="section 4.2."><strong>4.2.</strong></a> |
@@ -1110,7 +1112,7 @@ <h2 class="no-num no-ref" id=index> Index</h2> |
1110 | 1112 | title="section 6.2."><strong>6.2.</strong></a> |
1111 | 1113 | </ul> |
1112 | 1114 |
|
1113 | | - <li><value>, <a href="#value" |
| 1115 | + <li><value>, <a href="#value-production" |
1114 | 1116 | title="section 2."><strong>2.</strong></a> |
1115 | 1117 |
|
1116 | 1118 | <li>var-*, <a href="#var-" title="section 2."><strong>2.</strong></a> |
|
0 commit comments