Choices in drop-down menu are invisible with Proton dark theme
Categories
(Firefox :: Foxfooding, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox88 | --- | unaffected |
firefox89 | + | verified |
firefox90 | --- | verified |
People
(Reporter: liamre, Assigned: Gijs)
References
(Regression)
Details
(Keywords: nightly-community, regression, Whiteboard: [proton-foxfooding][foxfooding][community][proton-context-menus] [proton-uplift])
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
Actual user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0
- Enable Proton dark theme
- Visit
https://milkbarstore.com/collections/mothers-day-shop
and click on quick view on one of the products - Open the quantity drop-down menu
Actual results:
The choices in the drop-down menu are invisible except for the one under the cursor
Expected results:
The drop-down menu's choices should be visible
Reporter | ||
Comment 1•3 years ago
|
||
Whoops, I meant to file this in Foxfooding. Can someone move it there?
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Comment 2•3 years ago
|
||
Never mind.
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Comment 3•3 years ago
|
||
:liamrengland, could you try to find a regression range using for example mozregression?
Reporter | ||
Updated•3 years ago
|
Comment 4•3 years ago
|
||
Set release status flags based on info from the regressing bug 1703716
Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 5•3 years ago
|
||
This can be reproduced on Beta, marking as P1 since this is something we should fix on beta 89 as well.
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
With the prefs for the win10 context menu enabled, this regressed with bug 1702626.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 7•3 years ago
|
||
I have a fix, just working on an automated test...
Assignee | ||
Comment 8•3 years ago
|
||
Broadly, this patch does 2 things:
- it mirrors the logic bug 1702258 introduced for <select> styling for <option> styling
- it enforces that if the website specifies custom foreground colours for options,
we use the website-specified colour for the select background, too (even if it
matches the UA style).
I also added automated testing for 3 cases:
- the default dark mode situation (where we expect dark mode styles),
- the case from the bug where the website specifies
#fff
for the background
of the select and the background of the options, but specifies a custom
foreground colour for the option (but not the select). - a very similar case where the website only specifies the background on the
select, and only the foreground on the option.
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/75badaa5291a enforce the default background colour on the ContentSelect menulist's menupopup when custom option foreground colours are used, r=emilio,jaws
Updated•3 years ago
|
Comment 10•3 years ago
|
||
bugherder |
Comment 11•3 years ago
|
||
Reproduced the initial issue using Firefox 89 beta 8, verified that this is fixed using latest Nightly 90.0a1.
Assignee | ||
Comment 12•3 years ago
|
||
Romain, I'm guessing you'd like me to request uplift here?
Comment 13•3 years ago
|
||
Approved for Uplift.
Assignee | ||
Comment 14•3 years ago
|
||
Comment on attachment 9220416 [details]
Bug 1708985 - enforce the default background colour on the ContentSelect menulist's menupopup when custom option foreground colours are used, r?emilio!,jaws!
Beta/Release Uplift Approval Request
- User impact if declined: Unusable dropdowns on websites if using dark mode
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: See comment 0
- List of other uplifts needed: nope
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This change only affects the select dropdown colouring which is what's broken, and increases automated test coverage for the brokenness. Only 1 JS file is affected.
- String changes made/needed: Nope
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 15•3 years ago
|
||
Comment on attachment 9220416 [details]
Bug 1708985 - enforce the default background colour on the ContentSelect menulist's menupopup when custom option foreground colours are used, r?emilio!,jaws!
Approved for 89 beta 11, thanks.
Comment 16•3 years ago
|
||
bugherder uplift |
Comment 17•3 years ago
|
||
This issue is verified fixed using Firefox 89.0b11 (provided in comment 16) on Windows 10 64bit. The drop-down menu choices for the products on https://milkbarstore.com/collections/mothers-day-shop are now visible
Updated•3 years ago
|
Description
•