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.

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

mercurial