Skip to content

Truly independent web browser

284 B
Raw Blame
<!doctype html>
<style>
    #target {
        --x: if(style(--x > 1px): 1px; else: 2px);
        width: var(--x);
    }
</style>
<div id="target"></div>
<script src="../include.js"></script>
<script>
    test(() => {
        println(getComputedStyle(target).width);
    });
</script>