W3C home > Mailing lists > Public > www-validator-css@w3.org > August 2012

W3C CSS Validator suggestions - rgba - vendor specific

From: Denis TRUFFAUT <denis.truffaut@outlook.com>
Date: Sat, 11 Aug 2012 20:53:22 +0000
Message-ID: <DUB002-W589E3C37E8152E1BCB7B7194B20@phx.gbl>
To: "www-validator-css@w3.org" <www-validator-css@w3.org>
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 		 	   		  
Received on Sunday, 12 August 2012 09:34:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 12 August 2012 09:34:45 GMT