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.

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

mercurial