W3C home > Mailing lists > Public > public-fx@w3.org > January to March 2013

Re: Utility of background-composite and background-blend-mode?

From: Rik Cabanier <cabanier@gmail.com>
Date: Thu, 31 Jan 2013 13:52:50 -0800
Message-ID: <CAGN7qDD4r_noBKs0-nPiBL01qBY57+g9zni54dfiNSzzGeRg+w@mail.gmail.com>
To: robert@ocallahan.org
Cc: public-fx@w3.org
On Thu, Jan 31, 2013 at 1:41 PM, Robert O'Callahan <robert@ocallahan.org>wrote:

> What is the difference between background-blend-mode:<MODE> and
> mix-blend-mode: background <MODE>?
>

'background-blend-mode' specifies how the background images blend with each
other. Conceptually, the background blend and composite with each other and
the resulting bitmap is then used as the element's background.
'mix-blend-mode: background <MODE>' allows you to specify the blend mode on
that background image.


>
> What are the use-cases for 'background-composite'? It seems like a very
> specialized feature whose effect can be achieved pretty easily by just
> using more elements or (in some cases) pseudo-elements.
>

I agree it's pretty specialized. We've seen people use it to make small
animations. ie https://github.com/simurai/lab/tree/gh-pages/icons
It's fairly simple to implement so I added it to the spec.


>
> Rob
> --
> Wrfhf pnyyrq gurz gbtrgure naq fnvq, “Lbh xabj gung gur ehyref bs gur
> Tragvyrf ybeq vg bire gurz, naq gurve uvtu bssvpvnyf rkrepvfr nhgubevgl
> bire gurz. Abg fb jvgu lbh. Vafgrnq, jubrire jnagf gb orpbzr terng nzbat
> lbh zhfg or lbhe freinag, naq jubrire jnagf gb or svefg zhfg or lbhe fynir
> — whfg nf gur Fba bs Zna qvq abg pbzr gb or freirq, ohg gb freir, naq gb
> tvir uvf yvsr nf n enafbz sbe znal.” [Znggurj 20:25-28]
>
Received on Thursday, 31 January 2013 21:53:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 31 January 2013 21:54:21 GMT