W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2000

Re: Error in Counter interface

From: Philippe Le Hegaret <plh@w3.org>
Date: Fri, 24 Mar 2000 21:01:55 +0000
Message-ID: <38DBD7C3.3868744C@w3.org>
To: www-dom@w3.org
CC: bbrodie@savagesoftware.com
From: Blaine Brodie (bbrodie@savagesoftware.com)
> 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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:06 UTC