Bug 229755 - Implement EyeDropper API
Summary: Implement EyeDropper API
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-01 01:50 PDT by Bramus
Modified: 2024-01-12 07:43 PST (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
<rdar://problem/82862438>