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

Re: [css3-images] linear-gradient keywords and angles are opposite

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 09 Jun 2011 12:40:42 +0900
Message-ID: <4DF040BA.6070807@inkedblade.net>
To: www-style@w3.org
On 06/09/2011 09:25 AM, Sylvain Galineau wrote:
>
> Why shouldn't top mean 'towards the top' and right 'towards the right' so
> that transitioning from top to right is equivalent to going from 0deg to 90deg
> on a bearing compass ? That seems perfectly coherent to me.

Because if my gradient has a fixed length (which is reasonably common for creating
edge effects via background-image), the "towards the top" interpretation would
place it at the bottom of the box.

I think *that* is counter-intuitive.

~fantasai
Received on Thursday, 9 June 2011 03:41:13 GMT

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