summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/density-size-correction/image-set-002-cross-origin.sub.html
blob: de65b8cb1a73081a3bddad85082cc598ca28e22e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!doctype html>
<link rel="match" href="image-set-002-ref.html">
<style>
  body { margin: 0 }
  div {
    width: 100vw;
    height: 100vh;
    background-image: -webkit-image-set(url(http://{{hosts[alt][]}}:{{ports[http][0]}}/density-size-correction/resources/exif-resolution-valid-hires.jpg) 0.5x);
    background-image: image-set(url(http://{{hosts[alt][]}}:{{ports[http][0]}}/density-size-correction/resources/exif-resolution-valid-hires.jpg) 0.5x);
    background-repeat: no-repeat;
  }
</style>
<div></div>