mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
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:
parent
fa49fdf95c
commit
62c0a16936
@ -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")
|
||||
|
@ -980,6 +980,10 @@ EVENT(transitionend,
|
||||
eTransitionEnd,
|
||||
EventNameType_All,
|
||||
eTransitionEventClass)
|
||||
EVENT(transitioncancel,
|
||||
eTransitionCancel,
|
||||
EventNameType_All,
|
||||
eTransitionEventClass)
|
||||
EVENT(animationstart,
|
||||
eAnimationStart,
|
||||
EventNameType_All,
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user