layout/reftests/bugs/608636-1-ref.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

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