Skip to content

Commit 2512bfa

Browse files
committed
Fix Bikeshed fatal errors
- Add 'Level' metadata - Remove inline GH issues (#22, #101) - Fix some <dfn>s and <a>s - Remove WebIDL example syntax highlighting
1 parent 2624879 commit 2512bfa

File tree

2 files changed

+919
-411
lines changed

2 files changed

+919
-411
lines changed

index.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<pre class="metadata">
22
Title: Generic Sensor API
3+
Level: 1
34
Status: ED
45
ED: https://w3c.github.io/sensors/
56
Shortname: generic-sensor
@@ -20,7 +21,6 @@ Version History: https://github.com/w3c/sensors/commits/gh-pages/index.bs
2021
Indent: 2
2122
Repository: w3c/sensors
2223
Markup Shorthands: markdown on
23-
Inline Github Issues: true
2424
!Issue Tracking: <a href="https://github.com/w3c/sensors/milestones/Level%201">Level 1 Issues</a>
2525
!Issue Tracking: <a href="https://github.com/w3c/sensors/milestones/Level%202">Level 2 Issues</a>
2626
!Test Suite: <a href="https://github.com/w3c/web-platform-tests/tree/master/generic-sensor">web-platform-tests on GitHub</a>
@@ -144,7 +144,7 @@ The Generic Sensor API is designed to make the most common use cases straightfor
144144
while still enabling more complex use cases.
145145

146146
Most devices deployed today do not carry more than one
147-
<a>sensor</a> of each <a lt="sensor types">type</a>.
147+
<a>sensor</a> of each <a lt="sensor type">sensor types</a>.
148148
This shouldn't come as a surprise since use cases for more than
149149
a <a>sensor</a> of a given <a lt="sensor types">type</a> are rare
150150
and generally limited to specific <a>sensor types</a> such as
@@ -392,7 +392,7 @@ are encouraged to provide domain-specific definitions of
392392
<a>high-level</a> and <a>low-level</a> sensors
393393
for the given <a>sensor types</a> they are targeting.
394394

395-
<a>Sensor readings</a> from different sensor <a>types</a> can be combined together
395+
<a>Sensor readings</a> from different <a>sensor types</a> can be combined together
396396
through a process called <dfn>sensor fusion</dfn>.
397397
This process provides <a lt="high-level">higher-level</a> or
398398
more accurate data (often at the cost of increased latency).
@@ -867,7 +867,7 @@ Abstract Operations {#abstract-operations}
867867
1. If |sensor|’s <a>reporting flag</a> is set,
868868
1. abort these steps.
869869
1. Set |sensor|’s <a>reporting flag</a>.
870-
1. Let |reading_instance| be the result of invoking |sensor| <a>type</a>'s associated
870+
1. Let |reading_instance| be the result of invoking <a>sensor type</a>'s associated
871871
<a>Construct SensorReading Object</a> operation,
872872
passing it |reading| as argument.
873873
1. Set |sensor|’s <a>current reading</a> to |reading_instance|.
@@ -1064,7 +1064,7 @@ Example WebIDL {#example-webidl}
10641064
Here's example WebIDL for a possible extension of this specification
10651065
for proximity <a>sensors</a>.
10661066

1067-
<pre class=example highlight=WEBidl >
1067+
<pre class=example>
10681068
[Constructor(optional ProximitySensorOptions proximitySensorOptions)]
10691069
interface ProximitySensor : Sensor {
10701070
readonly attribute ProximitySensorReading? reading;

0 commit comments

Comments
 (0)