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:40:13 -0600
Message-ID: <CACQ=j+fVKy457PWzWAT-q-zbGze8Vm3g3MLAr1ze12y=O_b9Hw@mail.gmail.com>
To: Florian Rivoal <florianr@opera.com>
Cc: www-style@w3.org
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).
Received on Friday, 3 August 2012 14:41:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:19 UTC