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

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