From 83d3defc11e2bcdb7f96b4373d8e0b664aa5491c Mon Sep 17 00:00:00 2001 From: Matthew Olsson Date: Thu, 28 Mar 2024 14:47:55 +0000 Subject: [PATCH] LibWeb: Add a test for Animation.updatePlaybackRate() --- .../animation-methods/updatePlaybackRate.txt | 4 ++ .../animation-methods/updatePlaybackRate.html | 49 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 Tests/LibWeb/Text/expected/WebAnimations/animation-methods/updatePlaybackRate.txt create mode 100644 Tests/LibWeb/Text/input/WebAnimations/animation-methods/updatePlaybackRate.html diff --git a/Tests/LibWeb/Text/expected/WebAnimations/animation-methods/updatePlaybackRate.txt b/Tests/LibWeb/Text/expected/WebAnimations/animation-methods/updatePlaybackRate.txt new file mode 100644 index 00000000000..af23e435270 --- /dev/null +++ b/Tests/LibWeb/Text/expected/WebAnimations/animation-methods/updatePlaybackRate.txt @@ -0,0 +1,4 @@ + updatePlaybackRate() updates an idle animation's playback rate immediately +updatePlaybackRate() updates a running animation's playback rate after an animation frame +updatePlaybackRate() updates a paused animation's playback rate after an animation frame +updatePlaybackRate() updates a finished animation's playback rate after an animation frame diff --git a/Tests/LibWeb/Text/input/WebAnimations/animation-methods/updatePlaybackRate.html b/Tests/LibWeb/Text/input/WebAnimations/animation-methods/updatePlaybackRate.html new file mode 100644 index 00000000000..9c68f33bb1d --- /dev/null +++ b/Tests/LibWeb/Text/input/WebAnimations/animation-methods/updatePlaybackRate.html @@ -0,0 +1,49 @@ + +
+ +