Re: comments/questions/suggestions/bug reports for DOM Level 2

----- Original Message -----
From: Philippe Le Hegaret <plh@w3.org>
To: Garret Wilson <Garret@GlobalMentor.com>
Cc: <www-dom@w3.org>
Sent: Friday, November 26, 1999 11:09 AM
Subject: Re: comments/questions/suggestions/bug reports for DOM Level 2


> > 3) CSSPrimitiveValue.setStringValue() accepts a stringType parameter.
> > 3a) According to the spec, stringType is "A string code as defined
above.
> > The string code can only be a string unit type (e.g. CSS_URI, CSS_IDENT,
> > CSS_INHERIT and CSS_ATTR."
>
> You found an error in the specification. This statement is deprecated and
> should be removed.

Thanks for clearing that up, Phillipe. One other point about
CSSPrimitiveValue.setStringValue(): The listed types do not include
CSS_STRING. Perhaps the specification is not meaning to provide an
exhaustive list here, but I'm assuming it is
(CSSPrimitiveValue.setFloatValue() seems exhaustive at first glance).

It might be clearer if
A) "e.g." is changed to "i.e." in both places to indicate that the lists for
CSSPrimitiveValue.setFloatValue() and CSSPrimitiveValue.setStringValue() are
both exhaustive.
B) CSS_STRING is added to the list of possible values for
CSSPrimitiveValue.setStringValue().

Cheers,

Garret Wilson
GlobalMentor, Inc.
garret@globalmentor.com

Received on Friday, 26 November 1999 14:28:28 UTC