Re: [css3-images] Generalize the notion of 'invalid images' for image() fallback

On Mar 7, 2012, at 22:04, Tab Atkins Jr. wrote:

> On Wed, Mar 7, 2012 at 10:58 AM, Bert Bos <bert@w3.org> wrote:
>> On Tuesday 28 February 2012 02:22:12 Tab Atkins Jr. wrote:
>>> With an explicit hook, other sources of <image> could potentially
>>> hook into this as well, though I'm not currently aware of anything
>>> else that would want to.
>> 
>> You mean like linear-gradient() and radial-gradient()? Why wouldn't they
>> make sense inside image()?
> 
> Because they can't "fail" like a url or element() can.  As long as you
> don't make a syntax error, a gradient will *always* produce an image.

But a solid color cannot fail either, and yet it is allowed inside image().



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France

Received on Wednesday, 7 March 2012 22:19:25 UTC