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 16006 - Is <table><tfoot><tr><td>Inner</td></tr></tfoot></table> valid HTML5 ?
Summary: Is <table><tfoot><tr><td>Inner</td></tr></tfoot></table> valid HTML5 ?
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
Depends on:
Reported: 2012-02-16 20:08 UTC by contributor
Modified: 2012-07-18 18:38 UTC (History)
2 users (show)

See Also:


Description contributor 2012-02-16 20:08:14 UTC

Is the following valid then ? 

Posted from:
User agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.1) Gecko/20100101 Firefox/10.0.1
Comment 1 Gérard Talbot 2012-02-16 20:11:39 UTC
In HTML 4, 


is invalid.

HTML5 spec content model for table element says

Content model:
    In this order: optionally a caption element, followed by zero or more colgroup elements, followed optionally by a thead element, followed optionally by a tfoot element, followed by either zero or more tbody elements or one or more tr elements, followed optionally by a tfoot element (but there can only be one tfoot element child in total).
4.9.1 The table element

So, it seems to me that the chunk of HTML code above is INVALID HTML5.
Comment 2 Gérard Talbot 2012-02-16 20:15:12 UTC
I need to know for sure that the chunk of HTML code provided is INVALID HTML5. Once I know that, then I will be able to file a bug report on the HTML validator and on and .

regards, Gérard
Comment 3 Simon Pieters 2012-02-17 05:28:50 UTC
It is valid. The content model says "either zero or more tbody elements or one or
more tr elements". That table has zero tbody elements.
Comment 4 Gérard Talbot 2012-02-17 18:09:14 UTC
Okay. Good enough.

Resolving as WORKSFORME then