Add necessary []s to grammar: since juxtaposition binds tighter than |, [] are needed so that the comma needs to separate all the items in the list (rather than requiring a comma to separate values only for the first of the options).
authorL. David Baron <dbaron@dbaron.org>
Wed, 28 Mar 2012 21:59:03 -0700
changeset 529807b883120d89
parent 5297 2d3e676685d0
child 5299 67767a137cbc
Add necessary []s to grammar: since juxtaposition binds tighter than |, [] are needed so that the comma needs to separate all the items in the list (rather than requiring a comma to separate values only for the first of the options).
css3-animations/Overview.html
css3-animations/Overview.src.html
css3-transitions/Overview.html
css3-transitions/Overview.src.html
     1.1 --- a/css3-animations/Overview.html	Wed Mar 28 18:27:22 2012 -0700
     1.2 +++ b/css3-animations/Overview.html	Wed Mar 28 21:59:03 2012 -0700
     1.3 @@ -15,14 +15,14 @@
     1.4  
     1.5     <h1>CSS Animations</h1>
     1.6  
     1.7 -   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 28 March 2012</h2>
     1.8 +   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 29 March 2012</h2>
     1.9  
    1.10     <dl>
    1.11      <dt>This version:
    1.12  
    1.13      <dd><a
    1.14 -     href="http://www.w3.org/TR/2012/ED-css3-animations-20120328/">http://dev.w3.org/csswg/css3-animations/</a>
    1.15 -     <!--http://www.w3.org/TR/2012/WD-css3-animations-20120328-->
    1.16 +     href="http://www.w3.org/TR/2012/ED-css3-animations-20120329/">http://dev.w3.org/csswg/css3-animations/</a>
    1.17 +     <!--http://www.w3.org/TR/2012/WD-css3-animations-20120329-->
    1.18  
    1.19      <dt>Latest version:
    1.20  
    1.21 @@ -523,7 +523,7 @@
    1.22      <tr>
    1.23       <td> <em>Value:</em>
    1.24  
    1.25 -     <td> none | IDENT [, none | IDENT ]*
    1.26 +     <td> none | IDENT [, [ none | IDENT ] ]*
    1.27  
    1.28      <tr>
    1.29       <td> <em>Initial:</em>
    1.30 @@ -691,10 +691,10 @@
    1.31       <td> ease | linear | ease-in | ease-out | ease-in-out | step-start |
    1.32        step-end | steps(&lt;number&gt;[, start | end ]) |
    1.33        cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
    1.34 -      &lt;number&gt;) [, ease | linear | ease-in | ease-out | ease-in-out |
    1.35 +      &lt;number&gt;) [, [ ease | linear | ease-in | ease-out | ease-in-out |
    1.36        step-start | step-end | steps(&lt;number&gt;[, start | end ]) |
    1.37        cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
    1.38 -      &lt;number&gt;)]*
    1.39 +      &lt;number&gt;)] ]*
    1.40  
    1.41      <tr>
    1.42       <td> <em>Initial:</em>
    1.43 @@ -767,7 +767,7 @@
    1.44      <tr>
    1.45       <td> <em>Value:</em>
    1.46  
    1.47 -     <td> infinite | &lt;number&gt; [, infinite | &lt;number&gt;]*
    1.48 +     <td> infinite | &lt;number&gt; [, [ infinite | &lt;number&gt; ] ]*
    1.49  
    1.50      <tr>
    1.51       <td> <em>Initial:</em>
    1.52 @@ -825,7 +825,7 @@
    1.53      <tr>
    1.54       <td> <em>Value:</em>
    1.55  
    1.56 -     <td> normal | alternate [, normal | alternate]*
    1.57 +     <td> normal | alternate [, [ normal | alternate ] ]*
    1.58  
    1.59      <tr>
    1.60       <td> <em>Initial:</em>
    1.61 @@ -884,7 +884,7 @@
    1.62      <tr>
    1.63       <td> <em>Value:</em>
    1.64  
    1.65 -     <td> running | paused [, running | paused]*
    1.66 +     <td> running | paused [, [ running | paused ] ]*
    1.67  
    1.68      <tr>
    1.69       <td> <em>Initial:</em>
    1.70 @@ -1043,8 +1043,8 @@
    1.71      <tr>
    1.72       <td> <em>Value:</em>
    1.73  
    1.74 -     <td> none | forwards | backwards | both [, none | forwards | backwards |
    1.75 -      both]*
    1.76 +     <td> none | forwards | backwards | both [, [ none | forwards | backwards
    1.77 +      | both ] ]*
    1.78  
    1.79      <tr>
    1.80       <td> <em>Initial:</em>
    1.81 @@ -1649,7 +1649,7 @@
    1.82       <th><a class=property
    1.83        href="#animation-direction">animation-direction</a>
    1.84  
    1.85 -     <td>normal | alternate [, normal | alternate]*
    1.86 +     <td>normal | alternate [, [ normal | alternate ] ]*
    1.87  
    1.88       <td>normal
    1.89  
    1.90 @@ -1680,8 +1680,8 @@
    1.91       <th><a class=property
    1.92        href="#animation-fill-mode">animation-fill-mode</a>
    1.93  
    1.94 -     <td>none | forwards | backwards | both [, none | forwards | backwards |
    1.95 -      both]*
    1.96 +     <td>none | forwards | backwards | both [, [ none | forwards | backwards
    1.97 +      | both ] ]*
    1.98  
    1.99       <td>none
   1.100  
   1.101 @@ -1697,7 +1697,7 @@
   1.102       <th><a class=property
   1.103        href="#animation-iteration-count">animation-iteration-count</a>
   1.104  
   1.105 -     <td>infinite | &lt;number&gt; [, infinite | &lt;number&gt;]*
   1.106 +     <td>infinite | &lt;number&gt; [, [ infinite | &lt;number&gt; ] ]*
   1.107  
   1.108       <td>1
   1.109  
   1.110 @@ -1712,7 +1712,7 @@
   1.111      <tr>
   1.112       <th><a class=property href="#animation-name">animation-name</a>
   1.113  
   1.114 -     <td>none | IDENT [, none | IDENT ]*
   1.115 +     <td>none | IDENT [, [ none | IDENT ] ]*
   1.116  
   1.117       <td>none
   1.118  
   1.119 @@ -1728,7 +1728,7 @@
   1.120       <th><a class=property
   1.121        href="#animation-play-state">animation-play-state</a>
   1.122  
   1.123 -     <td>running | paused [, running | paused]*
   1.124 +     <td>running | paused [, [ running | paused ] ]*
   1.125  
   1.126       <td>running
   1.127  
   1.128 @@ -1747,10 +1747,10 @@
   1.129       <td>ease | linear | ease-in | ease-out | ease-in-out | step-start |
   1.130        step-end | steps(&lt;number&gt;[, start | end ]) |
   1.131        cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
   1.132 -      &lt;number&gt;) [, ease | linear | ease-in | ease-out | ease-in-out |
   1.133 +      &lt;number&gt;) [, [ ease | linear | ease-in | ease-out | ease-in-out |
   1.134        step-start | step-end | steps(&lt;number&gt;[, start | end ]) |
   1.135        cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
   1.136 -      &lt;number&gt;)]*
   1.137 +      &lt;number&gt;)] ]*
   1.138  
   1.139       <td>ease
   1.140  
     2.1 --- a/css3-animations/Overview.src.html	Wed Mar 28 18:27:22 2012 -0700
     2.2 +++ b/css3-animations/Overview.src.html	Wed Mar 28 21:59:03 2012 -0700
     2.3 @@ -377,7 +377,7 @@
     2.4                <em>Value:</em>
     2.5              </td>
     2.6              <td>
     2.7 -              none | IDENT [, none | IDENT ]*
     2.8 +              none | IDENT [, [ none | IDENT ] ]*
     2.9              </td>
    2.10            </tr>
    2.11            <tr>
    2.12 @@ -587,7 +587,7 @@
    2.13                <em>Value:</em>
    2.14              </td>
    2.15              <td>
    2.16 -              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;)]*
    2.17 +              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;)] ]*
    2.18              </td>
    2.19            </tr>
    2.20            <tr>
    2.21 @@ -674,7 +674,7 @@
    2.22                <em>Value:</em>
    2.23              </td>
    2.24              <td>
    2.25 -              infinite | &lt;number&gt; [, infinite | &lt;number&gt;]*
    2.26 +              infinite | &lt;number&gt; [, [ infinite | &lt;number&gt; ] ]*
    2.27              </td>
    2.28            </tr>
    2.29            <tr>
    2.30 @@ -748,7 +748,7 @@
    2.31                <em>Value:</em>
    2.32              </td>
    2.33              <td>
    2.34 -              normal | alternate [, normal | alternate]*
    2.35 +              normal | alternate [, [ normal | alternate ] ]*
    2.36              </td>
    2.37            </tr>
    2.38            <tr>
    2.39 @@ -823,7 +823,7 @@
    2.40                <em>Value:</em>
    2.41              </td>
    2.42              <td>
    2.43 -              running | paused [, running | paused]*
    2.44 +              running | paused [, [ running | paused ] ]*
    2.45              </td>
    2.46            </tr>
    2.47            <tr>
    2.48 @@ -1019,7 +1019,7 @@
    2.49                <em>Value:</em>
    2.50              </td>
    2.51              <td>
    2.52 -              none | forwards | backwards | both [, none | forwards | backwards | both]*
    2.53 +              none | forwards | backwards | both [, [ none | forwards | backwards | both ] ]*
    2.54              </td>
    2.55            </tr>
    2.56            <tr>
     3.1 --- a/css3-transitions/Overview.html	Wed Mar 28 18:27:22 2012 -0700
     3.2 +++ b/css3-transitions/Overview.html	Wed Mar 28 21:59:03 2012 -0700
     3.3 @@ -25,14 +25,14 @@
     3.4  
     3.5     <h1>CSS Transitions</h1>
     3.6  
     3.7 -   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 28 March 2012</h2>
     3.8 +   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 29 March 2012</h2>
     3.9  
    3.10     <dl>
    3.11      <dt>This version:
    3.12  
    3.13 -    <dd> <a href="http://www.w3.org/TR/2012/ED-css3-transitions-20120328/">
    3.14 +    <dd> <a href="http://www.w3.org/TR/2012/ED-css3-transitions-20120329/">
    3.15       http://dev.w3.org/csswg/css3-transitions/</a>
    3.16 -     <!--http://www.w3.org/TR/2012/WD-css3-transitions-20120328-->
    3.17 +     <!--http://www.w3.org/TR/2012/WD-css3-transitions-20120329-->
    3.18  
    3.19      <dt>Latest version:
    3.20  
    3.21 @@ -341,7 +341,7 @@
    3.22       <td> <em>Value:</em>
    3.23  
    3.24       <td> none | [ all | &lt;IDENT&gt; ] [ &lsquo;<code
    3.25 -      class=css>,</code>&rsquo; all | &lt;IDENT&gt; ]*
    3.26 +      class=css>,</code>&rsquo; [ all | &lt;IDENT&gt; ] ]*
    3.27  
    3.28      <tr>
    3.29       <td> <em>Initial:</em>
    3.30 @@ -545,10 +545,10 @@
    3.31       <td> ease | linear | ease-in | ease-out | ease-in-out | step-start |
    3.32        step-end | steps(&lt;integer&gt;[, start | end ]) |
    3.33        cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
    3.34 -      &lt;number&gt;) [, ease | linear | ease-in | ease-out | ease-in-out |
    3.35 +      &lt;number&gt;) [, [ ease | linear | ease-in | ease-out | ease-in-out |
    3.36        step-start | step-end | steps(&lt;number&gt;[, start | end ]) |
    3.37        cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
    3.38 -      &lt;number&gt;)]*
    3.39 +      &lt;number&gt;) ] ]*
    3.40  
    3.41      <tr>
    3.42       <td> <em>Initial:</em>
    3.43 @@ -1671,8 +1671,8 @@
    3.44       <th><a class=property
    3.45        href="#transition-property">transition-property</a>
    3.46  
    3.47 -     <td>none | [ all | &lt;IDENT&gt; ] [ &lsquo;,&rsquo; all | &lt;IDENT&gt;
    3.48 -      ]*
    3.49 +     <td>none | [ all | &lt;IDENT&gt; ] [ &lsquo;,&rsquo; [ all |
    3.50 +      &lt;IDENT&gt; ] ]*
    3.51  
    3.52       <td>all
    3.53  
    3.54 @@ -1691,10 +1691,10 @@
    3.55       <td>ease | linear | ease-in | ease-out | ease-in-out | step-start |
    3.56        step-end | steps(&lt;integer&gt;[, start | end ]) |
    3.57        cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
    3.58 -      &lt;number&gt;) [, ease | linear | ease-in | ease-out | ease-in-out |
    3.59 +      &lt;number&gt;) [, [ ease | linear | ease-in | ease-out | ease-in-out |
    3.60        step-start | step-end | steps(&lt;number&gt;[, start | end ]) |
    3.61        cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
    3.62 -      &lt;number&gt;)]*
    3.63 +      &lt;number&gt;) ] ]*
    3.64  
    3.65       <td>ease
    3.66  
     4.1 --- a/css3-transitions/Overview.src.html	Wed Mar 28 18:27:22 2012 -0700
     4.2 +++ b/css3-transitions/Overview.src.html	Wed Mar 28 21:59:03 2012 -0700
     4.3 @@ -199,7 +199,7 @@
     4.4                <em>Value:</em>
     4.5              </td>
     4.6              <td>
     4.7 -              none | [ all | &lt;IDENT&gt; ] [ ',' all | &lt;IDENT&gt; ]*
     4.8 +              none | [ all | &lt;IDENT&gt; ] [ ',' [ all | &lt;IDENT&gt; ] ]*
     4.9              </td>
    4.10            </tr>
    4.11            <tr>
    4.12 @@ -461,7 +461,7 @@
    4.13                <em>Value:</em>
    4.14              </td>
    4.15              <td>
    4.16 -              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;)]*
    4.17 +              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;) ] ]*
    4.18              </td>
    4.19            </tr>
    4.20            <tr>