[webkit-dev] Request for position on Custom Highlight API

Daniel Clark daniec at microsoft.com
Wed Jun 15 11:50:49 PDT 2022


Hi webkit-dev,

I would like to request WebKit's current position on the CSS Custom Highlight API [1]. Edge and Chrome are planning to ship this soon [2].

Safari implemented an early version of this API in 99 [3], gated behind the Highlight API experimental flag. It looks like it's been updated since then to match changes in the spec, e.g. HighlightRangeGroup has been renamed to Highlight. The remaining major difference between the Safari and Chromium implementation is that the Safari implementation doesn't yet support live Ranges, only StaticRanges. The API is still off-by-default, behind the experimental flag.

Is there anything that can be shared about WebKit's plans to further develop the API and eventually ship it on-by-default?

Thanks,
Dan Clark

[1] https://drafts.csswg.org/css-highlight-api-1/
[2] https://groups.google.com/a/chromium.org/g/blink-dev/c/pxgVrAzMfyk
[3] https://developer.apple.com/safari/technology-preview/release-notes/#r99
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20220615/f861a568/attachment.htm>


More information about the webkit-dev mailing list