Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

jslint_com · This group has moved to Google Plus.

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 584
  • Category: JavaScript
  • Founded: Mar 7, 2008
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
jslint is wrong on charset for css   Topic List   < Prev Topic  |  Next Topic >
Summarize Messages | View Threaded Sort by Date v  
#2457 From: "Douglas Crockford" <douglas@...>
Date: Wed Jul 13, 2011 1:20 pm
Subject: Re: jslint is wrong on charset for css
douglascrock...
Send Email Send Email
 
--- In jslint_com@yahoogroups.com, Jérôme DESPATIS <jerome@...> wrote:
> I'm testing JSLint on some css, it says the css must begin with @charset
> 'UTF-8';
>
> So I add it, no more error with JSLint
>
> But when I validate this css to W3C Css validator,
> http://jigsaw.w3.org/css-validator/validator.html.en#validate_by_input
>
> I get an error, the exact syntax is:
> @charset "UTF-8";
> (doubles quotes and not single quotes)
>
> => I guess JSLint should give an error on @charset 'UTF-8'; (with single
> quotes)

I am not going to bother with that unless you can find a browser that has a
problem with it.




#2454 From: Jérôme DESPATIS <jerome@...>
Date: Wed Jul 13, 2011 11:06 am
Subject: jslint is wrong on charset for css
jdespatis
Send Email Send Email
 
Hello,

I'm testing JSLint on some css, it says the css must begin with @charset
'UTF-8';

So I add it, no more error with JSLint

But when I validate this css to W3C Css validator,
http://jigsaw.w3.org/css-validator/validator.html.en#validate_by_input

I get an error, the exact syntax is:
@charset "UTF-8";
(doubles quotes and not single quotes)

=> I guess JSLint should give an error on @charset 'UTF-8'; (with single
quotes)


--
Jérôme Despatis
jerome@...




 
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help