Skip to content

Commit 136c47a

Browse files
committed
Shift paragraph up
1 parent 8a55a54 commit 136c47a

2 files changed

Lines changed: 19 additions & 18 deletions

File tree

css3-values/Overview.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,12 +1539,18 @@ <h3 id=toggle-notation><span class=secno>8.2. </span> Toggling Between
15391539
<p class=note> Note that because toggled values are separated by commas,
15401540
they cannot themselves include top-level commas.
15411541

1542-
<p> The value returned by ‘<a href="#toggle"><code
1543-
class=css>toggle()</code></a>’ must be determined by comparing the
1544-
inherited value <var>I</var> (the computed value on the parent, or, for
1545-
the root, the initial value) to the computed values
1546-
<var>C<sub>n</sub></var> returned by the <var>n</var>-th argument to ‘<a
1547-
href="#toggle"><code class=css>toggle()</code></a>’. For the earliest
1542+
<p> The ‘<a href="#toggle"><code class=css>toggle()</code></a>
1543+
notation is not allowed to be nested; nor may it contain ‘<a
1544+
href="#attr"><code class=css>attr()</code></a>’ or ‘<a
1545+
href="#calc"><code class=css>calc()</code></a>’ notations. Declarations
1546+
containing such constructs are invalid.
1547+
1548+
<p> The value represented by ‘<a href="#toggle"><code
1549+
class=css>toggle()</code></a>’ is determined by comparing the inherited
1550+
value <var>I</var> (i.e. the computed value on the parent, or, for the
1551+
root, the initial value) to the computed values <var>C<sub>n</sub></var>
1552+
returned by the <var>n</var>-th argument to ‘<a href="#toggle"><code
1553+
class=css>toggle()</code></a>’. For the earliest
15481554
<var>C<sub>n</sub></var> such that <var>C<sub>n</sub></var> =
15491555
<var>I</var>, the value returned by toggle is <var>C<sub>n+1</sub></var>.
15501556
However, if this <var>C<sub>n</sub></var> is the last value, or if there
@@ -1567,12 +1573,6 @@ <h3 id=toggle-notation><span class=secno>8.2. </span> Toggling Between
15671573
ul ul { list-style-type: toggle(disc, circle, square, box); }</pre>
15681574
</div>
15691575

1570-
<p>The ‘<a href="#toggle"><code class=css>toggle()</code></a>’ notation
1571-
is not allowed to be nested; nor may it contain ‘<a href="#attr"><code
1572-
class=css>attr()</code></a>’ or ‘<a href="#calc"><code
1573-
class=css>calc()</code></a>’ notations. Declarations containing such
1574-
constructs are invalid.
1575-
15761576
<p class=note> Note that "computed values" are abstract sets of values, not
15771577
particular serializations, so comparison between computed values should
15781578
always be unambiguous and have the expected result. For example, ‘<code

css3-values/Overview.src.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,9 +1099,14 @@ <h3 id="toggle-notation">
10991099
they cannot themselves include top-level commas.
11001100

11011101
<p>
1102-
The value returned by ''toggle()'' must be determined
1102+
The ''toggle()'' notation is not allowed to be nested; nor may it
1103+
contain ''attr()'' or ''calc()'' notations.
1104+
Declarations containing such constructs are invalid.</p>
1105+
1106+
<p>
1107+
The value represented by ''toggle()'' is determined
11031108
by comparing the inherited value <var>I</var>
1104-
(the computed value on the parent,
1109+
(i.e. the computed value on the parent,
11051110
or, for the root, the initial value)
11061111
to the computed values <var>C<sub>n</sub></var> returned by the <var>n</var>-th argument to ''toggle()''.
11071112
For the earliest <var>C<sub>n</sub></var>
@@ -1127,10 +1132,6 @@ <h3 id="toggle-notation">
11271132
ul ul { list-style-type: toggle(disc, circle, square, box); }</pre>
11281133
</div>
11291134

1130-
<p>The ''toggle()'' notation is not allowed to be nested; nor may it
1131-
contain ''attr()'' or ''calc()'' notations.
1132-
Declarations containing such constructs are invalid.</p>
1133-
11341135
<p class='note'>
11351136
Note that "computed values" are abstract sets of values,
11361137
not particular serializations,

0 commit comments

Comments
 (0)