<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/unlock-text-editing-use-cases-with-highlightsfrompoint-and-other-frompoint-apis-bopqhz6uu" -->

---
title: Unlock text editing use cases with highlightsFromPoint...
description: Introduces the new CSS.highlights.highlightsFromPoint() API, which allows developers to query which custom CSS highlights exist at a specific point in the...
canonical: https://daily.dev/posts/unlock-text-editing-use-cases-with-highlightsfrompoint-and-other-frompoint-apis-bopqhz6uu
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Unlock text editing use cases with highlightsFromPoint and other FromPoint APIs | daily.dev
og:description: Introduces the new CSS.highlights.highlightsFromPoint() API, which allows developers to query which custom CSS highlights exist at a specific point in the...
og:url: https://daily.dev/posts/unlock-text-editing-use-cases-with-highlightsfrompoint-and-other-frompoint-apis-bopqhz6uu
og:image: https://api.daily.dev/og/posts/bopQhZ6uU.png
og:image:alt: Unlock text editing use cases with highlightsFromPoint and other FromPoint APIs
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Unlock text editing use cases with highlightsFromPoint and other FromPoint APIs

**[Patrick Brosset](https://daily.dev/sources/patrickbrosset)** · 1 min read · 0 upvotes · 0 comments

## Summary

Introduces the new CSS.highlights.highlightsFromPoint() API, which allows developers to query which custom CSS highlights exist at a specific point in the viewport. This unlocks text editing use cases like tooltips, context menus, and interactive highlight interactions.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://patrickbrosset.com/articles/2025-09-25-unlock-text-editing-use-cases-with-highlightsfrompoint-and-other-frompoint-apis/>

## Similar posts on daily.dev

- [What’s \!important \#17: Custom Highlight API, CSS Navigation Matching, Fixing text-stroke, and More](https://daily.dev/posts/what-s-important-17-custom-highlight-api-css-navigation-matching-fixing-text-stroke-and-more-alg764vfx) · CSS-Tricks · 7 upvotes · 0 comments
- [css custom highlight api javascript Tutorial](https://daily.dev/posts/css-custom-highlight-api-javascript-tutorial-zer4jpppo) · SitePoint · 5 upvotes · 1 comments
- [Working with ::highlight\(\) using progressive enhancement](https://daily.dev/posts/working-with-highlight-using-progressive-enhancement-svttq0eh5) · Piccalilli · 1 upvotes · 0 comments
- [What’s \!important \#18: <geolocation>, Syntax ::highlight\(\)ing, named-feature\(\), and More](https://daily.dev/posts/what-s-important-18-geolocation-syntax-highlight-ing-named-feature-and-more-48x9rx49u) · CSS-Tricks · 2 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript)

[View this post on daily.dev](https://daily.dev/posts/unlock-text-editing-use-cases-with-highlightsfrompoint-and-other-frompoint-apis-bopqhz6uu)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Unlock text editing use cases with highlightsFromPoint and other FromPoint APIs","url":"https://daily.dev/posts/unlock-text-editing-use-cases-with-highlightsfrompoint-and-other-frompoint-apis-bopqhz6uu","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/unlock-text-editing-use-cases-with-highlightsfrompoint-and-other-frompoint-apis-bopqhz6uu"},"datePublished":"2026-03-22T11:40:41.276Z","dateModified":"2026-03-22T11:42:38.326Z","description":"Introduces the new CSS.highlights.highlightsFromPoint() API, which allows developers to query which custom CSS highlights exist at a specific point in the...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/91602a7f3eb191153764c94f1026f4d5?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/91602a7f3eb191153764c94f1026f4d5?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Patrick Brosset","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Patrick Brosset","logo":"https://media.daily.dev/image/upload/s--AD7IzOuB--/f_auto,q_auto/v1774179622/logos/patrickbrosset","url":"https://daily.dev/sources/patrickbrosset"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/unlock-text-editing-use-cases-with-highlightsfrompoint-and-other-frompoint-apis-bopqhz6uu","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Patrick Brosset","item":"https://daily.dev/sources/patrickbrosset"},{"@type":"ListItem","position":3,"name":"Unlock text editing use cases with highlightsFromPoint and other FromPoint APIs"}]}
```

