зеркало из https://github.com/mozilla/pjs.git
82 строки
2.7 KiB
HTML
82 строки
2.7 KiB
HTML
<html>
|
|
<body>
|
|
<table border >
|
|
<caption>table test cases</caption>
|
|
<tr><th>Test case <th>description
|
|
<tr>
|
|
<td colspan="2"> <center>good syntax</center>
|
|
<tr>
|
|
<td>table01.html <td><table> <tr> <td>
|
|
<tr>
|
|
<td>table02.html <td><table> <tr> <td> <table> nested
|
|
<tr>
|
|
<td>table03.html <td><table border align=left>
|
|
<tr>
|
|
<td>table04.html <td><table> mixed with list.
|
|
|
|
<tr>
|
|
<td>table05 <td>The correct position for Caption is after table start tag.
|
|
|
|
|
|
<tr>
|
|
<td colspan="2"> <center>bad syntax</center>
|
|
<tr>
|
|
<td>*table05a <td>Caption before </table>. 4.0: Accepted, 6.0: ignored.
|
|
<tr>
|
|
<td>*table05b <td>Caption after tr. 4.0: Accepted, 6.0: ignored.
|
|
<tr>
|
|
<td>*table05c <td>Caption between table cell. 4.0: Accepted, 6.0: ignored.
|
|
<tr>
|
|
<td>*table05d <td>Caption inside cell. 4.0: terminates both td and tr. 6.0: Ignored.
|
|
<tr>
|
|
<td>table05e <td>Multiple caption outside cells. 4.0 takes first as Caption, others as text.
|
|
<tr>
|
|
<td>*table05f <td>Captions inside cells, 4.0 takes last one, terminate td tr, 6.0 Ignore misplaced tag.
|
|
<tr>
|
|
<td>table05g <td>Captions outside of table are treated as text.
|
|
<tr>
|
|
<td>table05h <td>tr terminates caption
|
|
<tr>
|
|
<td>table05i <td>tr terminates Caption, and close open(font) tags in caption.
|
|
<tr>
|
|
<td>table05j <td>TD does NOT terminate Caption. TD's contents are used in caption.
|
|
<tr>
|
|
<td>table05k <td>Table in caption works.
|
|
<tr>
|
|
<td>table05l <td>Table in caption, table empty. 4.0(bug): shows blank page.
|
|
<tr>
|
|
<td>table05m <td><table> alone is ignored.
|
|
<tr>
|
|
<td>table05n <td></table> terminates caption and table.
|
|
<tr>
|
|
<td>table05o <td>caption is not shown for empty table.<tr>
|
|
<td>table110.htm <td><tr> <td> missing <table>
|
|
<tr>
|
|
<td>table115.htm <td><table> text1 <tr> test2 <td> test3
|
|
<tr>
|
|
<td>table120.htm <td><table> </table> table totally empty .
|
|
<tr>
|
|
<td>table125.htm <td><table> text </table>, no tr, td
|
|
<tr>
|
|
<td>table130.htm <td><table> <td> , missing tr
|
|
<tr>
|
|
<td>table135.htm <td><table> <tr> <tr> <td> , empty tr.
|
|
<tr>
|
|
<td>table140.htm <td><table> <tr> text <tr> <td> , empty tr.
|
|
<tr>
|
|
<td>table150.htm <td><table> <tr> <td> <td> , empty td.
|
|
|
|
<tr>
|
|
<td>table201.html <td><table> <table>
|
|
<tr>
|
|
<td>table202.html <td><table> <tr> <table>
|
|
<tr>
|
|
<td>table203.html <td>Table nested 3 levels, T1 not in T2's td
|
|
<tr>
|
|
<td>*table204.htm <td>nested table missing end td. 4.0(bug) inner table need </td>
|
|
<tr>
|
|
<td>*table205.htm <td>table in table. 4.0: discard outer, 6.0: put into 1 table.
|
|
</table>
|
|
</body>
|
|
</html>
|