Re: [css3-images] Features Overview

On 05/06/2011 02:56 AM, Brian Manthos wrote:
>> Image Fallbacks
>> ===============
>>
>>     There'd been discussion of fallback images, particularly for
>> background
>>     images, in the past. A fallback color was originally integrated into
>> the
>>     Backgrounds and Borders spec. After discussions on syntax and
>>     understandability, the feature was dropped with the suggestion to
>>     integrate it into a different mechanism. This is the image()
>> notation's
>>     comma-separated syntax:
>>
>>     background-image: image(url(wavy.svg), 'wavy.png', "wavy.gif",
>>                             rgba(255,0,0,0.5));
>>
>>     http://dev.w3.org/csswg/css3-images/#image-notation
>>
>>     Implementation notes:
>>       none
>
> Personal opinion:
> At the rate we're going, background will soon require a full backgroundparser.dll
> just for its value property.  Find another property to torture parsers with.

I don't think replacing the example with list-style-type would help anyone much.

> That aside, Example V refers to the color 'blue' when the markup uses
> rgb(255,0,0,0.5) which is red with a 50% alpha channel.
>
> This further illustrates my point.

I don't think this illustrates your point at all. It illustrates that I
   a) missed a replacement when updating the example to use an alpha channel
   b) need more practice converting colors to rgb notation

Fixed.

~fantasai

Received on Friday, 6 May 2011 18:15:36 UTC