<?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>697</bug_id>
          
          <creation_ts>2004-05-02 21:12:37 +0000</creation_ts>
          <short_desc>multiple media types unrecognised</short_desc>
          <delta_ts>2011-03-17 12:42:18 +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>media type</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>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Sleigh">w3</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>ot</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>1777</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Sleigh">w3</who>
    <bug_when>2004-05-02 21:12:37 +0000</bug_when>
    <thetext>&lt;http://www.w3.org/TR/REC-CSS2/media.html&gt; says it&apos;s legal to specify media like
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;print, projection&quot; ...&gt;.  This
gives an error in the CSS Validator: &quot;unrecognized media screen, projection&quot;. 
It shouldn&apos;t.  Unfortunately the spurious error also prevents the rest of the
validator from running.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5525</commentid>
    <comment_count>1</comment_count>
    <who name="Yves Lafon">ylafon</who>
    <bug_when>2005-08-26 14:42:22 +0000</bug_when>
    <thetext>Fixed, see http://qa-dev.w3.org:8001/css-validator/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7080</commentid>
    <comment_count>2</comment_count>
    <who name="Alex">alex</who>
    <bug_when>2005-11-08 04:00:05 +0000</bug_when>
    <thetext>Same error &quot;unrecognized media screen,projection&quot; when using the following syntax:

&lt;style type=&quot;text/css&quot; media=&quot;screen, projection&quot;&gt;
	@import url(css/styles.css);
&lt;/style&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13805</commentid>
    <comment_count>3</comment_count>
    <who name="mat">mateusz</who>
    <bug_when>2007-01-25 16:27:44 +0000</bug_when>
    <thetext>I am using this piece of code:

&lt;style type=&quot;text/css&quot; media=&quot;screen, projection, print, tv&quot;&gt;
@import &apos;/shared/public/css/style.css&apos;;
&lt;/style&gt;

which produce the same error message.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15221</commentid>
    <comment_count>4</comment_count>
      <attachid>471</attachid>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-05-28 06:12:36 +0000</bug_when>
    <thetext>Created attachment 471
test case as described</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18959</commentid>
    <comment_count>5</comment_count>
    <who name="Reto Steffen">reto.steffen</who>
    <bug_when>2008-02-10 21:25:10 +0000</bug_when>
    <thetext>the apple site tells people to add
media=&quot;screen and (min-device-width: 481px)
and
media=&quot;only screen and (max-device-width: 480px)&quot;
to optimize a site for the iphone
which gives me the same error:
unrecognized media screen and (min-device-width: 481px)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>471</attachid>
            <date>2007-05-28 06:12:36 +0000</date>
            <delta_ts>2007-05-28 06:12:36 +0000</delta_ts>
            <desc>test case as described</desc>
            <filename>697_multiplemediatypes.html</filename>
            <type>text/html</type>
            <size>537</size>
            <attacher name="Olivier Thereaux">ot</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWwKICAgICBQVUJMSUMgIi0vL1czQy8vRFREIFhIVE1MIDEuMCBTdHJpY3Qv
L0VOIgogICAgICJEVEQveGh0bWwxLXN0cmljdC5kdGQiPgo8aHRtbD4KIDxoZWFkPgogIDxtZXRh
IGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIgY29udGVudD0idGV4dC9odG1sOyBDaGFyc2V0PXVz
LWFzY2lpIiAvPgogIDx0aXRsZT5UZXN0Y2FzZTwvdGl0bGU+CiAgPHN0eWxlIHR5cGU9InRleHQv
Y3NzIiBtZWRpYT0ic2NyZWVuLCBwcm9qZWN0aW9uIj4KICAgICAgICAgIEBpbXBvcnQgdXJsKGh0
dHA6Ly9qaWdzYXcudzMub3JnL2Nzcy12YWxpZGF0b3Ivc3R5bGUvYmFzZS5jc3MpOwogIDwvc3R5
bGU+CiA8L2hlYWQ+CiA8Ym9keT4KICA8aDE+VGVzdGNhc2U8L2gxPgogIDxwPgogICBUaGlzIGlz
IGEgdGVzdCBjYXNlIGZvciA8YSBocmVmPSJodHRwOi8vd3d3LnczLm9yZy9CdWdzL1B1YmxpYy9z
aG93X2J1Zy5jZ2k/aWQ9Njk3Ij5CdWcgNjk3PC9hPiBmb3IgbXVsdGlwbGUgbWVkaWEgdHlwZXMu
CiAgPC9wPgogPC9ib2R5Pgo8L2h0bWw+
</data>

          </attachment>
      

    </bug>

</bugzilla>