- From: Brad Kemper <brkemper.comcast@gmail.com>
- Date: Tue, 19 Aug 2008 09:52:47 -0700
- To: fantasai <fantasai.lists@inkedblade.net>
- Cc: www-style@w3.org
On Aug 19, 2008, at 9:08 AM, fantasai wrote:
> Brad Kemper wrote:
>>>>> The syntax I've drafted allows you to have both at the same
>>>>> time, but
>>>>> you have to set them together.
>>>> What does that look like in this syntax? Or do you mean you would
>>>> add another keyword to add as well for "outer"?
>>>
>>> In the current syntax you can have both like this:
>>> box-shadow: 3px 3px, inset 3px 3px;
>>> because the keyword is associated with each shadow, not with the
>>> entire
>>> property.
>> OK, I see, then you are using multiple shadows. But then I don't
>> understand the part about "maybe they should be separate properties
>> so they can be set independently". If you are using multiple
>> shadows, wouldn't they be able to be set independently regardless
>> of whether "inset" (or "inner") is a value of a separate sub-
>> property than "outer"?
>
> If they were separate properties, it'd look like this instead
> (substitute whatever names seem appropriate):
>
> box-shadow: 3px 3px;
> inset-shadow: 3px 3px;
>
> ~fantasai
I understand now. IMO, there would be very little advantage to doing
it that way (as a completely different property, instead of the multi-
shadow version you showed before), and would further complicate adding
inner shadow to text-shadow ("inner-text-shadow") if we wanted parity
there.
Received on Tuesday, 19 August 2008 16:53:29 UTC