<!-- 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>
