[Webkit-unassigned] [Bug 18268] WebKit (and FireFox) fail to detect "correct" encoding for CSS file (IE and Opera are OK)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 1 22:45:03 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18268





------- Comment #2 from ap at webkit.org  2008-04-01 22:45 PDT -------
WebKit works in accordance to the spec, see
<http://www.w3.org/TR/CSS21/syndata.html> paragraph 4.4:

"When a style sheet resides in a separate file, user agents must observe the
following priorities when determining a style sheet's character encoding (from
highest priority to lowest):

1. An HTTP "charset" parameter in a "Content-Type" field (or similar parameters
in other protocols)
2. BOM and/or @charset (see below)
3. <link charset=""> or other metadata from the linking mechanism (if any)
4. charset of referring style sheet or document (if any)
5. Assume UTF-8"


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list