Skip to content

Commit a74c23e

Browse files
committed
chore: fixup additions/correctrions
1 parent b6bfdb2 commit a74c23e

File tree

1 file changed

+99
-155
lines changed

1 file changed

+99
-155
lines changed

index.html

Lines changed: 99 additions & 155 deletions
Original file line numberDiff line numberDiff line change
@@ -587,25 +587,15 @@ <h2>
587587
</p>
588588
<ol class="algorithm">
589589
<li>
590-
<div class="correction" id="c1">
591-
<span class="marker">Candidate Correction:</span> Explanation of
592-
the change: Updated reference to the global object to use
593-
[=this=] for consistency in error handling within geolocation
594-
retrieval.
595-
<blockquote>
596-
<ol>
597-
<li>
598-
<del>If the [=current settings object=]'s [=relevant global
599-
object=]'s [=associated `Document`=] is not
600-
[=Document/fully active=]:</del> <ins>If the [=this=]'s
601-
[=relevant global object=]'s [=associated `Document`=] is
602-
not [=Document/fully active=]:</ins>
603-
</li>
604-
</ol>
605-
</blockquote>
606-
</div>
607-
<!--If the [=this=]'s [=relevant global object=]'s [=associated
608-
`Document`=] is not [=Document/fully active=]:-->
590+
<aside class="correction" id="c1">
591+
<span class="marker">Candidate Correction:</span> Updated
592+
reference to the global object to use [=this=] for consistency in
593+
error handling within geolocation retrieval.
594+
</aside><del cite="#c1">If the [=current settings object=]'s
595+
[=relevant global object=]'s [=associated `Document`=] is not
596+
[=Document/fully active=]:</del> <ins cite="#c1">If the [=this=]'s
597+
[=relevant global object=]'s [=associated `Document`=] is not
598+
[=Document/fully active=]:</ins>
609599
<ol>
610600
<li>[=Call back with error=] |errorCallback| and
611601
{{GeolocationPositionError/POSITION_UNAVAILABLE}}.
@@ -631,24 +621,15 @@ <h2>
631621
</p>
632622
<ol class="algorithm">
633623
<li>
634-
<div class="correction" id="c2">
635-
<span class="marker">Candidate Correction:</span> Explanation of
636-
the change: Simplified reference to the global object in the
637-
method steps for checking document's activity status.
638-
<blockquote>
639-
<ol>
640-
<li>
641-
<del>If the [=current settings object=]'s [=relevant global
642-
object=]'s [=associated `Document`=] is not
643-
[=Document/fully active=]:</del> <ins>If the [=this=]'s
644-
[=relevant global object=]'s [=associated `Document`=] is
645-
not [=Document/fully active=]:</ins>
646-
</li>
647-
</ol>
648-
</blockquote>
649-
</div>
650-
<!-- If the [=this=]'s [=relevant global object=]'s [=associated
651-
`Document`=] is not [=Document/fully active=]:-->
624+
<aside class="correction" id="c2">
625+
<span class="marker">Candidate Correction:</span> Simplified
626+
reference to the global object in the method steps for checking
627+
document's activity status.
628+
</aside><del cite="#c2">If the [=current settings object=]'s
629+
[=relevant global object=]'s [=associated `Document`=] is not
630+
[=Document/fully active=]:</del> <ins cite="#c2">If the [=this=]'s
631+
[=relevant global object=]'s [=associated `Document`=] is not
632+
[=Document/fully active=]:</ins>
652633
<ol>
653634
<li>[=Call back with error=] passing |errorCallback| and
654635
{{GeolocationPositionError/POSITION_UNAVAILABLE}}.
@@ -1057,17 +1038,16 @@ <h3>
10571038
<h3>
10581039
`toJSON()` method
10591040
</h3>
1060-
<div class="addition" id="a1">
1061-
<span class="marker">Candidate Addition:</span> Explanation of the
1062-
addition: Introduce a `toJSON()` method to allow the
1063-
{{GeolocationPosition}} object to be easily converted into a JSON
1064-
representation, facilitating interoperability and ease of use in web
1065-
applications.
1066-
<p>
1067-
The <dfn>toJSON()</dfn> method returns a JSON representation of the
1068-
{{GeolocationPosition}} object.
1069-
</p>
1070-
</div>
1041+
<aside class="addition" id="a1">
1042+
<span class="marker">Candidate Addition:</span> Introduce a
1043+
`toJSON()` method to allow the {{GeolocationPosition}} object to be
1044+
easily converted into a JSON representation, facilitating
1045+
interoperability and ease of use in web applications.
1046+
</aside>
1047+
<p>
1048+
<ins cite="#a1">The <dfn>toJSON()</dfn> method returns a JSON
1049+
representation of the {{GeolocationPosition}} object.</ins>
1050+
</p>
10711051
</section>
10721052
<section>
10731053
<h2>
@@ -1138,20 +1118,21 @@ <h2>
11381118
<h4>
11391119
`latitude`, `longitude`, and `accuracy` attributes
11401120
</h4>
1141-
<div class="correction" id="c3">
1121+
<aside class="correction" id="c3">
11421122
<span class="marker">Candidate Correction:</span> To improve clarity
11431123
and precision, the description of latitude and longitude attributes
11441124
has been updated to specify that these are real numbers in degrees
11451125
according to the [[WGS84]] geodetic system, instead of just stating
11461126
"decimal degrees."
1147-
<p>
1148-
<del>The <strong>latitude</strong> and <strong>longitude</strong>
1149-
attributes are geographic coordinates specified in decimal
1150-
degrees.</del> <ins>The <dfn>latitude</dfn> and
1151-
<dfn>longitude</dfn> attributes denote the position, specified as a
1152-
real number of degrees, in the [[WGS84]] coordinate system.</ins>
1153-
</p>
1154-
</div>
1127+
</aside>
1128+
<p>
1129+
<del cite="#c3">The <strong>latitude</strong> and
1130+
<strong>longitude</strong> attributes are geographic coordinates
1131+
specified in decimal degrees.</del> <ins cite="#c3">The
1132+
<dfn>latitude</dfn> and <dfn>longitude</dfn> attributes denote the
1133+
position, specified as a real number of degrees, in the [[WGS84]]
1134+
coordinate system.</ins>
1135+
</p>
11551136
</section>
11561137
<section>
11571138
<h4>
@@ -1190,17 +1171,16 @@ <h4>
11901171
<h4>
11911172
`toJSON()` method
11921173
</h4>
1193-
<div class="addition" id="a2">
1194-
<span class="marker">Candidate Addition:</span> Explanation of the
1195-
addition: Extend the `toJSON()` method functionality to the
1196-
{{GeolocationCoordinates}} object, allowing it to be serialized into
1197-
a JSON format which enhances data handling and integration
1198-
capabilities in web applications.
1199-
<p>
1200-
The <dfn>toJSON()</dfn> method returns a JSON representation of the
1201-
{{GeolocationCoordinates}} object.
1202-
</p>
1203-
</div>
1174+
<aside class="addition" id="a2">
1175+
<span class="marker">Candidate Addition:</span> Extend the `toJSON()`
1176+
method functionality to the {{GeolocationCoordinates}} object,
1177+
allowing it to be serialized into a JSON format which enhances data
1178+
handling and integration capabilities in web applications.
1179+
</aside>
1180+
<p>
1181+
<ins cite="#a2">The <dfn>toJSON()</dfn> method returns a JSON
1182+
representation of the {{GeolocationCoordinates}} object.</ins>
1183+
</p>
12041184
</section>
12051185
<section>
12061186
<h2>
@@ -1211,109 +1191,73 @@ <h2>
12111191
{{EpochTimeStamp}} |timestamp:EpochTimeStamp| and boolean
12121192
|isHighAccuracy| by performing the following steps:
12131193
</p>
1194+
<aside class="correction" id="c4">
1195+
<span class="marker">Candidate Correction:</span> Enhanced the
1196+
constructor steps for {{GeolocationCoordinates}} to clarify the units
1197+
and reference systems for latitude, longitude, and altitude, ensuring
1198+
consistency with the updated attribute definitions.
1199+
</aside>
1200+
<aside class="correction" id="c5">
1201+
<span class="marker">Candidate Correction:</span> Updates to the
1202+
descriptions of the speed and heading attributes to specify
1203+
measurement units and conditions for null values, aligning with the
1204+
overall enhancements to attribute accuracy and clarity.
1205+
</aside>
12141206
<ol class="algorithm">
12151207
<li>Let |coords:GeolocationCoordinates| be a newly created
12161208
{{GeolocationCoordinates}} instance:
12171209
<ol>
1218-
<li>
1219-
<div class="correction" id="c4">
1220-
<span class="marker">Candidate Correction:</span> Enhanced
1221-
the constructor steps for {{GeolocationCoordinates}} to
1222-
clarify the units and reference systems for latitude,
1223-
longitude, and altitude, ensuring consistency with the
1224-
updated attribute definitions.
1225-
<p>
1226-
Initialize |coord|'s {{GeolocationCoordinates/latitude}}
1227-
<del>attribute to a geographic coordinate in decimal
1228-
degrees.</del> <ins>attribute to a latitude, specified as a
1229-
real number of degrees, in the [[WGS84]] coordinate
1230-
system.</ins>
1231-
</p>
1232-
<p>
1233-
Initialize |coord|'s {{GeolocationCoordinates/longitude}}
1234-
<del>attribute to a geographic coordinate in decimal
1235-
degrees.</del> <ins>attribute to a longitude, specified as
1236-
a real number of degrees, in the [[WGS84]] coordinate
1237-
system.</ins>
1238-
</p>
1239-
<p>
1240-
Initialize |coord|'s {{GeolocationCoordinates/altitude}}
1241-
<del>attribute in meters above the [[WGS84]] ellipsoid, or
1242-
`null` if the implementation cannot provide altitude
1243-
information.</del> <ins>attribute to a height, in meters,
1244-
above the [[WGS84]] ellipsoid, or `null` if the
1245-
implementation cannot provide altitude information.</ins>
1246-
</p>
1247-
</div>
1210+
<li>Initialize |coord|'s {{GeolocationCoordinates/latitude}}
1211+
<del cite="#c4">attribute to a geographic coordinate in decimal
1212+
degrees.</del> <ins cite="#c4">attribute to a latitude, specified
1213+
as a real number of degrees, in the [[WGS84]] coordinate
1214+
system.</ins>
12481215
</li>
1249-
<li>
1250-
<div class="correction" id="c5">
1251-
<span class="marker">Candidate Correction:</span> Updates to
1252-
the descriptions of the speed and heading attributes to
1253-
specify measurement units and conditions for null values,
1254-
aligning with the overall enhancements to attribute accuracy
1255-
and clarity.
1256-
<p>
1257-
Initialize |coord|'s {{GeolocationCoordinates/speed}}
1258-
<del>attribute to a non-negative real number, or as `null`
1259-
if the implementation cannot provide speed
1260-
information.</del> <ins>attribute to a speed, as a
1261-
non-negative real number of meters per second, or as `null`
1262-
if the implementation cannot provide speed
1263-
information.</ins>
1264-
</p>
1265-
<p>
1266-
Initialize |coord|'s {{GeolocationCoordinates/heading}}
1267-
<del>attribute in degrees, or `null` if the implementation
1268-
cannot provide heading information. If the hosting device
1269-
is stationary (i.e., the value of the
1270-
{{GeolocationCoordinates/speed}} attribute is 0), then
1271-
initialize the {{GeolocationCoordinates/heading}} to
1272-
`NaN`.</del> <ins>attribute to a heading, in degrees, or
1273-
`null` if the implementation cannot provide heading
1274-
information. If the hosting device is stationary (i.e., the
1275-
value of the {{GeolocationCoordinates/speed}} attribute is
1276-
0), then initialize the {{GeolocationCoordinates/heading}}
1277-
to `NaN`.</ins>
1278-
</p>
1279-
</div>
1280-
</li><!--li>Initialize |coord|'s
1281-
{{GeolocationCoordinates/latitude}} attribute to a latitude,
1282-
specified as a real number of degrees, in the [[WGS84]]
1283-
coordinate system.
1284-
</li-->
1285-
<!--li>Initialize |coord|'s
1286-
{{GeolocationCoordinates/longitude}} attribute to a longitude,
1216+
<li>Initialize |coord|'s {{GeolocationCoordinates/longitude}}
1217+
<del cite="#c4">attribute to a geographic coordinate in decimal
1218+
degrees.</del> <ins cite="#c4">attribute to a longitude,
12871219
specified as a real number of degrees, in the [[WGS84]]
1288-
coordinate system.
1289-
</li-->
1220+
coordinate system.</ins>
1221+
</li>
1222+
<li>Initialize |coord|'s {{GeolocationCoordinates/altitude}}
1223+
<del cite="#c4">attribute in meters above the [[WGS84]]
1224+
ellipsoid, or `null` if the implementation cannot provide
1225+
altitude information.</del> <ins cite="#c4">attribute to a
1226+
height, in meters, above the [[WGS84]] ellipsoid, or `null` if
1227+
the implementation cannot provide altitude information.</ins>
1228+
</li>
1229+
<li>Initialize |coord|'s {{GeolocationCoordinates/speed}}
1230+
<del cite="#c5">attribute to a non-negative real number, or as
1231+
`null` if the implementation cannot provide speed
1232+
information.</del> <ins cite="#c5">attribute to a speed, as a
1233+
non-negative real number of meters per second, or as `null` if
1234+
the implementation cannot provide speed information.</ins>
1235+
</li>
1236+
<li>Initialize |coord|'s {{GeolocationCoordinates/heading}}
1237+
<del cite="#c5">attribute in degrees, or `null` if the
1238+
implementation cannot provide heading information. If the hosting
1239+
device is stationary (i.e., the value of the
1240+
{{GeolocationCoordinates/speed}} attribute is 0), then initialize
1241+
the {{GeolocationCoordinates/heading}} to `NaN`.</del>
1242+
<ins cite="#c5">attribute to a heading, in degrees, or `null`
1243+
if the implementation cannot provide heading information. If
1244+
the hosting device is stationary (i.e., the value of the
1245+
{{GeolocationCoordinates/speed}} attribute is 0), then
1246+
initialize the {{GeolocationCoordinates/heading}} to
1247+
`NaN`.</ins>
1248+
</li>
12901249
<li>Initialize |coord|'s {{GeolocationCoordinates/accuracy}}
12911250
attribute to a non-negative real number. The value SHOULD
12921251
correspond to a 95% confidence level with respect to the
12931252
longitude and latitude values.
1294-
</li><!--li>Initialize |coord|'s
1295-
{{GeolocationCoordinates/altitude}} attribute to a height, in
1296-
meters, above the [[WGS84]] ellipsoid, or `null` if the
1297-
implementation cannot provide altitude information.
1298-
</li-->
1253+
</li>
12991254
<li>Initialize |coord|'s
13001255
{{GeolocationCoordinates/altitudeAccuracy}} attribute as
13011256
non-negative real number, or to `null` if the implementation
13021257
cannot provide altitude information. If the altitude accuracy
13031258
information is provided, it SHOULD correspond to a 95% confidence
13041259
level.
1305-
</li><!--li>Initialize |coord|'s
1306-
{{GeolocationCoordinates/speed}} attribute to a speed, as a
1307-
non-negative real number of meters per second, or as `null` if
1308-
the implementation cannot provide speed information.
1309-
</li-->
1310-
<!--li>Initialize |coord|'s
1311-
{{GeolocationCoordinates/heading}} attribute to a heading, in
1312-
degrees, or `null` if the implementation cannot provide heading
1313-
information. If the hosting device is stationary (i.e., the value
1314-
of the {{GeolocationCoordinates/speed}} attribute is 0), then
1315-
initialize the {{GeolocationCoordinates/heading}} to `NaN`.
1316-
</li-->
1260+
</li>
13171261
</ol>
13181262
</li>
13191263
<li>Return a newly created {{GeolocationPosition}} instance with its

0 commit comments

Comments
 (0)