W3C home > Mailing lists > Public > www-style@w3.org > November 2009

Re: radial-gradient() proposal

From: Simon Fraser <smfr@me.com>
Date: Thu, 5 Nov 2009 15:14:08 -0800
Cc: Dean Jackson <dino@apple.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Message-Id: <91149269-0EA2-4AD7-B573-B082004C95E0@me.com>
To: robert@ocallahan.org
On Nov 5, 2009, at 2:32 PM, Robert O'Callahan wrote:

> Wouldn't it make more sense for the default start point to be "top  
> center" so that the default is a vertical gradient, like with Tab's  
> proposal? There seem to be far more vertical gradients than diagonal  
> gradients on the Web.

I was trying to avoid "magic" default values, so was defaulting to top  

Note that I was also trying to have the points follow the same  
shorthand rules as background-position, where an omitted value  
defaults to 'center'. So 'top' becomes 'center  top'.

I'd be OK with saying that if no points are specified, then the start  
point defaults to 'center top'.

Received on Thursday, 5 November 2009 23:15:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:40 UTC