layout/reftests/bugs/105030-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.

michael@0 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <title>Bug 105030</title>
michael@0 5 </head>
michael@0 6 <body>
michael@0 7 <table style="border: solid 1px">
michael@0 8 <tr><td>
michael@0 9 <table align="left">
michael@0 10 <tr><td id="cell">Inner Table </td></tr>
michael@0 11 </table>
michael@0 12 </td></tr>
michael@0 13 </table>
michael@0 14 <script type="text/javascript">
michael@0 15 function loadImage() {
michael@0 16 document.body.offsetWidth
michael@0 17 var img = document.createElement("img");
michael@0 18 img.src = "solidblue.png";
michael@0 19 img.alt = "";
michael@0 20 targetCell = document.getElementById("cell");
michael@0 21 targetCell.appendChild(img);
michael@0 22 }
michael@0 23 loadImage();
michael@0 24 </script>
michael@0 25 </body>
michael@0 26 </html>

mercurial