File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2092,7 +2092,7 @@ it does not need to [=request permission to use|request permission to use=] magn
2092
2092
for accuracy or [=sampling frequency=] . An example for a possible extension of the Permission API
2093
2093
for accelerometer sensor is given below.
2094
2094
2095
- <pre class=example>
2095
+ <pre class=" example" highlight="idl" >
2096
2096
dictionary AccelerometerPermissionDescriptor : PermissionDescriptor {
2097
2097
boolean highAccuracy = false;
2098
2098
boolean highFrequency = false;
@@ -2153,7 +2153,7 @@ that are required by the absolute orientation sensor.
2153
2153
Here's an example WebIDL for a possible extension of this specification
2154
2154
for proximity [=device sensor|sensors=] .
2155
2155
2156
- <pre class=example>
2156
+ <pre class=" example" highlight="idl" >
2157
2157
[SecureContext, Exposed=Window]
2158
2158
interface ProximitySensor : Sensor {
2159
2159
constructor(optional ProximitySensorOptions proximitySensorOptions = {});
You can’t perform that action at this time.
0 commit comments