From 3fafc22d659eccb596c502f6c77070e39970af6b Mon Sep 17 00:00:00 2001 From: Brian Birtles Date: Fri, 23 Aug 2019 10:31:43 +0900 Subject: [PATCH] [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. --- web-animations-1/Overview.bs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/web-animations-1/Overview.bs b/web-animations-1/Overview.bs index 4f2dbd8687cf..b1dee8bd287c 100644 --- a/web-animations-1/Overview.bs +++ b/web-animations-1/Overview.bs @@ -4725,16 +4725,11 @@ interface KeyframeEffect : AnimationEffect { : If options is a {{KeyframeEffectOptions}} object, :: Let timing input be options. - : If options is a double, + : Otherwise (if options is a double), :: Let timing input be a new {{EffectTiming}} object with all members set to their default values and {{EffectTiming/duration}} set to options. - : Otherwise (options is undefined), - :: Let timing input be a new - {{EffectTiming}} object with all members set to their default - values. - 1. Call the procedure to [=update the timing properties of an animation effect=] of |effect| from |timing input|. @@ -5755,7 +5750,8 @@ dictionary GetAnimationsOptions { of the element on which this method was called as the timeline argument. - 1. Assign the value of the id member of options to + 1. If options is a {{KeyframeAnimationOptions}} object, + assign the value of the id member of options to animation's {{Animation/id}} attribute. 1. Run the procedure to play an animation for