Skip to content

Truly independent web browser

Tests/LibWeb: Drain stale animation wake-ups between test sections

Jelle Raaijmakers71025c6d0e65
diff --git a/Tests/LibWeb/Text/input/css/compositor-competing-replace-effects.html b/Tests/LibWeb/Text/input/css/compositor-competing-replace-effects.html
index a85e795c035..8339795920d 100644
--- a/Tests/LibWeb/Text/input/css/compositor-competing-replace-effects.html
+++ b/Tests/LibWeb/Text/input/css/compositor-competing-replace-effects.html
@@ -64,6 +64,7 @@
target.className = "";
target.removeAttribute("style");
await nextFrames(2);
+ internals.fireCompositorAnimationWakeupForTesting(document.timeline.currentTime);
};
target.className = "azure-pair";