Skip to content

Conversation

@reillyeon
Copy link
Contributor

Description

Removes the reference to the heading field being set to NaN when speed is 0. This matches the specification change in w3c/geolocation#173.

Motivation

As discussed in w3c/geolocation#171, existing implementations do not provide the NaN value previously required by the specification and so the specification has been changed. Documentation such as MDN should also be updated to reflect this reality and avoid developer confusion around whether this is a potential value returned by the API.

Matches specification change in w3c/geolocation#173 and discussion about existing implementations in w3c/geolocation#171.
@reillyeon reillyeon requested a review from a team as a code owner August 14, 2024 19:45
@reillyeon reillyeon requested review from Elchi3 and removed request for a team August 14, 2024 19:45
@github-actions github-actions bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Aug 14, 2024
@Josh-Cena
Copy link
Member

Did any browser ship with NaN? From a quick look at the issue, seems like no?

@github-actions
Copy link
Contributor

github-actions bot commented Aug 14, 2024

Preview URLs

(comment last updated: 2024-08-24 00:34:48)

@reillyeon
Copy link
Contributor Author

Did any browser ship with NaN? From a quick look at the issue, seems like no?

We don't believe so.

Copy link
Member

@Josh-Cena Josh-Cena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@reillyeon reillyeon requested a review from Josh-Cena August 23, 2024 23:54
@reillyeon
Copy link
Contributor Author

Copy link
Member

@Josh-Cena Josh-Cena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM 👍

@Josh-Cena Josh-Cena merged commit 68c5b12 into mdn:main Aug 24, 2024
@reillyeon reillyeon deleted the patch-1 branch August 26, 2024 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants