- From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
- Date: Tue, 21 Aug 2012 16:04:32 +0200
- To: public-device-apis@w3.org, "www-style@w3.org" <www-style@w3.org>
- CC: dougt@mozilla.com
Hello Doug, public-device-apis@w3.org and www-style@w3.org Looking at the WD of Ambient Light Sensor API [1] on one hand and at the IDPF Alternate Style Tags spec for EPUB3 by Fantasai (in particular the 'day' and 'night' values) [2] on the other, I really wonder if that API should not have its Media Queries [3] counterpart... For instance: feature 'ambient-light-sensor' Value: <integer> Applies to: visual media types Accepts min/max prefixes: no Value will be 1 if an ambient light sensor is available on the device and 0 if not. feature 'ambient-light-level' Value: <number> Applies to: visual media types Accepts min/max prefixes: YES This media feature describes the ambient light level in lux. The specified <number> cannot be negative. Opinions? [1] http://www.w3.org/TR/ambient-light/ [2] http://idpf.org/epub/altss-tags/ [3] http://www.w3.org/TR/css3-mediaqueries </Daniel>
Received on Tuesday, 21 August 2012 14:05:15 UTC