Re: [gradients] basics

On Mon, Nov 9, 2009 at 4:08 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> On Sun, Nov 8, 2009 at 10:50 AM, Simon Fraser <smfr@me.com> wrote:
> > I think the points made need to be:
> > * gradient images have no intrinsic size,
> > * therefore they fill the box they are being rendered into (like SVG
> images
> > with no intrinsic size)
> > * and therefore, when applied to backrounds, background-size etc have no
> > effect.
>
> We can actually be stronger about this - gradient images are infinite
> in size (the abstract concept of 'box' used when describing their
> rendering has no intrinsic size), and so background-size and
> background-repeat have no effect.
>

I'm confused. Why should background-size and background-repeat have no
effect on gradient images? Sure, the image has no intrinsic size, but you
can define a useful size with background-size.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]

Received on Monday, 9 November 2009 03:17:53 UTC