layout/reftests/bugs/404301-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>
     2 <html>
     3 <head>
     4 <style>
     5 table { background: white }
     6 col[span] { background: green }
     7 td { color: white }
     8 </style>
     9 </head>
    10 <body onload="runTest()">
    11  <table>
    12    <colgroup id="x">
    13      <col span="2"></col>
    14      <col id="y"></col>
    15    </colgroup>
    16    <tr>
    17      <td>One</td>
    18      <td>Two</td>
    19      <td>Three</td>
    20      <td>Four</td>
    21    </tr>
    22  </table>
    24  <script>
    25    function runTest() {
    26      document.body.offsetWidth;
    27      document.getElementById("x").insertBefore(document.createElement("col"),
    28                                                document.getElementById("y"));
    29    }
    30  </script>
    31 </body>
    32 </html>

mercurial