Skip to content

Truly independent web browser

647 B
Raw Blame
<!DOCTYPE html>
<script src="../include.js"></script>
<style>
    div { width: 120px; min-height: 30px; background: lightblue; }
</style>
<div id="target">outline</div>
<script>
    test(() => {
        internals.recordDisplayListForTesting(false, true);
        target.style.cssText = "outline: 18px dashed blue; outline-offset: 45px";
        internals.recordDisplayListForTesting(false);
        internals.recordDisplayListForTesting(false, true);
        target.style.outline = "none";
        internals.recordDisplayListForTesting(false);
        internals.recordDisplayListForTesting(false, true);
        println("PASS");
    });
</script>