CSS validator: Problem with @charset directive

Hello Validator team:

I happened to notice that when I submit an otherwise valid CSS 2 or CSS3 stylesheet for validation that includes at its start the @charset directive, the validator reports that the first element following the @charset had a parsing error.

I tried this on at least two stylesheets and removing the @charset fixed the sheet for validation. Since my stylesheets were purely ASCII and I wanted to continue to display the CSS validator logo (on the W3C website), I put those modified sheets online, but can provide you with the originals if necessary.



Addison P. Phillips
Director, Globalization Architecture
webMethods | Delivering Global Business Visibility
Chair, W3C Internationalization (I18N) Working Group
Chair, W3C-I18N-WG, Web Services Task Force

Internationalization is an architecture. 
It is not a feature.

Received on Thursday, 18 March 2004 18:16:27 UTC