-moz-window-shadow

このロケールの翻訳が存在しないため、英語バージョンのコンテンツを表示しています。 Help us translate this article!

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.

Deprecated since Gecko 44 (Firefox 44 / Thunderbird 44 / SeaMonkey 2.41)
This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

The -moz-window-shadow CSS property specifies whether a window will have a shadow. It only works on Mac OS X.

This property is not standard and from Firefox 44 onwards cannot be used on websites anymore.

Firefox 3 added support for transparent windows on Mac OS X. However, for these windows shadows were turned off and there was no way to turn them on. In Firefox 3.5 the default changed, with all windows having a shadow. This version introduced the -moz-window-shadow CSS property to provide a way to turn off unwanted shadows.

Initial valuedefault
Applies toall elements that create native windows, e.g. <window>, <panel>
Inheritedno
Mediavisual
Computed valueas specified
Animation typediscrete
Canonical orderthe unique non-ambiguous order defined by the formal grammar

Syntax

The -moz-window-shadow property is specified as one of the keyword values listed below.

Values

default
The window will have a shadow with the default window shadow style.
menu
The window will have the shadow style that's appropriate for menus.
tooltip
The window will have the shadow style that's appropriate for tooltips.
sheet
The window will have the shadow style that's appropriate for sheet windows.
none
The window won't have a shadow.

Formal syntax

default | menu | tooltip | sheet | none

Example

.KUI-panel {
  -moz-window-shadow: none;
}

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
-moz-window-shadow
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 3.5 — 44
Notes
No support 3.5 — 44
Notes
Notes Supported only on macOS
Notes In Firefox 44, the property was limited to usage in chrome code only.
IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support NoOpera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
default
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 3.5 — 44IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support NoOpera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
menu
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 4 — 44IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support NoOpera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
none
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 3.5 — 44IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support NoOpera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
sheet
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 4 — 44IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support NoOpera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
tooltip
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 4 — 44IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support NoOpera 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