mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1109390 part 3 - Clear the start time when playing a player; r=jwatt
This brings us into line with the algorithm in: https://w3c.github.io/web-animations/#play-an-animation which makes the other patches in this series easier to compare with the specification.
This commit is contained in:
parent
c9a4d2f46f
commit
6f4f668531
@ -442,6 +442,9 @@ AnimationPlayer::DoPlay()
|
||||
// Clear ready promise. We'll create a new one lazily.
|
||||
mReady = nullptr;
|
||||
|
||||
// Clear the start time until we resolve a new one
|
||||
mStartTime.SetNull();
|
||||
|
||||
mIsPending = true;
|
||||
|
||||
nsIDocument* doc = GetRenderedDocument();
|
||||
|
Loading…
Reference in New Issue
Block a user