@@ -69,19 +69,19 @@ urlPrefix: https://wicg.github.io/scroll-animations/#; type: dfn
69
69
Introduction {#intro}
70
70
=====================
71
71
This document introduces a new primitive for creating scroll-linked and other high performance
72
- procedural animations on the web. For details on the rational and motivation see [[explainer]] .
72
+ procedural animations on the web. For details on the rationale and motivation see [[explainer]] .
73
73
74
74
The <a>Animation Worklet</a> provides a method to create scripted animations that can mutate a set
75
- of user visible animatable attributes. The API is designed to make it possible such animations to
76
- run in performance critical parts of rendering pipeline. Although the specification does not
75
+ of user visible animatable attributes. The API is designed to make it possible for such animations to
76
+ run in performance- critical parts of the rendering pipeline. Although the specification does not
77
77
require certain performance guarantees (e.g., running in sync with every frame produced or in
78
78
isolation from main thread) but the API is designed to facilitate and encourage this.
79
79
80
80
81
81
<strong> Relationship to Web Animation API</strong> : Animations running on <a>Animation
82
- Worklet</a> do not necessarily run on main thread and thus are not synchronized with <a>default
82
+ Worklet</a> do not necessarily run on the main thread and thus are not synchronized with <a>default
83
83
document timeline</a> . At the moment we do not expose any API to start, stop, compose or otherwise
84
- control these animations from outside the worklet however our plan is to leverage existing web
84
+ control these animations from outside the worklet, however our plan is to leverage existing web
85
85
animation APIs such as Element::getAnimations().
86
86
87
87
Note: <strong> Access to input</strong> : We are interested on exposing additional user input (e.g.,
@@ -151,7 +151,7 @@ an <a>animator instance</a>. It consists of:
151
151
- An <dfn>animate function</dfn> .
152
152
153
153
- An <dfn>animator slot list</dfn> containing a dictionary providing each <dfn>slot name</dfn> ,
154
- its <dfn>input property list</dfn> , and its <dfn>output propert list</dfn> .
154
+ its <dfn>input property list</dfn> , and its <dfn>output property list</dfn> .
155
155
156
156
- An <dfn>animator timeline options list</dfn> .
157
157
@@ -185,9 +185,9 @@ write its explicitly exposed animatable attributes. It consists of:
185
185
186
186
- A <dfn>proxied element</dfn> .
187
187
188
- - A read only map of proxied input properties their values.
188
+ - A read only map of proxied input properties to their values.
189
189
190
- - A map of proxies output properties to their values.
190
+ - A map of proxied output properties to their values.
191
191
192
192
Registering an Animator Definition {#registering-animator-definition}
193
193
============================================================
@@ -413,14 +413,14 @@ When the user agent wants to <dfn>update proxy input style map</dfn> given |prox
413
413
414
414
When an element is removed, all proxies of that element are considered to be disconnected.
415
415
A disconnected proxy continues to have the last value from the <a>computed value</a>
416
- of the <a>proxied element</a> properties, but setting values on its ouputStyleMap will have no
416
+ of the <a>proxied element</a> properties, but setting values on its outputStyleMap will have no
417
417
effect.
418
418
419
419
420
420
Requesting Animation Frames {#requesting-animation-frames}
421
421
====================
422
422
Each <a>animator instance</a> has an associated <dfn>animation requested flag</dfn> . It must be
423
- either <dfn>frame-requested</dfn> , <dfn>frame-current</dfn> . It is initially set to
423
+ either <dfn>frame-requested</dfn> or <dfn>frame-current</dfn> . It is initially set to
424
424
<a>frame-current</a> . Various events can cause the <a>animation requested flag</a> to be set to
425
425
<a>frame-requested</a> .
426
426
0 commit comments