mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 14:25:49 +00:00
![Kravantokh](/assets/img/avatar_default.png)
The background behind the rendered webpage may now be made transparent with these changes by toggling the mentioned preference. The new option defaults to false, preserving the previous behaviour as the default. For the changes to apply "browser.tabs.allow_transparent_browser" has to be explicitly set to "true" in about:config. For transparency to actually work, though, a userChrome.css is necessary to make the tab's background transparent ( :root { --tabpanel-background-color: #00000063 !important; } ). Pages may not be transparent by default (except for some rare cases), but extensions may be used to enforce transparent background colors on all pages. As such this patch implements all necessary changes to allow users to make firefox transparent without having to patch and recompile it. Differential Revision: https://phabricator.services.mozilla.com/D201346