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

Re: [css3-images] asymmetric radial gradients

From: Brad Kemper <brad.kemper@gmail.com>
Date: Mon, 31 Oct 2011 06:10:46 -0700
Message-Id: <C4570A86-B677-4282-83E8-2A9F2302B0E5@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
To: Brian Manthos <brianman@microsoft.com>
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 13:11:27 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:05 UTC