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

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:30 UTC