/* vim: set shiftwidth=2 tabstop=8 autoindent cindent expandtab: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsIDOMEvent.idl"

/**
 * Transition events are defined in:
 * http://www.w3.org/TR/css3-transitions/#transition-events-
 * http://dev.w3.org/csswg/css3-transitions/#transition-events-
 */

[scriptable, uuid(9ded6ca5-f5b2-4bf3-9250-e4f7808dc605)]
interface nsIDOMTransitionEvent : nsIDOMEvent {
  readonly attribute DOMString           propertyName;
  readonly attribute float               elapsedTime;
  void               initTransitionEvent(in DOMString typeArg, 
                                         in boolean canBubbleArg, 
                                         in boolean cancelableArg, 
                                         in DOMString propertyNameArg,
                                         in float elapsedTimeArg);
};
