Skip to content

Commit de8e8c1

Browse files
committed
Whoops, had some leftover text from an earlier edit.
1 parent 1a2fbc5 commit de8e8c1

2 files changed

Lines changed: 16 additions & 21 deletions

File tree

css-variables/Overview.html

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222

2323
<h1>CSS Variables Module Level 1</h1>
2424

25-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 1 June 2012</h2>
25+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 14 June 2012</h2>
2626

2727
<dl>
2828
<dt>This version:
29-
<!--<dd><a href="http://www.w3.org/TR/2012/WD-css-variables-20120601/">http://www.w3.org/TR/2012/ED-css-variables-20120601/</a>-->
29+
<!--<dd><a href="http://www.w3.org/TR/2012/WD-css-variables-20120614/">http://www.w3.org/TR/2012/ED-css-variables-20120614/</a>-->
3030

3131

3232
<dd><a href="http://dev.w3.org/csswg/css-variables/">Editor's draft</a>
33-
(version of 1 June 2012)
33+
(version of 14 June 2012)
3434

3535
<dt>Latest version:
3636

@@ -218,7 +218,7 @@ <h2 id=intro><span class=secno>1. </span> Introduction</h2>
218218
collectively as <a href="#variable-property"><i>variable
219219
properties</i></a>, which allow an author to assign arbitrary values to a
220220
property with an author-chosen name, and <a
221-
href="#variable0"><i>variables</i></a>, which allow an author to then use
221+
href="#variable"><i>variables</i></a>, which allow an author to then use
222222
those values in other properties elsewhere in the document. This makes it
223223
easier to read large files, as seemingly-arbitrary values now have
224224
informative names, and makes editing such files much easier and less
@@ -229,8 +229,8 @@ <h2 id=intro><span class=secno>1. </span> Introduction</h2>
229229
<h3 id=placement><span class=secno>1.1. </span> Module Interactions</h3>
230230

231231
<p> This module defines a new type of primitive value, the <a
232-
href="#variable0"><i>variable</i></a>, which is accepted by all
233-
properties.
232+
href="#variable"><i>variable</i></a>, which is accepted by all properties.
233+
234234

235235
<h3 id=values><span class=secno>1.2. </span> Values</h3>
236236

@@ -250,7 +250,7 @@ <h2 id=defining-variables><span class=secno>2. </span> Defining Variables
250250

251251
<p> This specification defines an open-ended set of properties called <a
252252
href="#variable-property"><i>variable properties</i></a>, which are used
253-
to define <a href="#variable0"><i>variables</i></a>.
253+
to define <a href="#variable"><i>variables</i></a>.
254254

255255
<table class=propdef>
256256
<tbody>
@@ -308,7 +308,7 @@ <h2 id=defining-variables><span class=secno>2. </span> Defining Variables
308308
by something matching the IDENT production in <a
309309
href="http://www.w3.org/TR/CSS2/syndata.html#tokenization">CSS2.1 Chapter
310310
4</a>. A <a href="#variable-property"><i>variable property</i></a> defines
311-
a value for a corresponding <a href="#variable0"><i>variable</i></a> with
311+
a value for a corresponding <a href="#variable"><i>variable</i></a> with
312312
the same name as the property except that the "var-" prefix is replaced
313313
with a "$" prefix.
314314

@@ -430,8 +430,8 @@ <h2 id=defining-variables><span class=secno>2. </span> Defining Variables
430430
</div>
431431

432432
<p> It is important to note that <a href="#variable-property"><i>variable
433-
properties</i></a> resolve any <a href="#variable0"><i>variables</i></a>
434-
in their values at computed-value time, which occurs <em>before</em> the
433+
properties</i></a> resolve any <a href="#variable"><i>variables</i></a> in
434+
their values at computed-value time, which occurs <em>before</em> the
435435
value is inherited. In general, cyclic dependencies occur only when
436436
multiple variable properties on the same element refer to each other;
437437
variable properties defined on elements higher in the element tree can
@@ -493,9 +493,7 @@ <h2 id=defining-variables><span class=secno>2. </span> Defining Variables
493493

494494
<h2 id=using-variables><span class=secno>3. </span> Using Variables</h2>
495495

496-
<p> After assigning a value to a <dfn id=variable>variable</dfn> with a <a
497-
href="#variable-property"><i>variable property</i></a>, A <dfn
498-
id=variable0>variable</dfn> allows the value of a <a
496+
<p> A <dfn id=variable>variable</dfn> allows the value of a <a
499497
href="#variable-property"><i>variable property</i></a> on an element to be
500498
substituted into another property on the element. There are several ways
501499
to use variables: by name, via the ‘<code class=css>var()</code>
@@ -665,7 +663,7 @@ <h3 id=using-invalid-variables><span class=secno>3.4. </span> Using Invalid
665663
Variables</h3>
666664

667665
<p> When a <a href="#variable-property"><i>variable property</i></a> has
668-
its initial value, the <a href="#variable0"><i>variable</i></a> it defines
666+
its initial value, the <a href="#variable"><i>variable</i></a> it defines
669667
represents an <dfn id=invalid-variable>invalid variable</dfn>. Using an <a
670668
href="#invalid-variable"><i>invalid variable</i></a> in a property value
671669
(including other <a href="#variable-property"><i>variable
@@ -675,9 +673,9 @@ <h3 id=using-invalid-variables><span class=secno>3.4. </span> Using Invalid
675673

676674
<p> A declaration can be <dfn id=invalid-at-computed-value-time>invalid at
677675
computed-value time</dfn> if it uses an invalid <a
678-
href="#variable0"><i>variable</i></a>, as explained above, or if it uses a
679-
valid <a href="#variable0"><i>variable</i></a>, but the property value,
680-
after substituting its <a href="#variable0"><i>variables</i></a>, is
676+
href="#variable"><i>variable</i></a>, as explained above, or if it uses a
677+
valid <a href="#variable"><i>variable</i></a>, but the property value,
678+
after substituting its <a href="#variable"><i>variables</i></a>, is
681679
invalid. When this happens, the computed value of the property is either
682680
the property's inherited value or its initial value depending on whether
683681
the property is inherited or not, respectively.
@@ -1037,8 +1035,7 @@ <h2 class=no-num id=index>Index</h2>
10371035

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

1040-
<li>variable, <a href="#variable" title=variable><strong>3.</strong></a>,
1041-
<a href="#variable0" title=variable><strong>3.</strong></a>
1038+
<li>variable, <a href="#variable" title=variable><strong>3.</strong></a>
10421039

10431040
<li>variable property, <a href="#variable-property"
10441041
title="variable property"><strong>2.</strong></a>

css-variables/Overview.src.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,6 @@ <h2 id='using-variables'>
355355
Using Variables</h2>
356356

357357
<p>
358-
After assigning a value to a <dfn>variable</dfn>
359-
with a <i>variable property</i>,
360358
A <dfn>variable</dfn> allows the value of a <i>variable property</i> on an element
361359
to be substituted into another property on the element.
362360
There are several ways to use variables:

0 commit comments

Comments
 (0)