summaryrefslogtreecommitdiffstats
path: root/layout/reftests/image/image-orientation-dynamic.html
blob: a636b98f43e114a245979927ba6126100cfe6b4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html class="reftest-wait">
  <style>
    body {
      border:  0px;
      margin:  0px;
      padding: 0px;
    }
  </style>
  <img src="image-exif-180-deg.jpg">
  <script>
    document.addEventListener("MozReftestInvalidate", function() {
      document.querySelector("img").style.imageOrientation = "from-image";
      document.documentElement.className = "";
    });
  </script>
</html>