W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > February 2012

[Bug 16006] Is <table><tfoot><tr><td>Inner</td></tr></tfoot></table> valid HTML5 ?

From: <bugzilla@jessica.w3.org>
Date: Thu, 16 Feb 2012 20:11:40 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Ry7g4-0002aP-3g@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16006

Gérard Talbot <info@gtalbot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |info@gtalbot.org
            Summary|Is the following valid then |Is
                   |?                           |<table><tfoot><tr><td>Inner
                   |<table><tfoot><tr><td>Inner |</td></tr></tfoot></table>
                   |</td></tr></tfoot></table>  |valid HTML5 ?

--- Comment #1 from Gérard Talbot <info@gtalbot.org> 2012-02-16 20:11:39 UTC ---
In HTML 4, 

<table><tfoot><tr><td>Inner</td></tr></tfoot></table>

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
http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-table-element

So, it seems to me that the chunk of HTML code above is INVALID HTML5.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 16 February 2012 20:11:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 16 February 2012 20:11:45 GMT