[html5] r1713 - /
whatwg at whatwg.org
whatwg at whatwg.org
Wed May 28 05:04:45 PDT 2008
Author: ianh
Date: 2008-05-28 05:04:44 -0700 (Wed, 28 May 2008)
New Revision: 1713
Modified:
index
source
Log:
[giowr] (2) Mention that for rel=icon UAs should also use type=''; mention what to do when an icon sucks; mention how to handle missing sizes=''.
Modified: index
===================================================================
--- index 2008-05-28 11:56:56 UTC (rev 1712)
+++ index 2008-05-28 12:04:44 UTC (rev 1713)
@@ -36044,11 +36044,16 @@
<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><a
- href="#media0">media</a></code> and <code title=attr-link-sizes><a
+ appropriate icon according to the <code title=attr-link-type><a
+ href="#type">type</a></code>, <code title=attr-link-media><a
+ href="#media0">media</a></code>, and <code title=attr-link-sizes><a
href="#sizes0">sizes</a></code> attributes. If there are multiple equally
appropriate icons, user agents must use the last one declared in <a
- href="#tree-order">tree order</a>.
+ href="#tree-order">tree order</a>. 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>There is no default type for resources given by the <code
title=rel-icon><a href="#icon3">icon</a></code> keyword.</p>
@@ -36120,6 +36125,10 @@
href="#sizes0">sizes</a></code> attribute must not represent icon sizes
that are not actually available in the linked resource.
+ <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.
+
<div class=example>
<p>The following snippet shows the top part of an application with several
icons.</p>
Modified: source
===================================================================
--- source 2008-05-28 11:56:56 UTC (rev 1712)
+++ source 2008-05-28 12:04:44 UTC (rev 1713)
@@ -33747,10 +33747,15 @@
<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
@@ -33820,6 +33825,10 @@
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
More information about the Commit-Watchers
mailing list