8000 Even more pairs of [] are needed for the grammar to be correct. · xfq/csswg-drafts@219850b · GitHub
Skip to content

Commit 219850b

Browse files
committed
Even more pairs of [] are needed for the grammar to be correct.
Thanks to Tab for pointing this out in http://lists.w3.org/Archives/Public/www-style/2012Mar/0679.html .
1 parent 83d4c79 commit 219850b

4 files changed

Lines changed: 53 additions & 36 deletions

File tree

css3-animations/Overview.html

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ <h3 id=the-animation-name-property-><span class=secno>3.2. </span> The <a
526526
<tr>
527527
<td> <em>Value:</em>
528528

529-
<td> none | IDENT [, [ none | IDENT ] ]*
529+
<td> [ none | IDENT ] [, [ none | IDENT ] ]*
530530

531531
<tr>
532532
<td> <em>Initial:</em>
@@ -691,11 +691,11 @@ <h3 id="animation-timing-function_tag"><span class=secno>3.4. </span> The
691691
<tr>
692692
<td> <em>Value:</em>
693693

694-
<td> ease | linear | ease-in | ease-out | ease-in-out | step-start |
694+
<td> [ ease | linear | ease-in | ease-out | ease-in-out | step-start |
695695
step-end | steps(&lt;number&gt;[, [ start | end ] ]?) |
696696
cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
697-
&lt;number&gt;) [, [ ease | linear | ease-in | ease-out | ease-in-out |
698-
step-start | step-end | steps(&lt;number&gt;[, [ start | end ] ]?) |
697+
&lt;number&gt;) ] [, [ ease | linear | ease-in | ease-out | ease-in-out
698+
| step-start | step-end | steps(&lt;number&gt;[, [ start | end ] ]?) |
699699
cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
700700
&lt;number&gt;)] ]*
701701

@@ -770,7 +770,7 @@ <h3 id=the-animation-iteration-count-property-><span class=secno>3.5.
770770
<tr>
771771
<td> <em>Value:</em>
772772

773-
<td> infinite | &lt;number&gt; [, [ infinite | &lt;number&gt; ] ]*
773+
<td> [ infinite | &lt;number&gt; ] [, [ infinite | &lt;number&gt; ] ]*
774774

775775
<tr>
776776
<td> <em>Initial:</em>
@@ -825,7 +825,7 @@ <h3 id=the-animation-direction-property-><span class=secno>3.6. </span> The
825825
<tr>
826826
<td> <em>Value:</em>
827827

828-
<td> normal | reverse | alternate | alternate-reverse [, [ normal |
828+
<td> [ normal | reverse | alternate | alternate-reverse ] [, [ normal |
829829
reverse | alternate | alternate-reverse ] ]*
830830

831831
<tr>
@@ -908,7 +908,7 @@ <h3 id=the-animation-play-state-property-><span class=secno>3.7. </span>
908908
<tr>
909909
<td> <em>Value:</em>
910910

911-
<td> running | paused [, [ running | paused ] ]*
911+
<td> [ running | paused ] [, [ running | paused ] ]*
912912

913913
<tr>
914914
<td> <em>Initial:</em>
@@ -1067,8 +1067,8 @@ <h3 id=the-animation-fill-mode-property-><span class=secno>3.9. </span> The
10671067
<tr>
10681068
<td> <em>Value:</em>
10691069

1070-
<td> none | forwards | backwards | both [, [ none | forwards | backwards
1071-
| both ] ]*
1070+
<td> [ none | forwards | backwards | both ] [, [ none | forwards |
1071+
backwards | both ] ]*
10721072

10731073
<tr>
10741074
<td> <em>Initial:</em>
@@ -1582,8 +1582,9 @@ <h2 id=dom-interfaces-><span class=secno>5. </span> DOM Interfaces</h2>
15821582

15831583
<h2 id=acknowledgments><span class=secno>6. </span>Acknowledgments</h2>
15841584

1585-
<p>Thanks especially to the feedback from Estelle Weyl and all the rest of
1586-
the <a href="http://lists.w3.org/Archives/Public/www-style/">www-style</a>
1585+
<p>Thanks especially to the feedback from Tab Atkins, Estelle Weyl, and all
1586+
the rest of the <a
1587+
href="http://lists.w3.org/Archives/Public/www-style/">www-style</a>
15871588
community.
15881589

15891590
<h2 id=references><span class=secno>7. </span>References</h2>
@@ -1679,7 +1680,7 @@ <h2 class=no-num id=property-index>Property index</h2>
16791680
<th><a class=property
16801681
href="#animation-direction">animation-direction</a>
16811682< 6CA2 /td>

1682-
<td>normal | reverse | alternate | alternate-reverse [, [ normal |
1683+
<td>[ normal | reverse | alternate | alternate-reverse ] [, [ normal |
16831684
reverse | alternate | alternate-reverse ] ]*
16841685

16851686
<td>normal
@@ -1711,8 +1712,8 @@ <h2 class=no-num id=property-index>Property index</h2>
17111712
<th><a class=property
17121713
href="#animation-fill-mode">animation-fill-mode</a>
17131714

1714-
<td>none | forwards | backwards | both [, [ none | forwards | backwards
1715-
| both ] ]*
1715+
<td>[ none | forwards | backwards | both ] [, [ none | forwards |
1716+
backwards | both ] ]*
17161717

17171718
<td>none
17181719

@@ -1728,7 +1729,7 @@ <h2 class=no-num id=property-index>Property index</h2>
17281729
<th><a class=property
17291730
href="#animation-iteration-count">animation-iteration-count</a>
17301731

1731-
<td>infinite | &lt;number&gt; [, [ infinite | &lt;number&gt; ] ]*
1732+
<td>[ infinite | &lt;number&gt; ] [, [ infinite | &lt;number&gt; ] ]*
17321733

17331734
<td>1
17341735

@@ -1743,7 +1744,7 @@ <h2 class=no-num id=property-index>Property index</h2>
17431744
<tr>
17441745
<th><a class=property href="#animation-name">animation-name</a>
17451746

1746-
<td>none | IDENT [, [ none | IDENT ] ]*
1747+
<td>[ none | IDENT ] [, [ none | IDENT ] ]*
17471748

17481749
<td>none
17491750

@@ -1759,7 +1760,7 @@ <h2 class=no-num id=property-index>Property index</h2>
17591760
<th><a class=property
17601761
href="#animation-play-state">animation-play-state</a>
17611762

1762-
<td>running | paused [, [ running | paused ] ]*
1763+
<td>[ running | paused ] [, [ running | paused ] ]*
17631764

17641765
<td>running
17651766

@@ -1775,11 +1776,11 @@ <h2 class=no-num id=property-index>Property index</h2>
17751776
<th><a class=property
17761777
href="#animation-timing-function">animation-timing-function</a>
17771778

1778-
<td>ease | linear | ease-in | ease-out | ease-in-out | step-start |
1779+
<td>[ ease | linear | ease-in | ease-out | ease-in-out | step-start |
17791780
step-end | steps(&lt;number&gt;[, [ start | end ] ]?) |
17801781
cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
1781-
&lt;number&gt;) [, [ ease | linear | ease-in | ease-out | ease-in-out |
1782-
step-start | step-end | steps(&lt;number&gt;[, [ start | end ] ]?) |
1782+
&lt;number&gt;) ] [, [ ease | linear | ease-in | ease-out | ease-in-out
1783+
| step-start | step-end | steps(&lt;number&gt;[, [ start | end ] ]?) |
17831784
cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
17841785
&lt;number&gt;)] ]*
17851786

css3-animations/Overview.src.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ <h3>
377377
<em>Value:</em>
378378
</td>
379379
<td>
380-
none | IDENT [, [ none | IDENT ] ]*
380+
[ none | IDENT ] [, [ none | IDENT ] ]*
381381
</td>
382382
</tr>
383383
<tr>
@@ -587,7 +587,7 @@ <h3 id="animation-timing-function_tag">
587587
<em>Value:</em>
588588
</td>
589589
<td>
590-
ease | linear | ease-in | ease-out | ease-in-out | step-start | step-end | steps(&lt;number&gt;[, [ start | end ] ]?) | cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;, &lt;number&gt;) [, [ ease | linear | ease-in | ease-out | ease-in-out | step-start | step-end | steps(&lt;number&gt;[, [ start | end ] ]?) | cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;, &lt;number&gt;)] ]*
590+
[ ease | linear | ease-in | ease-out | ease-in-out | step-start | step-end | steps(&lt;number&gt;[, [ start | end ] ]?) | cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;, &lt;number&gt;) ] [, [ ease | linear | ease-in | ease-out | ease-in-out | step-start | step-end | steps(&lt;number&gt;[, [ start | end ] ]?) | cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;, &lt;number&gt;)] ]*
591591
</td>
592592
</tr>
593593
<tr>
@@ -674,7 +674,7 @@ <h3>
674674
<em>Value:</em>
675675
</td>
676676
<td>
677-
infinite | &lt;number&gt; [, [ infinite | &lt;number&gt; ] ]*
677+
[ infinite | &lt;number&gt; ] [, [ infinite | &lt;number&gt; ] ]*
678678
</td>
679679
</tr>
680680
<tr>
@@ -748,7 +748,7 @@ <h3>
748748
<em>Value:</em>
749749
</td>
750750
<td>
751-
normal | reverse | alternate | alternate-reverse [, [ normal | reverse | alternate | alternate-reverse ] ]*
751+
[ normal | reverse | alternate | alternate-reverse ] [, [ normal | reverse | alternate | alternate-reverse ] ]*
752752
</td>
753753
</tr>
754754
<tr>
@@ -834,7 +834,7 @@ <h3>
834834
<em>Value:</em>
835835
</td>
836836
<td>
837-
running | paused [, [ running | paused ] ]*
837+
[ running | paused ] [, [ running | paused ] ]*
838838
</td>
839839
</tr>
840840
<tr>
@@ -1030,7 +1030,7 @@ <h3>
10301030
<em>Value:</em>
10311031
</td>
10321032
<td>
1033-
none | forwards | backwards | both [, [ none | forwards | backwards | both ] ]*
1033+
[ none | forwards | backwards | both ] [, [ none | forwards | backwards | both ] ]*
10341034
</td>
10351035
</tr>
10361036
<tr>
@@ -1621,7 +1621,8 @@ <h2>
16211621
<h2 id="acknowledgments">Acknowledgments</h2>
16221622

