This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4025 - Fails to validate the following xhtml document containing tfoot
Summary: Fails to validate the following xhtml document containing tfoot
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: HEAD
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-28 13:23 UTC by Matthias Steiner
Modified: 2006-11-28 14:45 UTC (History)
0 users

See Also:


Attachments

Description Matthias Steiner 2006-11-28 13:23:36 UTC
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>
	<title>test</title>
</head>
<body>
	<table class="form">
	    <tbody>
	    	<tr>
		<td>test
		</td>
		</tr>
	    	
	    </tbody>
	    <tfoot>
	    	<tr>
	    		<td>
	    		test
	    		</td>
	    	</tr>	    	
	    </tfoot>             
	</table>
<p>This should be valid IMHO!</p>
</body>

</html>
Comment 1 Olivier Thereaux 2006-11-28 14:45:42 UTC
The sample given appears to be invalid.

[[
TFOOT must appear before TBODY within a TABLE definition so that user agents can render the foot before receiving all of the (potentially numerous) rows of data.
]] -- http://www.w3.org/TR/html4/struct/tables.html#h-11.2.3