W3C home > Mailing lists > Public > www-style@w3.org > October 2012

[css3-background][css3-compositing] box-shadow blending

From: Rik Cabanier <cabanier@gmail.com>
Date: Wed, 31 Oct 2012 08:37:16 -0700
Message-ID: <CAGN7qDBf0Am4VVyAQq76qVYrCOgNyOY_8LOtDC6_K+rw-Li5Hw@mail.gmail.com>
To: www-style list <www-style@w3.org>
All,

the css compositing and blending spec defines how a box shadow can blend
with its background [1].
It seems that it would be easier if the blend mode became a part of the
shadow syntax [2]. That way there would be no need for another css property.
What do people think about this?

Another interesting feature would be if box shadows could be marked as
'knockout' When in this mode, shadows would not interact with each other so
if a shadow has opacity, you will not see the sibling shadows.

Rik

1:
https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#box-shadow-blend-mode
2: http://dev.w3.org/csswg/css4-background/#ltshadowgt
Received on Wednesday, 31 October 2012 15:37:43 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:02 GMT