<?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>1839</bug_id>
          
          <creation_ts>2005-08-10 08:56:27 +0000</creation_ts>
          <short_desc>@import rules after css style is not allowed</short_desc>
          <delta_ts>2005-09-25 14:17:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>Website</component>
          <version>0.7.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://validator.w3.org/base.css</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Usability</keywords>
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>0.7.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rick Jansen">rick</reporter>
          <assigned_to name="Olivier Thereaux">ot</assigned_to>
          <cc>hhschwab</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>5389</commentid>
    <comment_count>0</comment_count>
    <who name="Rick Jansen">rick</who>
    <bug_when>2005-08-10 08:56:27 +0000</bug_when>
    <thetext>http://jigsaw.w3.org/css-validator/validator?profile=css2&amp;warning=2&amp;uri=http%3A//validator.w3.org/base.css

http://www.w3.org/TR/CSS21/cascade.html#at-import
&quot;Any @import rules must precede all rule sets in a style sheet.&quot;

Moving the two lines to the top fixes the error, but I dont know the
consequences for printouts or handhelds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5390</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2005-08-10 13:51:17 +0000</bug_when>
    <thetext>Thanks for filing the bug, Rick. 
Accepting it, will work on it within a few days.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5399</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2005-08-12 01:57:56 +0000</bug_when>
    <thetext>fixed in cvs. No apparent change or consequent for print (but css print support is fuzzy at best in general) 
at least</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6437</commentid>
    <comment_count>3</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2005-09-25 10:15:56 +0000</bug_when>
    <thetext>*** Bug 2293 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6438</commentid>
    <comment_count>4</comment_count>
    <who name="hhschwab">hhschwab</who>
    <bug_when>2005-09-25 12:20:29 +0000</bug_when>
    <thetext>reopening the bug, as my dupe seems to be caused by this.

http://jigsaw.w3.org/css-validator/validator?profile=css2&amp;warning=2&amp;uri=http%3A//validator.w3.org/base.css
Errors
URI : http://validator.w3.org/base.css

    * Line: 309

      Parse error - Unrecognized : @import url(&quot;print.css&quot;) print;
    * Line: 310

      Parse error - Unrecognized : @import url(&quot;handheld.css&quot;) handheld;

http://validator.w3.org/print.css exists, http://validator.w3.org/handheld.css also</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6439</commentid>
    <comment_count>5</comment_count>
    <who name="Rick Jansen">rick</who>
    <bug_when>2005-09-25 13:14:21 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; reopening the bug, as my dupe seems to be caused by this.
&gt; 
&gt;
http://jigsaw.w3.org/css-validator/validator?profile=css2&amp;warning=2&amp;uri=http%3A//validator.w3.org/base.css
&gt; Errors
&gt; URI : http://validator.w3.org/base.css
&gt; 
&gt;     * Line: 309
&gt; 
&gt;       Parse error - Unrecognized : @import url(&quot;print.css&quot;) print;
&gt;     * Line: 310
&gt; 
&gt;       Parse error - Unrecognized : @import url(&quot;handheld.css&quot;) handheld;
&gt; 
&gt; http://validator.w3.org/print.css exists, http://validator.w3.org/handheld.css
also

This is fixed in CVS, validator.w3.org doesnt run the CVS version ofcourse. The
next release will contain the fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6440</commentid>
    <comment_count>6</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2005-09-25 14:17:17 +0000</bug_when>
    <thetext>Right, the fix can be verified in the CVS version from the 0_7 branch which 
will soon become 0.7.1: 
 
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fqa-dev.w3.org%2Fwmvs%2F0.7%2Fbase.css&amp;usermedium=all </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>