diff options
author | Martin Robinson <mrobinson@igalia.com> | 2020-05-18 20:32:27 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2020-05-21 15:19:34 +0200 |
commit | 873cdd13368d904e4723fec1d60ecc04d9dbe03d (patch) | |
tree | 5dd6ca295dcdd435dfef0ef98937a3411ec190c6 /components/script/dom/macros.rs | |
parent | f02aba1ed2bb38067cf4c32726e8612a48d40ca9 (diff) | |
download | servo-873cdd13368d904e4723fec1d60ecc04d9dbe03d.tar.gz servo-873cdd13368d904e4723fec1d60ecc04d9dbe03d.zip |
Implement animationiteration event
This event is triggered when an animation iterates. This change also
moves iteration out of style calculation to an "update animations" which
is the next part of having animation event handling match the HTML spec.
Diffstat (limited to 'components/script/dom/macros.rs')
-rw-r--r-- | components/script/dom/macros.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/macros.rs b/components/script/dom/macros.rs index 871e831dc82..5a32b36996b 100644 --- a/components/script/dom/macros.rs +++ b/components/script/dom/macros.rs @@ -443,6 +443,7 @@ macro_rules! global_event_handlers( (NoOnload) => ( event_handler!(abort, GetOnabort, SetOnabort); event_handler!(animationend, GetOnanimationend, SetOnanimationend); + event_handler!(animationiteration, GetOnanimationiteration, SetOnanimationiteration); event_handler!(cancel, GetOncancel, SetOncancel); event_handler!(canplay, GetOncanplay, SetOncanplay); event_handler!(canplaythrough, GetOncanplaythrough, SetOncanplaythrough); |