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

Re: [css3-background] vastly different takes on "blur"

From: Brad Kemper <brad.kemper@gmail.com>
Date: Fri, 11 Jun 2010 14:22:00 -0700
Message-Id: <51E0B61F-1589-42E1-A564-1B03AD9AF6B9@gmail.com>
To: David Hyatt <hyatt@apple.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, Simon Fraser <smfr@me.com>, "L. David Baron" <dbaron@dbaron.org>, Brian Manthos <brianman@microsoft.com>, "www-style@w3.org" <www-style@w3.org>

On Jun 11, 2010, at 10:56 AM, David Hyatt <hyatt@apple.com> wrote:

> CoreGraphics draws the shadow in the Safari implementation.  We just  
> give it the parameters and let it draw.  At best all we can do is  
> alter the parameters we pass in.  Can you explain what the problem  
> is with Safari's rendering?

Mainly that:

A) it doesn't match firefox (I didn't know which is more correct). And

B) that the width of the resulting blur area is not the width  
authored, nor half that width, nor anything easily guessable.

> If it's not something we can hack by changing the parameters, it's  
> unlikely we'll be able to fix it.

I'm guessing that if there is some formula for determining how many  
pixels get blurred for a guassian radius of 'x', then you do do a  
little math on the parameters first to get more author-predictable  
Received on Friday, 11 June 2010 21:22:44 UTC

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