<!DOCTYPE html>
<html>
<head>
<style>
    table
    {
        border:solid black 1px;
    }
</style> 
</head>
<body>
<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>
<p>For this test to pass, the table below should fit its content.</p>
<table>
    <tr>
        <td></td><td></td>
    </tr>
    <tr>
        <td colspan="2" style="font-family: Ahem;">Lorem</td>
    </tr>
</table>
</body>
</html>
