Re: Proposal for ambient light

On 11/28/2011 6:10 AM, 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.
>
>
The proposed Sensors API: 
http://dev.w3.org/2009/dap/system-info/Sensors.html has made provision 
for ambient light (and has defined an ambient light sensor). Would this 
idea be in addition to that work, or is this intended to be a 
replacement for it?

Philip

-- 
Philip Gladstone
Distinguished Engineer
Product Development
pgladstone@cisco.com
Phone: +1 978-ZEN-TOAD (+1 978 936 8623)
Google: +1 978 800 1010
Ham radio: N1DQ
Blog: http://wwwin-blogs.cisco.com/pgladsto/

Cisco.com - http://www.cisco.com

This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/index.html

Received on Monday, 28 November 2011 19:30:48 UTC