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

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

From: Glenn Adams <glenn@skynav.com>
Date: Fri, 3 Aug 2012 08:52:51 -0600
Message-ID: <CACQ=j+eqv5bhsKU07-0umncPy4nELRTv0t1+3fg-=cAP7g62ag@mail.gmail.com>
To: Florian Rivoal <florianr@opera.com>
Cc: www-style@w3.org
On Fri, Aug 3, 2012 at 8:40 AM, Glenn Adams <glenn@skynav.com> wrote:

>
> On Fri, Aug 3, 2012 at 8:15 AM, Florian Rivoal <florianr@opera.com> wrote:
>
>> I assume you mean CSSStyleDeclaration rather than CSSDeclaration.
>>
>> This makes some sense, but I am only moderately comfortable having it
>> attached to every instance of a CSSStyleDeclaration
>> in the document, despite the fact that the result does not depend on
>> which one you call it on.
>
>
> It could be defined on the prototype, i.e.,
> CSSStyleDeclaration.prototype.supportsCSS(...). Of course, this also means
> binding global.CSSStyleDeclaration (which at present isn't specified; i.e.,
>  no constructor is spec'd).
>

correction: what Fran├žois just said
Received on Friday, 3 August 2012 14:53:38 GMT

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