Closed Bug 314906 Opened 20 years ago Closed 20 years ago

HTML <select> tags do not render correctly

Categories

(Firefox :: General, defect)

1.5.0.x Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: jeff.townsend, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8) Gecko/20051025 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8) Gecko/20051025 Firefox/1.5 When rendering a <select> Firefox 1.5 shows two elements. One is the <select> you asked for - just under this another empty one. The HTML does not contain this additional element. HTML Extract: <td> <select id="resources" size="15" style="width: 250px;" onClick="previewResource();"> <select> </td> NB: The above <select> element was generated by a Struts 1.1 tag lib. Reproducible: Always Steps to Reproduce: 1.Attempt to render a select element 2.That's it 3. Actual Results: Two select elements are rendered. The first is correct, the second is a one line empty one. Expected Results: Rendered a single, correct <select> element. This works absolutely fine with Firefox 1.0.7. This seems to be quite a basic rendering error in 1.5 RC1 which must be fixed.
This shows the rendering error.
Please attach a copy of the html code that is generating this problem
(In reply to comment #2) > Please attach a copy of the html code that is generating this problem > The code is shown above.
Version: unspecified → 1.5 Branch
I was hoping that wasnt the real code. You have two select elements, so two boxes are shown. The second select is probably supposed to be a </select> or something
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
(In reply to comment #4) > I was hoping that wasnt the real code. > > You have two select elements, so two boxes are shown. > > The second select is probably supposed to be a </select> or something > Whoops, you're right. I'll double check the code at my end. Interesting that Firefox 1.0.7 doesn't render the empty select though ...
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: