Summary: | Implement EyeDropper API | ||
---|---|---|---|
Product: | WebKit | Reporter: | Bramus <bramus> |
Component: | DOM | Assignee: | 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
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. @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. |