@@ -149,7 +149,7 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
149149
150150 < p > The following features are at-risk and may be dropped during the CR
151151 period: ‘< a href ="#calc "> < code class =css > calc()</ code > </ a > ’, ‘< a
152- href ="#cycle "> < code class =css > cycle ()</ code > </ a > ’, ‘< a
152+ href ="#toggle "> < code class =css > toggle ()</ code > </ a > ’, ‘< a
153153 href ="#attr "> < code class =css > attr()</ code > </ a > ’.
154154
155155 < h2 class ="no-num no-toc " id =contents > Table of contents</ h2 >
@@ -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 ="#cycle -notation "> < span class =secno > 8.2. </ span > Cycling
294- Values: ‘< code class =css > cycle ()</ code > ’</ a >
293+ < li > < a href ="#toggle -notation "> < span class =secno > 8.2. </ span > Cycling
294+ 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,35 +1519,35 @@ <h4 id=calc-range><span class=secno>8.1.3. </span> Range Checking</h4>
15191519width: 0px;</ pre >
15201520 </ div >
15211521
1522- < h3 id =cycle -notation> < span class =secno > 8.2. </ span > Cycling Values: ‘< a
1523- href ="#cycle "> < code class =css > cycle ()</ code > </ a > ’</ h3 >
1522+ < h3 id =toggle -notation> < span class =secno > 8.2. </ span > Cycling Values: ‘< a
1523+ href ="#toggle "> < code class =css > toggle ()</ code > </ a > ’</ h3 >
15241524
1525- < p > The < dfn id =cycle > cycle ()</ dfn > expression allows descendant elements to
1526- cycle over a list of values instead of inheriting the same value. The
1527- syntax of the ‘< a href ="#cycle "> < code class =css > cycle ()</ code > </ a > ’
1525+ < p > The < dfn id =toggle > toggle ()</ dfn > expression allows descendant elements
1526+ to cycle over a list of values instead of inheriting the same value. The
1527+ syntax of the ‘< a href ="#toggle "> < code class =css > toggle ()</ code > </ a > ’
15281528 expression is:
15291529
1530- < pre > cycle ( <value># )</ pre >
1530+ < pre > toggle ( <value># )</ pre >
15311531
15321532 < p > where < var > <value> </ var > is a CSS value that is valid where the
15331533 expression is placed. If any of the values inside are not valid, then the
1534- entire ‘< a href ="#cycle "> < code class =css > cycle ()</ code > </ a > ’
1534+ entire ‘< a href ="#toggle "> < code class =css > toggle ()</ code > </ a > ’
15351535 expression is invalid.
15361536
1537- < p > The value returned by ‘< a href ="#cycle "> < code
1538- class =css > cycle ()</ code > </ a > ’ must be determined by comparing the
1537+ < p > The value returned by ‘< a href ="#toggle "> < code
1538+ class =css > toggle ()</ code > </ a > ’ must be determined by comparing the
15391539 inherited value < var > I</ var > (the computed value on the parent, or, for
15401540 the root, the initial value) to the computed values
15411541 < var > C< sub > n</ sub > </ var > returned by the < var > n</ var > -th argument to ‘< a
1542- href ="#cycle "> < code class =css > cycle ()</ code > </ a > ’. For the earliest
1542+ href ="#toggle "> < code class =css > toggle ()</ code > </ a > ’. For the earliest
15431543 < var > C< sub > n</ sub > </ var > such that < var > C< sub > n</ sub > </ var > =
1544- < var > I</ var > , the value returned by cycle is < var > C< sub > n+1</ sub > </ var > .
1544+ < var > I</ var > , the value returned by toggle is < var > C< sub > n+1</ sub > </ var > .
15451545 However, if this < var > C< sub > n</ sub > </ var > is the last value, or if there
15461546 are no < var > C< sub > n</ sub > </ var > that equal < var > I</ var > , the computed
15471547 value of the first value is returned instead.
15481548
1549- < p class =note > Note that ‘< a href ="#cycle "> < code
1550- class =css > cycle ()</ code > </ a > ’ explicitly looks at the computed value of
1549+ < p class =note > Note that ‘< a href ="#toggle "> < code
1550+ class =css > toggle ()</ code > </ a > ’ explicitly looks at the computed value of
15511551 the parent, so it is useful even for non-inherited properties. This is
15521552 similar to the ‘< a href ="#inherit "> < code class =css > inherit</ code > </ a > ’
15531553 keyword, which is useful even for non-inherited properties.
@@ -1556,7 +1556,7 @@ <h3 id=cycle-notation><span class=secno>8.2. </span> Cycling Values: ‘<a
15561556 < pre >
15571557 /* make em elements italic, but make them normal if they're inside
15581558 something that's italic */
1559- em { font-style: cycle (italic, normal); }</ pre >
1559+ em { font-style: toggle (italic, normal); }</ pre >
15601560 </ div >
15611561
15621562 < div class =example >
@@ -1565,10 +1565,10 @@ <h3 id=cycle-notation><span class=secno>8.2. </span> Cycling Values: ‘<a
15651565 disk markers, but nested lists use circle, square, box, and then
15661566 (for the 5th list deep) repeat */
15671567 ul { list-style-type: disc; }
1568- ul ul { list-style-type: cycle (disc, circle, square, box); }</ pre >
1568+ ul ul { list-style-type: toggle (disc, circle, square, box); }</ pre >
15691569 </ div >
15701570
1571- < p > The ‘< a href ="#cycle "> < code class =css > cycle ()</ code > </ a > ’ notation
1571+ < p > The ‘< a href ="#toggle "> < code class =css > toggle ()</ code > </ a > ’ notation
15721572 is not allowed to be nested; nor may it contain ‘< a href ="#attr "> < code
15731573 class =css > attr()</ code > </ a > ’ or ‘< a href ="#calc "> < code
15741574 class =css > calc()</ code > </ a > ’ notations. Declarations containing such
@@ -2164,8 +2164,6 @@ <h2 class=no-num id=index>Index</h2>
21642164 < li > < a href ="#color-value "> < var > <color> </ var > </ a > , < a
21652165 href ="#color-value " title ="<color> "> < strong > 7.1.</ strong > </ a >
21662166
2167- < li > cycle(), < a href ="#cycle " title ="cycle() "> < strong > 8.2.</ strong > </ a >
2168-
21692167 < li > deg, < a href ="#deg " title =deg > < strong > 6.1.</ strong > </ a >
21702168
21712169 < li > dimension, < a href ="#dimension "
@@ -2263,6 +2261,9 @@ <h2 class=no-num id=index>Index</h2>
22632261 < li > <time>, < a href ="#time-value "
22642262 title ="<time> "> < strong > 6.2.</ strong > </ a >
22652263
2264+ < li > toggle(), < a href ="#toggle " title ="toggle() "> < strong > 8.2.</ strong > </ a >
2265+
2266+
22662267 < li > turn, < a href ="#turn " title =turn > < strong > 6.1.</ strong > </ a >
22672268
22682269 < li > URL, < a href ="#url " title =URL > < strong > 3.4.</ strong > </ a >
0 commit comments