Closed Bug 94160 Opened 24 years ago Closed 24 years ago

bad <select> tag that works in NS and IE no workie in Mozilla

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: david.karr, Assigned: rods)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.3+) Gecko/20010806 BuildID: 2001080603 This is probably a dumb report, but I decided to report this, just in case you don't consider this a dumb report. It all depends on whether Mozilla is expected to handle broken HTML that both IE and Netscape deal with properly. The bug is with an excerpt like this: <select /> <option>a</option> <option>b</option> </select> Notice that the "select" tag is self-closing, but it still has a closing tag later. In Netscape 4.7x and IE 5, this select box contains the two options "a" and "b". In Mozilla, the select box is empty, and the text "a b" appears to the right of the select box. Reproducible: Always Steps to Reproduce: 1. Enter the "select" tag example in a test HTML file. 2. Load it into Mozilla (and Netscape 4.7x and IE). 3. Actual Results: The select box is empty, and the text "a b" appears to the right of the select box. Expected Results: Obviously, this is debatable. Netscape and IE do what a "human" might expect (be stupid), and Mozilla does what the computer expects.
The point is that neither IE nor NS handle the <foo /> syntax at all. Makes them kinda annoying for XML documents... This is invalid. There are plenty of other bugs filed on this topic if you care to search, and they are all invalid or evangelism.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.