Skip to content

Commit c177038

Browse files
committed
[css-animations-2] clarify that CSS animation events are dispatched at the owning element
1 parent 4f811ce commit c177038

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

css-animations-2/Overview.bs

+11
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ Editor: Brian Birtles, Mozilla https://www.mozilla.org/, bbirtles@mozilla.com, w
3131
Abstract: This CSS module describes a way for authors to animate the values of CSS properties over time, using keyframes. The behavior of these keyframe animations can be controlled by specifying their duration, number of repeats, and repeating behavior.
3232
Ignored Vars: auto-rewind
3333
</pre>
34+
<pre class=anchors>
35+
urlPrefix: https://dom.spec.whatwg.org/; type: dfn; spec: dom
36+
text: event target
37+
</pre>
3438
<pre class=link-defaults>
3539
spec:web-animations-1; type:dfn;
3640
text:active duration
@@ -39,6 +43,7 @@ spec:web-animations-1; type:dfn;
3943
text:after phase; for:animation effect
4044
text:animation class
4145
text:animation effect
46+
text:animation playback events
4247
text:associated effect
4348
text:associated effect end
4449
text:before phase; for:animation effect
@@ -585,6 +590,12 @@ Animations Level 1 [[CSS3-ANIMATIONS]] since it must account for the
585590
possibility of animations being seeked or reversed using the Web Animations API
586591
[[WEB-ANIMATIONS]].
587592
593+
The [=event target|target=] for a CSS animation event is
594+
the animation's [=owning element=].
595+
If there is no [=owning element=], no CSS animation events are dispatched
596+
(although the [=animation playback events=] defined in Web Animations are still
597+
dispatched at the corresponding {{CSSAnimation}} object).
598+
588599
For the purpose of determining which events to dispatch, the
589600
[[web-animations-1#animation-effect-phases-and-states|phases]] defined in
590601
the Web Animations model are used. These definitions apply to an <a>animation

0 commit comments

Comments
 (0)