layout/reftests/printing/745025-1.html
author Ryan VanderMeulen <ryanvm@gmail.com>
Wed, 09 Apr 2014 22:14:13 -0400
changeset 196342 279e3bc8979dfd32dd6f3eab83502d4a96f332e0
parent 196321 c817078789778d716d7ca363a4e3c1c6df170b68
child 196912 263f232855ad658b96452cb431db499ac2505fcb
permissions -rw-r--r--
Backed out changeset c81707878977 (bug 974197) for Gaia integration test failures on a CLOSED TREE.

<!DOCTYPE html>
<html class="reftest-wait reftest-print">
<head>
  <script type="text/javascript">
    window.onload = function() { 
      var canvas = document.getElementById('canvas');
      canvas.mozPrintCallback = function(obj) {
        var ctx = obj.context;
        ctx.fillStyle = 'rgb(255, 0, 0)';
        ctx.fillRect(0, 0, 10, 10);
        obj.done();
      };
      setTimeout(function() {
        document.documentElement.className = "reftest-print" 
      }, 0);
    };
  </script>
</head>
<body>
  <canvas id="canvas" width="10px" height="10px"></canvas>
</body>
</html>