Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in the Selection.focusOffset property description #37758

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

Janscode
Copy link
Contributor

Description

The documentation for Selection.focusOffset had a typo that state that the property gives the offset of the anchor position, in fact it provides the offset of the focus position.

Motivation

Additional details

https://developer.mozilla.org/en-US/docs/Web/API/Selection

Related issues and pull requests

@Janscode Janscode requested a review from a team as a code owner January 22, 2025 19:22
@Janscode Janscode requested review from sideshowbarker and removed request for a team January 22, 2025 19:22
@github-actions github-actions bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Jan 22, 2025
Copy link
Contributor

Preview URLs

@sideshowbarker sideshowbarker merged commit 8d5fd65 into mdn:main Jan 23, 2025
8 checks passed
@sideshowbarker
Copy link
Member

Jan, nice catch, and congrats on landing your first docs change here — welcome aboard 🎉

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