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

RE: [css3-images] asymmetric radial gradients

From: Brian Manthos <brianman@microsoft.com>
Date: Mon, 31 Oct 2011 16:29:35 +0000
To: Brad Kemper <brad.kemper@gmail.com>
CC: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D1704405138@TK5EX14MBXC264.redmond.corp.microsoft.com>
I agree it doesn't make sense to include this for CSS3.  My point was that it's relatively easy to accommodate in the syntax when/if we decide to support it someday.  I thought that was Elika's concern.  Perhaps I misread.

> -----Original Message-----
> From: Brad Kemper [mailto:brad.kemper@gmail.com]
> Sent: Monday, October 31, 2011 6:11 AM
> To: Brian Manthos
> Cc: fantasai; www-style@w3.org
> Subject: Re: [css3-images] asymmetric radial gradients
> 
> Note that I wasn't really proposing that we have that feature, just
> that the behavior of "what happens when I move the center" is non-
> obvious. It is something extra to learn, if I didn't know what to
> expect.
> 
> Sent from my iPad
> 
> On Oct 30, 2011, at 11:27 PM, Brian Manthos <brianman@microsoft.com>
> wrote:
> 
> > http://msdn.microsoft.com/en-us/library/dd368149(VS.85).aspx
> > In D2D, this is addressed with the gradientOriginOffset parameter:
> > "In the brush's coordinate space, the offset of the gradient origin
> relative to the gradient ellipse's center."
> >
> > To support it, it would be straighforward to expand the syntax from
> (one proposal):
> > radial-gradient(<size> [at <position>]?, <color-stop>[, <color-
> stop>]+)
> >
> > to (another proposal):
> > radial-gradient(<size> [at <position> [offset <length>{2}]? ]?,
> <color-stop>[, <color-stop>]+)
> >
> > -Brian
> >
> >> -----Original Message-----
> >> From: fantasai [mailto:fantasai.lists@inkedblade.net]
> >> Sent: Sunday, October 30, 2011 11:14 PM
> >> To: www-style@w3.org
> >> Subject: [css3-images] asymmetric radial gradients
> >>
> >> I was looking through Brad's comments on the radial gradient syntax,
> >> and one of the
> >> things that stood out was the broken expectation that moving the
> center
> >> would shift
> >> the center of the gradient while keeping the outer rim the same --
> an
> >> effect that
> >> would create an asymmetric radial gradient, like this:
> >>   http://www.amanith.org/images/Radgrad.png
> >>
> >> I'm not saying we should add this capability right now, but I'm a
> >> little concerned
> >> that we might be locking ourselves in here. If we were to add
> >> asymmetric radial
> >> gradients in the future, how would that look? How would it interact
> >> with the
> >> symmetric radial gradient syntax we have now?
> >>
> >> ~fantasai
> >>
> >
> >
Received on Monday, 31 October 2011 16:30:19 GMT

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