diff --git a/index.bs b/index.bs index d930bc9..93aac60 100644 --- a/index.bs +++ b/index.bs @@ -46,6 +46,14 @@ The Ambient Light Sensor extends the Generic Sensor API [[GENERIC-SENSOR]] to provide information about ambient light levels, as detected by the device's main light detector, in terms of lux units. +Scope {#scope} +----- + +For document styling use cases that do not require accuracy, low latency, and high frequency, +the `light-level` CSS media feature [[MEDIAQUERIES-5]] can be more appropriate. The `light-level` +media feature has a set of pre-defined values that represents a composite of screen brightness, +screen technology, ambient light level, and possibly other factors depending on implementation. + Note: it might be worthwhile to provide a high-level Light Level Sensor which would mirror the `light-level` media feature, but in JavaScript. This sensor would *not require additional user permission to be activated* @@ -149,11 +157,6 @@ While some of the use cases may benefit from obtaining precise ambient light mea cases that convert ambient light level fluctuations to user input events, would benefit from higher [=sampling frequency|sampling frequencies=]. -Note: For document styling use cases that do not require accuracy, low latency, and high frequency, -the `light-level` CSS media feature [[MEDIAQUERIES-4]] can be more appropriate. The `light-level` -media feature has a set of pre-defined values that represents a composite of screen brightness, -screen technology, ambient light level, and possibly other factors depending on implementation. - Acknowledgements {#acknowledgements} ================ diff --git a/index.html b/index.html index 31e8aa6..d9f63be 100644 --- a/index.html +++ b/index.html @@ -1431,7 +1431,7 @@
The Ambient Light Sensor extends the Generic Sensor API [GENERIC-SENSOR] to provide information about ambient light levels, as detected by the device’s main light detector, in terms of lux units.
+For document styling use cases that do not require accuracy, low latency, and high frequency,
+the light-level
CSS media feature [MEDIAQUERIES-5] can be more appropriate. The light-level
media feature has a set of pre-defined values that represents a composite of screen brightness,
+screen technology, ambient light level, and possibly other factors depending on implementation.
Note: it might be worthwhile to provide a high-level Light Level Sensor
which would mirror the light-level
media feature, but in JavaScript.
This sensor would not require additional user permission to be activated in user agents that exposed the light-level
media feature.
Note: For document styling use cases that do not require accuracy, low latency, and high frequency,
-the light-level
CSS media feature [MEDIAQUERIES-4] can be more appropriate. The light-level
media feature has a set of pre-defined values that represents a composite of screen brightness,
-screen technology, ambient light level, and possibly other factors depending on implementation.
Doug Turner for the initial prototype and Marcos Caceres for the test suite.
@@ -1694,8 +1699,6 @@