layout/reftests/bugs/637852-3.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>
michael@0 3 <body>
michael@0 4 <div id="d" style="-moz-transform:scale(2); -moz-transform-origin:top left; border:10px solid black; height:100px; width:100px; overflow:hidden">
michael@0 5 <canvas width="100" height="100" id="c" style="display:block"></canvas>
michael@0 6 <div style="height:50px; background:blue;"></div>
michael@0 7 <div style="height:50px; background:orange;"></div>
michael@0 8 </div>
michael@0 9 <script>
michael@0 10 var c = document.getElementById("c");
michael@0 11 var ctx = c.getContext("2d");
michael@0 12 ctx.fillStyle = "yellow";
michael@0 13 ctx.fillRect(0, 0, c.width, c.height);
michael@0 14 var d = document.getElementById("d");
michael@0 15 d.scrollTop = 75;
michael@0 16 </script>
michael@0 17 </body>
michael@0 18 </html>
michael@0 19

mercurial