<body style="overflow: hidden;">
<p>This page has a few tables within form elements within divs with various display styles.</p>
<p>See <a href="https://bugs.webkit.org/show_bug.cgi?id=4977">Bugzilla Bug 4977</a>.</p>
<div><div style="display:inline;"><form><table><tr><td>display: inline</td></tr></table></form></div></div>
<div><div style="display:block;"><form><table><tr><td>display: block</td></tr></table></form></div></div>
<div><div style="display:list-item;"><form><table><tr><td>display: list-item</td></tr></table></form></div></div>
<div><div style="display:compact;"><form><table><tr><td>display: compact</td></tr></table></form></div></div>
<div><div style="display:inline-block;"><form><table><tr><td>display: inline-block</td></tr></table></form></div></div>
<div><div style="display:table;"><form><table><tr><td>display: table</td></tr></table></form></div></div>
<div><div style="display:inline-table;"><form><table><tr><td>display: inline-table</td></tr></table></form></div></div>
<div><div style="display:table-row-group;"><form><table><tr><td>display: table-row-group</td></tr></table></form></div></div>
<div><div style="display:table-header-group;"><form><table><tr><td>display: table-header-group</td></tr></table></form></div></div>
<div><div style="display:table-footer-group;"><form><table><tr><td>display: table-footer-group</td></tr></table></form></div></div>
<div><div style="display:table-row;"><form><table><tr><td>display: table-row</td></tr></table></form></div></div>
<div><div style="display:table-column-group;"><form><table><tr><td>display: table-column-group</td></tr></table></form></div></div>
<div><div style="display:table-column;"><form><table><tr><td>display: table-column</td></tr></table></form></div></div>
<div><div style="display:table-cell;"><form><table><tr><td>display: table-cell</td></tr></table></form></div></div>
<div><div style="display:table-caption;"><form><table><tr><td>display: table-caption</td></tr></table></form></div></div>
</body>