<?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>23001</bug_id>
          
          <creation_ts>2013-08-18 20:37:44 +0000</creation_ts>
          <short_desc>Rules for omitting &lt;/thead&gt; etc don&apos;t match the parser</short_desc>
          <delta_ts>2013-10-30 23:33:20 +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>DUPLICATE</resolution>
          <dup_id>22999</dup_id>
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#optional-tags</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>ian</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>92243</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-08-18 20:37:44 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html
Multipage: http://www.whatwg.org/C#optional-tags
Complete: http://www.whatwg.org/c#optional-tags
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
Rules for omitting &lt;/thead&gt; etc don&apos;t match the parser

Posted from: 90.230.218.37
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.49 Safari/537.36 OPR/16.0.1196.45 (Edition Next)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92244</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-08-18 20:39:32 +0000</bug_when>
    <thetext>[[
A thead element&apos;s end tag may be omitted if the thead element is immediately followed by a tbody or tfoot element.

A tbody element&apos;s start tag may be omitted if the first thing inside the tbody element is a tr element, and if the element is not immediately preceded by a tbody, thead, or tfoot element whose end tag has been omitted. (It can&apos;t be omitted if the element is empty.)

A tbody element&apos;s end tag may be omitted if the tbody element is immediately followed by a tbody or tfoot element, or if there is no more content in the parent element.

A tfoot element&apos;s end tag may be omitted if the tfoot element is immediately followed by a tbody element, or if there is no more content in the parent element.
]]

Should probably list all of thead, tbody and tfoot</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92363</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-08-20 17:54:09 +0000</bug_when>
    <thetext>Yeah, this is similar to the other bug. The syntax section was trying to only mention conforming elements.

Maybe we should leave it like that and instead change the other bug to just remove &lt;dir&gt;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92371</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-08-20 18:24:55 +0000</bug_when>
    <thetext>I prefer including the obsolete elements since it avoids bugs in serializers (e.g. not mentioning &lt;bgsound&gt; as first child of &lt;body&gt; means the serializer would omit &lt;body&gt; and the &lt;bgsound&gt; would be hoisted to head when parsing)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92474</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-08-22 20:24:55 +0000</bug_when>
    <thetext>See also bug 22999 and bug 23000.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95591</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-10-30 23:33:20 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 22999 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>