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

Re: [CSSWG] Minutes and Resolutions 2009-08-12

From: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 13 Aug 2009 16:03:21 -0700
Message-Id: <F3B27738-DB0C-44A8-A4EC-C852186D6D12@gmail.com>
To: "robert@ocallahan.org" <robert@ocallahan.org>
Cc: fantasai <fantasai.lists@inkedblade.net>, "Tab Atkins Jr." <jackalmage@gmail.com>, "www-style@w3.org" <www-style@w3.org>

Sent from my iPhone

On Aug 13, 2009, at 2:45 PM, "Robert O'Callahan"  
<robert@ocallahan.org> wrote:

> On Fri, Aug 14, 2009 at 9:34 AM, Brad Kemper <brad.kemper@gmail.com>  
> wrote:
> On Aug 13, 2009, at 1:43 PM, "Robert O'Callahan"  
> <robert@ocallahan.org> wrote:
> Being able to specify an angle is reasonable. However, if you want a  
> linear gradient to go from one corner of the box to another, for  
> example, and you don't know the size of the box, then you can't use  
> an angle, or if you do know the size of the box, then you have to do  
> some trigonometry.
> I don't see how that is true. The corner is implied by the angle,  
> and once you have that it is the same math as defining a stop from  
> keywords like "top left" or "bottom right" or whatever.
> Suppose you don't know the width or height of the box, and you want  
> the top-left to have the start color and the bottom bottom-right to  
> have the end color.
> If you want the angle of the gradient to be 45deg, then you need to  
> specify an angle, you can't do it with start and end positions.
> If you want the angle of the gradient to follow the line from top- 
> left to bottom-right, then you can't use a fixed angle.
> So I think we need both.

I see what you're saying now. I agree. 
Received on Thursday, 13 August 2009 23:04:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:28 UTC