Skip to content

Commit 3fafc22

Browse files
committed
[web-animations-1] Tweak descriptions of processing dictionary arguments
As of #4235 these arguments will always be set. The change to animate() simply corrects an existing oversight.
1 parent f0d7910 commit 3fafc22

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

web-animations-1/Overview.bs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4725,16 +4725,11 @@ interface KeyframeEffect : AnimationEffect {
47254725
: If <var>options</var> is a {{KeyframeEffectOptions}} object,
47264726
:: Let <var>timing input</var> be <var>options</var>.
47274727

4728-
: If <var>options</var> is a <code>double</code>,
4728+
: Otherwise (if <var>options</var> is a <code>double</code>),
47294729
:: Let <var>timing input</var> be a new
47304730
{{EffectTiming}} object with all members set to their default values
47314731
and {{EffectTiming/duration}} set to <var>options</var>.
47324732

4733-
: Otherwise (<var>options</var> is undefined),
4734-
:: Let <var>timing input</var> be a new
4735-
{{EffectTiming}} object with all members set to their default
4736-
values.
4737-
47384733
1. Call the procedure to [=update the timing properties of an
47394734
animation effect=] of |effect| from |timing input|.
47404735

@@ -5755,7 +5750,8 @@ dictionary GetAnimationsOptions {
57555750
of the element on which this method was called as the
57565751
<var>timeline</var> argument.
57575752

5758-
1. Assign the value of the <code>id</code> member of <var>options</var> to
5753+
1. If <var>options</var> is a {{KeyframeAnimationOptions}} object,
5754+
assign the value of the <code>id</code> member of <var>options</var> to
57595755
<var>animation</var>'s {{Animation/id}} attribute.
57605756

57615757
1. Run the procedure to <a>play an animation</a> for

0 commit comments

Comments
 (0)