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

On Sun, Jul 18, 2010 at 11:54 AM, Brian Manthos <brianman@microsoft.com> wrote:
>> Brad Kemper:
>> > Further, is it required the algorithm be consistent in the positive and negative directions.
>> I don't think so.
>> > If I put two boxes next to each other horizontally that use the same blur, should they produce a consistent effect on the underlying background along > the linear part of the shared left/right border (because combine they provide a consistent opa
>> I'm pretty sure I don't understand.
>
> Let me rephrase since my example overstepped slightly, as Alex noted.
>
> Example A:
> <div style="margin:50px; width:50px; height:100px; box-shadow: 10px 20px 5px 10px blue"></div>
>
> Example B:
> <div style="margin:50px; width:50px; height:100px; box-shadow: -10px 20px 5px 10px blue"></div>
>
> 1. Render A
> 2. Take a screenshot of A
> 3. Render B
> 4. Take a screenshot of B
> 5. Flip the image of 4 horizontally
>
> Must the box-shadow rendering from 2 match the box-shadow rendering from 5?

Modulo pixel rounding errors, yes.

~TJ

Received on Sunday, 18 July 2010 22:46:28 UTC