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

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

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sat, 19 Jun 2010 21:54:25 +1200
Message-ID: <AANLkTineE5XP2HjVFnIzKiDD79lUGrmc3ksWllcZakP2@mail.gmail.com>
To: Simon Fraser <smfr@me.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Brad Kemper <brad.kemper@gmail.com>, Brendan Kenny <bckenny@gmail.com>, fantasai <fantasai.lists@inkedblade.net>, "L. David Baron" <dbaron@dbaron.org>, Brian Manthos <brianman@microsoft.com>, "www-style@w3.org" <www-style@w3.org>
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?

"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
Received on Saturday, 19 June 2010 09:54:55 UTC

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