Closed Bug 13223 Opened 25 years ago Closed 25 years ago

gfx combobox has no "blank" item

Categories

(Core :: Layout, defect, P3)

Other
Other
defect

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?
Assignee: kmcclusk → rods
Status: NEW → ASSIGNED
Whiteboard: This works for items that have spaces, but doesn't for <option></option>
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
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>
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.
I just tried this and it works:
<select>
<option> </option>
<option>A</option>
</select>
.. but that isn't the <option></option> case you mention earlier..
I guess you are just benchmarking this?
Maybe there is some confusion here.
Summary:
<option></option> DOES NOT WORK/DISPLAY
<option> </option> THIS DOES WORK/DISPLAY
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Yes, this is related to Bug #13436
This example now works:
<select size=4>
<option>Hello</option>
<option></option>
<option> </option>
</select>


Fixed.
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>
Yes, this is working now!  Thanks Rod.
In fact, THIS bug now keeps the un-selected
Target Milestone too :-)
Marking verified.
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.