[css-transitions] Add ontransitionend global event handler

Wed, 27 Jul 2016 15:57:35 +0900

author
Brian Birtles <birtles@gmail.com>
date
Wed, 27 Jul 2016 15:57:35 +0900
changeset 18068
fd9aecb6eb90
parent 18067
12d32649a91f
child 18069
ed61a21f7929

[css-transitions] Add ontransitionend global event handler

css-transitions/Overview.bs file | annotate | diff | comparison | revisions
     1.1 --- a/css-transitions/Overview.bs	Wed Jul 27 07:30:50 2016 +0800
     1.2 +++ b/css-transitions/Overview.bs	Wed Jul 27 15:57:35 2016 +0900
     1.3 @@ -96,7 +96,15 @@
     1.4      text: blue
     1.5      text: green
     1.6  url: http://w3c.github.io/dom/#constructing-events; type: dfn; text: event constructor;
     1.7 -url: https://html.spec.whatwg.org/multipage/infrastructure.html#concept-event-dispatch; type: dfn; text: dispatch;
     1.8 +urlPrefix: https://html.spec.whatwg.org/multipage/webappapis.html; type: dfn; spec: html
     1.9 +    text: event handlers
    1.10 +    text: event handler event type
    1.11 +    text: event handler content attributes
    1.12 +    text: event handler IDL attributes
    1.13 +urlPrefix: https://html.spec.whatwg.org/multipage/infrastructure.html; type: dfn; spec: html
    1.14 +    text: HTML elements
    1.15 +    text: dispatch; url: concept-event-dispatch
    1.16 +url: https://html.spec.whatwg.org/#document; type: interface; text: Document; spec: html
    1.17  </pre>
    1.18  </dl>
    1.19  
    1.20 @@ -1263,6 +1271,33 @@
    1.21          </dd>
    1.22        </dl>
    1.23  
    1.24 +Event handlers on elements, <code>Document</code> objects, and <code>Window</code> objects {#event-handlers-on-elements-document-objects-and-window-objects}
    1.25 +---------------------------------------------------------------------------
    1.26 +
    1.27 +The <dfn>ontransitionend</dfn> <a>event handler</a> (corresponding to the <a
    1.28 +idl>transitionend</a> <a lt="event handler event type">event type</a>) must be
    1.29 +supported by all <a>HTML elements</a>, as both <a>event handler content
    1.30 +attributes</a> and <a>event handler IDL attributes</a>; and must be supported by
    1.31 +all {{Document}} and {{Window}} objects, as <a>event handler IDL attributes</a>.
    1.32 +
    1.33 +
    1.34 +DOM Interfaces {#interface-dom}
    1.35 +===============================
    1.36 +
    1.37 +This specification extends the {{GlobalEventHandlers}} interface from HTML to
    1.38 +add <a>event handler IDL attributes</a> for <a
    1.39 +href="#transition-events">transition events</a> as defined in [[#event-handlers-on-elements-document-objects-and-window-objects]].
    1.40 +
    1.41 +IDL Definition {#interface-globaleventhandlers-idl}
    1.42 +--------------
    1.43 +
    1.44 +<pre class="idl">
    1.45 +partial interface GlobalEventHandlers {
    1.46 +  attribute EventHandler ontransitionend;
    1.47 +};
    1.48 +</pre>
    1.49 +
    1.50 +
    1.51  <span id="animation-of-property-types-">Animation of property types</span> {#animatable-types}
    1.52  ==============================================================================================
    1.53  

mercurial