<?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>14409</bug_id>
          
          <creation_ts>2011-10-08 07:57:27 +0000</creation_ts>
          <short_desc>dt element&apos;s content model is incorrectly reported</short_desc>
          <delta_ts>2015-08-23 07: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 Checker</product>
          <component>General</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>http://bugzilla.validator.nu/show_bug.cgi?id=868</see_also>
    
    <see_also>http://www.w3.org/Bugs/Public/show_bug.cgi?id=13201</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jrhodes</reporter>
          <assigned_to name="Michael[tm] Smith">mike</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>57978</commentid>
    <comment_count>0</comment_count>
    <who name="">jrhodes</who>
    <bug_when>2011-10-08 07:57:27 +0000</bug_when>
    <thetext>** Overview:

The HTML5 validator incorrectly thinks that the &lt;dt&gt; element&apos;s content model is &apos;phrasing content&apos; even though the specification lists it as a &apos;flow content&apos;

** Steps to reproduce:

1) Validate http://www.indieup.net/ against the HTML5 validator (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.indieup.net%2F).

** Actual results:

The HTML5 validator states:

&quot;XHTML element p not allowed as child of XHTML element dt in this context.

Contexts in which element p may be used:
Where flow content is expected.
Content model for element dt:
Phrasing content.&quot;

** Expected results:

The HTML5 validator should not complain about &lt;p&gt; elements nested inside &lt;dt&gt; as the content model per specification permits it.

** Additional information:

When checking the content model for the dt element at http://www.whatwg.org/specs/web-apps/current-work/#the-dt-element, it clearly states that the content model is flow content, and does not forbid flow content descendants.  Hence, the inclusion of a &lt;p&gt; element inside &lt;dt&gt; should be valid according to the specification.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58744</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-10-24 12:05:05 +0000</bug_when>
    <thetext>That change was made to the HTML spec just a few days ago.

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13201
http://html5.org/r/6618

I&apos;ve filed a bug for this in the validator.nu bug tracker and will try to have a fix for this checked in to the validator.nu sources within the next few days. Feel free to add yourself to the Cc field there:

  http://bugzilla.validator.nu/show_bug.cgi?id=868

After I get the fix made, I&apos;ll push it out to the HTML5 backend for the W3C validator.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>