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

HTMLSelectElement should not have a "value" attribute

From: Adam Dingle <adam@avantgo.com>
Date: Tue, 3 Oct 2000 12:20:33 -0400 (EDT)
Message-ID: <2D6573A84E33D411927700D0B774233421E165@SAMPNT500>
To: "'www-dom@w3.org'" <www-dom@w3.org>
In both the DOM Level 1 and Level 2 specifications, the HTMLSelectElement
interface has a "value" attribute.  I believe this to be an error, as
evidenced by all of the following:

- The SELECT element in HTML 4.01 has no "value" attribute.
- The Netscape JavaScript documentation does not list a "value" property for
Select objects (see
http://developer.netscape.com/docs/manuals/js/client/jsref/select.htm ).
- The HTML 4.01 specification states that when a form is submitted, SELECT
elements' names are paired with OPTION elements' values in building the form
data set; there is no mention here either of a "value" property for SELECT
- The description of HTMLSelectElement's "value" attribute in the DOM
specification is hopelessly vague: it reads "the current form control

I alluded to this fact in email to this mailing list over a year ago (see
http://lists.w3.org/Archives/Public/www-dom/1999AprJun/0094.html ), but
received no reply.  So I'll state this again: I think that the "value"
attribute should disappear.  Could we possibly get this change into the
upcoming DOM Level 2 recommendation, or is it already too late for that?

Received on Wednesday, 4 October 2000 11:38:50 UTC

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