- 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>
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 <http://annevankesteren.nl/> <http://www.opera.com/>
Received on Wednesday, 4 February 2009 09:42:23 UTC