[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

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 on the CC list for the bug.

Received on Friday, 26 November 2010 12:56:56 UTC