MicrosoftEdge / MicrosoftEdge/MSEdgeExplainers
Is an API similar to elementsFromPoint needed for highlights?
@sanketj is already working on this.
Since Jan 8, 2020.
- Dominant language
- HTML
- Stars
- 1.4k
- Forks
- 286
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 8
Description
Such an API would allow the user to get a collection of all hit highlight ranges under a given pointer. This would allow multiple types of highlights to be composed at the web app's option.
Handing out a collection of all hit highlights may not work well, however, for scenarios where separate uncoordinated frameworks or extensions are trying to work together (ex. CKEditor may provide find-on-page and annotation highlights while Grammarly provides spellcheck highlights). Though perhaps this can be solved by making the API take a HighlightRangeGroup parameter, and only return the collection of ranges that are a part of that group.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.