aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/event.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2020-04-23 17:06:24 +0200
committerMartin Robinson <mrobinson@igalia.com>2020-04-24 14:20:37 +0200
commitd386d6d1f1e1dba33b49e0b44d9216128f29da1c (patch)
treefe253bdd7d28cc06a606af1e6f9cc39332848652 /components/script/dom/event.rs
parent0540c4a284952145773e3c86d0f57f69a83283f1 (diff)
downloadservo-d386d6d1f1e1dba33b49e0b44d9216128f29da1c.tar.gz
servo-d386d6d1f1e1dba33b49e0b44d9216128f29da1c.zip
Add support for transitionrun events
These events are triggered as soon as a transition is added to the list of running transitions. This will allow better test coverage while reworking the transitions and animations processing model.
Diffstat (limited to 'components/script/dom/event.rs')
-rw-r--r--components/script/dom/event.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/event.rs b/components/script/dom/event.rs
index aba0179a59b..3a0e7490fc9 100644
--- a/components/script/dom/event.rs
+++ b/components/script/dom/event.rs
@@ -647,6 +647,7 @@ fn invoke(
atom!("animationiteration") => Some(atom!("webkitAnimationIteration")),
atom!("animationstart") => Some(atom!("webkitAnimationStart")),
atom!("transitionend") => Some(atom!("webkitTransitionEnd")),
+ atom!("transitionrun") => Some(atom!("webkitTransitionRun")),
_ => None,
} {
let original_type = event.type_();