summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/as-image/image-orientation-viewbox-and-size.html
blob: e531d70cf3a832cc9aab91c4fda70fac323fd051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE>
<head>
  <style>
    body {
      border:  0px;
      margin:  0px;
      padding: 0px;
    }
  </style>
</head>
<body>
  <img src="image-orientation-viewbox-and-size.svg">
  <script>
    let fromImage = location.search == "from-image";
    if (fromImage) {
      document.querySelector("img").style.imageOrientation = "from-image";
    }
  </script>
</body>