Closed Bug 193143 Opened 22 years ago Closed 22 years ago

option with "selected" attribute is not restored on reload

Categories

(Toolkit :: Form Manager, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 46845

People

(Reporter: schmit.thierry, Assigned: dveditz)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2.1) Gecko/20021130
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2.1) Gecko/20021130

if you load the following html then option 1 is selected
but if you chose option 0 (or 2) and do a reload, option 1
is not re-selected !!!

<html>
<head />
<body>
<form name="form1">
  <select name="select1">
     <option value ="0">0</option>
     <option selected value ="1">1</option>
     <option value ="2">2</option>
  </select>
</form>
</body>
</html>

Reproducible: Always

Steps to Reproduce:
see details
Actual Results:  
see details

Expected Results:  
in my mind option 1 must be selected on both load and reload

*** This bug has been marked as a duplicate of 46845 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
Product: Core → Toolkit
QA Contact: tpreston → form.manager
You need to log in before you can comment on or make changes to this bug.