Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Highlight API #3

Closed
marcoscaceres opened this issue Jun 29, 2022 · 3 comments
Closed

Custom Highlight API #3

marcoscaceres opened this issue Jun 29, 2022 · 3 comments
Assignees
Labels
from: Bloomberg Proposed, edited, or co-edited by Bloomberg. from: Microsoft Proposed, edited, or co-edited by Microsoft. position: support topic: css Spec relates to CSS (Cascading Style Sheets) topic: web apis Spec relates to web APIs (entry points for script) venue: W3C CSS WG

Comments

@marcoscaceres
Copy link
Contributor

marcoscaceres commented Jun 29, 2022

Request for position on an emerging web specification

(Please delete inapplicable rows.)

Information about the spec

  • Spec Title: CSS Custom Highlight API Module Level 1
  • Spec URL: https://drafts.csswg.org/css-highlight-api-1/
  • GitHub repository:
  • Issue Tracker (if not the repository's issue tracker):
  • Explainer (if not README.md in the repository):

Design reviews and vendor positions

Bugs tracking this feature

  • WebKit Bugzilla:
  • Radar:

Anything else we need to know

On WebKit-dev, @dandclark wrote:

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

@othermaciej othermaciej added topic: css Spec relates to CSS (Cascading Style Sheets) topic: web apis Spec relates to web APIs (entry points for script) venue: W3C CSS WG labels Jun 29, 2022
@hober
Copy link
Member

hober commented Jun 30, 2022

@megangardner @whsieh, thoughts?

@othermaciej othermaciej added from: Microsoft Proposed, edited, or co-edited by Microsoft. from: Bloomberg Proposed, edited, or co-edited by Bloomberg. labels Sep 25, 2022
@marcoscaceres
Copy link
Contributor Author

Spoke to colleagues internally and we are supportive. @megangardner is also co-editor of that spec.

Unless anyone objects, we will mark this as "support" in a week or so.

@hober
Copy link
Member

hober commented Mar 21, 2023

See also #95

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from: Bloomberg Proposed, edited, or co-edited by Bloomberg. from: Microsoft Proposed, edited, or co-edited by Microsoft. position: support topic: css Spec relates to CSS (Cascading Style Sheets) topic: web apis Spec relates to web APIs (entry points for script) venue: W3C CSS WG
Development

No branches or pull requests

4 participants