Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-browser-engine

Source of release 0.6.1

0.6.1 / tests / libweb / Ref / input / css-image-set-background-calc-resolution.html

<!doctype html>
<link rel="match" href="../expected/css-image-set-background-calc-resolution-ref.html" />
<style>
    html,
    body {
        margin: 0;
    }

    .box {
        width: 100px;
        height: 100px;
        background-image: image-set(
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1'%3E%3Crect width='1' height='1' fill='green'/%3E%3C/svg%3E") calc(1dppx * sign(10px)),
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1'%3E%3Crect width='1' height='1' fill='red'/%3E%3C/svg%3E") 2x
        );
        background-size: 100% 100%;
    }
</style>
<div class="box"></div>