ladybird/Tests/LibWeb/Ref/input/css-keyframe-invalid-transform-should-not-render.html
Psychpsyo 366f15b441 Tests: Make test less flaky
This increases the animation length on this test
as it has been failing for me locally.
2024-12-04 16:56:30 +00:00

22 lines
527 B
HTML

<!doctype html>
<link rel="match" href="../expected/css-keyframe-invalid-transform-should-not-render-ref.html" />
<style>
#foo {
width: 100px;
height: 100px;
background-color: blue;
animation: anim 100s;
}
@keyframes anim {
from {
transform: scale(0);
}
to {
transform: scale(0);
}
}
</style>
<div id="foo"></div>
<script>
document.getElementById("foo").getAnimations()[0].currentTime = 50_000; // 50 seconds
</script>