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

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

From: Brad Kemper <brad.kemper@gmail.com>
Date: Tue, 27 Jul 2010 16:55:02 -0700
Message-Id: <A090D883-3C51-49F3-B86F-85FE52A743C6@gmail.com>
Cc: Sylvain Galineau <sylvaing@microsoft.com>, Dennis Amrouche <dennis@screenlabor.de>, Brian Manthos <brianman@microsoft.com>, Aryeh Gregor <Simetrical+w3c@gmail.com>, "L. David Baron" <dbaron@dbaron.org>, SimonFraser <smfr@me.com>, Brendan Kenny <bckenny@gmail.com>, www-style list <www-style@w3.org>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
On Jul 27, 2010, at 3:03 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:

> On Tue, Jul 27, 2010 at 2:29 PM, Brad Kemper <brad.kemper@gmail.com> wrote:
>> On Jul 27, 2010, at 9:44 AM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:
>> 
>>> We can automate it, we just have to build the automation manually -
>>> screenshot and then run pixel comparisons.
>> 
>> So what would you use for for the screen shot? The approximate Gaussian or the true Gaussian?
> 
> You'd compare it against a true gaussian.  You don't actually have to
> do a screenshot *comparison* - just take the one screenshot, and
> compare each pixel's value against the predicted value given by the
> gaussian distribution.

If you have a picture of what it is supposed to look like, with the predicted values rendered, then you could more easily make an initial visual comparison. 

> (My previous complaint against Aryeh's suggestion along these lines
> was arguing against requiring a gaussian precisely.  The gaussian
> approximation I'm advocating will probably allow physically accurate
> shadows.)

But the approximation would fail your test, because you're comparing each pixel's value against the value of an actual gaussian distribution. Firefox would fail, because it has noticeable banding, whereas an actual gaussian distribution presumably wouldn't. 
Received on Tuesday, 27 July 2010 23:56:23 GMT

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