
























@@ -15,7 +15,10 @@ Ignored Terms: AnimationWorklet
15151616<pre class="link-defaults">
1717spec:infra; type:dfn; text:list
18-spec:dom; type:interface; text:Document
18+spec:dom;
19+ type:dfn; for:/; text:document
20+ type:interface; text:Document
21+spec:web-animations-1; type:dfn; text:start time
1922</pre>
20232124<pre class="anchors">
@@ -726,8 +729,7 @@ Creating a Worklet Animation {#creating-worklet-animation}
726729727730Creates a new {{WorkletAnimation}} object using the following procedure:
728731729- 1. Let |documentAnimatorDefinitions| be the associated [=document's=] <a>document animator
730- definitions</a> [=map=].
732+ 1. Let |documentAnimatorDefinitions| be the associated [=document's=] <a>document animator definitions</a> [=map=].
731733732734 2. If |documentAnimatorDefinitions|[|animatorName|] does not [=map/exists=], [=throw=] an
733735[=TypeError=] and abort the following steps.
@@ -745,7 +747,7 @@ Creates a new {{WorkletAnimation}} object using the following procedure:
745747 6. Let |effect| be the result corresponding to the first matching condition from below.
746748 : If |effects| is a {{AnimationEffect}} object,
747749 :: Let effect be |effects|.
748- : If |effects| is a [=list=] of {{AnimationEffect}}</a> objects,
750+ : If |effects| is a [=list=] of {{AnimationEffect}} objects,
749751 :: Let |effect| be a new {{WorkletGroupEffect}} with its children set to |effects|.
750752 : Otherwise,
751753 :: Let |effect| be undefined.
@@ -898,7 +900,7 @@ When a given worklet animation's [=play state=] changes from [=finished=], [=run
898900899901When a given worklet animation's [=replace state=] changes from [=active=] to either
900902[=persisted=] or [=removed=] run the procedure to
901-[=disassociate animator instance of worklet animation]= given the worklet animation as
903+[=disassociate animator instance of worklet animation=] given the worklet animation as
902904|workletAnimation|.
903905904906此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。