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

Re: [css-counter-styles] Name conflict in CSSCounterStyleRule IDL

From: Sebastian Zartner <sebastianzartner@gmail.com>
Date: Fri, 14 Sep 2012 00:27:38 +0200
Message-ID: <CAERejNZ-dm7mJmD4ep=gofWzrUCuu5n1Hn7px1f3bFpPk_--xw@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style list <www-style@w3.org>
On Thu, Sep 13, 2012 at 10:25 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> I've flattened the descriptors for @counter-style into the
> CSSCounterStyleRule interface, but that produces a naming conflict - I
> have a 'type' descriptor, but CSSRule also defines a 'type' attribute
> (for the type of the rule).
> Opinions on what the attribute corresponding to the 'type' descriptor
> should be named? Should I rename the descriptor itself to avoid
> collisions, so that I can maintain a 1-1 relationship between the
> descriptors and the IDL?
Either name the attribute "counterType" (and keep "type" as
descriptor) or rename both to "style", "kind" or

Received on Thursday, 13 September 2012 22:28:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:04 UTC