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

Re: [gradients] basics

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sun, 8 Nov 2009 21:08:15 -0600
Message-ID: <dd0fbad0911081908t3d89db8rd7b2cef2e2338a1e@mail.gmail.com>
To: Simon Fraser <smfr@me.com>
Cc: news@terrainformatica.com, www-style <www-style@w3.org>
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 will make this a bit clearer in the introduction to the section.

> If you refer to the CSS 2.1 spec I think you should be more specific about
> which section you are referencing.

Will do.

~TJ
Received on Monday, 9 November 2009 03:09:09 GMT

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