blob: 1974df95946eb3628f67505f0c2ca01b69a15adb [file] [log] [blame]
jchaffraix@webkit.org4f65d7c52012-04-18 23:07:51 +00001<!DOCTYPE html>
2<html>
3<head>
4<style>
5 table
6 {
7 border:solid black 1px;
8 }
9 td.fiftyPercent
10 {
11 width: 50%;
12 }
13</style>
14</head>
15<body>
16<p>Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=84260">84260</a>: REGRESSION(102040): Auto-table layout with percent width doesn't shrink-to-fit content a cell with colspan</p>
17<p>For this test to pass, the table below should fit its content.</p>
18<table>
19 <tr>
20 <td class="fiftyPercent"></td><td class="fiftyPercent"></td>
21 </tr>
22 <tr>
mmaxfield@apple.comf7dcd612015-02-28 00:28:12 +000023 <td colspan="2" style="font-family: Ahem;">Lorem</td>
jchaffraix@webkit.org4f65d7c52012-04-18 23:07:51 +000024 </tr>
25</table>
26</body>
27</html>