This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11704 - step 5: <link rel=icon>
Summary: step 5: <link rel=icon>
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-09 11:45 UTC by contributor
Modified: 2012-07-18 18:48 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2011-01-09 11:45:10 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html
Section: http://www.whatwg.org/specs/web-apps/current-work/complete.html#atom

Comment:
step 5: <link rel=icon>

Posted from: 81.234.240.182 by philip@foolip.org
Comment 1 Philip Jägenstedt 2011-01-09 11:49:03 UTC
1. What if there are multiple <link rel=icon> elements?

2. URL should be in href="", not text content (other instances of this problem were fixed in http://html5.org/r/5235)
Comment 2 Philip Jägenstedt 2011-01-09 13:41:02 UTC
(In reply to comment #1)
> 2. URL should be in href="", not text content (other instances of this problem
> were fixed in http://html5.org/r/5235)

Sorry, I misread the spec, it adds <icon>URL</icon>, not <link rel=icon>URL</link> as I thought.
Comment 3 Philip Jägenstedt 2011-01-09 13:47:11 UTC
(In reply to comment #1)
> 1. What if there are multiple <link rel=icon> elements?

As for this, the Atom spec states, for some reason, that "atom:feed elements MUST NOT contain more than one atom:icon element.", so picking the same as a browser would (first or last?) seems reasonable.

Unfortunately, http://feedvalidator.org/ complains about "Unregistered link relationship" if trying to use <link rel="icon" href="URL"/> in Atom, or that would have been a workaround.
Comment 4 Ian 'Hixie' Hickson 2011-02-08 01:06:48 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale:

#1: clarified that it's the first such element that is used.

#2: invalid per comment 2.

I'd do something more clever with the icon, but I figure we'll wait to see whether enough people really care before going crazy here.
Comment 5 contributor 2011-02-08 01:07:19 UTC
Checked in as WHATWG revision r5849.
Check-in comment: clarify which rel=icon you use when converting to Atom, if there are many
http://html5.org/tools/web-apps-tracker?from=5848&to=5849