layout/reftests/bugs/600045-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 <canvas width="100" height="100" id="c" style="background: #f00"></canvas>
     3 <script>
     4   window.onload = function () {
     5     var ctx = document.getElementById('c').getContext('2d');
     7     ctx.globalCompositeOperation = 'lighter';
     8     ctx.scale(5, 5);
     9     ctx.strokeStyle = '#0f0';
    10     ctx.lineWidth = 10;
    11     ctx.strokeRect(5, 5, 10, 10);
    12   }
    13 </script>

mercurial