Awesome, the Chrome DevTools color picker is already using this technique.

以上
一丝


Yoav Weiss (@Shopify) <yoavwe...@chromium.org> 于2025年2月21日周五 01:17写道:

> Hey Aaron, thanks for making the web more colorful!!
>
> It seems like this added support has web-exposed implications - developers
> can start using these gradient color spaces where before they couldn't (as
> they wouldn't render as expected).
>
> So I think this merits an intent to ship, to help us answer questions such
> as:
> * Are there interop risks here? Would other browsers support this as well?
> (or maybe they already do)
> * What do we expect developers to do in terms of feature detection or
> fallbacks?
>
> Can you send an intent?
>
> Cheers :)
> Yoav
>
> On Wed, Feb 12, 2025 at 7:57 PM Aaron Krajeski <aaro...@chromium.org>
> wrote:
>
>> Display P3, Rec2020, ProPhoto RGB and a98 RGB are specified in CSS color
>> 4 as predefined color spaces but had not yet been implemented as color
>> spaces for interpolation:
>> https://www.w3.org/TR/css-color-4/#predefined
>>
>> Recently the functionality was added to Skia
>> <https://skia-review.googlesource.com/c/skia/+/942876> and the interface
>> added to Blink
>> <https://chromium-review.googlesource.com/c/chromium/src/+/6202302> so
>> as of M134 these four color spaces will be useable in gradients!
>>
>> A demo: https://codepen.io/mysterydate/pen/azbzvqB
>>
>> Please contact me with any concerns or questions, if not, enjoy gradients!
>>   Aaron
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "blink-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to blink-dev+unsubscr...@chromium.org.
>> To view this discussion visit
>> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/202158ce-c58c-46c2-9fe6-0612f80ec0b0n%40chromium.org
>> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/202158ce-c58c-46c2-9fe6-0612f80ec0b0n%40chromium.org?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "blink-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to blink-dev+unsubscr...@chromium.org.
> To view this discussion visit
> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOmohSJ6Yp2rfPuqhHP0e8DOVdbnQ%3D6%2BjAqMkow6WLe25cOKBw%40mail.gmail.com
> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOmohSJ6Yp2rfPuqhHP0e8DOVdbnQ%3D6%2BjAqMkow6WLe25cOKBw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CA%2B-d5Zo4Dh2vzC0AoVWP1c%3DUFnsrTaK_pvVsDgXMdPEBBjc3XA%40mail.gmail.com.

Reply via email to