Some <option> CSS properties should be preserved while the option is active (was: Custom styling of <option> elements in a <select> is lost while they are active)
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
People
(Reporter: jfkthame, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
303 bytes,
text/html
|
Details | |
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
Open the <select> menu in the testcase, and move the mouse up and down to different options within it. Note how the custom styling of options is "forgotten" while they are active/highlighted.
Assignee | ||
Comment 1•6 years ago
|
||
Yeah, I guess the color / background change is intentional, but the other properties should probably be kept. Will take a look this week.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
Otherwise you see font changes when hovering, which is not really desirable.
Comment 4•6 years ago
|
||
Backed out changeset de836d015f32 (Bug 1536264) for bc failures at browser_selectpopup_colors.js.
Backout: https://hg.mozilla.org/integration/autoland/rev/13b6a236827101be0971589f59751fcfc8182dc7
Push that started the failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=pending%2Crunning%2Csuccess%2Ctestfailed%2Cbusted%2Cexception&revision=de836d015f32a8a4fe64bb14c75679a9e1a7f7a2&selectedJob=235076711
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=235076711&repo=autoland&lineNumber=3905
Assignee | ||
Comment 5•6 years ago
|
||
Ouch, I always forget that these are disabled on Linux....
Assignee | ||
Updated•6 years ago
|
Comment 7•6 years ago
|
||
bugherder |
Assignee | ||
Comment 8•6 years ago
|
||
Comment on attachment 9052157 [details]
Bug 1536264 - Only reset color / background / text-shadow for active options. r=jaws,mconley
Beta/Release Uplift Approval Request
- Feature/Bug causing the regression: Bug 1375476
- User impact if declined: Some <option> elements with custom font may look jumpy when hovering.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: See comment 0.
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It's a relatively-simple patch.
- String changes made/needed: none
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 9•6 years ago
|
||
Comment on attachment 9052157 [details]
Bug 1536264 - Only reset color / background / text-shadow for active options. r=jaws,mconley
Safe patch already verified on nightly and a follow up for the fix for bug 1375476 landed in the 67 cycle which fixed a notable CSS support regression caused by e10s, approved for beta 5, thanks.
Comment 10•6 years ago
|
||
bugherder uplift |
Updated•6 years ago
|
Comment 11•6 years ago
|
||
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0
Build ID: 20190325125126
Verified as fixed on the latest Nightly build and on the latest Beta build.
Updated•3 years ago
|
Description
•