image/test/reftest/pngsuite-corrupted/wrapper.html
author John Schoenick <jschoenick@mozilla.com>
Fri, 31 May 2013 15:57:43 -0700
changeset 133830 0692ed4ff443fb0d8983f8b106e0357fac8525d4
parent 78876 0a5e72d1b479b9f015a407e33e9001e5ad0aa786
child 149983 8434bf06134c7284d28c365be764a13292d1be49
permissions -rw-r--r--
Bug 878363 - Disable -Wreserved-user-defined-literal for problematic gstreamer header. r=ted

<!DOCTYPE HTML>
<html class="reftest-wait">
<head>
<title>Image reftest wrapper</title>
<style type="text/css">
  #image1 { background-color: rgb(10, 100, 250); }
</style>
<script>
  // The image is loaded async after the page loads
  // wait for it to finish loading
  function onImageLoad() { 
    document.documentElement.removeAttribute("class");
  };
</script>
</head>
<body>
<img id="image1">
<script>
  // Use as "wrapper.html?image.png
  var imgURL = document.location.search.substr(1);
  document.images[0].onload = onImageLoad;
  document.images[0].onerror = onImageLoad;
  document.images[0].src = imgURL;
</script>
</body>
</html>