Re: Gradients in CSS3?

If we are to allow <color> to be a gradient() function, what would this mean
for gradients elsewhere? like border-color: gradient(); or color:
gradient(); Should the tekst get a per pixel gradient? (this seems like an
awful thing to render), maybe per letter? What about borders?

Rikkert Koppes
http://www.rikkertkoppes.com

----- Original Message -----
From: "Ian Hickson" <ian@hixie.ch>
To: "Laurens Holst" <lholst@students.cs.uu.nl>
Cc: "Matthew Raymond" <mattraymond@earthlink.net>; "Ben Ward"
<benmward@gmail.com>; <www-style@w3.org>
Sent: Friday, August 19, 2005 2:20 PM
Subject: Re: Gradients in CSS3?


>
> 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 16:50:07 UTC