<?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>706</bug_id>
          
          <creation_ts>2004-05-08 05:39:30 +0000</creation_ts>
          <short_desc>link/style type attribute with parameters</short_desc>
          <delta_ts>2005-08-29 12:23:56 +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>HTML4.01</component>
          <version>CSS Validator</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikael Lind">elemel</reporter>
          <assigned_to name="Philippe Le Hegaret">plh</assigned_to>
          <cc>ewexler</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>1802</commentid>
    <comment_count>0</comment_count>
    <who name="Mikael Lind">elemel</who>
    <bug_when>2004-05-08 05:39:30 +0000</bug_when>
    <thetext>The CSS Validator does not pick up stylesheets in HTML pages that specify the 
encoding of the stylesheet. (I get the message &quot;No style sheet found&quot; when 
trying to validate such a page.) In other words, this does not work:

&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css;charset=UTF-8&quot; href=&quot;style.css&quot;&gt;

While this does work:

&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;style.css&quot;&gt;

As far as I know, the former is valid HTML, is supported in at least some 
standards-compliant browsers (namely Mozilla and Opera), and is the preferred 
way of specifying the encoding of the stylesheet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1937</commentid>
    <comment_count>1</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2004-05-23 15:34:31 +0000</bug_when>
    <thetext>I am not so sure whether what you attempt to do is actually allowed, see 
http://lists.w3.org/Archives/Public/www-html-editor/2004AprJun/0164.html

You should rather use the &quot;charset&quot; attribute on the link element if you
must, e.g. &lt;link charset = utf-8 type = &quot;text/css&quot; href = &quot;...&quot; ...&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2567</commentid>
    <comment_count>2</comment_count>
    <who name="Etan Wexler">ewexler</who>
    <bug_when>2004-10-27 12:56:37 +0000</bug_when>
    <thetext>Regarding comment #0, the preferred way to specify the encoding of a style sheet
is to send the appropriate HTTP or MIME &quot;charset&quot; parameter.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5556</commentid>
    <comment_count>3</comment_count>
    <who name="Yves Lafon">ylafon</who>
    <bug_when>2005-08-29 12:23:56 +0000</bug_when>
    <thetext>With the new handling of mime type with the type attribute, it resolves also
this one (even if it may be bad practise).
As always, see http://qa-dev.w3.org:8001/css-validator/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>