I've filed https://bugs.webkit.org/show_bug.cgi?id=51841 about making
the change for Chromium/Skia.

Mihai

On Mon, Jan 3, 2011 at 11:45 AM, Simon Fraser <simon.fra...@apple.com> wrote:
> I just landed support for CSS3 gradients (see 
> <http://dev.w3.org/csswg/css3-images/#gradients>), via 
> <https://bugs.webkit.org/show_bug.cgi?id=28152>.
>
> The spec now allows elliptical gradients. Since some platforms may be able to 
> render elliptical gradients natively, the code relies on the platform to 
> render such gradients. In CG, this is done via a scale transform on the 
> graphics context.
>
> Non-CG platforms will need to make changes to do something similar so what I 
> do for CG:
>
>            CGContextTranslateCTM(ctx, m_p0.x(), m_p0.y());
>            CGContextScaleCTM(ctx, 1, 1 / aspectRatio());
>            CGContextTranslateCTM(ctx, -m_p0.x(), -m_p0.y());
>
> Please file a bug and fix your port accordingly.
>
> Thanks
> Simon
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to