- From: Eli Morris-Heft <dai@doublefishstudios.com>
- Date: Tue, 06 May 2008 17:55:00 -0500
- To: www-style@w3.org
I noticed what seems to be a mistake or anomaly in the syntax specification for the box-shadow property. The current syntax (as seen at http://www.w3.org/TR/css3-background/#the-box-shadow) is laid out as: none | [ <length> <length> <length>? || <color> ] [ , <length> <length> <length>? || <color> ]+ From what I understand about the notation used for the formats of values and from the description of the property, this is not what the spec would expect. Something like: 2px 2px #000 is forbidden due to the plus sign (+) after the second bracketed group. It seems this should be an asterisk (*) so the second bracketed group can be omitted if necessary. (I agree with the comment there, though: what are the use cases of multiple shadows? But I digress.) If I'm misreading the spec, I apologize in advance. It would be useful to know what I missed, though. Eli Morris-Heft dai@doublefishstudios.com
Received on Tuesday, 6 May 2008 22:55:43 UTC