layout/reftests/bugs/201215-1.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 PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
     2 <html>
     3 <head>
     4   <title>Bug 201215</title>
     5 </head>
     6 <body>
     7 <table><tr><td>
     8   <div style="background: #DDDDDD; float: right">text text text text text text <span id="insertHere"></span></div>
     9 </td></tr></table>
    10 <script type="text/javascript">
    11   function loadImage() {
    12     document.body.offsetWidth
    13     var img = document.createElement("img");
    14     img.src = "solidblue.png";
    15     img.alt = "";
    16     target = document.getElementById("insertHere");
    17     target.appendChild(img);
    18   }
    19   loadImage();
    20 </script>
    21 </body>
    22 </html>

mercurial