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

Re: Gradients in CSS3?

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 19 Aug 2005 12:20:34 +0000 (UTC)
To: Laurens Holst <lholst@students.cs.uu.nl>
Cc: Matthew Raymond <mattraymond@earthlink.net>, Ben Ward <benmward@gmail.com>, www-style@w3.org
Message-ID: <Pine.LNX.4.62.0508191219520.22942@dhalsim.dreamhost.com>

On Mon, 15 Aug 2005, Laurens Holst wrote:
> 
> What I mean is that, to determine the colour to draw at a certain 
> position in a gradient, you need to know the total size of the gradient. 
> In CSS, the height of a block is usually determined by the content, 
> which can be loaded incrementally. In the case of inline blocks and 
> floats, the width is, too.
> 
> So, if you have the background or borders of that block be a gradient, 
> they have to be redrawn all the time.

This is already the case with the following CSS1:

   background: bottom url(foo.png);

...so that shouldn't be a blocker.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 19 August 2005 12:20:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:40 GMT