-
Notifications
You must be signed in to change notification settings - Fork 22.8k
Closed
Labels
Content:WebAPIWeb API docsWeb API docsgoal: clarity(Experimental label) Issues about unclear/confusing/inconcise content.(Experimental label) Issues about unclear/confusing/inconcise content.needs infoNeeds more information to review or act on.Needs more information to review or act on.
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/Selection/anchorOffset
What specific section or headline is this issue about?
main
What information was incorrect, unhelpful, or incomplete?
Hi There,
In the paragraph:
In the case of Selection.anchorNode being another type of node, Selection.anchorOffset returns the number of Node.childNodes the selection's focus is offset within the Selection.anchorNode.
it seems to me that the word "focus" might be confusing.
Actually, it confused me and prompted me to re-read it all.
Because "focus" is associated with the end of the selection.
Regards, and thanks for the excellent work.
Juan Lanus
What did you expect to see?
Something like "selection start".
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
Regards, and thanks for the excellent work.
Juan Lanus
MDN metadata
Page report details
- Folder:
en-us/web/api/selection/anchoroffset
- MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/Selection/anchorOffset
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/selection/anchoroffset/index.md
- Last commit: eea0f3e
- Document last modified: 2025-01-14T09:13:50.000Z
Metadata
Metadata
Assignees
Labels
Content:WebAPIWeb API docsWeb API docsgoal: clarity(Experimental label) Issues about unclear/confusing/inconcise content.(Experimental label) Issues about unclear/confusing/inconcise content.needs infoNeeds more information to review or act on.Needs more information to review or act on.