[csswg-drafts] [css-highlight-api] Incubating custom highlight pointer event handling in CSSWG (#7447)

dandclark has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-highlight-api] Incubating custom highlight pointer event handling in CSSWG ==
Back in 2019 @sanketj posted a doc on the MSEdgeExplainers repo proposing an addition to Highlight API that would allow custom highlights to receive pointer events: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/highlight/events-explainer.md. This would make highlights interactive, unlocking useful scenarios like custom spell-checking where hovering or clicking a misspelled word shows spelling suggestions, or highlighted annotations that scroll-into-view and/or update the user's selection when clicked.

The Highlight API spec has matured significantly since then, and it is on the verge of shipping by default in Chromium. Thus it seems like this is a good time to move forward with this enhancement of the spec.

Would the CSSWG be interested in being the venue for incubating/specifying Highlight pointer events? This would have more DOM integration than the base Highlight API, but given the momentum that Highlight API has had here so far it seems like CSSWG is a good place to develop this.

If so, I'll start by moving some [Highlight pointer events issues](https://github.com/MicrosoftEdge/MSEdgeExplainers/labels/HighlightEvents) in the MSEdgeExplainers repo over to csswg-drafts and begin proposing some solutions.

cc @frivoal 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7447 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 1 July 2022 18:38:13 UTC