Re: [whatwg] Icon mask and theme color

2015-09-14 Thread Anne van Kesteren
On Mon, Sep 14, 2015 at 12:11 AM, Karl Dubost wrote: > Nicolas Hoizey spotted on Apple forums and added a comment on the bug > >> The markup changed in Developer Seed 3 and Public Beta 1 >> to simplify and have better backwards compatibility. >> Use the following markup

Re: [whatwg] Icon mask and theme color

2015-09-13 Thread Karl Dubost
Followup on this. Le 16 juin 2015 à 02:33, Edward O'Connor a écrit : > That is why we recommend authors put rel=icon mask> first—so that the existing tie-breaking behavior results > in the legacy favicon being chosen. Nicolas Hoizey spotted on Apple forums and added a

Re: [whatwg] Icon mask and theme color

2015-06-18 Thread Anne van Kesteren
On Thu, Jun 18, 2015 at 7:19 PM, Edward O'Connor eocon...@apple.com wrote: On the other hand, link rel=mask-icon color=darkslategray seems like it should Just Work™. I guess we could add support for named colors to input type=color too. -- https://annevankesteren.nl/

Re: [whatwg] Icon mask and theme color

2015-06-18 Thread Edward O'Connor
Hi, Kornel wrote: Safari[…] uses `theme-color` for foreground color of favicons of pinned tabs, but other browsers use `theme-color` for background colors. I replied: Well, meta name=theme-color is not specced as speficially a foreground or background color; it's a color that user agents

Re: [whatwg] Icon mask and theme color

2015-06-18 Thread Tobie Langel
On Thu, Jun 18, 2015, at 19:19, Edward O'Connor wrote: Maciej replied: I find this use case pretty compelling. There’s no reasonable set of processing steps that could get you salmon pink for use as a background, but black for use as a foreground. I think this is compelling evidence that

Re: [whatwg] Icon mask and theme color

2015-06-17 Thread Tab Atkins Jr.
On Tue, Jun 16, 2015 at 11:51 PM, Smylers smyl...@stripey.com wrote: Maciej Stachowiak writes: We do have a requirement to have the mask icons render with a single color. I don’t think the approach suggested here is very good. Color averaging would not be very predictable in its results and

Re: [whatwg] Icon mask and theme color

2015-06-17 Thread Karl Dubost
Tab, (summary: let's put the information inside the SVG file, more below) Le 18 juin 2015 à 08:41, Tab Atkins Jr. jackalm...@gmail.com a écrit : better than color averaging. Averaging seems like it would rarely produce a reasonable color in any multi-color icon, And we will certainly create

Re: [whatwg] Icon mask and theme color

2015-06-17 Thread Tab Atkins Jr.
On Wed, Jun 17, 2015 at 5:16 PM, Karl Dubost k...@la-grange.net wrote: Tab, (summary: let's put the information inside the SVG file, more below) Le 18 juin 2015 à 08:41, Tab Atkins Jr. jackalm...@gmail.com a écrit : better than color averaging. Averaging seems like it would rarely produce

Re: [whatwg] Icon mask and theme color

2015-06-17 Thread Maciej Stachowiak
Consolidating replies to limit spam. On Jun 16, 2015, at 4:37 AM, Nils Dagsson Moskopp n...@dieweltistgarnichtso.net wrote: Maciej Stachowiak m...@apple.com writes: […] Where do we go from here: (1) We could add mask or something like it to the standard, and change browsers to

Re: [whatwg] Icon mask and theme color

2015-06-17 Thread Smylers
Maciej Stachowiak writes: On Jun 16, 2015, at 4:37 AM, Nils Dagsson Moskopp n...@dieweltistgarnichtso.net wrote: (5) Use the shape of the path in the SVG icon as a mask and retain the theme color meta value. Why isn't this done? One could have a properly colored icon for one purpose

Re: [whatwg] Icon mask and theme color

2015-06-16 Thread Jasper St. Pierre
On Tue, Jun 16, 2015 at 4:37 AM, Nils Dagsson Moskopp n...@dieweltistgarnichtso.net wrote: [...] (5) Use the shape of the path in the SVG icon as a mask and retain the theme color meta value. Why isn't this done? One could have a properly colored icon for one purpose and use the outline of

Re: [whatwg] Icon mask and theme color

2015-06-16 Thread Tab Atkins Jr.
On Mon, Jun 15, 2015 at 12:00 PM, Maciej Stachowiak m...@apple.com wrote: For similar reasons, it seemed better to reuse the existing theme-color meta (which gives license to darken or lighten the color as needed). Agreed; along with Ted's observation that theme-color hits at least the 80/20

Re: [whatwg] Icon mask and theme color

2015-06-16 Thread Nils Dagsson Moskopp
Maciej Stachowiak m...@apple.com writes: […] Where do we go from here: (1) We could add mask or something like it to the standard, and change browsers to ignore mask icons in contexts where they are looking for a regular icon. (2) We could change to a new rel type for mask icons, such

Re: [whatwg] Icon mask and theme color

2015-06-15 Thread Anne van Kesteren
On Mon, Jun 15, 2015 at 12:18 PM, Kornel Lesiński kor...@geekhood.net wrote: The new Safari is still only a preview, so I hope Apple will switch to a better solution. It would be great if we could get some feedback from Ted colleagues on what the thinking here was. --

[whatwg] Icon mask and theme color

2015-06-15 Thread Kornel Lesiński
Apple has released a version of Safari that has a new interpretation of link rel=icon and meta name=theme-color that conflicts with existing usage on the Web. Safari (8.1 OS X 11.11) uses `theme-color` for foreground color of favicons of pinned tabs, but other browsers use `theme-color` for

Re: [whatwg] Icon mask and theme color

2015-06-15 Thread Edward O'Connor
Hi all, Kornel wrote: Safari[…] uses `theme-color` for foreground color of favicons of pinned tabs, but other browsers use `theme-color` for background colors. Well, meta name=theme-color is not specced as speficially a foreground or background color; it's a color that user agents may use in

Re: [whatwg] Icon mask and theme color

2015-06-15 Thread Maciej Stachowiak
On Jun 15, 2015, at 3:27 AM, Anne van Kesteren ann...@annevk.nl wrote: On Mon, Jun 15, 2015 at 12:18 PM, Kornel Lesiński kor...@geekhood.net wrote: The new Safari is still only a preview, so I hope Apple will switch to a better solution. It would be great if we could get some feedback

Re: [whatwg] Icon mask and theme color

2015-06-15 Thread Anne van Kesteren
On Mon, Jun 15, 2015 at 7:33 PM, Edward O'Connor eocon...@apple.com wrote: Our proposal is simply to add mask= to this list of advisory attributes that are used to determine an icon's appropriateness here. User agents that don't understand mask= should continue to pick the most appropriate

Re: [whatwg] Icon mask and theme color

2015-06-15 Thread Edward O'Connor
Hi Anne, You wrote: Our proposal is simply to add mask= to this list of advisory attributes that are used to determine an icon's appropriateness here. User agents that don't understand mask= should continue to pick the most appropriate icon given the other attributes. If there is a tie, the