This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
When entering CSS like: .classname { box-shadow: 0px 3px 3px rgba(0,0,0,0.2); } The validator (I used http://qa-dev.w3.org:8001) produces the error message: 2 .classname Parse Error [empty string] The validator does accept rgb and hex values.
Created attachment 988 [details] patch to update CssBoxShadow to handle CssFunctions Updated CssBoxShadow to also check if the value is of type CssFunction. If this is the case, we use the css1.CssColor class to evaluate the expression. This handles the rgba() case as well as others
box-shadow was entirely rewritten. rgb and other css3 colors like hsla now works.