|
3 | 3 | <html lang=en> |
4 | 4 | <head> |
5 | 5 | <meta content="text/html; charset=utf-8" http-equiv=Content-Type> |
6 | | - <title>CSS Cascading Variables Module Level 1</title> |
| 6 | + <title>CSS Custom Properties for Cascading Variables Module Level 1</title> |
7 | 7 | <!-- |
8 | 8 | <link href="http://purl.org/dc/terms/" rel="schema.dcterms"> |
9 | 9 | <link href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright" rel="dcterms.rights"> |
10 | 10 | --> |
11 | 11 |
|
12 | | - <meta content="CSS Cascading Variables Module Level 1" name=dcterms.title> |
| 12 | + <meta |
| 13 | + content="CSS Custom Properties for Cascading Variables Module Level 1" |
| 14 | + name=dcterms.title> |
13 | 15 | <meta content=text name=dcterms.type> |
14 | | - <meta content=2013-02-04 name=dcterms.issued> |
| 16 | + <meta content=2013-02-06 name=dcterms.issued> |
15 | 17 | <meta content="http://dev.w3.org/csswg/css-variables/" |
16 | 18 | name=dcterms.creator> |
17 | 19 | <meta content=W3C name=dcterms.publisher> |
18 | | - <meta content="http://www.w3.org/TR/2013/ED-css-variables-20130204/" |
| 20 | + <meta content="http://www.w3.org/TR/2013/ED-css-variables-20130206/" |
19 | 21 | name=dcterms.identifier> |
20 | 22 | <link href="../default.css" rel=stylesheet type="text/css"> |
| 23 | + <link href="../csslogo.ico" rel="shortcut icon" type="image/x-icon"> |
21 | 24 | <link href="http://www.w3.org/StyleSheets/TR/W3C-ED.css" rel=stylesheet |
22 | 25 | type="text/css"> |
23 | 26 |
|
|
26 | 29 | <p><a href="http://www.w3.org/"><img alt=W3C height=48 |
27 | 30 | src="http://www.w3.org/Icons/w3c_home" width=72></a> <!--end-logo--> |
28 | 31 |
|
29 | | - <h1>CSS Cascading Variables Module Level 1</h1> |
| 32 | + <h1>CSS Custom Properties for Cascading Variables Module Level 1</h1> |
30 | 33 |
|
31 | | - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 4 February |
| 34 | + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 6 February |
32 | 35 | 2013</h2> |
33 | 36 |
|
34 | 37 | <dl> |
35 | 38 | <dt>This version: |
36 | | - <!--<dd><a href="http://www.w3.org/TR/2013/WD-css-variables-20130204/">http://www.w3.org/TR/2013/ED-css-variables-20130204/</a>--> |
| 39 | + <!--<dd><a href="http://www.w3.org/TR/2013/WD-css-variables-20130206/">http://www.w3.org/TR/2013/ED-css-variables-20130206/</a>--> |
37 | 40 |
|
38 | 41 | <dd><a href="http://dev.w3.org/csswg/css-variables/">Editor's draft</a> |
39 | | - (version of 4 February 2013) |
| 42 | + (version of 6 February 2013) |
40 | 43 |
|
41 | 44 | <dt>Latest version: |
42 | 45 |
|
@@ -85,10 +88,8 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 4 February |
85 | 88 | <h2 class="no-num no-toc" id=abstract>Abstract</h2> |
86 | 89 |
|
87 | 90 | <p> This module introduces cascading variables as a new primitive value |
88 | | - type that is accepted by all CSS properties. <a |
89 | | - href="http://www.w3.org/TR/CSS/">CSS</a> is a language for describing the |
90 | | - rendering of structured documents (such as HTML and XML) on screen, on |
91 | | - paper, in speech, etc. |
| 91 | + type that is accepted by all CSS properties, and custom properties for |
| 92 | + defining them. |
92 | 93 |
|
93 | 94 | <h2 class="no-num no-toc" id=status>Status of this document</h2> |
94 | 95 | <!--begin-status--> |
@@ -298,12 +299,14 @@ <h2 id=defining-variables><span class=secno>2. </span> Defining Custom |
298 | 299 | authors and users; CSS will never give them a meaning beyond what is |
299 | 300 | presented here. |
300 | 301 |
|
301 | | - <p> The "var-" prefix of a custom property name is <a href="">ASCII |
302 | | - case-insensitive</a>, while the rest of the name is case-sensitive. |
| 302 | + <p> Unlike other CSS properties, custom properties are |
| 303 | + <strong>case-sensitive</strong>. The "var-" prefix <strong>must</strong> |
| 304 | + be written in lower-case. |
303 | 305 |
|
304 | | - <div class=example> For example, ‘<code class=css>var-foo</code>’ and |
305 | | - ‘<code class=css>VAR-foo</code>’ are treated as the same property, |
306 | | - because the CSS-defined part of the name (the "var-" prefix) is matched |
| 306 | + <div class=example> For example, ‘<code class=css>VAR-FOO</code>’ is |
| 307 | + invalid, For example, ‘<code class=css>var-foo</code>’ and ‘<code |
| 308 | + class=css>VAR-foo</code>’ are treated as the same property, because the |
| 309 | + CSS-defined part of the name (the "var-" prefix) is matched |
307 | 310 | case-insensitively, consistent with the rest of CSS. However, ‘<code |
308 | 311 | class=css>var-foo</code>’ and ‘<code class=css>var-FOO</code>’ are |
309 | 312 | treated as different properties, because the author-defined part of the |
|
0 commit comments