layout/reftests/bugs/804323-1.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4 <style>
     5 body { margin:0; padding:0; overflow:hidden; }
     6 #new {
     7   position: absolute;
     8   left: 100px;
     9   top: 100px;
    10   width: 100px;
    11   height: 100px;
    12   background: yellow;
    13 }
    14 </style>
    15 </head>
    16 <body>
    17 <div id="new" style="display:none"></div>
    18 <script>
    19 document.body.getBoundingClientRect().height;
    20 document.body.style.transform = "translateX(100px)";
    21 document.body.getBoundingClientRect().width;
    22 document.getElementById("new").style.display = "";
    23 </script>
    24 </body>
    25 </html>

mercurial