зеркало из https://github.com/mozilla/gecko-dev.git
Fixed HTML to be correct: CAPTION must be at start of table, and TFOOT must be
before any body section row groups
This commit is contained in:
Родитель
7b9dd5e03b
Коммит
23aa1956a5
|
@ -114,6 +114,8 @@ layout. This should be long enough.</TD>
|
|||
</TABLE><br>
|
||||
|
||||
<table cellpadding=2 style="border-collapse:collapse">
|
||||
<CAPTION ALIGN=BOTTOM>Table 4 has this bottom caption. The table has specified
|
||||
column widths and collapsing borders.</CAPTION>
|
||||
<colgroup>
|
||||
<col width=90 style="border-left: 2px solid black; border-right:2px dashed blue">
|
||||
<col width=80 style="border-right:1px solid red">
|
||||
|
@ -145,17 +147,17 @@ layout. This should be long enough.</TD>
|
|||
<td align=center>57-15</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<CAPTION ALIGN=BOTTOM>Table 4 has this bottom caption. The table has specified
|
||||
column widths and collapsing borders.</CAPTION>
|
||||
</TABLE>
|
||||
|
||||
<BR>
|
||||
<table>
|
||||
|
||||
<CAPTION ALIGN=BOTTOM>Table 5 has a scrolling tbody.</CAPTION>
|
||||
<thead>
|
||||
<tr><td colspan=2 style="font-size: 8pt; font-weight: bold">HEADER
|
||||
</thead>
|
||||
|
||||
<tfoot>
|
||||
<tr><td colspan=2 style="font-size: 8pt; font-weight: bold">FOOTER
|
||||
</tfoot>
|
||||
<tbody style="overflow: auto; height: 60px; border: 1px solid black;">
|
||||
<tr><td>cell-00<td>cell-01
|
||||
<tr><td>cell-10<td>cell-11
|
||||
|
@ -163,12 +165,6 @@ column widths and collapsing borders.</CAPTION>
|
|||
<tr><td>cell-30<td>cell-31
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
<tfoot>
|
||||
<tr><td colspan=2 style="font-size: 8pt; font-weight: bold">FOOTER
|
||||
</tfoot>
|
||||
|
||||
<CAPTION ALIGN=BOTTOM>Table 5 has a scrolling tbody.</CAPTION>
|
||||
</table>
|
||||
|
||||
<BR>
|
||||
|
|
Загрузка…
Ссылка в новой задаче