diff --git a/index.html b/index.html index 478f0c6..0b7d7c4 100644 --- a/index.html +++ b/index.html @@ -587,25 +587,15 @@

  1. -
    - Candidate Correction: Explanation of - the change: Updated reference to the global object to use - [=this=] for consistency in error handling within geolocation - retrieval. -
    -
      -
    1. - If the [=current settings object=]'s [=relevant global - object=]'s [=associated `Document`=] is not - [=Document/fully active=]: If the [=this=]'s - [=relevant global object=]'s [=associated `Document`=] is - not [=Document/fully active=]: -
    2. -
    -
    -
    - + If the [=current settings object=]'s + [=relevant global object=]'s [=associated `Document`=] is not + [=Document/fully active=]: If the [=this=]'s + [=relevant global object=]'s [=associated `Document`=] is not + [=Document/fully active=]:
    1. [=Call back with error=] |errorCallback| and {{GeolocationPositionError/POSITION_UNAVAILABLE}}. @@ -631,24 +621,15 @@

      1. -
        - Candidate Correction: Explanation of - the change: Simplified reference to the global object in the - method steps for checking document's activity status. -
        -
          -
        1. - If the [=current settings object=]'s [=relevant global - object=]'s [=associated `Document`=] is not - [=Document/fully active=]: If the [=this=]'s - [=relevant global object=]'s [=associated `Document`=] is - not [=Document/fully active=]: -
        2. -
        -
        -
        - + If the [=current settings object=]'s + [=relevant global object=]'s [=associated `Document`=] is not + [=Document/fully active=]: If the [=this=]'s + [=relevant global object=]'s [=associated `Document`=] is not + [=Document/fully active=]:
        1. [=Call back with error=] passing |errorCallback| and {{GeolocationPositionError/POSITION_UNAVAILABLE}}. @@ -1057,17 +1038,16 @@

          `toJSON()` method

          -
          - Candidate Addition: Explanation of the - addition: Introduce a `toJSON()` method to allow the - {{GeolocationPosition}} object to be easily converted into a JSON - representation, facilitating interoperability and ease of use in web - applications. -

          - The toJSON() method returns a JSON representation of the - {{GeolocationPosition}} object. -

          -
          + +

          + The toJSON() method returns a JSON + representation of the {{GeolocationPosition}} object. +

          @@ -1138,20 +1118,21 @@

          `latitude`, `longitude`, and `accuracy` attributes

          -
          +
          + +

          + The latitude and + longitude attributes are geographic coordinates + specified in decimal degrees. The + latitude and longitude attributes denote the + position, specified as a real number of degrees, in the [[WGS84]] + coordinate system. +

          @@ -1190,17 +1171,16 @@

          `toJSON()` method

          -
          - Candidate Addition: Explanation of the - addition: Extend the `toJSON()` method functionality to the - {{GeolocationCoordinates}} object, allowing it to be serialized into - a JSON format which enhances data handling and integration - capabilities in web applications. -

          - The toJSON() method returns a JSON representation of the - {{GeolocationCoordinates}} object. -

          -
          + +

          + The toJSON() method returns a JSON + representation of the {{GeolocationCoordinates}} object. +

          @@ -1211,109 +1191,73 @@

          {{EpochTimeStamp}} |timestamp:EpochTimeStamp| and boolean |isHighAccuracy| by performing the following steps:

          + +
          1. Let |coords:GeolocationCoordinates| be a newly created {{GeolocationCoordinates}} instance:
              -
            1. -
              - Candidate Correction: Enhanced - the constructor steps for {{GeolocationCoordinates}} to - clarify the units and reference systems for latitude, - longitude, and altitude, ensuring consistency with the - updated attribute definitions. -

              - Initialize |coord|'s {{GeolocationCoordinates/latitude}} - attribute to a geographic coordinate in decimal - degrees. attribute to a latitude, specified as a - real number of degrees, in the [[WGS84]] coordinate - system. -

              -

              - Initialize |coord|'s {{GeolocationCoordinates/longitude}} - attribute to a geographic coordinate in decimal - degrees. attribute to a longitude, specified as - a real number of degrees, in the [[WGS84]] coordinate - system. -

              -

              - Initialize |coord|'s {{GeolocationCoordinates/altitude}} - attribute in meters above the [[WGS84]] ellipsoid, or - `null` if the implementation cannot provide altitude - information. attribute to a height, in meters, - above the [[WGS84]] ellipsoid, or `null` if the - implementation cannot provide altitude information. -

              -
              +
            2. Initialize |coord|'s {{GeolocationCoordinates/latitude}} + attribute to a geographic coordinate in decimal + degrees. attribute to a latitude, specified + as a real number of degrees, in the [[WGS84]] coordinate + system.
            3. -
            4. -
              - Candidate Correction: Updates to - the descriptions of the speed and heading attributes to - specify measurement units and conditions for null values, - aligning with the overall enhancements to attribute accuracy - and clarity. -

              - Initialize |coord|'s {{GeolocationCoordinates/speed}} - attribute to a non-negative real number, or as `null` - if the implementation cannot provide speed - information. attribute to a speed, as a - non-negative real number of meters per second, or as `null` - if the implementation cannot provide speed - information. -

              -

              - Initialize |coord|'s {{GeolocationCoordinates/heading}} - attribute in degrees, or `null` if the implementation - cannot provide heading information. If the hosting device - is stationary (i.e., the value of the - {{GeolocationCoordinates/speed}} attribute is 0), then - initialize the {{GeolocationCoordinates/heading}} to - `NaN`. attribute to a heading, in degrees, or - `null` if the implementation cannot provide heading - information. If the hosting device is stationary (i.e., the - value of the {{GeolocationCoordinates/speed}} attribute is - 0), then initialize the {{GeolocationCoordinates/heading}} - to `NaN`. -

              -
              -
            5. - + coordinate system. + +
            6. Initialize |coord|'s {{GeolocationCoordinates/altitude}} + attribute in meters above the [[WGS84]] + ellipsoid, or `null` if the implementation cannot provide + altitude information. attribute to a + height, in meters, above the [[WGS84]] ellipsoid, or `null` if + the implementation cannot provide altitude information. +
            7. +
            8. Initialize |coord|'s {{GeolocationCoordinates/speed}} + attribute to a non-negative real number, or as + `null` if the implementation cannot provide speed + information. attribute to a speed, as a + non-negative real number of meters per second, or as `null` if + the implementation cannot provide speed information. +
            9. +
            10. Initialize |coord|'s {{GeolocationCoordinates/heading}} + attribute in degrees, or `null` if the + implementation cannot provide heading information. If the hosting + device is stationary (i.e., the value of the + {{GeolocationCoordinates/speed}} attribute is 0), then initialize + the {{GeolocationCoordinates/heading}} to `NaN`. + attribute to a heading, in degrees, or `null` + if the implementation cannot provide heading information. If + the hosting device is stationary (i.e., the value of the + {{GeolocationCoordinates/speed}} attribute is 0), then + initialize the {{GeolocationCoordinates/heading}} to + `NaN`. +
            11. Initialize |coord|'s {{GeolocationCoordinates/accuracy}} attribute to a non-negative real number. The value SHOULD correspond to a 95% confidence level with respect to the longitude and latitude values. -
            12. +
            13. Initialize |coord|'s {{GeolocationCoordinates/altitudeAccuracy}} attribute as non-negative real number, or to `null` if the implementation cannot provide altitude information. If the altitude accuracy information is provided, it SHOULD correspond to a 95% confidence level. -
            14. - +
          2. Return a newly created {{GeolocationPosition}} instance with its