Skip to content

[css-transitions] Add ontransitionend global event handler #344

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 36 additions & 1 deletion css-transitions/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,15 @@ urlPrefix: https://www.w3.org/TR/css3-color/; type: value;
text: blue
text: green
url: http://w3c.github.io/dom/#constructing-events; type: dfn; text: event constructor;
url: https://html.spec.whatwg.org/multipage/infrastructure.html#concept-event-dispatch; type: dfn; text: dispatch;
urlPrefix: https://html.spec.whatwg.org/multipage/webappapis.html; type: dfn; spec: html
text: event handlers
text: event handler event type
text: event handler content attributes
text: event handler IDL attributes
urlPrefix: https://html.spec.whatwg.org/multipage/infrastructure.html; type: dfn; spec: html
text: HTML elements
text: dispatch; url: concept-event-dispatch
url: https://html.spec.whatwg.org/#document; type: interface; text: Document; spec: html
</pre>
</dl>

Expand Down Expand Up @@ -1263,6 +1271,33 @@ Completion of transitions {#complete}
</dd>
</dl>

Event handlers on elements, <code>Document</code> objects, and <code>Window</code> objects {#event-handlers-on-elements-document-objects-and-window-objects}
---------------------------------------------------------------------------

The <dfn>ontransitionend</dfn> <a>event handler</a> (corresponding to the <a
idl>transitionend</a> <a>event handler event type</a>) must be supported by all
<a>HTML elements</a>, as both <a>event handler content attributes</a> and
<a>event handler IDL attributes</a>; and must be supported by all {{Document}}
and {{Window}} objects, as <a>event handler IDL attributes</a>.


DOM Interfaces {#interface-dom}
===============================

This specification extends the {{GlobalEventHandlers}} interface from HTML to
add <a>event handler IDL attributes</a> for <a
href="#transition-events">transition events</a> as defined in [[#event-handlers-on-elements-document-objects-and-window-objects]].

IDL Definition {#interface-globaleventhandlers-idl}
--------------

<pre class="idl">
partial interface GlobalEventHandlers {
attribute EventHandler ontransitionend;
};
</pre>


<span id="animation-of-property-types-">Animation of property types</span> {#animatable-types}
==============================================================================================

Expand Down