diff options
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index 7eb60241f5d..3db883b6536 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -283,8 +283,10 @@ pub enum UpdatePipelineIdReason { } /// The type of transition event to trigger. -#[derive(Clone, Copy, Debug, Deserialize, Serialize)] +#[derive(Clone, Debug, Deserialize, Serialize)] pub enum TransitionEventType { + /// The transition has started running. + TransitionRun, /// The transition has ended by reaching the end of its animation. TransitionEnd, /// The transition ended early for some reason, such as the property |