aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2020-04-29 12:19:21 +0200
committerMartin Robinson <mrobinson@igalia.com>2020-05-01 15:29:57 +0200
commit3903c1fb98373ae08323c36e147f2f041d6f0280 (patch)
treea6f8a7ac23540c944ceefbf526a1fcf8def91968 /components/script_layout_interface
parent6fb75c2b9eb3825932a22b1c7a6d7ce03809fbb2 (diff)
downloadservo-3903c1fb98373ae08323c36e147f2f041d6f0280.tar.gz
servo-3903c1fb98373ae08323c36e147f2f041d6f0280.zip
Add support for animationend event
This is triggered when an animation finishes. This is a high priority because it allows us to start rooting nodes with animations in the script thread. This doesn't yet cause a lot of tests to pass because they rely on the existence of `Document.getAnimations()` and the presence of `animationstart` and animationiteration` events.
Diffstat (limited to 'components/script_layout_interface')
-rw-r--r--components/script_layout_interface/message.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_layout_interface/message.rs b/components/script_layout_interface/message.rs
index 63854134cac..fe117436b51 100644
--- a/components/script_layout_interface/message.rs
+++ b/components/script_layout_interface/message.rs
@@ -193,7 +193,7 @@ pub struct ReflowComplete {
/// The list of images that were encountered that are in progress.
pub pending_images: Vec<PendingImage>,
/// The list of nodes that initiated a CSS transition.
- pub newly_transitioning_nodes: Vec<UntrustedNodeAddress>,
+ pub newly_animating_nodes: Vec<UntrustedNodeAddress>,
}
/// Information needed for a script-initiated reflow.