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 23:08:16 -0500
Message-ID: <dd0fbad0908152108s4bdd054at7e9f1350793ee1ed@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 7:42 PM, David Perrell<davidp@hpaa.com> wrote:
> Tab Atkins Jr. wrote:
> | 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.
> Assuming a gradient is equivalent to an image and has background-repeat:no-repeat, I expect the gradient to clip to its background-size, allowing a larger underlying gradient to show through around the edges. And if a gradient's background-size is smaller than the background-clip dimensions and has background-repeat:repeat, I expect the gradient box to repeat as an image would. (This could actually be quite useful.)

Yeah, I expect this too; I'm just saying that a gradient is normally
going to be the entire size of the background-clip area.  (To be
specific, it's the size of an SVG image without intrinsic dimensions
used in the same context.)

Received on Sunday, 16 August 2009 04:16:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:38 UTC