-moz!Mozilla CSS Extensions (-moz css,火狐特有css扩展样式列表)
非原创,来源网络。感谢原作者奉献如此精彩文章。原文地址:http://developer.mozilla.org/En/CSS_Reference:Mozilla_Extensions
Mozilla supports a number of extensions to CSS that are prefixed with '-moz'. These include a number of capabilities, including rounded borders, and the ability to specify different box width and height calculations to more easily support browers that perform such calculations in a non-standard way.
Some of these properties have subsequently been proposed for inclusion in the CSS specification, though the standard property may be different from the -moz implementation.
Some of these nonstandard properties apply only to elements with XUL display types.
At-rules
Pseudo-elements and pseudo-classes
:-moz-list-bullet
控制list-style的大小。
:-moz-first-node
伪对象:第一个节点。:-moz-last-node
伪对象:最后一个节点。:-moz-only-whitespace
伪对象:空白内容。:-moz-bound-element
:-moz-any-link
(matches :link and :visited):-moz-drag-over
:-moz-tree-row
:-moz-tree-row(hover)
New in Firefox 3:-moz-tree-cell
:-moz-tree-checkbox
:-moz-tree-column
:-moz-tree-cell-text
:-moz-tree-cell-text(hover)
New in Firefox 3:-moz-tree-twisty
:-moz-tree-indentation
:-moz-tree-line
:-moz-tree-image
:-moz-tree-separator
:-moz-tree-drop-feedback
:-moz-tree-progressmeter
:-moz-system-metric(windows-default-theme)
New in Firefox 3:-moz-system-metric(mac-graphite-theme)
New in Firefox 3.1 bug 448767:-moz-system-metric(images-in-menus)
New in Firefox 3:-moz-system-metric(scrollbar-start-backward)
New in Firefox 3:-moz-system-metric(scrollbar-start-forward)
New in Firefox 3:-moz-system-metric(scrollbar-end-backward)
New in Firefox 3:-moz-system-metric(scrollbar-end-forward)
New in Firefox 3:-moz-system-metric(scrollbar-thumb-proportional)
New in Firefox 3:-moz-alt-text
New in Firefox 3:-moz-placeholder
New in Firefox 3:-moz-broken
New in Firefox 3::-moz-svg-foreign-content
::-moz-scrolled-page-sequence
::-moz-scrolled-content
::-moz-anonymous-block
::-moz-cell-content
::-moz-anonymous-positioned-block
::-moz-pagecontent
::-moz-page
::-moz-page-sequence
::-moz-pagebreak
::-moz-viewport
::-moz-viewport-scroll
::-moz-canvas
::-moz-scrolled-canvas
::-moz-xul-anonymous-block
::-moz-table
::-moz-table-cell
::-moz-table-row-group
::-moz-table-column-group
::-moz-table-column
::-moz-table-row
::-moz-table-outer
::-moz-inline-table
Properties
-moz-appearance
-moz-binding
-moz-background-clip
-moz-background-inline-policy
-moz-background-origin
-moz-border-image
New in Firefox 3.1 bug 378217-moz-border-top-colors
-moz-border-right-colors
-moz-border-bottom-colors
-moz-border-left-colors
-moz-border-radius
-moz-border-radius-topleft
-moz-border-radius-topright
-moz-border-radius-bottomleft
-moz-border-radius-bottomright
-moz-box-align
-moz-box-direction
-moz-box-flex
-moz-box-ordinal-group
-moz-box-orient
-moz-box-pack
-moz-box-shadow
New in Firefox 3.1 bug 212633-moz-box-sizing
-moz-image-region
-moz-box-flexgroup
-moz-opacity
Obsolete-moz-outline
Deprecated-moz-outline-color
Deprecated-moz-outline-offset
-moz-outline-radius
-moz-outline-radius-topleft
-moz-outline-radius-topright
-moz-outline-radius-bottomleft
-moz-outline-radius-bottomright
-moz-outline-style
Deprecated-moz-outline-width
Deprecated-moz-user-focus
-moz-user-input
-moz-user-modify
-moz-user-select
-moz-window-shadow
New in Firefox 3.1 bug 450939
- CSS3 Box
- CSS3 Columns
- CSS transforms
-moz-transform
New in Firefox 3.1-moz-transform-origin
New in Firefox 3.1
-moz-float-edge
-moz-border-end
-moz-border-end-color
-moz-border-end-style
-moz-border-end-width
-moz-border-start
bug 74880-moz-border-start-color
-moz-border-start-style
-moz-border-start-width
-moz-margin-end
-moz-margin-start
-moz-padding-start
-moz-padding-end
-moz-force-broken-image-icon
-moz-stack-sizing
New in Firefox 3.1
Values
Note: All of these values should be considered deprecated. Use of the overflow-x
and overflow-y
is preferred, although it does not replace the last of these.
border-style
andoutline-style
-moz-bg-inset
- Makes the inset border to blend with then current background (scheduled for removal bug 84307 )-moz-bg-outset
- Makes the outset border to blend with then current background (scheduled for removal bug 84307 )-moz-bg-solid
- Makes the solid border to blend with then current background (scheduled for removal bug 84307 )
- For all properties accepting
color
keywords-moz-activehyperlinktext
-moz-hyperlinktext
-moz-visitedhyperlinktext
-moz-buttondefault
-moz-buttonhoverface
-moz-buttonhovertext
-moz-cellhighlight
-moz-cellhighlighttext
-moz-field
-moz-fieldtext
-moz-dialog
-moz-dialogtext
-moz-dragtargetzone
-moz-mac-accentdarkestshadow
-moz-mac-accentdarkshadow
-moz-mac-accentface
-moz-mac-accentlightesthighlight
-moz-mac-accentlightshadow
-moz-mac-accentregularhighlight
-moz-mac-accentregularshadow
-moz-mac-chrome-active
New in Firefox 3.1 bug 449833-moz-mac-chrome-inactive
New in Firefox 3.1 bug 449833-moz-mac-focusring
-moz-mac-menuselect
-moz-mac-menushadow
-moz-mac-menutextselect
-moz-menuhover
-moz-menuhovertext
-moz-win-communicationstext
New in Firefox 3-moz-win-mediatext
New in Firefox 3-moz-nativehyperlinktext
New in Firefox 3.1 bug 426732
empty-cells
-moz-show-background
(default value in quirks mode)
font
-moz-button
-moz-info
-moz-desktop
-moz-dialog
(also a color)-moz-document
-moz-workspace
-moz-window
-moz-list
-moz-pull-down-menu
-moz-field
(also a color)
list-style-type
-moz-arabic-indic
-moz-bengali
-moz-cjk-earthly-branch
-moz-cjk-heavenly-stem
-moz-devanagari
-moz-ethiopic-halehame
-moz-ethiopic-halehame-am
-moz-ethiopic-halehame-ti-er
-moz-ethiopic-halehame-ti-et
-moz-ethiopic-numeric
-moz-gujarati
-moz-gurmukhi
-moz-hangul
-moz-hangul-consonant
-moz-japanese-formal
-moz-japanese-informal
-moz-kannada
-moz-khmer
-moz-lao
-moz-malayalam
-moz-myanmar
-moz-oriya
-moz-persian
-moz-simp-chinese-formal
-moz-simp-chinese-informal
-moz-tamil
-moz-telugu
-moz-thai
-moz-trad-chinese-formal
-moz-trad-chinese-informal
-moz-urdu
width
,min-width
,max-width
(see bug 311415 )-moz-min-content
New in Firefox 3-moz-fit-content
New in Firefox 3-moz-max-content
New in Firefox 3-moz-available
New in Firefox 3
Others
-moz-initial
- The value-moz-initial
is a partial implementation of css3'sinitial
used to apply the CSS specification's initial value of a property to an element.
CSS Transforms
From CSS Transforms spec (Webkit)
-moz-transform
CSS Transforms introduction New in Firefox 3.1 bug 435293-moz-transform-origin
New in Firefox 3.1 bug 435293
This list may not be complete. See Talk:Mozilla CSS Extensions