Skip to content

Truly independent web browser

438 B
Raw Blame
<!DOCTYPE html>
<style>
    #target {
        object-position: 0% 20%;
    }
</style>
<div id="target"></div>
<script src="../include.js"></script>
<script>
    test(() => {
        const animation = target.animate({ objectPosition: ["0% 20%", "100% 60%"] }, 100);
        animation.pause();
        animation.currentTime = 50;

        internals.updateStyle();
        println(getComputedStyle(target).objectPosition);
    });
</script>