W3C home > Mailing lists > Public > www-style@w3.org > April 2010

[css3-background] box-shadow syntax

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Wed, 28 Apr 2010 00:31:42 +0000
To: "www-style@w3.org" <www-style@w3.org>
CC: Brian Manthos <brianman@microsoft.com>, Prabs Chawla <pchawla@microsoft.com>
Message-ID: <045A765940533D4CA4933A4A7E32597E214481DB@TK5EX14MBXC113.redmond.corp.microsoft.com>
Note: the WG has resolved to add box-shadow back to CSS3 Background & Borders [1] but as the editor's draft has not yet been updated, the following refers to the last document version for which it was defined [2].

The syntax, as described, allows values such as:

box-shadow: inset;
box-shadow: inset blue;
box-shadow: blue;

These values are syntactically valid but will have no effect in the absence of offsets and other shadow radii.

Is this intentional ? 
Should we update the specified syntax to forbid such values ?

[1] http://lists.w3.org/Archives/Public/www-style/2010Apr/0273.html
[2] http://www.w3.org/TR/2008/WD-css3-background-20080910/#the-box-shadow
Received on Wednesday, 28 April 2010 00:32:18 GMT

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