Bug 229755

Summary: Implement EyeDropper API
Product: WebKit Reporter: Bramus <bramus>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: 709922234, cedric, dino, eoconnor, heycam, pinkhominid, sam, tomac, tombigel, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Bramus 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
Comment 1 Cameron McCormack (:heycam) 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.
Comment 2 Bramus 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.
Comment 3 Radar WebKit Bug Importer 2021-09-08 01:51:27 PDT