You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance the user chrome (*css) configuration by making all features toggleable using the @supports -moz-bool-pref directive. This will allow users to easily enable or disable specific customizations without modifying the CSS directly.
Example Implementation
Here's an example of how a feature can be made toggleable:
For Older versions (@supports -moz-bool-pref("PREFERENCE_NAME")):
Description
Enhance the user chrome (
*css
) configuration by making all features toggleable using the@supports -moz-bool-pref
directive. This will allow users to easily enable or disable specific customizations without modifying the CSS directly.Example Implementation
Here's an example of how a feature can be made toggleable:
For Older versions (
@supports -moz-bool-pref("PREFERENCE_NAME")
):For Firefox 120+ (
@media (-moz-bool-pref: "PREFERENCE_NAME")
):(not -moz-bool-pref("userchrome.horizontal-tab-bar-hidden.enabled"))
is valid as well.Benefits
References
The text was updated successfully, but these errors were encountered: