Firefox 3 offers a number of improvements to its CSS implementation. While these changes are documented on the appropriate pages in the documentation, this article provides an overview of them all so that developers can easily learn what these changes were.
- The
displayproperty'sinline-blockandinline-tablevalues are now implemented. - The
font-size-adjustproperty now works on all platforms; previously it was only supported on Windows. rgba()andhsla()support forcolor(bug 147017):defaultpseudo-class support (bug 302186)-moz-max-content,-moz-min-content,-moz-fit-content, and-moz-availablevalues have been added towidth,min-width, andmax-width(bug 311415 and bug 402706)- HTML soft hyphens (
­) are now supported. - Pre-formatted tabs work much better in proportional fonts, following the CSS 2.1 spec.
- The
ime-modeproperty is supported. - The CSS
text-renderingproperty for HTML is now supported (bug 387969). -moz-border-*-startand-moz-border-*-endCSS properties are implemented (bug 74880).-moz-initialis now implemented for almost all CSS properties (exceptquotesand-moz-border-*-colors) bug 80887.window.getComputedStyle()now supports all supported CSS properties (bug 316981).content'snonevalue is now supported (bug 378535).cursor'snonevalue is now supported (bug 346690).- Background images now properly clip to a
-moz-border-radius(bug 24998). white-space'spre-wrapvalue is now supported (bug 261081).- Selectors like :first-child, :only-child, :last-child (bug 73586), :empty (bug 98997), or the + combinator (bug 229915) are now updated dynamically (bug 401291).
- Negative
z-indexvalues are supported correctly. - The SVG property
text-renderingis now supported and applies to XML and HTML content also (bug 387969).