[Webkit-unassigned] [Bug 36515] CSS style definitions are ignored if they just follow a "@charset" which appears in lines other than the first line in stylesheet.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 6 08:07:24 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=36515
Guido Jansen <guido_jansen at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |guido_jansen at gmx.de
--- Comment #6 from Guido Jansen <guido_jansen at gmx.de> 2010-08-06 08:07:24 PST ---
(In reply to comment #5)
> The spec just says that such stylesheets are invalid, so all we can do is check other browsers' behavior.
>
> My guess is that no browser switches the encoding. They may ignore misplaced charset declarations, or they may honor the first, or the last. The first option (ignoring) seems best and most likely to me in the absence of hard facts.
in
http://www.w3.org/TR/CSS21/syndata.html#charset
it says
"User agents must ignore any @charset rule not at the beginning of the style sheet."
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list