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

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 UTC