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]