W3C home > Mailing lists > Public > www-style@w3.org > April 2010

Re: [css3-background]Positioning of box-shadow blurs?

From: Brad Kemper <brad.kemper@gmail.com>
Date: Wed, 28 Apr 2010 21:15:57 -0700
Cc: Tab Atkins Jr. <jackalmage@gmail.com>, Alex Meiburg <timeroot.alex@gmail.com>, "www-style@w3.org" <www-style@w3.org>
Message-Id: <FB1C8AAE-FAAE-4FFF-992A-5A6B13D1A506@gmail.com>
To: Brian Manthos <brianman@microsoft.com>

On Apr 28, 2010, at 7:02 PM, Brian Manthos wrote:

>> It's "outside".  The solid portion of the shadow is unaffected by the blur.
>> ~TJ
> I couldn't find any discussion of the direction the blur, um, spreads in the spec.  It seems like it should be there.

It's in that last sentence you quoted below, "The exact algorithm is not specified."

And actually, Tab is incorrect, at least in regard to Webkit, which centers the blur along the edge. As shown here:


> http://dev.w3.org/csswg/css3-background/#the-box-shadow
> # The third length is a blur radius. Negative values are not allowed.
> # If it is 0, the shadow is sharp, otherwise the larger the value,
> # the more the shadow is blurred. The exact algorithm is not specified.
> These are the only two references to "blur" that I see in the spec.

Received on Thursday, 29 April 2010 04:16:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:34 UTC