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

(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?


Cheers,
Kenny
-- 
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