changing scrollbar colors for sidebar via userChrome.css no longer works
Categories
(Core :: XUL, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr128 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox142 | --- | unaffected |
| firefox143 | --- | wontfix |
| firefox144 | --- | wontfix |
People
(Reporter: soeren.hentzschel, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Setting the scrollbar color for sidebars via userChrome.css no longer works.
STR:
- set toolkit.legacyUserProfileCustomizations.stylesheets to true
- apply the following CSS
- restart Firefox
- open a sidebar
:root {
scrollbar-color: #33CCFF #f2f2f2 !important;
}
Unfortunately, due to bug 1959047 I cannot bisect further.
:emilio, there have been a few changes in the scrollbar area that you have implemented. Maybe you could have a look?
| Reporter | ||
Updated•1 year ago
|
Comment 1•1 year ago
|
||
Which OS are you on? I can't repro this (on Linux). I tried scrollbar-color: red red !important for more visibility and it works as expected.
| Reporter | ||
Comment 2•1 year ago
|
||
It was reported in the Firefox support by a Windows user and I can confirm the issue on macOS.
Comment 4•1 year ago
|
||
Ok, sorry for the lag here.
So the key difference is whether you're in the modern sidebar or not (sidebar.revamp). This is because I tweaked the scrollbar rules to also apply to <xul:tree> scrollbars in bug 1982188.
Workaround is to change the CSS selector to have :root, scrollbar { ... } rather than just :root. I don't think I'm going to change the CSS to accommodate this use case tho.
| Reporter | ||
Comment 5•1 year ago
|
||
Workaround is to change the CSS selector to have :root, scrollbar { ... } rather than just :root. I don't think I'm going to change the CSS to accommodate this use case tho.
That's useful information to work with. Anyone who customizes the interface via userChrome.css is used to having to adapt their code every now and then anyway. Thanks for taking a look!
Updated•1 year ago
|
Description
•