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

Re: [css3-conditional] navigator.supportsCSS rather than window.supportsCSS

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Fri, 03 Aug 2012 16:03:19 +0200
Message-ID: <501BDA27.1050106@disruptive-innovations.com>
To: www-style@w3.org
Le 03/08/12 14:44, François REMY a écrit :
> I remember I once proposed to use CSSDeclaration instead of the global
> object.
>
> if(CSSDeclaration.isValid("color","red")) {
> ...
> }
>
> or
>
> if(CSSDeclaration.isValid("color: red")) {
> ...
> }

That does make a lot of sense, indeed!

</Daniel>
Received on Friday, 3 August 2012 14:03:51 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:58 GMT