-moz-binding-moz-border-bottom-colors-moz-border-left-colors-moz-border-right-colors-moz-border-top-colors-moz-context-properties-moz-float-edge-moz-force-broken-image-icon-moz-image-region-moz-orient-moz-outline-radius-moz-outline-radius-bottomleft-moz-outline-radius-bottomright-moz-outline-radius-topleft-moz-outline-radius-topright-moz-stack-sizing-moz-text-blink-moz-user-focus-moz-user-input-moz-window-shadowbox-alignbox-directionbox-flexbox-flex-groupbox-linesbox-ordinal-groupbox-orientbox-packNon-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
The -moz-bool-pref() @supports condition is available to Gecko chrome and UA stylesheets to check if a boolean preference is enabled.
-moz-bool-pref( <string> )
<string>Evaluates to true if the preference is enabled, false otherwise.
Warning: This will only work when loaded from a Gecko chrome stylesheet.
<div id="pref-test"> This will have a green background if the <code>test</code> preference is enabled. </div>
@supports -moz-bool-pref("test") {
#pref-test {
background: green;
}
}
@supports not -moz-bool-pref("test") {
#pref-test {
background: red;
}
}