[Bug 11529] New: inferred start tags

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

           Summary: inferred start tags
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML/XHTML Compatibility Authoring Guide (ed: Eliot
                    Graff)
        AssignedTo: eliotgra@microsoft.com
        ReportedBy: davidc@nag.co.uk
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, eliotgra@microsoft.com


The document has special rules for tbody and colgroup, but similar rules need
to be stated for every element for which the html parser allows an inferred
start tag.

I haven't checked html5 for the full list of these, but two particularly common
examples are <head> and <body>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<title>zzz</title>
<p>zzz</p>
</html>


is a valid html5 document that is well formed as XML, but the HTML parser
produces

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>zzz</title></head>
<body><p>zzz</p>
</body></html>


with head and title being added automatically

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Friday, 10 December 2010 16:11:48 UTC