Re: [css4-color] 4 Parameters in RGB() and HSL()

On 27/01/2012 11:54 PM, Christoph Päper wrote:
> Alan Gresley<alan@css-class.com>:
>
>> This break backwards compatibility so they should be invalid.
>
> How so? Other functions have learned new arguments, too.

rgb(<integer>,<integer>,<integer>,<integer>)

The above could be this.

rgb(255,0,255,0)

Currently all modern browsers will treat this as invalid. So to allow it 
breaks with backwards compatibility.



-- 
Alan Gresley
http://css-3d.org/
http://css-class.com/

Received on Saturday, 28 January 2012 01:06:30 UTC