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

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

From: Chris Lilley <chris@w3.org>
Date: Sat, 7 Sep 2013 21:49:18 +0200
Message-ID: <352602999.20130907214918@w3.org>
To: Lea Verou <lea@verou.me>
CC: Dirk Schulze <dschulze@adobe.com>, "www-style@w3.org list" <www-style@w3.org>
Hello Lea,

Saturday, September 7, 2013, 4:41:25 PM, you wrote:

> On Sep 7, 2013, at 11:03, Dirk Schulze <dschulze@adobe.com> wrote:
>> filter() can just filter CSS Images. You can not filter border: solid black 1px; for example.

> Thatís not exactly a use case, youíre repeating what you want to be
> possible. I was asking *why* would you want to do that? Are there
> designs out there requiring it? How common is the need?

Soft drop shadow on a solid border seems a reasonable use case to me.

Replacing the solid border with an image of a solid colour chip (!) to
use as a sliced border image and applying the filter to that would not
give the same result, due to the image slicing/stretching/repeating
that border-image does.

And box-shadow is still, unfortunately, just a box shadow and not a
border shadow.



-- 
Best regards,
 Chris                            mailto:chris@w3.org
Received on Saturday, 7 September 2013 19:49:20 UTC

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