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

Re: [cssom] .style on CSSFontFaceRule and CSSPageRule should probably not be CSSStyleDeclarations as that interface is currently defined

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 21 Aug 2012 13:30:37 -0700
Message-ID: <CAAWBYDA-Y2G23md+XpUp1YWMQWaFYuXAaJVovG7mdfQRaXSG3g@mail.gmail.com>
To: Glenn Adams <glenn@skynav.com>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, www-style@w3.org
On Tue, Aug 21, 2012 at 1:08 PM, Glenn Adams <glenn@skynav.com> wrote:
> Alternatively, we could freeze the set of
> named properties (e.g., to only some or all of what was defined in
> CSS2Properties), and require other properties to be accessed via
> getPropertyValue etc.

Oh god no.  That's a horrible interface.  Everyone in the world just
uses el.style.foo to access properties, and that needs to continue
working as we add new things.

Received on Tuesday, 21 August 2012 20:31:24 UTC

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