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

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

From: Florian Rivoal <florianr@opera.com>
Date: Fri, 03 Aug 2012 16:57:12 +0200
To: "Lea Verou" <lea@w3.org>
Cc: www-style@w3.org
Message-ID: <op.wigztmmr4p7avi@localhost.localdomain>
On Fri, 03 Aug 2012 16:37:11 +0200, Lea Verou <lea@w3.org> wrote:

> It doesn’t have to be on every instance, it could be on the  
> CSSStyleDeclaration object itself (i.e. similar to a static method in  
> traditional OO languages), the same way e.g. Array.isArray() is attached  
> on the Array object itself and not on every instance. I believe that’s  
> what François was suggesting.

On Fri, 03 Aug 2012 16:40:38 +0200, François REMY  
<fremycompany_pub@yahoo.fr> wrote:

> It would be a static property. As far as I know, static properties are  
> not put on the prototype but on the constructor.

I see. I think that would work, then.

  - Floria
Received on Friday, 3 August 2012 14:57:44 GMT

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