W3C home > Mailing lists > Public > www-style@w3.org > June 2013

Re: [cssom] Idiom for representing at-rules containing properties?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 27 Jun 2013 18:18:41 -0400
Message-ID: <51CCBA41.9060801@mit.edu>
To: www-style@w3.org
On 6/27/13 5:54 PM, Tab Atkins Jr. wrote:
> I think that using .style makes sense when the set of properties is
> large and ever-growing, like it is for normal CSS properties.  The
> CSSStyleDeclaration interface makes it at least somewhat more
> convenient to determine what properties are actually set

I think we should only use CSSStyleDeclaration specifically for things 
whose set of properties in fact matches the set of properties in style 
declarations.  If we want an object for "all the properties" for other 
cases, it should be a different object.

-Boris
Received on Thursday, 27 June 2013 22:19:11 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 27 June 2013 22:19:12 UTC