Closed Bug 60088 Opened 19 years ago Closed 19 years ago

Setting initial state of dropdown element not working

Categories

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

defect

Tracking

()

VERIFIED DUPLICATE of bug 50376

People

(Reporter: mkaply, Assigned: rods)

Details

Attachments

(2 files)

Testcase attached.

On 4.X this testcase works.

You open the page and the current date is selected.

On Mozilla, no selection is made.

We debugged it, and it looks like the selection is being set and then reflow is 
resetting it.
-> HTML Form Controls, for now, although this may be more a DOM0 issue. 
I'll attach a simpler testcase, which shows that :
(1) setting the window.onload in an inline script has a different effect from 
    setting it as an attribute of the <body>, and 
(2) if I reference the .selected property before I attempt to set it, then the  
   test case will work as intended.
Assignee: trudelle → rods
Component: XP Toolkit/Widgets → HTML Form Controls
QA Contact: jrgm → bsharma
This is basically the same bug as Bug 50376 - dupping

*** This bug has been marked as a duplicate of 50376 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Verified dup
Status: RESOLVED → VERIFIED
Blocks: 600086
No longer blocks: 600086
You need to log in before you can comment on or make changes to this bug.