Closed
Bug 84633
Opened 23 years ago
Closed 23 years ago
drop-down list is empty
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
WONTFIX
mozilla0.9.3
People
(Reporter: wodecki, Assigned: harishd)
References
Details
(Keywords: regression)
Attachments
(2 files)
Hello,
I just installed the 0.9.1 version (binary) on my linux system, and now
comboboxes aren't displayed anymore on a webpage (not on all webpages). I
attached the page in question, in case somebody might want wonder :-)
The last version I used was 0.8, so I can't say if this bug was present earlier
or not to 0.9.1
Reporter | ||
Comment 1•23 years ago
|
||
Reporter | ||
Updated•23 years ago
|
Target Milestone: --- → mozilla0.9.1
Comment 2•23 years ago
|
||
The <option /> doesn't work.
<option> does work.
Marking as New.
I have a better testcase, so'll attach it.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•23 years ago
|
||
Reporter | ||
Comment 4•23 years ago
|
||
hmm, the <option /> is for internet explorer since, normal xml would be
<option/>. But <option /> is standard compliant, too.
Comment 5•23 years ago
|
||
Downgrading to major.
doing
<option>foo
or
<option>foo</option>
both work -- <option /> ususally indicates "this tag has no children", or such
was my understanding of xhtml. Does IE really support this?
this may be one for Evangelism.
Severity: blocker → major
Reporter | ||
Comment 6•23 years ago
|
||
"support" is kind of wrong *g*, it understands it. if you write <option/> it
wont work, but it ignores it if you write <option />
Comment 7•23 years ago
|
||
This is not a stopper for 091 -> 092. Please evaluate whether 092 is even correct.
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Comment 8•23 years ago
|
||
Comment 9•23 years ago
|
||
This is a parser issue. Reassigning.
Assignee: rods → harishd
Component: HTML Form Controls → Parser
QA Contact: vladimire → bsharma
Comment 10•23 years ago
|
||
*** Bug 84939 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 11•23 years ago
|
||
As tingley pointed out <option/> implies an empty option. That is, mozilla
exhibits the correct behavior. Bernard, are you absolutely certain that this
worked in 0.8 milestone?
Marking WONTFIX.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
Comment 12•23 years ago
|
||
*** Bug 85002 has been marked as a duplicate of this bug. ***
Comment 13•23 years ago
|
||
Reporter was the one who originally reported that it worked in 0.9, I think.
Wiktor, is this true?
FWIW, I seem to remember digging up a 4.x version and verifying that the bogus
syntax was accepted by it, as Bernard said. If we're marking WONTFIX I suggest
putting it under evangelism to make future bug searches easier.
Comment 14•23 years ago
|
||
"Bernard, are you absolutely certain that this
worked in 0.8 milestone? "
I haven't tried myself, it's just what Wiktor says
I have an archive of Mozilla releases (with 0.8)
I'll try it today
Comment 16•23 years ago
|
||
ok I tried with 0.8 and 0.8.1
0.8 is OK (passes both test cases)
0.8.1 is broken
I also tried Netscape 4.77 and both test cases work
This is a pretty serious bug about empty (or rather blank) combobox content
Please reconsider
(why not add regression and 4xp keywords ?)
Assignee | ||
Comment 17•23 years ago
|
||
Since it's a regression I will reconsider it!
Status: RESOLVED → REOPENED
Keywords: regression
Resolution: WONTFIX → ---
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Comment 18•23 years ago
|
||
Since there is no site to be evangelized, will you assign this bug to the
appropriate component please?
Comment 19•23 years ago
|
||
I'd like to but I'm not a empowered enough :-)
maybe change Linux to OS/All since it's been reported with Linux & Windows ?
Comment 21•23 years ago
|
||
So what's up with this? I've seen this on a lot of sites and people keep
reporting it to me. The most recent comment was that you can't buy computers
off of dell's web site because of it.
harishd do you have an update?
Comment 22•23 years ago
|
||
oh please, oh please wontfix this again or mark it invalid.
reporter: you filed a bug, and we gave you the correct answer:
<option/>foo means <option></option>foo which
means something very different from
<option>foo</option>
which is what you actually wanted to say.
The fact that this works in old browsers is based on their ignorance of xml.
You now know better and can easily fix your page. <option>foo<option>foo would
also work and is what a non xml aware browser is reading when it sees <option
/>foo<option />foo.
Assignee | ||
Comment 23•23 years ago
|
||
timeless: I totally agree with you. Though this is a regression what we do now
is more correct, IMO, than before. I vote for wontfix.
Status: NEW → ASSIGNED
Assignee | ||
Comment 24•23 years ago
|
||
Marking WONTFIX.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → WONTFIX
Reporter | ||
Comment 25•23 years ago
|
||
I cannot agree with you since <option /> is valid xml and therefore should be
supported. Reopend again. Read the specs.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Comment 26•23 years ago
|
||
"The fact that this works in old browsers is based on their ignorance of xml."
I just want to say that's it works with IE5 and 6 and it's the browser I use
to go to such sites
Comment 27•23 years ago
|
||
Even though there's discussion on whether or not it looks right the fact is that
there are a lot of sites that use it. We should support it for practical reasons.
Assignee | ||
Comment 28•23 years ago
|
||
Wiktor: I agree that <option /> is a valid xml. But the argument here is whether
<option/>foo should be treated as <option>foo</option> or as <option></option>foo.
And I think the latter is more correct than the former.
CCing heikki for more comments.
<option/> is incorrect HTML, but we do work around a lot of bad HTML. However,
that markup happens to have special meaning in XML, and I am pretty sure nobody
used that markup until XML came along. The space just before the slash has been
recognized as a trick to use while migrating to XHTML because many older
browsers kinda work with that. The trick was only meant for empty elements,
though, like img and br. The idea was that you could mark your page in XHTML,
but serve it as text/html while there was still a lot of old browsers around. At
some point you could simply switch the mime type to an XML type and your page
would work without any modifications. As such its use for non-empty elements is
totally inappropriate.
If we supported this incorrect markup, your pages would stop working when you
switched to XHTML. It is better to teach developers to use the correct markup
now, rather than let this incorrect markup spread and cause lots of grief in the
future when people migrate to XHTML.
Closing this as wontfix.
Evangelism please take care of sites that incorrectly use the empty element
trick in HTML.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → WONTFIX
Comment 30•23 years ago
|
||
*** Bug 88464 has been marked as a duplicate of this bug. ***
Comment 31•23 years ago
|
||
*** Bug 91234 has been marked as a duplicate of this bug. ***
Comment 32•23 years ago
|
||
This bug has now accumulated two dups on rcommerce.us.dell.com. Is Dell
actually on the evangelism radar for this issue?
Comment 33•23 years ago
|
||
Dell does not have an evangelism bug filed on it for any reason. Please reopen
one of the dupes and assign it to Evangelism. Thanks.
Comment 34•23 years ago
|
||
*** Bug 116211 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•