- From: Ms2ger <ms2ger@gmail.com>
- Date: Fri, 03 Aug 2012 16:56:45 +0200
- To: www-style@w3.org
On 08/03/2012 04:40 PM, Glenn Adams 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). Note that global.CSSStyleDeclaration exists regardless of whether the interface has a constructor. HTH Ms2ger
Received on Friday, 3 August 2012 14:57:15 UTC