summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/density-size-correction/density-corrected-size-pseudo-elements-cross-origin.sub.html
blob: d80f4a50dddc4006061aacdb39d42cfa400651dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<head>
    <title>Density corrected size: pseudo-elements (cross-origin)</title>
    <link rel="match" href="density-corrected-size-pseudo-elements-ref.html" />
    <meta name="assert" content="Assert that images with EXIF density-corrected-size are rendered correctly when in a pseudo element">
</head>
<body>
    <style>
        body {
            --lores: url(http://{{hosts[alt][]}}:{{ports[http][0]}}/density-size-correction/resources/exif-resolution-valid-lores.jpg);
            --default: url(http://{{hosts[alt][]}}:{{ports[http][0]}}/density-size-correction/resources/exif-resolution-none.jpg);
        }
        .lores-after::after {content: var(--lores); }
        .default-after::after {content: var(--default); }
    </style>
    <div class="lores-after box"></div>
    <div class="default-after box"></div>
</body>
</html>