Index: core/events/TransitionEvent.idl |
diff --git a/core/events/TransitionEvent.idl b/core/events/TransitionEvent.idl |
index 94ee353b28560d233fbf9cc0543582507688ec1a..2cf948001c2560a37dac6803dd567c236ccccce1 100644 |
--- a/core/events/TransitionEvent.idl |
+++ b/core/events/TransitionEvent.idl |
@@ -24,11 +24,13 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// http://dev.w3.org/csswg/css-transitions/#transition-events |
+ |
[ |
- EventConstructor, |
+ Constructor(DOMString type, optional TransitionEventInit eventInitDict), |
] interface TransitionEvent : Event { |
- [InitializedByEventConstructor] readonly attribute DOMString propertyName; |
- [InitializedByEventConstructor] readonly attribute double elapsedTime; |
- [InitializedByEventConstructor] readonly attribute DOMString pseudoElement; |
+ readonly attribute DOMString propertyName; |
+ // TODO(philipj): elapsedTime should be float. |
+ readonly attribute double elapsedTime; |
+ readonly attribute DOMString pseudoElement; |
}; |
- |