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.

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

mercurial