<select> popups on Bugzilla have square corners
Categories
(Core :: Widget: Cocoa, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr78 | --- | unaffected |
| firefox-esr91 | --- | wontfix |
| firefox87 | --- | unaffected |
| firefox88 | --- | unaffected |
| firefox89 | --- | wontfix |
| firefox90 | --- | wontfix |
| firefox91 | --- | wontfix |
| firefox100 | --- | wontfix |
| firefox101 | --- | wontfix |
| firefox102 | --- | fixed |
People
(Reporter: mstange, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
After bug 1702847, <select> popups on Bugzilla with the default Light Bugzilla theme now have square corners.
This seems to be because these <select> elements have color: rgb(40, 41, 42) set on them. Setting color: black makes the popups look mostly-native again.
Can we find a different solution for this? For example, could we stop inheriting color into the <option>s? Or is there web content out there which sets color on the <select> and only background-color on the <option>?
Alternatively, could we pick a "light native" or "dark native" background appearance based on the brightness of the text color?
| Assignee | ||
Comment 1•5 years ago
|
||
On Mac other browsers disable non-native styling, fwiw, so that might be a sensible solution (just it might just be a matter of pref-flipping the dom.forms.select.customstyling pref).
Alternatively, how hard it is to support arbitrary background colors in the "native-like" popups? That's what Windows does.
Comment 2•5 years ago
|
||
Set release status flags based on info from the regressing bug 1702847
| Reporter | ||
Comment 3•5 years ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #1)
On Mac other browsers disable non-native styling, fwiw, so that might be a sensible solution (just it might just be a matter of pref-flipping the
dom.forms.select.customstylingpref).
I would be very happy to do that, but don't think I have the authority to make that decision. It seems like something we should revisit after 89.
Alternatively, how hard it is to support arbitrary background colors in the "native-like" popups? That's what Windows does.
Well, the "native-like" look is only about the background and the rounded corners, and a bit of padding at the top and the bottom so that the rounded corners aren't clipped. We can easily apply the padding and rounded corners to arbitrary background colors.
Updated•5 years ago
|
Stephen, is there anything planned for 89 with this bug? Thanks
Comment 5•5 years ago
|
||
(In reply to Pascal Chevrel:pascalc from comment #4)
Stephen, is there anything planned for 89 with this bug? Thanks
Markus might be better positioned to answer this question.
P2/S3 and no assignee, we are out of betas so this is a wontfix for 89.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 7•4 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #3)
(In reply to Emilio Cobos Álvarez (:emilio) from comment #1)
On Mac other browsers disable non-native styling, fwiw, so that might be a sensible solution (just it might just be a matter of pref-flipping the
dom.forms.select.customstylingpref).I would be very happy to do that, but don't think I have the authority to make that decision. It seems like something we should revisit after 89.
Who does have the authority for this, now that we're well past 89 - Emilio, do you know? :-)
| Assignee | ||
Comment 8•4 years ago
|
||
It seems you, me, and Markus are in agreement on doing this. Stephen is the owner of the Cocoa module, so if he's fine with it too, that seems enough consensus to me between the front-end and core :)
Maybe worth at least pinging UX as a heads-up?
| Assignee | ||
Comment 10•4 years ago
|
||
Updated•4 years ago
|
| Assignee | ||
Comment 11•4 years ago
|
||
Otherwise the pref set in
browser/base/content/test/forms/browser_selectpopup_colors.js doesn't
always work.
Comment 12•4 years ago
|
||
Comment 13•4 years ago
|
||
Comment 14•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/be91ae588a25
https://hg.mozilla.org/mozilla-central/rev/2662564f566c
Updated•4 years ago
|
Updated•4 years ago
|
Description
•