<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>759</bug_id>
          
          <creation_ts>2004-05-28 23:49:53 +0000</creation_ts>
          <short_desc>Validator does not follow link elements lacking a type attribute</short_desc>
          <delta_ts>2011-08-22 11:42:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSSValidator</product>
          <component>Other</component>
          <version>CSS Validator</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bj">bjoern</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>karl+w3c</cc>
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1966</commentid>
    <comment_count>0</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2004-05-28 23:49:53 +0000</bug_when>
    <thetext>From http://jigsaw.w3.org/css-validator/BUGS.html

&apos;&apos;The CSS validator will not acknowledge CSS loaded via a &lt;link&gt; which does not 
explicitly declare `type=&quot;text/css&quot;&apos;, even when the server correctly serves the 
stylesheet as text/css.&apos;&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35897</commentid>
    <comment_count>1</comment_count>
    <who name="Karl Dubost">karl+w3c</who>
    <bug_when>2010-06-01 23:59:36 +0000</bug_when>
    <thetext>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

&lt;!doctype html&gt;
&lt;html&gt;
&lt;title&gt;Test Bug 759&lt;/title&gt;
&lt;link type=&quot;text/css&quot; href=&quot;style1.css&quot;/&gt;
&lt;link href=&quot;style2.css&quot;/&gt;
&lt;link href=&quot;plain.txt&quot;/&gt;
&lt;p&gt;This is a test for &lt;a href=&quot;http://www.w3.org/Bugs/Public/show_bug.cgi?id=759&quot;&gt;Bug 759&lt;/a&gt; of CSS Validator&lt;/p&gt;
&lt;/html&gt;


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 &quot;text/css&quot;, ignore it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55577</commentid>
    <comment_count>2</comment_count>
    <who name="Yves Lafon">ylafon</who>
    <bug_when>2011-08-22 11:42:43 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>