RE: [css3-background] Negative box-shadow blur: equivalent to 0px or invalid ?

Great ! And correction: Firefox does this properly. Opera and WebKit are the ones that fail.

-----Original Message-----
From: fantasai [mailto:fantasai.lists@inkedblade.net] 
Sent: Wednesday, June 30, 2010 12:59 PM
To: Sylvain Galineau
Cc: www-style@w3.org
Subject: Re: [css3-background] Negative box-shadow blur: equivalent to 0px or invalid ?

On 06/30/2010 07:28 AM, Sylvain Galineau wrote:
> The latest draft [1] states :
>
> "The third length is a blur distance. Negative values are not allowed."
>
> I assume "not allowed" here means invalid i.e. such a declaration is an error.
> Opera, Firefox and IE9 PP3 currently treat negative blurs as 0px.

"not allowed" means the declaration is ignored per CSS2.1 4.3.2:
   http://www.w3.org/TR/CSS21/syndata.html#length-units

~fantasai

Received on Wednesday, 30 June 2010 20:12:41 UTC