Contact emails
stephanie.zh...@microsoft.com<mailto:stephanie.zh...@microsoft.com>, 
sa...@microsoft.com<mailto:sa...@microsoft.com>, 
ffi...@microsoft.com<mailto:ffi...@microsoft.com>


Explainer
https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/highlight/HighlightsFromPointsExplainer.md


Specification
https://drafts.csswg.org/css-highlight-api-1/#interactions


Summary
The highlightsFromPoint API enables developers to interact with custom 
highlights by detecting which highlights exist at a specific point within a 
document. This interactivity is valuable for complex web features where 
multiple highlights may overlap or exist within shadow DOM. By providing 
precise point-based highlight detection, the API empowers developers to manage 
dynamic interactions with custom highlights more effectively, such as 
responding to user clicks or hover events on highlighted regions to trigger 
custom tooltips, context menus, or other interactive features.



Blink component
Blink>CSS<https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3ECSS%22>


TAG review
https://github.com/w3ctag/design-reviews/issues/1043


TAG review status
Issues addressed


Risks



Interoperability and Compatibility
The 'highlightsFromPoint' API is a new feature so there isn't a compatibility 
risk. The interoperability risk is limited to the usual risk of limited 
adoption and/or inconsistent browser support for a new feature.


Gecko: No signal (https://github.com/mozilla/standards-positions/issues/1068)

WebKit: No signal (https://github.com/WebKit/standards-positions/issues/394)

Web developers: Positive 
(https://github.com/w3c/csswg-drafts/issues/7513#issuecomment-1211033472, 
https://github.com/w3c/csswg-drafts/issues/7447#issuecomment-2386160133, 
https://github.com/w3c/csswg-drafts/issues/7447#issuecomment-1183422904)

Other signals:


Ergonomics
None



Activation
None



Security
None



WebView application risks
Does this intent deprecate or change behavior of existing APIs, such that it 
has potentially high risk for Android WebView-based applications?
None



Debuggability
None



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, 
ChromeOS, Android, and Android WebView)?
Yes


Is this feature fully tested by 
web-platform-tests<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>?
Yes
https://wpt.fyi/results/css/css-highlight-api/HighlightRegistry-highlightsFromPoint.html?label=experimental&label=master&aligned
https://wpt.fyi/results/shadow-dom/HighlightRegistry-highlightsFromPoint.html?label=master&label=experimental&aligned
Note that these tests are currently failing in wpt.fyi because the feature 
still has the status test in 
code<https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/runtime_enabled_features.json5;l=2333?q=runtime_enabled_features.json&ss=chromium%2Fchromium%2Fsrc>,
 so it's not activated for these tests that run under experimental flag, but 
worth mentioning they're passing in chromium CI. They're expected to pass in 
wpt.fyi as well once the feature status is upgraded.


Flag name on about://flags
None


Finch feature name
HighlightsFromPoint


Requires code in //chrome?
False


Tracking bug
https://issues.chromium.org/issues/365046212


Estimated milestones
Shipping on desktop
134



Anticipated spec changes
Open questions about a feature may be a source of future web compat or interop 
issues. Please list open issues (e.g. links to known github issues in the 
project for the feature specification) whose resolution may introduce web 
compat/interop risk (e.g., changing to naming or structure of the API in a 
non-backward-compatible way).
None


Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/4552801607483392?gate=4762112543686656


Links to previous Intent discussions
Intent to Prototype: 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/SJ0PR00MB130193097BB3B418C676D88CEC642%40SJ0PR00MB1301.namprd00.prod.outlook.com


This intent message was generated by Chrome Platform 
Status<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/BL4PR00MB26636D7174ADA73FC348333DDCF92%40BL4PR00MB2663.namprd00.prod.outlook.com.

Reply via email to