<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>16006</bug_id>
          
          <creation_ts>2012-02-16 20:08:14 +0000</creation_ts>
          <short_desc>Is   &lt;table&gt;&lt;tfoot&gt;&lt;tr&gt;&lt;td&gt;Inner&lt;/td&gt;&lt;/tr&gt;&lt;/tfoot&gt;&lt;/table&gt;  valid HTML5 ?</short_desc>
          <delta_ts>2012-07-18 18:38:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-table-element</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>info</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64185</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-02-16 20:08:14 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html
Multipage: http://www.whatwg.org/C#the-table-element
Complete: http://www.whatwg.org/c#the-table-element

Comment:
Is the following valid then ? 
&lt;table&gt;&lt;tfoot&gt;&lt;tr&gt;&lt;td&gt;Inner&lt;/td&gt;&lt;/tr&gt;&lt;/tfoot&gt;&lt;/table&gt;

Posted from: 173.177.34.29
User agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.1) Gecko/20100101 Firefox/10.0.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64186</commentid>
    <comment_count>1</comment_count>
    <who name="Gérard Talbot">info</who>
    <bug_when>2012-02-16 20:11:39 +0000</bug_when>
    <thetext>In HTML 4, 

&lt;table&gt;&lt;tfoot&gt;&lt;tr&gt;&lt;td&gt;Inner&lt;/td&gt;&lt;/tr&gt;&lt;/tfoot&gt;&lt;/table&gt;

is invalid.

HTML5 spec content model for table element says

&quot;
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).
&quot;
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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64187</commentid>
    <comment_count>2</comment_count>
    <who name="Gérard Talbot">info</who>
    <bug_when>2012-02-16 20:15:12 +0000</bug_when>
    <thetext>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 http://validator.nu/ and http://html5.validator.nu/ .

regards, Gérard</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64218</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-02-17 05:28:50 +0000</bug_when>
    <thetext>It is valid. The content model says &quot;either zero or more tbody elements or one or
more tr elements&quot;. That table has zero tbody elements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64248</commentid>
    <comment_count>4</comment_count>
    <who name="Gérard Talbot">info</who>
    <bug_when>2012-02-17 18:09:14 +0000</bug_when>
    <thetext>Okay. Good enough.

Resolving as WORKSFORME then</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>