<?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>9683</bug_id>
          
          <creation_ts>2010-05-07 19:34:56 +0000</creation_ts>
          <short_desc>tbody element in Polyglot documents</short_desc>
          <delta_ts>2010-10-05 13:07:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML/XHTML Compat. Authoring Guide (ed: Eliot Graff)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html#empty-elements</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eliot Graff">eliotgra</reporter>
          <assigned_to name="Eliot Graff">eliotgra</assigned_to>
          <cc>eliotgra</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35515</commentid>
    <comment_count>0</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2010-05-07 19:34:56 +0000</bug_when>
    <thetext>Issue: Should the spec treat tables without explicit tbody&apos;s as non-conforming, or treat style rules that produce different results based on the existence of tbody elements to be non-conforming?


Current spec language: 
For a polyglot document, a table must  explicitly have a tbody element surrounding groups of tr  elements. HTML pasrsers insert the tbody element, but XML parsers do not, thus creating different DOMs.
Correct:
&lt;table&gt;
  &lt;tbody&gt;
    &lt;tr&gt;...

Incorrect:
&lt;table&gt;
  &lt;tr&gt;...


Notes:
Issue raised in mail sent by Sam Ruby[1]:
There are two ways to address this: treat tables without explicit tbody&apos;s as non-conforming, or treat style rules that produce different results based on the existence of tbody elements to be non-conforming.  As luck would have it, I had an opportunity to observe this exact discussion. DanC and PLH preferred it when tbody elements were included, TimBL preferred to not include tbody elements when they were not necessary.  I didn&apos;t express an opinion in that venue, but I will say that while I don&apos;t currently routinely use tbody elements, I do think it would be better approach if this document were to suggest that they were required.


[1] http://lists.w3.org/Archives/Public/public-html/2010Apr/0036.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37661</commentid>
    <comment_count>1</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2010-08-19 21:19:08 +0000</bug_when>
    <thetext>No discussion ensued that warranted any action.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>