W3C home > Mailing lists > Public > www-style@w3.org > January 2012

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

From: Alan Gresley <alan@css-class.com>
Date: Sat, 28 Jan 2012 12:05:51 +1100
Message-ID: <4F2349EF.40501@css-class.com>
To: Christoph Päper <christoph.paeper@crissov.de>
CC: www-style list <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:49 GMT