Skip to content

Commit 74a31cf

Browse files
committed
[css-variables] Rename the spec, per agreement with Daniel.
1 parent d5c08f6 commit 74a31cf

2 files changed

Lines changed: 29 additions & 23 deletions

File tree

css-variables/Overview.html

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,24 @@
33
<html lang=en>
44
<head>
55
<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>
77
<!--
88
<link href="http://purl.org/dc/terms/" rel="schema.dcterms">
99
<link href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright" rel="dcterms.rights">
1010
-->
1111

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>
1315
<meta content=text name=dcterms.type>
14-
<meta content=2013-02-04 name=dcterms.issued>
16+
<meta content=2013-02-06 name=dcterms.issued>
1517
<meta content="http://dev.w3.org/csswg/css-variables/"
1618
name=dcterms.creator>
1719
<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/"
1921
name=dcterms.identifier>
2022
<link href="../default.css" rel=stylesheet type="text/css">
23+
<link href="../csslogo.ico" rel="shortcut icon" type="image/x-icon">
2124
<link href="http://www.w3.org/StyleSheets/TR/W3C-ED.css" rel=stylesheet
2225
type="text/css">
2326

@@ -26,17 +29,17 @@
2629
<p><a href="http://www.w3.org/"><img alt=W3C height=48
2730
src="http://www.w3.org/Icons/w3c_home" width=72></a> <!--end-logo-->
2831

29-
<h1>CSS Cascading Variables Module Level 1</h1>
32+
<h1>CSS Custom Properties for Cascading Variables Module Level 1</h1>
3033

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
3235
2013</h2>
3336

3437
<dl>
3538
<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>-->
3740

3841
<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)
4043

4144
<dt>Latest version:
4245

@@ -85,10 +88,8 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 4 February
8588
<h2 class="no-num no-toc" id=abstract>Abstract</h2>
8689

8790
<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.
9293

9394
<h2 class="no-num no-toc" id=status>Status of this document</h2>
9495
<!--begin-status-->
@@ -298,12 +299,14 @@ <h2 id=defining-variables><span class=secno>2. </span> Defining Custom
298299
authors and users; CSS will never give them a meaning beyond what is
299300
presented here.
300301

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.
303305

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
307310
case-insensitively, consistent with the rest of CSS. However, ‘<code
308311
class=css>var-foo</code>’ and ‘<code class=css>var-FOO</code>’ are
309312
treated as different properties, because the author-defined part of the

css-variables/Overview.src.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5-
<title>CSS Cascading Variables Module Level 1</title>
5+
<title>CSS Custom Properties for Cascading Variables Module Level 1</title>
66
<link rel="stylesheet" type="text/css" href="../default.css">
77
<link href="../csslogo.ico" rel="shortcut icon" type="image/x-icon">
88
<link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-[STATUS].css">
@@ -11,7 +11,7 @@
1111
<div class="head">
1212
<!--logo-->
1313

14-
<h1>CSS Cascading Variables Module Level 1</h1>
14+
<h1>CSS Custom Properties for Cascading Variables Module Level 1</h1>
1515

1616
<h2 class="no-num no-toc">[LONGSTATUS] [DATE]</h2>
1717

@@ -49,8 +49,8 @@ <h2 class="no-num no-toc">[LONGSTATUS] [DATE]</h2>
4949
<h2 class="no-num no-toc" id="abstract">Abstract</h2>
5050

5151
<p>
52-
This module introduces cascading variables as a new primitive value type that is accepted by all CSS properties.
53-
<a href="http://www.w3.org/TR/CSS/">CSS</a> is a language for describing the rendering of structured documents (such as HTML and XML) on screen, on paper, in speech, etc.
52+
This module introduces cascading variables as a new primitive value type that is accepted by all CSS properties,
53+
and custom properties for defining them.
5454

5555
<h2 class="no-num no-toc" id="status">Status of this document</h2>
5656

@@ -149,10 +149,13 @@ <h2 id="defining-variables">
149149
CSS will never give them a meaning beyond what is presented here.
150150

151151
<p>
152-
The "var-" prefix of a custom property name is <a href="">ASCII case-insensitive</a>,
153-
while the rest of the name is case-sensitive.
152+
Unlike other CSS properties,
153+
custom properties are <strong>case-sensitive</strong>.
154+
The "var-" prefix <strong>must</strong> be written in lower-case.
154155

155156
<div class='example'>
157+
For example, ''VAR-FOO'' is invalid,
158+
156159
For example, ''var-foo'' and ''VAR-foo'' are treated as the same property,
157160
because the CSS-defined part of the name
158161
(the "var-" prefix)

0 commit comments

Comments
 (0)