FF150 Relnote HighlightRegistry: highlightsFromPoint()#44294
Open
hamishwillee wants to merge 2 commits into
Open
FF150 Relnote HighlightRegistry: highlightsFromPoint()#44294hamishwillee wants to merge 2 commits into
hamishwillee wants to merge 2 commits into
Conversation
hamishwillee
commented
May 29, 2026
|
|
||
| ### Return value | ||
|
|
||
| An array of `HighlightHitResult` objects representing the custom highlights applied at the point in the viewport specified by the `x` and `y` parameters. |
Collaborator
Author
There was a problem hiding this comment.
MDN treats dictionaries as unnamed object.
hamishwillee
commented
May 29, 2026
Contributor
|
Preview URLs (2 pages) External URLs (1)URL:
(comment last updated: 2026-05-29 06:15:32) |
8 tasks
chrisdavidmills
approved these changes
May 29, 2026
Contributor
chrisdavidmills
left a comment
There was a problem hiding this comment.
@hamishwillee, looking good, just one small sugestion.
| This allows the method to return the node containing the caret from within a shadow DOM, provided its associated {{domxref("ShadowRoot")}} was passed as an option. | ||
| ([Firefox bug 1914596](https://bugzil.la/1914596)). | ||
|
|
||
| - The {{domxref("HighlightRegistry.highlightsFromPoint()")}} method is now supported, providing an mechanism for web pages to get information about all the [CSS custom highlights](/en-US/docs/Web/API/CSS_Custom_Highlight_API) at a particular point. |
Contributor
There was a problem hiding this comment.
Suggested change
| - The {{domxref("HighlightRegistry.highlightsFromPoint()")}} method is now supported, providing an mechanism for web pages to get information about all the [CSS custom highlights](/en-US/docs/Web/API/CSS_Custom_Highlight_API) at a particular point. | |
| - The {{domxref("HighlightRegistry.highlightsFromPoint()")}} method is now supported, providing an mechanism for web pages to get information about all the [CSS custom highlights](/en-US/docs/Web/API/CSS_Custom_Highlight_API) applied at a particular point. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FF150 added support for
HighlightRegistry.highlightsFromPoint()in https://bugzilla.mozilla.org/show_bug.cgi?id=1917991This adds a release note.
Related docs work can be tracked in #43969