layout/reftests/bugs/902330-1-ref.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 <html>
     2 <head>
     3 <style>
     4 canvas {
     5   position: absolute;
     6   top: 100px;
     7   left: 100px;
     8   width: 300px;
     9   height: 300px;
    10 }
    11 </style>
    12 </head>
    13 <body>
    14 <canvas id="c" height="300px" width="300px"></canvas>
    15 <script>
    16 var c = document.getElementById('c');
    17 var ctxt = c.getContext('2d');
    18 ctxt.fillStyle = 'rgb(0,255,0)';
    19 ctxt.fillRect(0, 0, 300, 300);
    20 ctxt.fillStyle = 'rgba(255,255,255,0.5)';
    21 ctxt.fillRect(100, 100, 100, 100);
    22 </script>
    23 </body>
    24 </html>

mercurial