tidy-html5/test/testbase/out_647900.html

40 lines
740 B
HTML
Raw Normal View History

2015-05-13 11:38:40 +00:00
<!DOCTYPE html>
<html>
<head>
<title>[ 647900 ] tables are incorrectly merged</title>
</head>
<body>
<table summary="Paragraph should follow table, not precede.">
<tr>
<td>Table data</td>
</tr>
</table>
<p>A paragraph</p>
<table summary="Same again.">
<tr>
<th>Foo</th>
</tr>
<tr>
<td>
<table summary="Nested">
<tr>
<td>Foo</td>
</tr>
</table>
</td>
</tr>
</table>
<p>Another paragraph</p>
<form action="foo.cgi">
<table summary="Bad form">
<tr>
<td>Input: <input type="text"
name="foo"></td>
<td></td>
</tr>
</table>
<p>Yet another paragraph</p>
</form>
</body>
</html>