Bug 1264125 part 1 - Add transitioncancel event handler. r=masayuki

We moved 'transitioncancel' event to the CSS-Transition Level 1.
The definition of 'transitioncancel' is as follow:
https://drafts.csswg.org/css-transitions-1/#transitioncancle

MozReview-Commit-ID: 1rEH0KjBrlL

--HG--
extra : rebase_source : c1d6ba635dd23cafcd0352b35e6c6cc714bb3ac4
This commit is contained in:
Mantaroh Yoshinaga 2016-12-20 16:03:28 +09:00
parent fa49fdf95c
commit 62c0a16936
3 changed files with 6 additions and 0 deletions

View File

@ -937,6 +937,7 @@ GK_ATOM(ontouchstart, "ontouchstart")
GK_ATOM(ontouchend, "ontouchend")
GK_ATOM(ontouchmove, "ontouchmove")
GK_ATOM(ontouchcancel, "ontouchcancel")
GK_ATOM(ontransitioncancel, "ontransitioncancel")
GK_ATOM(ontransitionend, "ontransitionend")
GK_ATOM(ontransitionrun, "ontransitionrun")
GK_ATOM(ontransitionstart, "ontransitionstart")

View File

@ -980,6 +980,10 @@ EVENT(transitionend,
eTransitionEnd,
EventNameType_All,
eTransitionEventClass)
EVENT(transitioncancel,
eTransitionCancel,
EventNameType_All,
eTransitionEventClass)
EVENT(animationstart,
eAnimationStart,
EventNameType_All,

View File

@ -335,6 +335,7 @@ NS_EVENT_MESSAGE(eScrolledAreaChanged)
NS_EVENT_MESSAGE(eTransitionStart)
NS_EVENT_MESSAGE(eTransitionRun)
NS_EVENT_MESSAGE(eTransitionEnd)
NS_EVENT_MESSAGE(eTransitionCancel)
NS_EVENT_MESSAGE(eAnimationStart)
NS_EVENT_MESSAGE(eAnimationEnd)
NS_EVENT_MESSAGE(eAnimationIteration)