[PATCH] favicons with rel="icon"

Malte Starostik malte at kde.org
Sun Jun 23 20:06:28 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Sunday 23 June 2002 18:15 schrieb Alexander Kellett:
> Hiya all,
>
> I just noticed that khtml doesn't support the <link> favicon on
> mozilla.org (among other sites) and checking out the source found
> that it uses (rel="icon"), as compared to khtml which looks for
> the IE extension (rel="shortcut icon").
>
> Here's a patch to fix it.
Looks good to me.

> Though i'm not sure if rather than contains("icon"), it should use
> rel.stripWhitespace (== "icon" || == "shortcut icon").
I'd suspect that would "break" on some other sites with creative webmasters. 
Who knows what else people write inside the quotes ;-)

- -- 
Malte Starostik
PGP: 1024D/D2F3C787 [C138 2121 FAF3 410A 1C2A  27CD 5431 7745 D2F3 C787]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9Fhw3VDF3RdLzx4cRAq0tAJ9NFNwljAOd9z08HbuCIlkMnv6D0QCfTh69
5uC25zH9W7v0VLDTZuejcLk=
=iTSc
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list