Skip to content

Commit de5eab3

Browse files
committed
[scroll-animations-1] Fix grammatical ambiguity, add subheadings.
1 parent 2a7cc4b commit de5eab3

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

scroll-animations-1/Overview.bs

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -873,22 +873,28 @@ spec: cssom-view-1; type: dfn;
873873
╶┄┄┄┄┄ duration┄┄┄┄┄╴
874874
</pre>
875875

876+
ISSUE: Define application to time-driven animations.
877+
878+
### Specifying an Animation’s Timeline Range: the 'animation-range' shorthand ### {#animation-range}
879+
876880
<pre class="propdef shorthand">
877881
Name: animation-range
878-
Value: [ <<'animation-range-start'>> <<'animation-range-end'>>? | <<timeline-range-name>> ]#
882+
Value: [ <<'animation-range-start'>> <<'animation-range-end'>>? ]#
879883
</pre>
880884

881885
The 'animation-range' property is a [=shorthand property|shorthand=]
882886
that sets 'animation-range-start' and 'animation-range-end'
883887
together in a single declaration.
884-
If the <<'animation-range-end'>> value is omitted,
885-
it is set to ''animation-range-end/normal''.
886888
If a <<timeline-range-name>> alone is specified,
887889
'animation-range-start' is set to that name plus ''0%''
888890
and 'animation-range-end' is set to that name plus ''100%''.
891+
Otherwise, if the <<'animation-range-end'>> value is omitted,
892+
it is set to ''animation-range-end/normal''.
889893

890894
ISSUE(8438): What's the best way to handle defaulting of omitted values here?
891895

896+
### Specifying an Animation’s Timeline Range Start: the 'animation-range-start' property ### {#animation-range-start}
897+
892898
<pre class="propdef">
893899
Name: animation-range-start
894900
Value: [ normal | <<timeline-range-name>> <<percentage>> ]#
@@ -918,6 +924,8 @@ spec: cssom-view-1; type: dfn;
918924
plus any applicable [=start delay=].
919925
</dl>
920926

927+
### Specifying an Animation’s Timeline Range End: the 'animation-range-end' property ### {#animation-range-end}
928+
921929
<pre class="propdef">
922930
Name: animation-range-end
923931
Value: [ normal | <<timeline-range-name>> <<percentage>> ]#

0 commit comments

Comments
 (0)