16231623
<p>Thanks especially to the feedback from
1624-
Estelle Weyl
1624+
Tab Atkins,
1625+
Estelle Weyl,
16251626
and all the rest of the
16261627
<a href="http://lists.w3.org/Archives/Public/www-style/">www-style</a> community.</p>
16271628

css3-transitions/Overview.html

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,10 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
195195
Properties from SVG </a>
196196
</ul>
197197

198-
<li><a href="#references"><span class=secno>8. </span>References</a>
198+
<li><a href="#acknowledgments"><span class=secno>8.
199+
</span>Acknowledgments</a>
200+
201+
<li><a href="#references"><span class=secno>9. </span>References</a>
199202
<ul class=toc>
200203
<li class=no-num><a href="#normative-references">Normative
201204
references</a>
@@ -542,11 +545,11 @@ <h3 id="transition-timing-function_tag"><span class=secno>2.3. </span> The
542545
<tr>
543546
<td> <em>Value:</em>
544547

545-
<td> ease | linear | ease-in | ease-out | ease-in-out | step-start |
548+
<td> [ ease | linear | ease-in | ease-out | ease-in-out | step-start |
546549
step-end | steps(&lt;integer&gt;[, [ start | end ] ]?) |
547550
cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
548-
&lt;number&gt;) [, [ ease | linear | ease-in | ease-out | ease-in-out |
549-
step-start | step-end | steps(&lt;number&gt;[, [ start | end ] ]?) |
551+
&lt;number&gt;) ] [, [ ease | linear | ease-in | ease-out | ease-in-out
552+
| step-start | step-end | steps(&lt;number&gt;[, [ start | end ] ]?) |
550553
cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
551554
&lt;number&gt;) ] ]*
552555

