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

Re: [css3-background] Where we are with Blur value discussion

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 27 Jul 2010 11:26:31 -0700
Message-ID: <AANLkTi=Fde_EmXc_++sVM8BsyuDO3mmsT0A8aarjF2nT@mail.gmail.com>
To: Brian Manthos <brianman@microsoft.com>
Cc: Brad Kemper <brad.kemper@gmail.com>, Sylvain Galineau <sylvaing@microsoft.com>, Dennis Amrouche <dennis@screenlabor.de>, Aryeh Gregor <Simetrical+w3c@gmail.com>, "L. David Baron" <dbaron@dbaron.org>, Simon Fraser <smfr@me.com>, Brendan Kenny <bckenny@gmail.com>, www-style list <www-style@w3.org>
On Tue, Jul 27, 2010 at 10:41 AM, Brian Manthos <brianman@microsoft.com> wrote:
> Tab, can you reply with a link or the text of the simplest example you can craft that shows what you consider a valid rendering in non-Chrome and an invalid rendering in Chrome?
>
> I'd like to take a look at it to see what in-browser testability I can squeeze out of it.

Certainly.  These two are roughly equivalent - at least, they both hit
pure white at the same length, which should be *roughly* equivalent to
requiring they hit the 2% point at the same length.

In Firefox:
data:text/html,<!DOCTYPE html><title>Test</title><div
style="width:200px; height:300px; -moz-box-shadow: 0 0 62px
black"></div>

In Chrome on Linux, and maybe Windows:
data:text/html,<!DOCTYPE html><title>Test</title><div
style="width:200px; height:300px; -webkit-box-shadow: 0 0 100px
black;"></div>

The Firefox rendering is correct for a blur-length of 44px - it
differs from a true gaussian with stdev of 22px by 6 color units at
max.

~TJ
Received on Tuesday, 27 July 2010 18:27:40 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:29 GMT