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

[Bug 11411] New: The encoding sniffing algorithm doesn't match the 'in head' insertion mode in some case when <meta> has both charset and content attributes

From: <bugzilla@jessica.w3.org>
Date: Fri, 26 Nov 2010 12:56:54 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-11411-2486@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11411

           Summary: The encoding sniffing algorithm doesn't match the 'in
                    head' insertion mode in some case when <meta> has both
                    charset and content attributes
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: hsivonen@iki.fi
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


In 'in head', if the value of the charset attribute is a supported
ASCII-compatible character encoding or a UTF-16 encoding, the charset attribute
takes precedence over the content attribute.

However, in the encoding sniffing algorithm the last one of charset and content
takes precedence and, furthermore, if charset comes before content, both get
ignored if http-equiv="Content-Type" isn't present also.

Please make the encoding sniffing algorithm match the processing in the 'in
head' insertion mode.

-- 
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, 26 November 2010 12:56:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 26 November 2010 12:57:02 GMT