NEW 229755
Implement EyeDropper API
https://bugs.webkit.org/show_bug.cgi?id=229755
Summary Implement EyeDropper API
Bramus
Reported 2021-09-01 01:50:53 PDT
Spec: https://wicg.github.io/eyedropper-api/ Support in other browsers: - Chromium: Shipping with Chromium 95 — https://bugs.chromium.org/p/chromium/issues/detail?id=897309 - Firefox: No Support
Attachments
Cameron McCormack (:heycam)
Comment 1 2021-09-01 14:58:52 PDT
Is there any reason eyedropper functionality couldn't be added to the standard <input type=color> widget? Not certain why a new API is needed.
Bramus
Comment 2 2021-09-02 01:28:03 PDT
@heycam: One of [the goals of the API](https://github.com/WICG/eyedropper-api#goals) is this one: > 2. Allow the developer to enable the eyedropper through script (subject to user activation). A good example that leverages this goal is this integration in Slides: https://twitter.com/hakimel/status/1433035547933564937 (video) As they already have a color selection mechanism, that doesn't use input[type="color"], integration the EyeDropper was was really easy.
Radar WebKit Bug Importer
Comment 3 2021-09-08 01:51:27 PDT
Note You need to log in before you can comment on or make changes to this bug.