Re: [whatwg] A mask= advisory flag for link rel=icon

2015-06-17 Thread Benjamin Francis
On 17 June 2015 at 20:23, Maciej Stachowiak m...@apple.com wrote: Using a mask attribute in place of href would solve the compat problem about as well as using rel=“mask-icon”, but it seems kind of weird to me. It doesn’t make sense for an icon link to have both a mask and an href. It makes

Re: [whatwg] An API for unhandled promise rejections

2015-06-17 Thread Domenic Denicola
Yes, see: - https://lists.w3.org/Archives/Public/public-whatwg-archive/2015May/0051.html - https://github.com/domenic/unhandled-rejections-browser-spec - https://codereview.chromium.org/1179113007/ -Original Message- From: Conrad Irwin [mailto:conrad.ir...@gmail.com] Sent: Wednesday,

Re: [whatwg] A mask= advisory flag for link rel=icon

2015-06-17 Thread Maciej Stachowiak
On Jun 17, 2015, at 12:42 PM, Benjamin Francis bfran...@mozilla.com wrote: On 17 June 2015 at 20:23, Maciej Stachowiak m...@apple.com wrote: Using a mask attribute in place of href would solve the compat problem about as well as using rel=“mask-icon”, but it seems kind of weird to me. It

Re: [whatwg] A mask= advisory flag for link rel=icon

2015-06-17 Thread Tab Atkins Jr.
On Tue, Jun 16, 2015 at 9:49 PM, Anne van Kesteren ann...@annevk.nl wrote: On Tue, Jun 16, 2015 at 10:42 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Before we start bikeshedding, can you commit to actually changing your implementation? Safari has already shipped with the exact proposal

Re: [whatwg] A mask= advisory flag for link rel=icon

2015-06-17 Thread Maciej Stachowiak
Out of curiosity, I understand that flat design is fashionable right now and you might want single colour icons to represent web sites in Safari, but what is your fallback for the billion or so web sites which currently only provide a multi-coloured icon? I assume you just display the icon

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] A mask= advisory flag for link rel=icon

2015-06-17 Thread Anne van Kesteren
On Wed, Jun 17, 2015 at 9:42 PM, Benjamin Francis bfran...@mozilla.com wrote: It makes sense to me, an image element can have a src attribute of image.jpg and have a mask set to mask.svg in the mask CSS property. The equivalents here are the href attribute and the mask attribute, It's just

Re: [whatwg] A mask= advisory flag for link rel=icon

2015-06-17 Thread Anne van Kesteren
On Wed, Jun 17, 2015 at 9:23 PM, Maciej Stachowiak m...@apple.com wrote: (A.2) Add an attribute to link specifically for use in specifying the color for that icon, e.g. link rel=mask-icon href=whatever.svg color=lightred. (B.1) If the the color isn’t specified using the A method, use the theme

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] A mask= advisory flag for link rel=icon

2015-06-17 Thread Maciej Stachowiak
On Jun 16, 2015, at 9:49 PM, Anne van Kesteren ann...@annevk.nl wrote: On Tue, Jun 16, 2015 at 10:42 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Before we start bikeshedding, can you commit to actually changing your implementation? Safari has already shipped with the exact proposal

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] A mask= advisory flag for link rel=icon

2015-06-17 Thread Smylers
Kornel Lesiński writes: - Change link rel=icon mask to link rel=mask-icon, but keep using the theme-color meta for the color Please don't use meta theme-color. Financial Times' theme color is salmon pink (#fff1e0), but FT's logo must use black letters. That's another advantage of

Re: [whatwg] A mask= advisory flag for link rel=icon

2015-06-17 Thread Kornel Lesiński
- Change link rel=icon mask to link rel=mask-icon, but keep using the theme-color meta for the color Please don't use meta theme-color. Financial Times' theme color is salmon pink (#fff1e0), but FT's logo must use black letters. FT's logo is:

[whatwg] Typical LocalBusiness Website Information Architecture

2015-06-17 Thread Lorenzo De Tomasi
I think my website prototype http://www.schiano-arredamenti.it has a typical LocalBusiness Website Information Architecture: 1. Homepage (Organization Summary) 2. About the Organization 3. Organization Contacts 4. Product/Services categories offered by the Organization 5. Product/Services Brands

Re: [whatwg] A mask= advisory flag for link rel=icon

2015-06-17 Thread Benjamin Francis
On 17 June 2015 at 07:37, Maciej Stachowiak m...@apple.com wrote: It seems like the current leading candidate is: - Change link rel=icon mask to link rel=mask-icon, but keep using the theme-color meta for the color Using the theme-color meta tag as a foreground colour for icons may cause