- From: Dave Raggett <dsr@w3.org>
- Date: Mon, 28 Nov 2011 13:12:56 +0000
- To: public-device-apis@w3.org
On 28/11/11 11:10, Dominique Hazael-Massieux wrote: > Hi, > > During our TPAC F2F, I took an action item (ACTION-467) to make a > concrete proposal for accessing information about the current ambient > light for a given device. > > Part of the discussion during TPAC was that particular item might be > better served by a CSS media query feature rather than an JavaScript API > — at least, the use cases that involved adapting e.g. the colors of the > user interface would be more logically served via such an approach. > > This would mean adding a "ambientlight" feature with min/max prefixes, > that would take values in SI lux units. > > <link rel="stylesheet" media="screen" href="default.css"> > <link rel="stylesheet" media="screen and (min-ambientlight: > 30000)" href="high-contrast.css"> > > If the group thinks that's a reasonable approach, DAP could propose to > start a joint WD with the CSS WG. A similar rule might apply to high ambient light levels where it is hard to make out the details on the screen (e.g. bright sunlight and my Nexus S as I discovered yesterday in a country walk). What about being able to control the screen luminosity, perhaps as a new CSS property? -- Dave Raggett<dsr@w3.org> http://www.w3.org/People/Raggett
Received on Monday, 28 November 2011 13:13:23 UTC