W3C home > Mailing lists > Public > www-style@w3.org > November 2009

Re: [gradients] basics

From: Robert O'Callahan <robert@ocallahan.org>
Date: Mon, 9 Nov 2009 16:17:13 +1300
Message-ID: <11e306600911081917q7df35000g36d1c8c579990676@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Simon Fraser <smfr@me.com>, news@terrainformatica.com, www-style <www-style@w3.org>
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 GMT

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