Skip to content

Truly independent web browser

403 B
Raw Blame
<!DOCTYPE html>
<style>
    #foo {
        cursor: url(foo.png) calc(1 * sign(1em - 1px)) calc(2 * sign(1em - 1px)), pointer;
    }
</style>
<div id="foo"></div>
<script src="../include.js"></script>
<script>
    test(() => {
        const absoluteURL = new URL("foo.png", document.baseURI).href;
        println(getComputedStyle(foo).cursor === `url("${absoluteURL}") 1 2, pointer`);
    });
</script>