Re: [css3-images] asymmetric radial gradients

On Mon, Oct 31, 2011 at 12:27 PM, Brian Manthos <brianman@microsoft.com> wrote:
> SVG's clamping is described here:
>
> http://www.w3.org/TR/SVG/pservers.html#RadialGradients
> # If the point defined by 'fx' and 'fy' lies outside the circle defined
> # by 'cx', 'cy' and 'r', then the user agent shall set the focal point
> # to the intersection of the line from ('cx', 'cy') to ('fx', 'fy') with
> # the circle defined by 'cx', 'cy' and 'r'.
>
> Granted that SVG doesn't capture the elliptical case directly here, but with a transform applied (or coordinate system with aspect ratio other than 1) the ellipse scenario can be represented via SVG.

Yes, we should just match SVG here, with suitable extrapolations of
the definition if necessary.  I don't see any reason to be different
when we introduce this ability.

~TJ

Received on Monday, 31 October 2011 21:34:56 UTC