- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 28 May 2008 12:05:21 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv19004 Modified Files: Overview.html Log Message: Mention that for rel=icon UAs should also use type=''; mention what to do when an icon sucks; mention how to handle missing sizes=''. (whatwg r1713) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.899 retrieving revision 1.900 diff -u -d -r1.899 -r1.900 --- Overview.html 28 May 2008 11:57:00 -0000 1.899 +++ Overview.html 28 May 2008 12:05:18 -0000 1.900 @@ -36128,11 +36128,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> @@ -36204,6 +36209,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>
Received on Wednesday, 28 May 2008 12:06:01 UTC