Skip to content

Commit 4281543

Browse files
author
Sylvain Galineau
committed
Update property syntax defs: reintroduce comma separators, fix * wildcards (were converted to #)
1 parent 8b4f2b1 commit 4281543

1 file changed

Lines changed: 44 additions & 20 deletions

File tree

css3-animations/Overview.src.html

Lines changed: 44 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ <h3 id="animation-name-property">
437437
<td><dfn>animation-name</dfn>
438438
<tr>
439439
<th><a href="#values">Value</a>:
440-
<td>[ none | &lt;user-ident> ]#
440+
<td>[ none | IDENT ] [, [ none | IDENT ] ]*
441441
<tr>
442442
<th>Initial:
443443
<td>''none''
@@ -521,7 +521,7 @@ <h3 id="animation-duration-property">
521521
<td><dfn>animation-duration</dfn>
522522
<tr>
523523
<th><a href="#values">Value</a>:
524-
<td>&lt;time>#
524+
<td> &lt;time&gt; [, &lt;time&gt;]*
525525
<tr>
526526
<th>Initial:
527527
<td>''0s''
@@ -570,12 +570,23 @@ <h3 id="animation-timing-function-property">
570570
<td><dfn>animation-timing-function</dfn>
571571
<tr>
572572
<th><a href="#values">Value</a>:
573-
<td>[
574-
ease | linear | ease-in | ease-out | ease-in-out |
575-
step-start | step-end |
576-
steps(&lt;number> [, [ start | end ] ]) |
577-
cubic-bezier(&lt;number>, &lt;number>, &lt;number>, &lt;number>)
578-
]#
573+
<td>
574+
[
575+
ease | linear | ease-in | ease-out | ease-in-out |
576+
step-start | step-end |
577+
steps(&lt;number&gt; [, [ start | end ] ]?) |
578+
cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
579+
&lt;number&gt;)
580+
]
581+
[,
582+
[
583+
ease | linear | ease-in | ease-out | ease-in-out |
584+
step-start | step-end |
585+
steps(&lt;number&gt; [, [ start | end ] ]?) |
586+
cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;,
587+
&lt;number&gt;)
588+
]
589+
]*
579590
<tr>
580591
<th>Initial:
581592
<td>''ease''
@@ -630,7 +641,8 @@ <h3 id="animation-iteration-count-property">
630641
<td><dfn>animation-iteration-count</dfn>
631642
<tr>
632643
<th><a href="#values">Value</a>:
633-
<td>[ infinite | &lt;number> ]#
644+
<td> [ infinite | &lt;number&gt; ]
645+
[, [ infinite | &lt;number&gt; ] ]*
634646
<tr>
635647
<th>Initial:
636648
<td>''1''
@@ -669,7 +681,8 @@ <h3 id="animation-direction-property">
669681
<td><dfn>animation-direction</dfn>
670682
<tr>
671683
<th><a href="#values">Value</a>:
672-
<td>[ normal | reverse | alternate | alternate-reverse ]#
684+
<td> [ normal | reverse | alternate | alternate-reverse ]
685+
[, [ normal | reverse | alternate | alternate-reverse ] ]*
673686
<tr>
674687
<th>Initial:
675688
<td>''normal''
@@ -737,7 +750,8 @@ <h3 id="animation-play-state-property">
737750
<td><dfn>animation-play-state</dfn>
738751
<tr>
739752
<th><a href="#values">Value</a>:
740-
<td>[ running | paused ]#
753+
<td> [ running | paused ]
754+
[, [ running | paused ] ]*
741755
<tr>
742756
<th>Initial:
743757
<td>''running''
@@ -786,7 +800,7 @@ <h3 id="animation-delay-property">
786800
<td><dfn>foo</dfn>
787801
<tr>
788802
<th><a href="#values">animation-delay</a>:
789-
<td>&lt;time>#
803+
<td> &lt;time&gt; [, &lt;time&gt;]*
790804
<tr>
791805
<th>Initial:
792806
<td>''0s''
@@ -862,7 +876,8 @@ <h3 id="animation-fill-mode-property">
862876
<td><dfn>animation-fill-mode</dfn>
863877
<tr>
864878
<th><a href="#values">Value</a>:
865-
<td>[ none | forwards | backwards | both ]#
879+
<td> [ none | forwards | backwards | both ]
880+
[, [ none | forwards | backwards | both ] ]*
866881
<tr>
867882
<th>Initial:
868883
<td>''none''
@@ -909,13 +924,22 @@ <h3 id="animation-shorthand-property">
909924
<td><dfn>animation</dfn>
910925
<tr>
911926
<th><a href="#values">Value</a>:
912-
<td>[ &lt;'animation-name'> ||
913-
&lt;'animation-duration'> ||
914-
&lt;'animation-timing-function'> ||
915-
&lt;'animation-delay'> ||
916-
&lt;'animation-iteration-count'> ||
917-
&lt;'animation-direction'> ||
918-
&lt;'animation-fill-mode'> ]#
927+
<td>
928+
[
929+
&lt;animation-name&gt; || &lt;animation-duration&gt; ||
930+
&lt;animation-timing-function&gt; || &lt;animation-delay&gt; ||
931+
&lt;animation-iteration-count&gt; || &lt;animation-direction&gt; ||
932+
&lt;animation-fill-mode&gt;
933+
]
934+
[,
935+
[
936+
&lt;animation-name&gt; || &lt;animation-duration&gt; ||
937+
&lt;animation-timing-function&gt; || &lt;animation-delay&gt; ||
938+
&lt;animation-iteration-count&gt; || &lt;animation-direction&gt; ||
939+
&lt;animation-fill-mode&gt;
940+
]
941+
]*
942+
919943
<tr>
920944
<th>Initial:
921945
<td>see individual properties

0 commit comments

Comments
 (0)