W3C home > Mailing lists > Public > www-style@w3.org > May 2008

Re: [css3-background] box-shadow syntax

From: Brad Kemper <brkemper@comcast.net>
Date: Wed, 7 May 2008 08:35:35 -0700
Cc: www-style@w3.org
Message-Id: <B36E7CC4-A779-41FD-9A9A-56B1B82BADF1@comcast.net>
To: Bert Bos <bert@w3.org>


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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:06 GMT