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

On Fri, Aug 3, 2012 at 7:40 AM, François REMY <fremycompany_pub@yahoo.fr> wrote:
> BTW, now that I accidentally used isValid using one argument, I wonder about
> :
>
>    if(CSSStyleDeclaration.isValid("a: value1; b: value2;")) {
>        ...
>    }

No, we went with the two-arg version on purpose.  The only reason to
accept multiples is to use the and/or/not, and JS already has those
built in.

~TJ

Received on Friday, 3 August 2012 15:02:18 UTC