Closed Bug 1768155 Opened 2 years ago Closed 2 years ago

Don't generate combobox button unnecessarily.

Categories

(Core :: Layout: Form Controls, task)

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

No description provided.

Don't generate the button if the combobox doesn't need it anyways (if the
appearance is not menulist).

While at it improve the code that reframes on appearance: textfield changes so
that it only applies to number inputs as it should.

This shouldn't change behavior.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1ce090cbb73b
Allow nsComboboxControlFrame to be laid out without a <button>. r=jwatt
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
Regressions: 1786521
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: