|
1219 | 1219 | background-attachment: fixed;
|
1220 | 1220 | }
|
1221 | 1221 | </style>
|
1222 |
| - <meta content="Bikeshed version 9c6ae748322940994300e90a77c34437364b40a6" name="generator"> |
| 1222 | + <meta content="Bikeshed version eee3e9e7543e2188fb60d183a6cf3fe3a7d971c1" name="generator"> |
1223 | 1223 | <link href="http://www.w3.org/TR/ambient-light/" rel="canonical">
|
1224 |
| - <meta content="39bea48088de9d74d70ddd1b2783f099888d8fe9" name="document-revision"> |
| 1224 | + <meta content="8a8f98dc544f174a469a8aa455e2ae06d2a9f87b" name="document-revision"> |
1225 | 1225 | <style>/* style-md-lists */
|
1226 | 1226 |
|
1227 | 1227 | /* This is a weird hack for me not yet following the commonmark spec
|
|
1479 | 1479 | <div class="head">
|
1480 | 1480 | <p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2016/logos/W3C" width="72"> </a> </p>
|
1481 | 1481 | <h1 class="p-name no-ref" id="title">Ambient Light Sensor</h1>
|
1482 |
| - <h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2019-01-28">28 January 2019</time></span></h2> |
| 1482 | + <h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2019-01-29">29 January 2019</time></span></h2> |
1483 | 1483 | <div data-fill-with="spec-metadata">
|
1484 | 1484 | <dl>
|
1485 | 1485 | <dt>This version:
|
@@ -1757,7 +1757,7 @@ <h2 class="heading settled" data-level="7" id="automation"><span class="secno">7
|
1757 | 1757 | This section extends the <a data-link-type="dfn" href="https://w3c.github.io/sensors/#automation" id="ref-for-automation">automation</a> section defined in the Generic Sensor API <a data-link-type="biblio" href="#biblio-generic-sensor">[GENERIC-SENSOR]</a> to provide mocking information about the ambient light levels for the purposes of testing a user agent’s
|
1758 | 1758 | implementation of <a data-link-type="dfn" href="#ambient-light-sensor" id="ref-for-ambient-light-sensor②">Ambient Light Sensor</a>.
|
1759 | 1759 | <h3 class="heading settled" data-level="7.1" id="mock-ambient-light-sensor-type"><span class="secno">7.1. </span><span class="content">Mock Sensor Type</span><a class="self-link" href="#mock-ambient-light-sensor-type"></a></h3>
|
1760 |
| - <p>The <code class="idl"><a data-link-type="idl" href="#ambientlightsensor" id="ref-for-ambientlightsensor⑥">AmbientLightSensor</a></code> class has an associated <a data-link-type="dfn" href="https://w3c.github.io/sensors/#mock-sensor-type" id="ref-for-mock-sensor-type">mock sensor type</a> which is <a class="idl-code" data-link-type="enum-value">"ambient-light"</a>, its <a data-link-type="dfn" href="https://w3c.github.io/sensors/#mock-sensor-reading-values" id="ref-for-mock-sensor-reading-values">mock sensor reading values</a> dictionary is defined as follows:</p> |
| 1760 | + <p>The <code class="idl"><a data-link-type="idl" href="#ambientlightsensor" id="ref-for-ambientlightsensor⑥">AmbientLightSensor</a></code> class has an associated <a data-link-type="dfn" href="https://w3c.github.io/sensors/#mock-sensor-type" id="ref-for-mock-sensor-type">mock sensor type</a> which is <a class="idl-code" data-link-type="enum-value" href="https://w3c.github.io/sensors/#dom-mocksensortype-ambient-light" id="ref-for-dom-mocksensortype-ambient-light">"ambient-light"</a>, its <a data-link-type="dfn" href="https://w3c.github.io/sensors/#mock-sensor-reading-values" id="ref-for-mock-sensor-reading-values">mock sensor reading values</a> dictionary is defined as follows:</p> |
1761 | 1761 | <pre class="idl highlight def"><c- b>dictionary</c-> <dfn class="idl-code" data-dfn-type="dictionary" data-export id="dictdef-ambientlightreadingvalues"><code><c- g>AmbientLightReadingValues</c-></code><a class="self-link" href="#dictdef-ambientlightreadingvalues"></a></dfn> {
|
1762 | 1762 | <c- b>required</c-> <a class="idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-double" id="ref-for-idl-double①"><c- b>double</c-></a>? <dfn class="idl-code" data-dfn-for="AmbientLightReadingValues" data-dfn-type="dict-member" data-export data-type="double? " id="dom-ambientlightreadingvalues-illuminance"><code><c- g>illuminance</c-></code><a class="self-link" href="#dom-ambientlightreadingvalues-illuminance"></a></dfn>;
|
1763 | 1763 | };
|
@@ -1818,6 +1818,12 @@ <h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="c
|
1818 | 1818 | <li><a href="#dom-ambientlightreadingvalues-illuminance">dict-member for AmbientLightReadingValues</a><span>, in §7.1</span>
|
1819 | 1819 | </ul>
|
1820 | 1820 | </ul>
|
| 1821 | + <aside class="dfn-panel" data-for="term-for-dom-mocksensortype-ambient-light"> |
| 1822 | + <a href="https://w3c.github.io/sensors/#dom-mocksensortype-ambient-light">https://w3c.github.io/sensors/#dom-mocksensortype-ambient-light</a><b>Referenced in:</b> |
| 1823 | + <ul> |
| 1824 | + <li><a href="#ref-for-dom-mocksensortype-ambient-light">7.1. Mock Sensor Type</a> |
| 1825 | + </ul> |
| 1826 | + </aside> |
1821 | 1827 | <aside class="dfn-panel" data-for="term-for-sensor">
|
1822 | 1828 | <a href="https://w3c.github.io/sensors/#sensor">https://w3c.github.io/sensors/#sensor</a><b>Referenced in:</b>
|
1823 | 1829 | <ul>
|
@@ -1970,6 +1976,7 @@ <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span cla
|
1970 | 1976 | <li>
|
1971 | 1977 | <a data-link-type="biblio">[GENERIC-SENSOR]</a> defines the following terms:
|
1972 | 1978 | <ul>
|
| 1979 | + <li><span class="dfn-paneled" id="term-for-dom-mocksensortype-ambient-light" style="color:initial">"ambient-light"</span> |
1973 | 1980 | <li><span class="dfn-paneled" id="term-for-sensor" style="color:initial">Sensor</span>
|
1974 | 1981 | <li><span class="dfn-paneled" id="term-for-dictdef-sensoroptions" style="color:initial">SensorOptions</span>
|
1975 | 1982 | <li><span class="dfn-paneled" id="term-for-automation" style="color:initial">automation</span>
|
|
0 commit comments