From 328ad9a2f03105782779143d40155111b2d7d30f Mon Sep 17 00:00:00 2001 From: Matthew Olsson Date: Fri, 29 Mar 2024 18:40:37 +0000 Subject: [PATCH] LibWeb: Use InternalAnimationTimeline in existing tests --- .../animation-properties/currentTime.txt | 1 + .../animation-properties/currentTime.html | 13 ++++++------- .../animation-properties/finished.html | 11 +++++------ .../animation-properties/replaceState.html | 2 +- 4 files changed, 13 insertions(+), 14 deletions(-) diff --git a/Tests/LibWeb/Text/expected/WebAnimations/animation-properties/currentTime.txt b/Tests/LibWeb/Text/expected/WebAnimations/animation-properties/currentTime.txt index 860348e8918..02c997d6151 100644 --- a/Tests/LibWeb/Text/expected/WebAnimations/animation-properties/currentTime.txt +++ b/Tests/LibWeb/Text/expected/WebAnimations/animation-properties/currentTime.txt @@ -1,5 +1,6 @@ Animation with no timeline has null currentTime: true Animation that hasn't been played has null currentTime: true Played animation has a currentTime of 0: true +Animation time after 100ms is correct New animation has not started animating: true Animation with currentTime set to end is finished: true diff --git a/Tests/LibWeb/Text/input/WebAnimations/animation-properties/currentTime.html b/Tests/LibWeb/Text/input/WebAnimations/animation-properties/currentTime.html index 49d54982d98..811c84b46d0 100644 --- a/Tests/LibWeb/Text/input/WebAnimations/animation-properties/currentTime.html +++ b/Tests/LibWeb/Text/input/WebAnimations/animation-properties/currentTime.html @@ -2,7 +2,7 @@