Re: [css-compositing][css-mask] new Editor's draft posted

Rik Cabanier skriver:
> 
> 
> On Thu, May 23, 2013 at 4:22 AM, Henrik Andersson <henke@henke37.cjb.net
> <mailto:henke@henke37.cjb.net>> wrote:
> 
>     Rik Cabanier skriver:
>     >
>     > From http://www.myprovence.fr/en#p_home, notice the pulldown tab that
>     > says "An event MP2013".
>     > The designer had to rasterize this to an image because there's no
>     way to
>     > draw this with CSS. If he had blending, he could have drawn the
>     text as
>     > a black div with white glyphs and apply a 'darken' blend mode. This
>     > blend mode would pick the darkest color, which in this case would
>     be the
>     > clouds and the sky of the backdrop.
> 
>     I'd call that an inverted mask. Not a blend mode.
> 
> 
> How would you do an inverted mask in HTML?
> This is a valid use case for blend modes.

Indeed, how? CSS masking does not currently support inverted masks. But
it could easily be adjusted to allow for inverse masks.

Received on Thursday, 23 May 2013 18:40:50 UTC