Skip to content

Truly independent web browser

527 B
Raw Blame
<!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>