:-moz-system-metric()

Draft
This page is not complete.

Non-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.

Obsolete since Gecko 58 (Firefox 58 / Thunderbird 58 / SeaMonkey 2.55)
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

This page was auto-generated because a user created a sub-page to this page.

Note: Since Firefox 58, this pseudo-class is no longer available to web content — it is only available internally (e.g. to XUL / chrome code). See bug 1396066 for more details.

Syntax

Values

:-moz-system-metric(images-in-menus)
The :-moz-system-metric(images-in-menus) CSS pseudo-class matches an element if the computer's user interface supports images in menus.
:-moz-system-metric(mac-graphite-theme)
:-moz-system-metric(mac-graphite-theme) will match an element if the user has chosen the "Graphite" appearance in the "Appearance" prefpane of the Mac OS X System Preferences.
:-moz-system-metric(scrollbar-end-backward)
The :-moz-system-metric(scrollbar-end-backward) CSS pseudo-class will match an element if the computer's user interface includes a backward arrow button at the end of scrollbars.
:-moz-system-metric(scrollbar-end-forward)
The :-moz-system-metric(scrollbar-end-forward) CSS pseudo-class will match an element if the computer's user interface includes a forward arrow button at the end of scrollbars.
:-moz-system-metric(scrollbar-start-backward)
The :-moz-system-metric(scrollbar-start-backward) CSS pseudo-class will match an element if the computer's user interface includes a backward arrow button at the start of scrollbars.
:-moz-system-metric(scrollbar-start-forward)
The :-moz-system-metric(scrollbar-start-forward) CSS pseudo-class will match an element if the computer's user interface includes a forward arrow button at the start of scrollbars.
:-moz-system-metric(scrollbar-thumb-proportional)
The :-moz-system-metric(scrollbar-thumb-proportional) CSS pseudo-class will match an element if the computer's user interface uses proportional scrollbar thumbs; that is, the draggable thumb on the scrollbar resizes to indicate the relative size of the visible area of the document.
:-moz-system-metric(touch-enabled)
The :-moz-system-metric(touch-enabled) CSS pseudo-class will match an element if the device on which the content is being rendered offers a supported touch-screen interface.
:-moz-system-metric(windows-default-theme)
The :-moz-system-metric(windows-default-theme) CSS pseudo-class matches an element if the user is currently using one of the following themes in Windows: Luna, Royale, Zune, or Aero (i.e., Vista Basic, Vista Standard, or Aero Glass). This will exclude Windows Classic themes as well as third-party themes.

Formal syntax

Syntax not found in DB!

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
:-moz-system-metric()
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 3 — 58
Notes
No support 3 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support 4 — 58
Notes
No support 4 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
:-moz-system-metric(images-in-menus)
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 3 — 58
Notes
No support 3 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support 4 — 58
Notes
No support 4 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
:-moz-system-metric(mac-graphite-theme)
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 3 — 58
Notes
No support 3 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support 4 — 58
Notes
No support 4 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
:-moz-system-metric(scrollbar-end-backward)
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 3 — 58
Notes
No support 3 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support 4 — 58
Notes
No support 4 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
:-moz-system-metric(scrollbar-end-forward)
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 3 — 58
Notes
No support 3 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support 4 — 58
Notes
No support 4 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
:-moz-system-metric(scrollbar-start-backward)
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 3 — 58
Notes
No support 3 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support 4 — 58
Notes
No support 4 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
:-moz-system-metric(scrollbar-start-forward)
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 3 — 58
Notes
No support 3 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support 4 — 58
Notes
No support 4 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
:-moz-system-metric(scrollbar-thumb-proportional)
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 3 — 58
Notes
No support 3 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support 4 — 58
Notes
No support 4 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
:-moz-system-metric(touch-enabled)
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 3 — 58
Notes
No support 3 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support 4 — 58
Notes
No support 4 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
:-moz-system-metric(windows-default-theme)
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 3 — 58
Notes
No support 3 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support 4 — 58
Notes
No support 4 — 58
Notes
Notes Internal only since Firefox 58 (See bug 1396066).
Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No

Legend

No support  
No support
Non-standard. Expect poor cross-browser support.
Non-standard. Expect poor cross-browser support.
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.
See implementation notes.
See implementation notes.

See also

Document Tags and Contributors

Contributors to this page: mdnwebdocs-bot, ExE-Boss
Last updated by: mdnwebdocs-bot,