Skip to content

Commit a919600

Browse files
committed
Rename the toggle() header to be slightly better phrasing
1 parent 74bd678 commit a919600

2 files changed

Lines changed: 19 additions & 8 deletions

File tree

css3-values/Overview.html

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727

2828
<h1>CSS Values and Units Module Level 3</h1>
2929

30-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 21 May 2012</h2>
30+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 22 May 2012</h2>
3131

3232
<dl>
3333
<dt>This version:
3434

3535
<dd><a
36-
href="http://www.w3.org/TR/2012/ED-css3-values-20120521/">http://www.w3.org/TR/2012/ED-css3-values-20120521/</a>
36+
href="http://www.w3.org/TR/2012/ED-css3-values-20120522/">http://www.w3.org/TR/2012/ED-css3-values-20120522/</a>
3737

3838
<dt>Latest version:
3939

@@ -290,8 +290,8 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
290290
Checking</a>
291291
</ul>
292292

293-
<li><a href="#toggle-notation"><span class=secno>8.2. </span> Cycling
294-
Values: ‘<code class=css>toggle()</code></a>
293+
<li><a href="#toggle-notation"><span class=secno>8.2. </span> Toggling
294+
Between Values: ‘<code class=css>toggle()</code></a>
295295

296296
<li><a href="#attr-notation"><span class=secno>8.3. </span> Attribute
297297
References: ‘<code class=css>attr()</code></a>
@@ -1519,8 +1519,8 @@ <h4 id=calc-range><span class=secno>8.1.3. </span> Range Checking</h4>
15191519
width: 0px;</pre>
15201520
</div>
15211521

1522-
<h3 id=toggle-notation><span class=secno>8.2. </span> Cycling Values: ‘<a
1523-
href="#toggle"><code class=css>toggle()</code></a></h3>
1522+
<h3 id=toggle-notation><span class=secno>8.2. </span> Toggling Between
1523+
Values: ‘<a href="#toggle"><code class=css>toggle()</code></a></h3>
15241524

15251525
<p>The <dfn id=toggle>toggle()</dfn> expression allows descendant elements
15261526
to cycle over a list of values instead of inheriting the same value. The
@@ -1537,7 +1537,7 @@ <h3 id=toggle-notation><span class=secno>8.2. </span> Cycling Values: ‘<a
15371537
<p class=note> Note that values with commas at the top-level will be
15381538
incorrectly interpreted as separate values.
15391539

1540-
<p>The value returned by ‘<a href="#toggle"><code
1540+
<p> The value returned by ‘<a href="#toggle"><code
15411541
class=css>toggle()</code></a>’ must be determined by comparing the
15421542
inherited value <var>I</var> (the computed value on the parent, or, for
15431543
the root, the initial value) to the computed values
@@ -1549,6 +1549,17 @@ <h3 id=toggle-notation><span class=secno>8.2. </span> Cycling Values: ‘<a
15491549
are no <var>C<sub>n</sub></var> that equal <var>I</var>, the computed
15501550
value of the first value is returned instead.
15511551

1552+
<p class=note> Note that "computed values" are abstract sets of values, not
1553+
particular serializations, so comparison between computed values should
1554+
always be unambiguous and have the expected result. For example, ‘<code
1555+
class=property>box-shadow</code>’ computed values are just two offsets,
1556+
a blur, a spread, and a color, so the declarations ‘<code
1557+
class=css>box-shadow: 1px 1px blue;</code>’ and ‘<code
1558+
class=css>box-shadow: 1px 1px 0px blue;</code>’ produce identical
1559+
computed values. If the "Computed Value" line of a property definition
1560+
seems to define something ambiguous or overly strict, please <a
1561+
href="#status">provide feedback</a> so we can fix it.
1562+
15521563
<p class=note>Note that ‘<a href="#toggle"><code
15531564
class=css>toggle()</code></a>’ explicitly looks at the computed value of
15541565
the parent, so it is useful even for non-inherited properties. This is

css3-values/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ <h4 id='calc-range'>
10781078
</div>
10791079

10801080
<h3 id="toggle-notation">
1081-
Cycling Values: ''toggle()''</h3>
1081+
Toggling Between Values: ''toggle()''</h3>
10821082

10831083
<p>The <dfn>toggle()</dfn> expression allows descendant elements
10841084
to cycle over a list of values instead of inheriting the same value.

0 commit comments

Comments
 (0)