[Webkit-unassigned] [Bug 37674] Implement sizes attribute for link tag from HTML5
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 1 11:04:49 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=37674
--- Comment #2 from Rachel Blum <groby at chromium.org> 2011-07-01 11:04:49 PST ---
The short-term use case for Chromium is the new tab page, which plans to use 32x32 icons instead of 16x16.
The proposed change is to simply collect *all* rel-icon links when WebKit does the initial tree traversal and expose those separately. WebKit already does a callback for each loaded icon. (LinkLoader::loadLink)
Any request for icons currently supports the icon types FavIcon, TouchIcon, TouchPrecomposedIcon - there would be an additional "AnyIcon" that will allow retrieving all icons collected.
WebIconURL would need to be extended to store the sizes/type/media attributes for all icons.
As a result, current clients won't be affected at all unless they request AnyIcon or examine those additional attributes - the change should be backwards compatible.
Choosing an "appropriate" icon will then entirely be at the discretion of the WebKit client. I think this is the most useful approach, since the HTML5 spec doesn't want to specify which ones to pick. (It makes vague suggestions, but there's a good case for removing that too - see e.g. http://www.w3.org/Bugs/Public/show_bug.cgi?id=13107 )
Unless there's objection to this plan, patch forthcoming soon-ish.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list