Skip to content

Conversation

@chrisdavidmills
Copy link
Contributor

Summary

Chrome 140 adds support for the HighlightRegisty.highlightsFromPoint() method; see https://chromestatus.com/feature/4552801607483392.

I've tested it in Chrome 140, and it works fine; Chrome 139 throws Uncaught TypeError: CSS.highlights.highlightsFromPoint is not a function.

Test results and supporting details

Related issues

@github-actions github-actions bot added data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:m [PR only] 25-100 LoC changed labels Jul 16, 2025
@github-actions
Copy link
Contributor

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

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

This would normally get added via the collector when Chrome 140 is in beta, that way we reduce risks that it doesn't slip to 141. Happy to merge it anyway, though. We will check if it sticks.

@Elchi3 Elchi3 merged commit ad181d0 into mdn:main Jul 17, 2025
5 checks passed
@mdn-bot mdn-bot mentioned this pull request Jul 17, 2025
@chrisdavidmills chrisdavidmills deleted the highlightregistry.highlightsfrompoint branch July 17, 2025 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:m [PR only] 25-100 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants