Re: stylesheet type ignored

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 UTC