Skip to content

Truly independent web browser

826 B
Raw Blame
<!DOCTYPE html>
<script src="../include.js"></script>
<style>
    div { width: 120px; min-height: 30px; background: lightblue; }
</style>
<div><div id="target">3D</div></div>
<script>
    test(() => {
        internals.recordDisplayListForTesting(false, true);
        target.style.transform = "perspective(200px) rotateY(70deg)";
        internals.recordDisplayListForTesting(false);
        internals.recordDisplayListForTesting(false, true);
        target.style.transform = "rotateX(30deg) translateZ(100px)";
        internals.recordDisplayListForTesting(false);
        internals.recordDisplayListForTesting(false, true);
        target.style.transform = "none";
        internals.recordDisplayListForTesting(false);
        internals.recordDisplayListForTesting(false, true);
        println("PASS");
    });
</script>