mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-15 15:42:52 +00:00
21 lines
454 B
HTML
21 lines
454 B
HTML
<!-- https://github.com/SerenityOS/serenity/issues/23633 -->
|
|
<style>
|
|
div {
|
|
--some-var: -100px;
|
|
animation: anim 1s infinite;
|
|
}
|
|
|
|
@keyframes anim {
|
|
to {
|
|
transform: translateX(calc(var(--some-var) * -1));
|
|
}
|
|
}
|
|
</style>
|
|
<div></div>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
promiseTest(async () => {
|
|
await animationFrame();
|
|
println("PASS! (Didn't crash)");
|
|
});
|
|
</script>
|