layout/reftests/bugs/403249-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 <style>
     5 table { background: white }
     6 col { background: green }
     7 td { color: white }
     8 </style>
     9 </head>
    10 <body onload="runTest()">
    11  <table>
    12    <col id="x" span="3">
    13    <tr>
    14      <td>One</td>
    15      <td>Two</td>
    16      <td>Three</td>
    17    </tr>
    18  </table>
    20  <script>
    21    function runTest() {
    22      document.body.offsetWidth;
    23      document.getElementById("x").setAttribute("span", 2);
    24    }
    25  </script>
    26 </body>
    27 </html>

mercurial