Re: [css3] box-shadow specification bug

On Mon, Nov 11, 2013 at 3:02 AM, Lea Verou <lea@verou.me> wrote:

> On Apr 5, 2013, at 11:58, Andrew Fedoniouk <news@terrainformatica.com>
> wrote:
> > Chrome renders this against the spec but mathematically correct,
> > distance there is distance - all points with similar color lie on the
> same
> > distance from the border, no matter what radius is used
> > and so this implementation is stable to rounding problems, floating
> > point precision, etc.
>
> Not sure what you mean that "Chrome renders this […] mathematically
> correct". Both browsers do what the spec says and have the same behavior,
> they just have different precision for border-radius. Gecko has a precision
> of 1/60th of a pixel, Chrome of 1px (values < 1px as treated as 0px). This
> would have been clearer if your testcase had a blur of 0.
>
> This issue comes up a lot. There should be a proposal for sub-pixel
handling, if there isn't already one.
-- 
Garrett
@xkit
ChordCycles.com

Received on Friday, 15 November 2013 14:47:38 UTC