googlefonts / colr-gradients-spec

63 stars 8 forks source link

Support compositing-2, esp plus-lighter #364

Open rsheeter opened 2 years ago

rsheeter commented 2 years ago

https://drafts.fxtf.org/compositing-2/ outlines compositing and blending level 2 (WIP).

https://jakearchibald.com/2021/dom-cross-fade/ discusses benefits of plus-lighter.

COLRv1 supports compositing-1. COLRv2 supporting compositing-2 seems fairly natural if the timing of stable compositing-2 lines up.

rsheeter commented 2 years ago

Reminder for self: per discussion with Raph and Chad we might want a new paint to support blending many layers with alpha. Hopefully named something nicer than PaintColorLayersWithBlendAndAlpha.

behdad commented 1 year ago

Reminder for self: per discussion with Raph and Chad we might want a new paint to support blending many layers with alpha. Hopefully named something nicer than PaintColorLayersWithBlendAndAlpha.

Or PaintCompositeLayers?