From 01e23a7ef111e72e70ec13ac6ab40b611b2eca3c Mon Sep 17 00:00:00 2001 From: Brian Birtles Date: Wed, 27 Jul 2016 15:57:35 +0900 Subject: [PATCH 1/2] [css-transitions] Add ontransitionend global event handler --- css-transitions/Overview.bs | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/css-transitions/Overview.bs b/css-transitions/Overview.bs index 3549f235eb6..346609e4289 100644 --- a/css-transitions/Overview.bs +++ b/css-transitions/Overview.bs @@ -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 @@ -1263,6 +1271,33 @@ Completion of transitions {#complete} +Event handlers on elements, Document objects, and Window objects {#event-handlers-on-elements-document-objects-and-window-objects} +--------------------------------------------------------------------------- + +The ontransitionend event handler (corresponding to the transitionend event type) must be +supported by all HTML elements, as both event handler content +attributes and event handler IDL attributes; and must be supported by +all {{Document}} and {{Window}} objects, as event handler IDL attributes. + + +DOM Interfaces {#interface-dom} +=============================== + +This specification extends the {{GlobalEventHandlers}} interface from HTML to +add event handler IDL attributes for transition events as defined in [[#event-handlers-on-elements-document-objects-and-window-objects]]. + +IDL Definition {#interface-globaleventhandlers-idl} +-------------- + +
+partial interface GlobalEventHandlers {
+  attribute EventHandler ontransitionend;
+};
+
+ + Animation of property types {#animatable-types} ============================================================================================== From 1c6991f0a73bbeebb3e7ef9c3de9f558f3cfd8bf Mon Sep 17 00:00:00 2001 From: Brian Birtles Date: Wed, 27 Jul 2016 16:50:36 +0900 Subject: [PATCH 2/2] [css-transitions] Update event handler event type reference --- css-transitions/Overview.bs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css-transitions/Overview.bs b/css-transitions/Overview.bs index 346609e4289..a1193c5656b 100644 --- a/css-transitions/Overview.bs +++ b/css-transitions/Overview.bs @@ -1275,10 +1275,10 @@ Event handlers on elements, Document objects, and Windowontransitionend event handler (corresponding to the transitionend event type) must be -supported by all HTML elements, as both event handler content -attributes and event handler IDL attributes; and must be supported by -all {{Document}} and {{Window}} objects, as event handler IDL attributes. +idl>transitionend event handler event type) must be supported by all +HTML elements, as both event handler content attributes and +event handler IDL attributes; and must be supported by all {{Document}} +and {{Window}} objects, as event handler IDL attributes. DOM Interfaces {#interface-dom}