W3C home > Mailing lists > Public > www-validator-css@w3.org > July 2002

Re: stylesheet type ignored

From: Philippe Le Hegaret <plh@w3.org>
Date: 12 Jul 2002 12:46:42 -0400
To: Ric Gates <ric.gates@bigsleep.net>
Cc: www-validator-css@w3.org
Message-Id: <1026492402.13928.393.camel@jfouffa>

On Sat, 2002-06-29 at 10:27, Ric Gates wrote:
> 
> 
> 
> 
> The validator is reading my non-css style sheet:
>   <link rel="stylesheet" type="text/javascript" href="CSS/default.jss">
> 
> I think it should ignore this link because of the type specified.

"oops". I found the bug:
[[
        if (((rel != null) && rel.toLowerCase().indexOf("stylesheet") != -1)
                || ((type != null) && type.equals("text/css"))) {
]]
http://dev.w3.org/cvsweb/~checkout~/2002/css-validator/html/tags/LinkTag.java

should be fixed on the server within a month.

Thanks a lot for the report,

Philippe.
Received on Friday, 12 July 2002 12:46:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:11 GMT