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

Re: Gradient syntax proposal

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sat, 15 Aug 2009 17:56:23 -0500
Message-ID: <dd0fbad0908151556x56faf305q81f1ffcfc03c3b07@mail.gmail.com>
To: David Perrell <davidp@hpaa.com>
Cc: Brad Kemper <brad.kemper@gmail.com>, Andrew Fedoniouk <news@terrainformatica.com>, www-style list <www-style@w3.org>
On Sat, Aug 15, 2009 at 5:52 PM, David Perrell<davidp@hpaa.com> wrote:
> Brad Kemper wrote:
> | You mean because having the bg-positions to start and stop on is
> | essentially creating a new box with it's own internal dimensions of
> | 0%-100% and 0px or more? You thinking you can just create a second
> | background thats as small as that box? I was think of that too, but
> | the gradation actually needs to keep going on all four sides of that
> | box, even at odd angles, so I don't think that'd work.
>
> Well, could no-repeat stop it from going on all four sides?
>
> Oh, wait, semantically, that makes no sense...
>
> Except that it's an IMAGE, not a color, right? Sized background images with
> no-repeat don't go out on all four sides.

Indeed, if you're sizing it.  Normally a gradient auto-sizes to the
size of the box, though, so you don't have any problem with this.

~TJ
Received on Saturday, 15 August 2009 22:57:18 GMT

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