layout/reftests/bugs/608636-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 <!DOCTYPE HTML>
michael@0 2 <html style="background:white">
michael@0 3 <body>
michael@0 4 <canvas id="b" style="position:absolute; left:0; top:0" width="20" height="20"></canvas>
michael@0 5 <div style="position:absolute; left:0; top:0; -moz-transform:rotate(45deg); height:400px; width:400px; opacity:0.5; border:1px solid black;"></div>
michael@0 6 <div style="position:absolute; left:-3px; top:-3px; -moz-transform:rotate(45deg); height:390px; width:390px; border:10px solid red;"></div>
michael@0 7 <script>
michael@0 8 function fillCanvas(id) {
michael@0 9 var ctx = document.getElementById(id).getContext("2d");
michael@0 10 ctx.fillStyle = "black";
michael@0 11 ctx.fillRect(0, 0, 10, 10);
michael@0 12 }
michael@0 13 fillCanvas("b");
michael@0 14 </script>
michael@0 15 </body>
michael@0 16 </html>

mercurial