@@ -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
0 commit comments