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

On Sat, Jun 19, 2010 at 12:16 PM, Simon Fraser <smfr@me.com> wrote:

> So I would adjust the spec wording accordingly:
> "A non-zero blur distance indicates that the resulting shadow should be
> blurred, such as by a Gaussian filter. The exact algorithm is not defined;
> however for a long, straight shadow edge, this should create a color
> transition that is twice the blur amount, perpendicular to and centered on
> the shadow's edge. The color transition ranges from the full shadow color at
> a distance equivalent to the blur amount inside the shadow edge to fully
> transparent by the same distance outside it."
>

That sounds like what we currently do.


> Note that I think Firefox's rendering <
> http://www.bradclicks.com/cssplay/blur_100px_firefox.png> is incorrect,
> because it is not centering the blur on the shadow's edge. Also, this
> rendering looks different from what I get in Minefield 3.7a5pre on Mac; I
> suspect Mozilla might have some platform differences in shadow rendering.
>

Shouldn't be, we use the same code on all platforms.

What's the actual testcase here?

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]

Received on Saturday, 19 June 2010 09:54:55 UTC