This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11414 - The first attribute with a given name should take precedence in the encoding sniffing algorithm
Summary: The first attribute with a given name should take precedence in the encoding ...
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: All All
: P2 critical
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
Depends on:
Reported: 2010-11-26 15:43 UTC by Henri Sivonen
Modified: 2011-08-04 05:35 UTC (History)
4 users (show)

See Also:


Description Henri Sivonen 2010-11-26 15:43:06 UTC
It seems to me that in the case <meta charset="UTF-8" charset="ISO-8859-2"> the last attribute is now defined to win in the encoding sniffing algorithm but the first one wins if the token is handled in the tree builder. Please make the first attribute take precedence in the encoding sniffing algorithm.
Comment 1 Ian 'Hixie' Hickson 2010-12-08 01:27:47 UTC
Yeah the first one should win.
Comment 2 Ian 'Hixie' Hickson 2011-01-11 06:14:18 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:

Status: Accepted
Change Description:
Rationale: Turns out I'd just forgotten one statement in the spec (I had the "attribute list" and was checking it but wasn't updating it!).
Comment 3 Michael[tm] Smith 2011-08-04 05:35:27 UTC
mass-move component to LC1