Closed
Bug 383205
Opened 17 years ago
Closed 17 years ago
Rendering bug - multiple select element renders mysterious "XX"
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
DUPLICATE
of bug 382600
People
(Reporter: mark.brocato, Unassigned)
Details
Attachments
(1 file)
(deleted),
image/jpeg
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 Running the following html and javascript produces a multiple select element with the letters "XX" inside it. It should produce just a blank multiple select element. <html> <body onload="document.getElementById('x').style.display='block';"> <div id="x"> <select multiple> </select> </div> </body> </html> Note that this only occurs when the select is inside a div AND the style.display property of the div is set to "block" programmatically. Curiosly, wrapping the onload function in a "window.setTimeout" seems to be a workaround, albeit a scary one. The following code does not produce the "XX" but is functionally the same: <html> <body onload="window.setTimeout(function() {document.getElementById('x').style.display='block';});"> <div id="x"> <select multiple> </select> </div> </body> </html> Reproducible: Always Steps to Reproduce: 1.Run specified html in a firefox browser window 2.Observe XX inside select element 3. Actual Results: "XX" is generated inside the select element Expected Results: a blank select element should be rendered Example code: <html> <body onload="document.getElementById('x').style.display='block';"> <div id="x"> <select multiple> </select> </div> </body> </html>
Updated•17 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 2•17 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•