W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1999

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

From: Garret Wilson <Garret@GlobalMentor.com>
Date: Fri, 26 Nov 1999 13:27:42 -0600
Message-ID: <001601bf3844$566ed960$1ac40b26@odysseus>
To: "Philippe Le Hegaret" <plh@w3.org>
Cc: <www-dom@w3.org>
----- 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT