[Bug 14409] New: dt element's content model is incorrectly reported

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14409

           Summary: dt element's content model is incorrectly reported
           Product: Validator
           Version: HEAD
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: major
          Priority: P2
         Component: HTML5
        AssignedTo: mike@w3.org
        ReportedBy: jrhodes@redpointsoftware.com.au
         QAContact: www-validator-cvs@w3.org


** Overview:

The HTML5 validator incorrectly thinks that the <dt> element's content model is
'phrasing content' even though the specification lists it as a 'flow content'

** 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:

"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."

** Expected results:

The HTML5 validator should not complain about <p> elements nested inside <dt>
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 <p> element inside <dt> should be valid
according to the specification.

-- 
Configure bugmail: http://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 Saturday, 8 October 2011 07:57:31 UTC