browser.tabs.allow_transparent_browser regression, namely that it no longer works
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
People
(Reporter: ignacy, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0
Steps to reproduce:
- Enabled the following preferences:
browser.tabs.allow_transparent_browsertoolkit.legacyUserProfileCustomizations.stylesheets
- Added the following CSS to my userChrome.css:
:root {
--tabpanel-background-color: transparent !important;
background: transparent !important;
}
This was done per: https://www.reddit.com/r/FirefoxCSS/comments/1dqws4b/firefox_128_will_allow_the_main_browser_content/
Actual results:
The background of the main tab panel remains opaque with the original theme-dependent background color.
Expected results:
The background of the main tab panel should've become transparent. In previous versions, this was the result.
Comment 1•27 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•26 days ago
|
||
Hello! I have tried to reproduce the issue with firefox 149.0a1(2026-01-19) on Windows 10, unfortunately I wasn't able to reproduce the issue.
Could you please answer the following questions in order to further investigate this issue
- Does this issue happen with a new profile? Here is a link on how to create one: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
- Could you please provide a video with the issue?
- Could you please where the userChrome.css file is located or where should I add the CSS code snippet.
| Reporter | ||
Comment 3•25 days ago
|
||
(In reply to Negritas Sergiu, Desktop QA from comment #2)
Hello! I have tried to reproduce the issue with firefox 149.0a1(2026-01-19) on Windows 10, unfortunately I wasn't able to reproduce the issue.
Could you please answer the following questions in order to further investigate this issue
- Does this issue happen with a new profile? Here is a link on how to create one: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
- Could you please provide a video with the issue?
- Could you please where the userChrome.css file is located or where should I add the CSS code snippet.
Thank you for your quick response!
- When I created a new profile and copied my setup, the issue still persisted.
- Missing Transparency
The first webpage shown has no transparency properties and is a control. Notice how the second webpage shown (the flashbang) while supposedly being fully transparent does not show Firefox's actual background as seen in the sidebar and title bar, and thus is not actually transparent. Instead, it shows a pure white. On other webpages, the color depends on the theme (e.g. default dark theme -> #1C1B22), but my point still stands. - The userChrome.css file should be placed in the current profile's root directory (accessible via
about:profiles) under thechromefolder, which usually needs to be created. To see the transparency more easily, or lack thereof, you may also enable Mica if you're on Windows viawidget.windows.micaand install the Zen Internet extension which applies custom CSS to websites and adds transparency to them.
The visuals I am trying to achieve in question are as shown in the following image. When reverting to Firefox 147 or prior, my previously listed setup works flawlessly.
Transparency in Firefox
To reiterate, here is my setup:
browser.tabs.allow_transparent_browserset totruetoolkit.legacyUserProfileCustomizations.stylesheetsset totruewidget.windows.micaset totrue- Optionally set
widget.windows.mica.toplevel-backdropto1 - Install the Zen Internet extension
- Add the following CSS to
about:profiles> Profile > Root Directory >/chrome/userChrome.css:
:root {
--tabpanel-background-color: transparent !important;
background: transparent !important;
}
Updated•25 days ago
|
Description
•