W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2000

Re: HTMLOptionElement strangeness

From: Blaine Brodie <bbrodie@savagesoftware.com>
Date: Tue, 12 Sep 2000 14:45:02 -0700
Message-id: <fc.0085846d000114093b9aca0036ef19c1.1140b@savagesoftware.com>
To: www-dom@w3.org, jrohlf@liberate.com
plh@w3.org writes:
>Why is "selected" readonly and "defaultSelected" not? Seems that
>these 2 are switched since I would expect the selected state of an
>to be changeable while its default would not.
>And why is "index" not readonly ?!!!? As an implementor I really don't
>want to support the setting of this attribute. What if someone specifies
>an index of 1000000000000? If someone wants to shuffle the option
>order, let them use Node methods to do so.
I just took a look at
Here's the line you're probably looking for:
"The index attribute actually is readonly. On the other hand, the selected
attribute is not. "
Received on Tuesday, 12 September 2000 17:45:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:29 UTC