layout/reftests/printing/745025-1.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!DOCTYPE html>
     2 <html class="reftest-wait reftest-print">
     3 <body>
     4 <canvas id="canvas" width="10" height="10"></canvas>
     5 <script>
     6 var canvas = document.getElementById('canvas');
     7 canvas.mozPrintCallback = function(obj) {
     8   setTimeout(function() {
     9     var ctx = obj.context;
    10     ctx.fillStyle = 'rgb(255, 0, 0)';
    11     ctx.fillRect(0, 0, 10, 10);
    12     obj.done();
    13     document.documentElement.classList.toggle("reftest-wait");
    14   }, 0);
    15 };
    16 </script>
    17 </body>
    18 </html>

mercurial