This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
From http://jigsaw.w3.org/css-validator/BUGS.html ''The CSS validator will not acknowledge CSS loaded via a <link> which does not explicitly declare `type="text/css"', even when the server correctly serves the stylesheet as text/css.''
We need a test hosted on a server. * a CSS file, style1.css, with 1 warning into it and must be served as text/css * a CSS file, style2.css, with 1 error into it and must be served as text/css * a normal file, plain.txt must be served as text/plain And the following html markup <!doctype html> <html> <title>Test Bug 759</title> <link type="text/css" href="style1.css"/> <link href="style2.css"/> <link href="plain.txt"/> <p>This is a test for <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=759">Bug 759</a> of CSS Validator</p> </html> style1.css must report 1 warning style2.css must report 1 error plain.txt must be ignored by the validator. It means parsing the list of file and before processing checking the mime type on the server. If mime type is not "text/css", ignore it.
I created the test at http://www.w3.org/2011/08/css-tc/759-1.html It tests stylesheet links with CSS and non-CSS type information stylesheet links with no type information, and sent using CSS and non CSS media type non-stylesheet link with CSS type. The current version fail only on the non-CSS type styleshet link served as text/plain, which should be ignored.