Skip to content

Truly independent web browser

646 B
Raw Blame
<!DOCTYPE html>
<script src="../include.js"></script>
<style>
    div { width: 120px; min-height: 30px; background: lightblue; }
</style>
<div><span id="target">shadowed text</span></div>
<script>
    test(() => {
        internals.recordDisplayListForTesting(false, true);
        target.style.textShadow = "-90px 70px 24px black";
        internals.recordDisplayListForTesting(false);
        internals.recordDisplayListForTesting(false, true);
        target.style.textShadow = "none";
        internals.recordDisplayListForTesting(false);
        internals.recordDisplayListForTesting(false, true);
        println("PASS");
    });
</script>