1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:38:11 +00:00

LibWeb: Record position of Animations in global animation list

"position of an Animation in the global animation list" is a fancy way
of saying "which animation object was created first"
This commit is contained in:
Matthew Olsson 2024-02-19 13:53:01 +00:00 committed by Andreas Kling
parent c3b689488e
commit ceb9d0f8dc
3 changed files with 13 additions and 0 deletions

View file

@ -62,6 +62,12 @@ Animations::AnimationClass CSSAnimation::animation_class() const
CSSAnimation::CSSAnimation(JS::Realm& realm)
: Animations::Animation(realm)
{
// FIXME:
// CSS Animations generated using the markup defined in this specification are not added to the global animation
// list when they are created. Instead, these animations are appended to the global animation list at the first
// moment when they transition out of the idle play state after being disassociated from their owning element. CSS
// Animations that have been disassociated from their owning element but are still idle do not have a defined
// composite order.
}
void CSSAnimation::initialize(JS::Realm& realm)