- From: François REMY <fremycompany_pub@yahoo.fr>
- Date: Fri, 3 Aug 2012 14:44:45 +0200
- To: <www-style@w3.org>, "Florian Rivoal" <florianr@opera.com>
I remember I once proposed to use CSSDeclaration instead of the global object. if(CSSDeclaration.isValid("color","red")) { ... } or if(CSSDeclaration.isValid("color: red")) { ... } -----Message d'origine----- From: Florian Rivoal Sent: Friday, August 03, 2012 2:35 PM To: www-style@w3.org Subject: [css3-conditional] navigator.supportsCSS rather than window.supportsCSS The global object ('window') of the DOM is already quite crowded. Attaching supportsCSS to the 'navigator' object instead makes sense semantically, and would avoid adding even more to the global object. - Florian
Received on Friday, 3 August 2012 12:45:06 UTC