HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
1713[Gecko] [Internet Explorer] [Opera] [Webkit] [Google Gears] Mention that for rel=icon UAs should also use type=''; mention what to do when an icon sucks; mention how to handle missing sizes=''.2008-05-28 12:04
@@ -33740,24 +33740,29 @@ at the first element with the given ID must be treated as if it was cloned and r
   <code>link</code> elements, for which it creates an <span
   title="external resource link">external resource link</span>.</p>
 
   <p>The specified resource is an icon representing the page or site,
   and should be used by the user agent when representing the page in
   the user interface.</p>
 
   <p>Icons could be auditory icons, visual icons, or other kinds of
   icons. If multiple icons are provided, the user agent must select
   the most appropriate icon according to the <code
-  title="attr-link-media">media</code> and <code
+  title="attr-link-type">type</code>, <code
+  title="attr-link-media">media</code>, and <code
   title="attr-link-sizes">sizes</code> attributes. If there are
   multiple equally appropriate icons, user agents must use the last
-  one declared in <span>tree order</span>.</p>
+  one declared in <span>tree order</span>. If the user agent tries to
+  use an icon but that icon is determined, upon closer examination, to
+  in fact be inappropriate (e.g. because it uses an unsupported
+  format), then the user agent must try the next-most-appropriate icon
+  as determined by the attributes.</p>
 
   <p>There is no default type for resources given by the <code
   title="rel-icon">icon</code> keyword.</p> <!-- XXX we don't define
   the content-type sniffing for this keyword -->
 
   <p>The <dfn title="attr-link-sizes"><code>sizes</code></dfn>
   attribute gives the sizes of icons for visual media.</p>
 
   <p>If specified, the attribute must have a value that is an
   <span>unordered set of unique space-separated tokens</span>. The
@@ -33813,20 +33818,24 @@ at the first element with the given ID must be treated as if it was cloned and r
    icon with a width of <var title="">width</var> device pixels and a
    height of <var title="">height</var> device pixels.</p></li>
 
   </ul>
 
   <p>The keywords specified on the <code
   title="attr-link-sizes">sizes</code> attribute must not represent
   icon sizes that are not actually available in the linked
   resource.</p>
 
+  <p>If the attribute is not specified, then the user agent must
+  assume that the given icon is appropriate, but less appropriate than
+  an icon of a known and appropriate size.</p>
+
   <div class="example">
 
    <p>The following snippet shows the top part of an application with
    several icons.</p>
 
    <pre>&lt;!DOCTYPE HTML>
 &lt;html>
  &lt;head>
   &lt;title>lsForums &mdash; Inbox&lt;/title>
   &lt;link rel=icon href=favicon.png sizes="16x16">

|