<?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>5768</bug_id>
          
          <creation_ts>2008-06-18 02:20:53 +0000</creation_ts>
          <short_desc>content sniffing should be allowed on link elements with a relationship type of icon</short_desc>
          <delta_ts>2010-10-04 14:55:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/html5/structured.html#icon3</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="Shawn Medero">soypunk</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>20576</commentid>
    <comment_count>0</comment_count>
    <who name="Shawn Medero">soypunk</who>
    <bug_when>2008-06-18 02:20:53 +0000</bug_when>
    <thetext>The treatment of resources sourced from &lt;link rel=icon&gt; should probably same as though from an &lt;img&gt; element: http://www.w3.org/TR/html5/embedded0.html#the-img

Philip Taylor did a bit of research on existing usage of content-types with favicons and found enough inconsistencies to warrant further study:
http://lists.w3.org/Archives/Public/public-html/2008Jun/0242.html

This issue was originally discussed in #whatwg:
http://krijnhoetmer.nl/irc-logs/whatwg/20080618#l-40</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20666</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2008-06-21 01:58:01 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; The treatment of resources sourced from &lt;link rel=icon&gt; should probably same as
&gt; though from an &lt;img&gt; element: http://www.w3.org/TR/html5/embedded0.html#the-img
&gt; 
&gt; Philip Taylor did a bit of research on existing usage of content-types with
&gt; favicons and found enough inconsistencies to warrant further study:
&gt; http://lists.w3.org/Archives/Public/public-html/2008Jun/0242.html
&gt; 
&gt; This issue was originally discussed in #whatwg:
&gt; http://krijnhoetmer.nl/irc-logs/whatwg/20080618#l-40
&gt; 

It&apos;s not clear to me that this has been resolved to the satisfaction of the submittor. Shawn, can you please respond to indicate if it has been or not?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20669</commentid>
    <comment_count>2</comment_count>
    <who name="Shawn Medero">soypunk</who>
    <bug_when>2008-06-21 04:07:36 +0000</bug_when>
    <thetext>Yes, the current editor&apos;s draft provides language sufficient to handle the real world data Philip found:

&gt; If the resource is expected to be an image, user agents may apply the image sniffing rules, with the official type being the type determined from the resource&apos;s Content-Type metadata, and use the resulting sniffed type of the resource as if it was the actual type. Otherwise, if the resource is not expected to be an image, or if the user agent opts not to apply those rules, then the user agent must use the resource&apos;s Content-Type metadata to determine the type of the resource. If there is no type metadata, but the external resource link type has a default type defined, then the user agent must assume that the resource is of that type.

The image sniffing rules reference are here:
http://www.whatwg.org/specs/web-apps/current-work/#content-type8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20670</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2008-06-21 05:20:43 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Yes, the current editor&apos;s draft provides language sufficient to handle the real
&gt; world data Philip found:

OK. Closing this per that verification from Shawn.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>