W3C home > Mailing lists > Public > www-style@w3.org > August 2013

Re: [css-colors] Specify the System Colors colors

From: Simon Sapin <simon.sapin@exyr.org>
Date: Fri, 30 Aug 2013 11:54:38 +0100
Message-ID: <522079EE.3070202@exyr.org>
To: www-style@w3.org
Le 30/08/2013 11:35, Simon Pieters a écrit :
> [[
> User agents must support these keywords, but should map them to "default"
> values, not based on the user's OS settings (for example, mapping all the
> "background" colors to white and "foreground" colors to black).
> ]]
> -- http://tabatkins.github.io/specs/css-color/Overview.html#system-colors
> Using just black and white seems unnecessarily boring. It's also not so
> clear which ones are backgrounds and which are foregrounds.
> I think if we are to specify a fixed set of colors that these map to, we
> might as well be close to what browsers already have, so that sites that
> use them don't become uglier than necessary or get unreadable text.
> I requested screenshots from different OSes here
> http://www.browserstack.com/screenshots/67610195dac7cc4cb12206dd2589f08b3d0a7c02
> and gathered the results in a spreadsheet
> http://lists.w3.org/Archives/Public/www-archive/2013Aug/att-0026/system-colors.csv
> What I found interesting was that Android and iOS use the exact same
> mapping for CSS system colors. I think that makes that set a reasonable
> candidate to require in the spec.

Same data, presented visually:


Simon Sapin
Received on Friday, 30 August 2013 10:55:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:33 UTC