- From: Doug Turner <dougt@mozilla.com>
- Date: Sun, 26 Aug 2012 20:47:56 -0700 (PDT)
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: Daniel Glazman <daniel.glazman@disruptive-innovations.com>, www-style@w3.org, public-device-apis@w3.org, Dzung D Tran <dzung.d.tran@intel.com>
Do you have a link to the CSSWG's consensus on the names and ranges? Thanks! ----- Original Message ----- From: "Tab Atkins Jr." <jackalmage@gmail.com> To: "Dzung D Tran" <dzung.d.tran@intel.com> Cc: "Doug Turner" <dougt@mozilla.com>, "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>, www-style@w3.org, public-device-apis@w3.org Sent: Friday, August 24, 2012 3:39:18 PM Subject: Re: Next step for DAP Ambient Light Events On Fri, Aug 24, 2012 at 3:10 PM, Tran, Dzung D <dzung.d.tran@intel.com> wrote: > My thoughts: > > Ambient light sensors have different range in lux depending on the manufacture and type of use. I don't know if it makes sense to map these values into "type". > > Just a couple data point from googling..: > > http://www.maxim-ic.com/datasheet/index.mvp/id/7175 > http://www.intersil.com/en/products/optoelectronics/ambient-light-and-proximity-sensors/light-to-digital-sensors/ISL29011.html Do they return different lux values in the same light conditions? If so, that sounds like simple manufacturing bugs that haven't been important enough for people to care about yet. That would actually be a strong argument to *avoid* exact values (since they aren't "exact" at all), and to instead just use a handful of keywords describing lighting conditions. Note that the multitude of types details in the link in the original post seems excessive. Further discussion in the CSSWG has mild consensus on using just three values, "dim", "bright", "washed". Exact names don't matter; the point is just that they map to the three major lighting condition categories - a dark room or nighttime conditions, normal interior lighting or outdoor shade, and direct sunlight. These three categories are distinct and useful. It doesn't appear that you really need any more detail than that in common usage. ~TJ
Received on Monday, 27 August 2012 03:48:23 UTC