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

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
"counter-style"/"counterStyle".

Sebastian

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