@@ -1541,7 +1544,13 @@ <h3 id=properties-from-svg-><span class=secno>7.2. </span> Properties from
15411544
</tr>
15421545
</table> -->
15431546

1544-
<h2 id=references><span class=secno>8. </span>References</h2>
1547+
<h2 id=acknowledgments><span class=secno>8. </span>Acknowledgments</h2>
1548+
1549+
<p>Thanks especially to the feedback from Tab Atkins, and all the rest of
1550+
the <a href="http://lists.w3.org/Archives/Public/www-style/">www-style</a>
1551+
community.
1552+
1553+
<h2 id=references><span class=secno>9. </span>References</h2>
15451554

15461555
<h3 class=no-num id=normative-references>Normative references</h3>
15471556
<!--begin-normative-->
@@ -1688,11 +1697,11 @@ <h2 class=no-num id=property-index>Property index</h2>
16881697
<th><a class=property
16891698
href="#transition-timing-function">transition-timing-function</a>
16901699

1691-
<td>ease | linear | ease-in | ease-out | ease-in-out | step-start |
1700+
<td>[ ease | linear | ease-in | ease-out | ease-in-out | step-start |
16921701
step-end | steps(&lt;integer&gt;[, [ start | end ] ]?) |
16931702
cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
1694-
&lt;number&gt;) [, [ ease | linear | ease-in | ease-out | ease-in-out |
1695-
step-start | step-end | steps(&lt;number&gt;[, [ start | end ] ]?) |
1703+
&lt;number&gt;) ] [, [ ease | linear | ease-in | ease-out | ease-in-out
1704+
| step-start | step-end | steps(&lt;number&gt;[, [ start | end ] ]?) |
16961705
cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
16971706
&lt;number&gt;) ] ]*
16981707

css3-transitions/Overview.src.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ <h3 id="transition-timing-function_tag">
461461
<em>Value:</em>
462462
</td>
463463
<td>
464-
ease | linear | ease-in | ease-out | ease-in-out | step-start | step-end | steps(&lt;integer&gt;[, [ start | end ] ]?) | cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;, &lt;number&gt;) [, [ ease | linear | ease-in | ease-out | ease-in-out | step-start | step-end | steps(&lt;number&gt;[, [ start | end ] ]?) | cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;, &lt;number&gt;) ] ]*
464+
[ ease | linear | ease-in | ease-out | ease-in-out | step-start | step-end | steps(&lt;integer&gt;[, [ start | end ] ]?) | cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;, &lt;number&gt;) ] [, [ ease | linear | ease-in | ease-out | ease-in-out | step-start | step-end | steps(&lt;number&gt;[, [ start | end ] ]?) | cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;, &lt;number&gt;) ] ]*
465465
</td>
466466
</tr>
467467
<tr>
@@ -1455,6 +1455,12 @@ <h3>
14551455
</tr>
14561456
</table> -->
14571457

1458+
<h2 id="acknowledgments">Acknowledgments</h2>
1459+
1460+
<p>Thanks especially to the feedback from
1461+
Tab Atkins,
1462+
and all the rest of the
1463+
<a href="http://lists.w3.org/Archives/Public/www-style/">www-style</a> community.</p>
14581464

14591465
<h2>References</h2>
14601466

0 commit comments

Comments
 (0)