NEW207355
Web animations transition through PlayState::Finished when starting
https://bugs.webkit.org/show_bug.cgi?id=207355
Summary Web animations transition through PlayState::Finished when starting
Simon Fraser (smfr)
Reported 2020-02-06 14:33:42 PST
Created attachment 389998 [details] Hover the box Put a breakpoint on the line after: if (currentFinishedState && !m_finishedPromise->isFulfilled()) { in WebAnimation::updateFinishedState(). Hover the box in the attached test case. You hit the breakpoint when the animation starts. Weird.
Attachments
Hover the box (455 bytes, text/html)
2020-02-06 14:33 PST, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2020-02-06 14:35:18 PST
This is evaluating to true: if (animationCurrentTime && ((effectivePlaybackRate() > 0 && (*animationCurrentTime + timeEpsilon) >= effectEndTime()) || (effectivePlaybackRate() < 0 && (*animationCurrentTime - timeEpsilon) <= 0_s)))
Simon Fraser (smfr)
Comment 2 2020-02-06 14:36:19 PST
effectivePlaybackRate() is 1 effectEndTime() is 0 animationCurrentTime is 0
Antoine Quint
Comment 3 2023-05-10 12:01:43 PDT
This reproduces still with ToT. Not sure this is actually indicative of a bug, but it does seem odd.
Note You need to log in before you can comment on or make changes to this bug.