layout/reftests/bugs/490182-1b.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 <head>
     4 <script type="text/javascript">
     5 function boom()
     6 {
     7   var col1 = document.createElement("col");
     8   col1.setAttribute("width", "100");
     9   var next = document.getElementById("col2");
    11   next.parentNode.insertBefore(col1, next);
    12   reflow();
    13   col1.removeAttribute("width");
    14 }
    16 function reflow() { document.documentElement.offsetHeight; }
    18 </script>
    19 </head>
    20 <body onload="boom();">
    21 <table border="2" id="table">
    22 <col width=200 id="col2">
    23 <tr>
    24 <td>100?</td><td>200</td>
    25 </tr>
    26 </table>
    27 </BODY>
    28 </HTML>

mercurial