layout/reftests/bugs/600045-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     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