Newer
Older
minerva / Tests / LibWeb / Ref / invalidate-css-transform-property.html
@minerva minerva on 13 Jul 395 bytes Initial commit
<!DOCTYPE html>
<link rel="match" href="reference/invalidate-css-transform-property-ref.html" />
<style>
    #box {
        width: 100px;
        height: 100px;
        background-color: red;
    }
</style>
<div id="box"></div>
<script>
    window.onload = function () {
        const box = document.getElementById("box");
        box.style.transform = "translate(50px, 50px)";
    };
</script>