Closed
Bug 158905
Opened 23 years ago
Closed 23 years ago
LINK screws up select events
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 156430
People
(Reporter: nlowrey, Assigned: rods)
Details
Attachments
(2 files)
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
BuildID:
loading a stylesheet with link such as
<link rel="stylesheet" type="text/css" href="bstyling.css">
renders the page correctly but causes problems with javascript and event
firing.
for example the page contains a form with a dropdown which has multiple items.
<select name="pvgroup" style="width:100%" size="1" onclick="top.setpvlist()"
style="width:100%">
i create the page in javascript and write it out to a frame.
trying to set the selectIndex fails.
frmctl.document.datactl.pvgroup.selectedIndex = 1;
Reproducible: Always
Steps to Reproduce:
2.
3.
| Reporter | ||
Comment 1•23 years ago
|
||
| Reporter | ||
Comment 2•23 years ago
|
||
->Form controls, unless there's a reason you think style data are computed
incorrectly.
Assignee: dbaron → rods
Component: Style System → HTML Form Controls
QA Contact: ian → tpreston
Updated•23 years ago
|
Attachment #92417 -
Attachment mime type: text/plain → text/css
Comment 4•23 years ago
|
||
You're trying to access the frame's DOM before it is built, since the sheet load
blocks DOM construction. You may want to move that code to the frame's onload
handler...
*** This bug has been marked as a duplicate of 156430 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•