Re: Error in Counter interface

From: Blaine Brodie (
> The Counter interface of the DOM Spec states:
> " The Counter interface is used to represent any counter or counters
> function value. This interface reflects the values in the underlying style
> property. Hence, modifications made to the
> CSSPrimitiveValue [p.149] objects modify the style property. "

The description is wrong. You should read "DOMString" instead of 
"CSSPrimitiveValue". I'm going to fix that.

> However the interface only has DOMString attributes.  Shouldn't all of
> these attributes CSSPrimitiveValue's instead?

counter functions can only contains identifiers and strings. Both of them
are clearly identify in counter and counters. Changing them to CSSPrimitive
values will add a unuseful layer to access the identifiers.


Received on Friday, 24 March 2000 16:01:58 UTC