W3C home > Mailing lists > Public > www-style@w3.org > February 2009

Re: [CSSWG] Minutes and Resolutions 2009-02-04: box-shadow and border-image

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 18 Feb 2009 16:23:06 +1300
Message-ID: <11e306600902171923g371e4484wf8a6700d8c934b04@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: David Hyatt <hyatt@apple.com>, Brad Kemper <brad.kemper@gmail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, "www-style@w3.org" <www-style@w3.org>
On Wed, Feb 18, 2009 at 3:43 PM, fantasai <fantasai.lists@inkedblade.net>wrote:

> Sometimes you want to violate real-world physics. I have no objection
> to adding a 'shadow' property that behaves like opacity and shadows in
> all optical accuracy everything that's drawn. But sometimes designers
> don't want the shadow to show through. Consider for example, a box with
> a semitransparent background, an image, and some text. A real shadow
> effect would shadow everything, including the text.


True.


>  If your diamond-border example had a solid padding-box background, and the
>> border-image was modified so the inside of the diamond border is filled with
>> the same background color, then drawing a diamond-shaped drop shadow for the
>> border would be easy and look good.
>>
>
> True. So about that kettle of fish. What should 'inset' do, that would
> be both useful and unsurprising? The same thing? Just drop-shadow the
> border-image?


Yes, I think so. To use it, you'd make the border-image opaque on the
outside and transparent on the inside. You can't then effectively have an
outside shadow and an inside shadow, but too bad.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
Received on Wednesday, 18 February 2009 03:23:46 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:16 GMT