gecko/layout/html/tests/table/core/captions.html

59 lines
1.4 KiB
HTML

<table width=100% height=100% border stylex="border:10px solid black;padding:10px">
<caption>
<nobr>caption is considered part of % width, not so in Nav4.6,
caption is not considered part of %height
</nobr>
</caption>
<tr><td style="padding:10px;">FOO</td></tr>
</table>
<BR>
<table border>
<caption align=top>top center</caption>
<tr>
<td>FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO</td>
</tr>
</table>
<br>
<table border>
<caption align=top style="text-align:right">top right</caption>
<tr>
<td>FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO</td>
</tr>
</table>
<br>
<table border>
<caption align=bottom>bottom center</caption>
<tr>
<td>FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO</td>
</tr>
</table>
<br>
<table border>
<caption align=bottom style="text-align:left">bottom left</caption>
<tr>
<td>FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO</td>
</tr>
</table>
<br>
<table border>
<caption style="caption-side:top">top center</caption>
<tr>
<td>FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO</td>
</tr>
</table>
<br>
<table border>
<caption style="caption-side:bottom">bottom center</caption>
<tr>
<td>FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO</td>
</tr>
</table>
<br>
<table border>
<caption style="vertical-align:bottom">top center</caption>
<tr>
<td>FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO FOO</td>
</tr>
</table>
<br>