Closed
Bug 13223
Opened 27 years ago
Closed 27 years ago
gfx combobox has no "blank" item
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: mcafee, Assigned: rods)
Details
Linux, apprunner, gfx-mode.
Visit a bug with no target-fix-field,
when the bug page loads, you'll notice that
the target-fix combobox grabs the "M1" value.
Is this a bug in the combobox? bugzilla?
Updated•27 years ago
|
Assignee: kmcclusk → rods
| Assignee | ||
Updated•27 years ago
|
Status: NEW → ASSIGNED
Whiteboard: This works for items that have spaces, but doesn't for <option></option>
| Assignee | ||
Comment 1•27 years ago
|
||
I fixed this for options that have spaces <option> </option>, but not for:
<option></option>
So I will leave this open, but it probably won't get fixed for beta. I have
files a bug on the null case: Bug #13436
Updated•27 years ago
|
Whiteboard: This works for items that have spaces, but doesn't for <option></option> → This works (?-py8ieh) for items that have spaces, but doesn't for <option></option>
Comment 2•27 years ago
|
||
Actually, AFAICT it _doesn't_ work for cases where the content is only
whitespace. The whitespace is probably collapsed away.
This test case may come in useful:
http://www.bath.ac.uk/%7Epy8ieh/internet/projects/mozilla/optgroup.shtml
Note that this works with native-widgets.
| Assignee | ||
Comment 3•27 years ago
|
||
I just tried this and it works:
<select>
<option> </option>
<option>A</option>
</select>
| Reporter | ||
Comment 4•27 years ago
|
||
.. but that isn't the <option></option> case you mention earlier..
I guess you are just benchmarking this?
| Assignee | ||
Comment 5•27 years ago
|
||
Maybe there is some confusion here.
Summary:
<option></option> DOES NOT WORK/DISPLAY
<option> </option> THIS DOES WORK/DISPLAY
| Assignee | ||
Updated•27 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 27 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 6•27 years ago
|
||
Yes, this is related to Bug #13436
This example now works:
<select size=4>
<option>Hello</option>
<option></option>
<option> </option>
</select>
Fixed.
| Reporter | ||
Updated•27 years ago
|
Status: RESOLVED → VERIFIED
Whiteboard: This works (?-py8ieh) for items that have spaces, but doesn't for <option></option> → This works (?-py8ieh) for items that have spaces, but doesn't for < option>< /option>
| Reporter | ||
Comment 7•27 years ago
|
||
Yes, this is working now! Thanks Rod.
In fact, THIS bug now keeps the un-selected
Target Milestone too :-)
Marking verified.
Updated•27 years ago
|
Whiteboard: This works (?-py8ieh) for items that have spaces, but doesn't for < option>< /option>
You need to log in
before you can comment on or make changes to this bug.
Description
•