- Home / CSS3 Module Status / Compatibility table – Color module
Compatibility table – Color module
| Property | Presto 2.1 | Presto 2.2 + | WebKit 3 | Gecko 1.9 | Trident |
|---|---|---|---|---|---|
| color* | Yes | Yes | Yes | Yes | Yes |
| opacity | Yes | Yes | Yes | Yes | No |
| Unit | Presto 2.1 | Presto 2.2 + | WebKit 3 | Gecko 1.9 | Trident |
|---|---|---|---|---|---|
| HTML Colour keywords | Yes | Yes | Yes | Yes | Yes |
| SVG Colour keywords | Yes | Yes | Yes | Yes | Yes‡ |
| RGB | Yes | Yes | Yes† | Yes | Yes |
| RGBA | No | Yes | Yes† | Yes | No |
| HSL | Yes | Yes | Yes | Yes | No |
| HSLA | No | Yes | Yes | Yes | No |
| transparent | Yes** | Yes | Yes | Yes | Yes** |
| currentColor | Yes | Yes | No | Yes | No |
Browsers and Rendering engines
Each property and unit was tested in the latest version of each of the major rendering engines – Presto Core-2, WebKit, Gecko and Trident. KHTML wasn’t tested as they are working on transitioning to WebKit. The browsers used in the charts above were as follows:
- Presto 2.1
- Tested using Opera 9.5 final
- Presto 2.2
- Tested using Opera 10 alpha
- WebKit
- Tested using Safari 3 final
- Gecko 1.9
- Tested using Firefox 3 beta
- Trident
- With the absence of public builds, Trident was tested using the shipping version of IE7
Testing procedure
The browsers above were tested with tests from various sources including examples and previews on this site, and David Baron’s css3-color Conformance Test Suite.
Notes
- * Check the second table for units accepted for the various engines for the color property
- † WebKit incorrectly accepts a mixture of integers and percentages for RGB and RGBA
- ‡ Trident doesn’t support the
greykeyword - ** transparent is supported, but only in the CSS2.1 context
TAG CLOUD
acid3
advanced layout
advanced layout module
Animations
background
border
Browsers
color
css
CSS3.info
CSS WG
csswg
developer tools
disabled
enabled
Feedback
firefox
firefox 3.1
flexible box layout
fonts
generated content
grid positioning
HSLA
HTML5
ie6
jina bolton
jquery
media player
Multicolumn Layout
News
Opera
Opera Dragonfly
presentations
RGBA
safari
Selectors
slides
SVG
text rendering
W3C
wasp
Web Fonts
webkit
windows
