[webkit-dev] Adding blending mode to background images

Benjamin Poulain benjamin at webkit.org
Fri Feb 1 13:01:39 PST 2013

On Fri, Feb 1, 2013 at 12:44 PM, Rik Cabanier <cabanier at gmail.com> wrote:

> background-image: url(a.png), url(b.png);
> -webkit-background-blend-mode: screen, screen;
Out of curiosity:

I am probably way too late for the party, but why not blend
surface-to-surface? E.g.
    background-image: blend(url(foo.png), url(bar.png), difference).

This is in order to easily stack them:
    background-image: blend(blend(url(foo.png), url(bar.png), difference),
url(giraffe.gif), screen).

Although, maybe we don't want that as it could get more difficult to

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130201/fd9c11a9/attachment.html>

More information about the webkit-dev mailing list