Closed Bug 53457 Opened 24 years ago Closed 24 years ago

[FIX]multiple items can be selected in select size=1 or in single select listbox

Categories

(Core :: Layout: Form Controls, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED
Future

People

(Reporter: rods, Assigned: rods)

References

Details

(Whiteboard: Fix in hand)

Attachments

(5 files)

In script, options can be created with their selected attr set to true and added 
to a combobox or a single selection list and the options remain selected.

this is wrong and invalid
Keywords: correctness
Target Milestone: --- → Future
Attached file reduced test case
Status: NEW → ASSIGNED
changing summary to reflect that mulitple items can end up being selected 
whether it is through script or just with html.
Summary: option added with selection true causes problems → mulitple items can be selected in select size=1 or in single select listbox
Attached file simple html testcase
*** Bug 53959 has been marked as a duplicate of this bug. ***
Why is it marked future? http://gs.spylog.ru/main.phtml?stat_id=1 (compare the 
month in mozilla and any other browser) is most used counter in Russia and when 
such a things are displayed not correctly people won't use such a product!!!
we will re-evaluate it.
Many thanks for your report! Yes, this is a bug, it's unfortunate, and we will 
fix this for a future release.

However, there's a very simple workaround: (1) First of all, scripts should not 
be written to select multiple items in a single select listbox or one with 
size=1. If they do, they have a bug and should be corrected. (2) If end users 
click on a single item, it alone will be selected and they can use the form.

Unfortunately Netscape engineering is overburdened and we lack the time to fix 
bugs of this relatively low severity for the first release. Confirming Future.
Summary: mulitple items can be selected in select size=1 or in single select listbox → multiple items can be selected in select size=1 or in single select listbox
This bug covers both creating selects with mulitple options selected when only 
one should be:

1) dynamically via script 
2) having more than one <option selected> in a select

It is true that the page referenced in the URL has two options with selected on 
them.
I hate to say this, but I figured out the fix.
Summary: multiple items can be selected in select size=1 or in single select listbox → [FIX]multiple items can be selected in select size=1 or in single select listbox
Whiteboard: Fix in hand
Updating QA contact.
QA Contact: ckritzer → bsharma
*** Bug 57838 has been marked as a duplicate of this bug. ***
Attached file yet another test case
Posted "yet another test case" because in this case, IE does something different
from Nav 4.x  I'm not sure which is correct, but Nav will leave the first option
selected while IE wil leave the last option selected if there are more than one.
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verified build 2001073003T os:winNT
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: