Closed
Bug 1751644
Opened 3 years ago
Closed 3 years ago
Custom-styled <select> options have much less padding than other options, on linux with dom.forms.select.customstyling enabled
Categories
(Core :: Widget: Gtk, defect)
Core
Widget: Gtk
Tracking
()
VERIFIED
FIXED
99 Branch
Tracking | Status | |
---|---|---|
firefox99 | --- | verified |
People
(Reporter: dholbert, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
STR:
- In Firefox (or Nightly) on Linux, set pref
dom.forms.select.customstyling
totrue
and restart Firefox to let that change take effect. - Load this testcase:
data:text/html,<select><option>1</option><option>2</option><option style="background:red">3
- Click to open the dropdown menu.
ACTUAL RESULTS:
Option 3 has much less padding (it's less indented) as compared to the other options.
EXPECTED RESULTS:
Consistent padding. I've only customized the background
on that option; I wouldn't expect that to affect layout/positioning.
Reporter | ||
Comment 1•3 years ago
|
||
Reporter | ||
Comment 2•3 years ago
|
||
(I think bug 1406865 comment 10 explains approximately why this happens right now.)
Assignee | ||
Comment 3•3 years ago
|
||
Native ones also have a big-ish padding (set by the theme).
Updated•3 years ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/329994288845
Don't shrink padding of non-native menulist items. r=stransky
![]() |
||
Comment 5•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox99:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
Updated•3 years ago
|
QA Whiteboard: [qa-99b-p2]
Reproducible on a 2022-01-23 Nightly build on Linux x86_64(Ubuntu 20.04). I can confirm this is fixed on Firefox 99.0b8(20220328190900) and Nightly 100.a1(20220328213646) on Linux x86_64(Ubuntu 20.04).
You need to log in
before you can comment on or make changes to this bug.
Description
•