1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:07:36 +00:00

LibWeb: Consider fill state before calling Animation::play()

Animation::play_state() does not consider the fill state, and thus will
not return "Playing" for a fill-forward animation in the after phase.
It is still valid for paused, as pausing is not affected by the fill
mode.
This commit is contained in:
Matthew Olsson 2024-03-05 19:04:14 -07:00 committed by Andreas Kling
parent 5dfe99e247
commit e6aef49ef3
3 changed files with 31 additions and 1 deletions

View file

@ -0,0 +1,9 @@
<!doctype html>
<style>
#foo {
width: 100px;
height: 100px;
background-color: blue;
}
</style>
<div id="foo"></div>