[Bug 9358] New: Explanation of content model requirements could be improved

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

           Summary: Explanation of content model requirements could be
                    improved
           Product: HTML WG
           Version: unspecified
          Platform: PC
               URL: http://dev.w3.org/html5/spec/Overview.html#conformance-
                    requirements-for-authors
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: mjs@apple.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


Section 1.9 Conformance requirements for authors explains the reason for many
conformance requirements.

Here are a few content model errors found on real sites that I am not sure are
adequately explained:

* <div> as a child of <h2> or <h3> (in general the fact that headers allow only
phrasing content, not flow content)
* <div> as a child of <span> - this seems fairly common, perhaps because it was
allowed by HTML4; since <div> has no semantics, it's not obviously a semantic
error
* Nested interactive elements (<a> inside <a>, <button> inside <a>, etc)
* <form> in <span>
* <dl> and <ul> only being allowed to contain their specific children.


-- 
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 Sunday, 28 March 2010 21:01:19 UTC