- From: Tab Atkins Jr. <jackalmage@gmail.com>
 - Date: Fri, 3 Aug 2012 08:01:22 -0700
 - To: François REMY <fremycompany_pub@yahoo.fr>
 - Cc: www-style@w3.org, Florian Rivoal <florianr@opera.com>
 
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