whatwg / html

HTML Standard
https://html.spec.whatwg.org/multipage/
Other
8.12k stars 2.67k forks source link

Specify how to fetch <link rel=icon> #1769

Open zcorpan opened 8 years ago

zcorpan commented 8 years ago

https://html.spec.whatwg.org/multipage/semantics.html#rel-icon

...has steps saying how to fetch /favicon.ico when there are no <link rel=icon>s, but nothing says what to do when there are such links.

(Related: https://codereview.chromium.org/2303443005/ )

domenic commented 8 years ago

Presumably it uses https://html.spec.whatwg.org/multipage/semantics.html#concept-link-obtain ?

zcorpan commented 8 years ago

Maybe but it's not super-clear to me. In any case, the resource type should be set to "image" to get the right Accept header, like for /favicon.ico.