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

Re: Gradients in CSS3?

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Tue, 16 Aug 2005 18:35:28 +1000
Message-ID: <4301A550.7000805@lachy.id.au>
To: Laurens Holst <lholst@students.cs.uu.nl>
CC: Matthew Raymond <mattraymond@earthlink.net>, Ben Ward <benmward@gmail.com>, www-style@w3.org

Laurens Holst wrote:
> The cascading can in theory make it degrade well as Matthew pointed out, 
> but: will authors specify a fallback colour? For every author that 
> doesn’t, the page is probably impossible or very hard to use on browsers 
> that don’t support those gradients. So, the syntax would at least need 
> to inherently provide a fallback, like:
> background-color: blue;
> background-color-gradient-to: top-bottom red;

That's not necessary, gradient() would degrade in exactly the same way 
that other relatively new colour functions will in existing browsers. 
(e.g. rgba(), hsl(), etc.).  We shouldn't complicate the syntax in order 
to force some form of graceful degredation upon lazy authors.

Lachlan Hunt
Received on Tuesday, 16 August 2005 08:35:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:20 UTC