<?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>8254</bug_id>
          
          <creation_ts>2009-11-10 11:02:48 +0000</creation_ts>
          <short_desc>Type attribute in link element may include more than just the media type</short_desc>
          <delta_ts>2009-11-30 16:12:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>mobileOK Basic checker</product>
          <component>Java Library</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>All</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="fd">fd</reporter>
          <assigned_to name="Abel Rionda">abel.rionda</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>29485</commentid>
    <comment_count>0</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-11-10 11:02:48 +0000</bug_when>
    <thetext>More precisely, the definition of media type includes the parameters, and the following is thus possible:
 &lt;link rel=&quot;stylesheet&quot; href=&quot;styles.css&quot; type=&quot;text/css; charset=utf-8&quot;/&gt;

(even though the charset attribute would be a better idea in that case)

The mobileOK Checker only matches stylesheets when the type attribute contains &quot;text/css&quot; and nothing else. The above stylesheet would be ignored, meaning that it would not be taken into account for page size and that no tests would be run on the stylesheet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29794</commentid>
    <comment_count>1</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-11-30 16:12:20 +0000</bug_when>
    <thetext>CssResourceExtractor updated to only take the part of the type attribute before the &quot;;&quot; if one is present.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>