@@ -3,7 +3,7 @@ Title: CSS Animation Worklet API
33Status : ED
44Group : houdini
55ED : https://drafts.css-houdini.org/css-animationworklet-1/
6- Shortname : css-workletanimation
6+ Shortname : css-animationworklet
77Level : 1
88Abstract :
99Editor : Majid Valipour, majidvp@google.com
@@ -89,12 +89,17 @@ urlPrefix: https://wicg.github.io/scroll-animations/#; type: dfn
8989<pre class=biblio>
9090{
9191 "explainer": {
92- "href": "https://github.com/WICG/animation-worklet /blob/gh-pages /README.md",
92+ "href": "https://github.com/w3c/css-houdini-drafts /blob/master/css-animationworklet /README.md",
9393 "title": "Animation Worklet Explainer",
94- "status": "CR",
95- "publisher": "WICG",
9694 "deliveredBy": [
97- "https://github.com/WICG/animation-worklet//"
95+ "https://github.com/w3c/css-houdini-drafts"
96+ ]
97+ },
98+ "principles": {
99+ "href": "https://github.com/w3c/css-houdini-drafts/blob/master/css-animationworklet/principles.md",
100+ "title": "Animation Worklet Design Principles and Goals",
101+ "deliveredBy": [
102+ "https://github.com/w3c/css-houdini-drafts"
98103 ]
99104 }
100105}
@@ -104,8 +109,9 @@ Introduction {#intro}
104109=====================
105110<em> This section is not normative.</em>
106111
107- This document introduces a new primitive for creating scroll-linked and other high performance
108- procedural animations on the web. For details on the rationale and motivation see [[explainer]] .
112+ This document introduces a new primitive that provides extensibility in web animations and enables
113+ high performance interactive procedural animations on the web. For details on the rationale and
114+ motivation see both [[explainer]] and [[principles]] .
109115
110116The <a>Animation Worklet</a> API provides a method to create scripted animations that control a set
111117of <a>animation effects</a> . The API is designed to make it possible for user agents to run such
@@ -114,14 +120,11 @@ thread.
114120
115121Relationship to the Web Animations API {#relationship-to-web-animations}
116122------------------------------------------------------------------------
123+ <em> This section is not normative.</em>
117124
118125Animations running inside an <a>Animation Worklet</a> execution context expose the {{Animation}}
119126interface from the Web Animations specification on the main javascript execution context. This means
120- they can be controlled and inspected from main thread using many of the Web Animation APIs. However
121- Animation Worklet animations follow a different timing model that enables them to be script-driven,
122- stateful, and runnable in a parallel worklet execution context. As such Web Animation APIs that seek
123- or alter the input time (reverse, finish, etc.) have different semantics for Animation Worklet
124- animations.
127+ they can be controlled and inspected from main thread using the same Web Animation APIs.
125128
126129
127130Threading Model {#threading-model}
@@ -683,7 +686,7 @@ Here are a few implications of the above semantics:
683686 may return stale information, in the case where the <a>animator instance</a> is running in a
684687 parallel execution context.
685688
686- Issue(63 ): Come with appropriate mechanism's for <a>animator instance</a> to get notified when its
689+ Issue(811 ): Come with appropriate mechanism's for <a>animator instance</a> to get notified when its
687690 animation currentTime is changing e.g., via reverse(), finish() or playbackRate change. So that
688691 it can react appropriately.
689692
@@ -762,7 +765,7 @@ is called, then <a>set animator instance of worklet animation</a> given |worklet
762765Timeline Attachment {#timeline-attachment}
763766-------------------
764767
765- Issue(61 ): Define semantics of attachment and detachment.
768+ Issue(810 ): Define semantics of attachment and detachment.
766769
767770ScrollTimeline {#scroll-timeline}
768771---------------------------------
@@ -817,8 +820,8 @@ action that corresponds to the first matching condition from the following:
817820</div>
818821
819822Issue(w3c/csswg-drafts#2071): The above interface exposes a conservative subset
820- of GroupEffect proposed as part of web-animation-2. Once that is available we
821- should switch to it .
823+ of GroupEffect proposed as part of web-animation-2. We should instead move this
824+ into a delta spec against the web-animation .
822825
823826
824827Effect Stack and Composite Order {#effect-stack-composite-order}
@@ -829,6 +832,16 @@ worklet animation does not have a specific <a>animation class</a> which means it
829832composite order as other Javascript created web animations.
830833
831834
835+ Security Considerations {#security-considerations}
836+ ==================================================
837+
838+ There are no known security issues introduced by these features.
839+
840+ Privacy Considerations {#privacy-considerations}
841+ ================================================
842+
843+ There are no known privacy issues introduced by these features.
844+
832845Examples {#examples}
833846====================
834847
0 commit comments