W3C home > Mailing lists > Public > www-style@w3.org > October 2011

Re: [css3-images] asymmetric radial gradients

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 31 Oct 2011 14:33:59 -0700
Message-ID: <CAAWBYDAas1Rhnm=61gPMJ6wvHC1=weN_oVxPZ0wZKfKWjxd5SA@mail.gmail.com>
To: Brian Manthos <brianman@microsoft.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:45 GMT