<!DOCTYPE html>
<html class="reftest-wait">
<style>
  iframe {
    width:  100%;
    height: 100%;
    border: 0px;
  }
</style>
<script>
  document.addEventListener('MozReftestInvalidate',
                            () => document.documentElement.removeAttribute('class'),
                            false);
</script>
<body>
  <iframe src="bug917595-unrotated.jpg" scrolling="no" marginwidth="0" marginheight="0"></iframe>
</body>
</html>