W3C home > Mailing lists > Public > www-international@w3.org > January to March 2014

Re: [css-syntax] ISSUE-329: @charset has no effect on stylesheet??

From: Asmus Freytag <asmusf@ix.netcom.com>
Date: Thu, 23 Jan 2014 14:02:04 -0800
Message-ID: <52E1915C.1070609@ix.netcom.com>
To: Zack Weinberg <zackw@panix.com>, www-style list <www-style@w3.org>, www International <www-international@w3.org>, "Tab Atkins Jr." <jackalmage@gmail.com>
On 1/23/2014 12:35 PM, Zack Weinberg wrote:
> > Warning: Although an [@charset directive]() textually resembles
>     > an [at-rule](), it is not parsed as an at-rule; only a specific
>     > byte sequence, beginning with the very first byte in the style
>     > sheet, is accepted.
The warning could be beefed up along these lines:

If the precise conventions for @charset directive are not met, the 
directive is silently ignored.

That would satisfy the concerns of not leaving a "trap" for the unwary.

A./
Received on Thursday, 23 January 2014 22:02:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:36 UTC