Re: [css3-background] box-shadow syntax

On May 7, 2008, at 2:41 AM, Bert Bos wrote:

>    none | [ <length> <length> <length>? || <color> ]
>    [ , [ <length> <length> <length>? || <color> ] ]*
>
> On the other hand, omitting the three <length>s is not very useful:  
> without an offset, no part of the shadow is outside the border and  
> thus none of it is visible. Maybe the offset should not be optional,  
> or maybe the default offset should not be zero.

I thought it was only the third length value (blur radius) that was  
optional. If it was all three, wouldn't that be like this:

    none | [ [<length> <length> <length>]? || <color> ]
    [ , [ [<length> <length> <length>]? || <color> ] ]*

Received on Wednesday, 7 May 2008 15:36:21 UTC