W3C CSS Validator suggestions - rgba - vendor specific
Denis TRUFFAUT <[email protected]> Sat, 11 Aug 2012 20:53:22 +0000
| Newsgroups | gmane.org.w3c.validator.css |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I have 2 suggestions :
1 - text-shadow with rgba colors should pass the validation. It is allowed for colors, so why not for shadows ? Plus, it is part of the CSS3 specification !
Ex : text-shadow : 0 0 5px rgba(0,0,0,0.5);
2 - Vendor prefixes should be considered as warnings. They prefigure CSS next level implementation, so they are not really errors. Messages should also be more meaningful, inviting to use generic properties when they are available. Ex : Ignored property : -moz-opacity: 0.6; : Vendor specific property. You should use the generic property : opacity: 0.6; .
Ex : Ignored property : -khtml-text-size-adjust : none; : Vendor specific property. Unfortunately, no generic property yet exists..
See also : http://www.w3.org/TR/CSS21/syndata.html#vendor-keywords
Best regards,
Denis TRUFFAUT