- From: Maniac <Maniac@SoftwareManiacs.Org>
- Date: Mon, 15 Aug 2005 19:41:45 +0400
- To: www-style@w3.org
Laurens Holst wrote: > Eh? Surely everybody knows that if 0 degrees is top-bottom then 90 > degrees is right-left? And that 45 is something inbetween? Yes. But 45 is not what you need to specify gradient for a non-sqaure rectangle. Keywords 'ul-br' and 'bl-ur' mean straight line from corner to corner, no matter how many degrees is this for a given rectangle. They don't mean just 45 or -45. > - Has using keywords in a ‘function’ got precedent? It seems odd. Then don't make it function, it doesn't matter. Let's make it like this: background-gradient-colors:blue white; background-gradient-direction:ul-br; And use it in a shorthand: gradient:blue white ul-br; > Frankly, either is fine with me. Then why choose? Let's specify gradient-direction both in helpful keywords and flexible degrees. Like 'background-position' currently does.
Received on Monday, 15 August 2005 15:42:19 UTC