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

Re: [filter-effects] filter different components of an element

From: Kang-Hao (Kenny) Lu <kanghaol@oupeng.com>
Date: Fri, 11 Oct 2013 18:48:38 +0800
Message-ID: <5257D786.3030900@oupeng.com>
To: Brad Kemper <brad.kemper@gmail.com>, Lea Verou <lea@verou.me>
CC: Dirk Schulze <dschulze@adobe.com>, WWW Style <www-style@w3.org>, 张 金龙 <jinlongz@oupeng.com>
(2013/09/08 0:45), Brad Kemper wrote:
> The use case is the expressive artistic power you put in the hands of
> designers, to create a much wider variety of adaptable, animatable
> designs that aren't possible today. I've been wanting this power for
> drop shadows since I proposed it back in 2009:
> http://www.bradclicks.com/cssplay/drop-shadow/Drop-Shadow.html
> Note the inclusion of border-image as the border part, too. We were
> told at the time that SVG
> parameters combined with filters would solve this soon, and I've been
> waiting patiently ever since.
> It would be equally powerful and welcome to be able to do that sort
> of dividing up/layering the effect with opacity, too.

Right. you need to target 'background' or you can't achieve what all can
be done with the long-requested 'background-opacity'.

The use case is for cases when you can't get to know all the images. For
example, to turn the first picture in [1] to the second picture, you
should be able to do:

  * {
    color: blue;
    background-opacity: 0.3;

 :root {
    background-color: black;
    background-opacity: 1;

or something like this, for all pages, without knowing the page CSS.

Perhaps UC's heuristics requires knowing the page CSS to apply the
"night mode" to, so I can't be sure that this is a valid use case.
Previous proponents of 'background-opacity' might know better?

Web Specialist, Opera Sphinx Game Force, Oupeng Browser, Beijing
Try Oupeng: http://www.oupeng.com/
Received on Friday, 11 October 2013 10:49:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:35 UTC