@@ -417,7 +417,7 @@ timeline. It consists of:
417
417
- : <a>animator name</a>
418
418
:: A string used to identify the animator definition.
419
419
420
- - : <a>animation requested flag</a>
420
+ - : <a>frame requested flag</a>
421
421
:: A boolean flag that indicates if the animator needs to animate.
422
422
423
423
- : <dfn>sync requested flag</dfn>
@@ -476,7 +476,7 @@ the following steps:
476
476
477
477
7. Set the following on |animatorInstance| with:
478
478
- <a>animator name</a> being |name|
479
- - <a>animation requested flag</a> being <a>frame-current</a >
479
+ - <a>frame requested flag</a> being <b> false </b >
480
480
- <a>sync requested flag</a> being <b> false</b>
481
481
- <a>animator current time</a> being unresolved
482
482
- <a>effect</a> being |animatorEffect|
@@ -492,8 +492,8 @@ Running Animators {#running-animators}
492
492
--------------------------------------
493
493
494
494
When the user agent wants to produce a new animation frame, if for any <a>animator instance</a> the
495
- associated <a>animation requested flag</a> is <a>frame-requested</a > then the the user agent
496
- <em> must </em> <a>run animators</a> for the current frame in all its associated global scopes.
495
+ associated <a>frame requested flag</a> is <b> true </b > then the the user agent <em> must </em> <a>run
496
+ animators</a> for the current frame in all its associated global scopes.
497
497
498
498
Note: The user agent is not required to run animations on every visual frame. It is legal to defer
499
499
generating an animation frame until a later frame. This allow the user agent to
@@ -514,9 +514,9 @@ When the user agent wants to <dfn>run animators</dfn> in a given |workletGlobalS
514
514
515
515
If |definition| does not exist then abort the following steps.
516
516
517
- 3. If the <a>animation requested flag</a> for |animator| is <a>frame-current</a > or the
518
- effect belonging to the |animator| will not be visible within the visual viewport of the
519
- current frame the user agent <em> may</em> abort all the following steps.
517
+ 3. If the <a>frame requested flag</a> for |animator| is <b> false </b > or the effect belonging
518
+ to the |animator| will not be visible within the visual viewport of the current frame
519
+ the user agent <em> may</em> abort all the following steps.
520
520
521
521
Issue: Consider giving user agents permission to skip running individual animator
522
522
instances to throttle slow animators.
@@ -617,15 +617,13 @@ This effectively removes the animator instance.
617
617
Requesting Animation Frames {#requesting-animation-frames}
618
618
----------------------------------------------------------
619
619
620
- Each <a>animator instance</a> has an associated <dfn>animation requested flag</dfn> . It must be
621
- either <dfn>frame-requested</dfn> or <dfn>frame-current</dfn> . It is initially set to
622
- <a>frame-current</a> . Different circumstances can cause the <a>animation requested flag</a> to be
623
- set to <a>frame-requested</a> . These include the following:
620
+ Each <a>animator instance</a> has an associated <dfn>frame requested flag</dfn> . It is initially set
621
+ to <b> false</b> . Different circumstances can cause the <a>frame requested flag</a> to be set to
622
+ <b> true</b> . These include the following:
624
623
- Changes in the <a>current time</a> of the animator's <a>timeline</a>
625
624
- Changes in the <a>current time</a> of the animator's corresponding <a>worklet animation</a>
626
625
627
- Performing <a>run animators</a> resets the <a>animation requested flag</a> on animators to
628
- <a>frame-current</a> .
626
+ Performing <a>run animators</a> resets the <a>frame requested flag</a> on animators to <b> false</b> .
629
627
630
628
631
629
Web Animations Integration {#web-animation-integration}
0 commit comments