W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2014

Re: [whatwg] `brand-color` meta extension

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 26 Jun 2014 18:17:21 +0000 (UTC)
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Message-ID: <alpine.DEB.2.00.1406261815290.1057@ps20323.dreamhostps.com>
Cc: WHATWG <whatwg@lists.whatwg.org>, Marcos Caceres <w3c@marcosc.com>
On Thu, 26 Jun 2014, Tab Atkins Jr. wrote:
> On Thu, Jun 26, 2014 at 10:57 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> > This feature has been developed in the past under multiple proprietary
> > names, such as "mapplication-navbutton-color" for Internet Explorer
> > and "apple-mobile-web-app-status-bar-style" for Mobile Safari.
> > Authors MUST NOT use the proprietary variants of this meta extension.
> > User agents that support proprietary variants of this meta extension
> > must, if "brand-color" is specified, use "brand-color" for these
> > purposes, and ignore any proprietary variants.
> In another thread, Hixie asks why we don't just standardize these
> proprietary variants.  I think "because they're horridly named" is a
> sufficient answer, but there's a weaker proposal inside of that which
> I think is potentially valid: should we define that
> "msapplication-navbutton-color" and
> "apple-mobile-web-app-status-bar-style" are required-support variants?
> This requires a bit of additional parsing work, but it's not a big deal:
> * "msapplication-navbutton-color" only allows named and hex colors.
> * "apple-mobile-web-app-status-bar-style" appears to accept the values
> "default", "black", and "black-translucent", which we can define as
> meaning, respectively, that the page has no brand color, that the
> brand color is black, or that the brand color is rgba(0,0,0,.5)
> (spitballing here, if someone can provide the real alpha that would be
> great).

I think it would make sense to allow vendors to treat these all as 
independent values (in particular, we wouldn't want IE to be forced to 
extend their interpretation of "msapplication-TileColor" and 
"msapplication-navbutton-color" to be redundant), but I do think it would 
make sense to encourage UAs to draw colours from whichever values are 
provided, so that authors don't have to include different values for each 

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 26 June 2014 18:17:50 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:21 UTC