RetroZilla/parser/htmlparser/tests/html/tableall.html
2015-10-20 23:03:22 -04:00

82 lines
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>&lt;table&gt; &lt;tr&gt; &lt;td&gt;
<tr>
<td>table02.html <td>&lt;table&gt; &lt;tr&gt; &lt;td&gt; &lt;table&gt; nested
<tr>
<td>table03.html <td>&lt;table border align=left&gt;
<tr>
<td>table04.html <td>&lt;table&gt; 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 &lt;/table&gt;. 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>&lt;table&gt alone is ignored.
<tr>
<td>table05n <td>&lt;/table&gt terminates caption and table.
<tr>
<td>table05o <td>caption is not shown for empty table.<tr>
<td>table110.htm <td>&lt;tr&gt; &lt;td&gt; missing &lt;table&gt;
<tr>
<td>table115.htm <td>&lt;table&gt; text1 &lt;tr&gt; test2 &lt;td&gt; test3
<tr>
<td>table120.htm <td>&lt;table&gt; &lt;/table&gt; table totally empty .
<tr>
<td>table125.htm <td>&lt;table&gt; text &lt;/table&gt;, no tr, td
<tr>
<td>table130.htm <td>&lt;table&gt; &lt;td&gt; , missing tr
<tr>
<td>table135.htm <td>&lt;table&gt; &lt;tr&gt; &lt;tr&gt; &lt;td&gt; , empty tr.
<tr>
<td>table140.htm <td>&lt;table&gt; &lt;tr&gt; text &lt;tr&gt; &lt;td&gt; , empty tr.
<tr>
<td>table150.htm <td>&lt;table&gt; &lt;tr&gt; &lt;td&gt; &lt;td&gt; , empty td.
<tr>
<td>table201.html <td>&lt;table&gt; &lt;table&gt;
<tr>
<td>table202.html <td>&lt;table&gt; &lt;tr&gt; &lt;table&gt;
<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 &lt;/td&gt
<tr>
<td>*table205.htm <td>table in table. 4.0: discard outer, 6.0: put into 1 table.
</table>
</body>
</html>