Skip to content

Truly independent web browser

639 B
Raw Blame
<!DOCTYPE html>
<script src="../include.js"></script>
<style>
    div { width: 120px; min-height: 30px; background: lightblue; }
</style>
<div><div id="target">rotated</div></div>
<script>
    test(() => {
        internals.recordDisplayListForTesting(false, true);
        target.style.transform = "rotate(47deg)";
        internals.recordDisplayListForTesting(false);
        internals.recordDisplayListForTesting(false, true);
        target.style.transform = "rotate(-130deg)";
        internals.recordDisplayListForTesting(false);
        internals.recordDisplayListForTesting(false, true);
        println("PASS");
    });
</script>