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
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev