W3C home > Mailing lists > Public > public-css-testsuite@w3.org > February 2009

Re: MS test suite at-charset-039 bug

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 04 Feb 2009 10:41:40 +0100
To: "Arron Eicholz" <Arron.Eicholz@microsoft.com>, "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Message-ID: <op.uotmjqbu64w2qv@annevk-t60.oslo.opera.com>

On Tue, 03 Feb 2009 17:38:40 +0100, Arron Eicholz  
<Arron.Eicholz@microsoft.com> wrote:
> Anne van Kesteren wrote:
>> <Arron.Eicholz@microsoft.com> wrote:
>> > The test case is actually correct. The @charset does not match the
>> > encoding of the file which is UTF-8. In that case even though the
>> > @charset is parsed and is determined "as specified" it has to throw  
>> out
>> > the style sheet because the parser does not find an appropriate  
>> @charset
>> > at the beginning of the UTF-8 file.
>> But it is nowhere declared to be UTF-8 so the browser does in fact not
>> know the encoding.
> The style sheet encoding is defined by the encoding of the referring  
> file. (in this case the HTML document).

That only applies if there is no @charset rule in the first place.

Anne van Kesteren
Received on Wednesday, 4 February 2009 09:42:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:47 UTC