W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > December 2010

[Bug 11529] New: inferred start tags

From: <bugzilla@jessica.w3.org>
Date: Fri, 10 Dec 2010 16:11:47 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-11529-2486@http.www.w3.org/Bugs/Public/>
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 the QA contact for the bug.
Received on Friday, 10 December 2010 16:11:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 10 December 2010 16:11:54 GMT