New Features in FF3 CSS and JS
today i had some time to write since i’m working in a very big project that will move all the middle east to a whole new Generation of technology… more details will come when i finish it!
today i downloaded FireFox 3 the last release it’s not yet full version but will not be too many features added in the final version.
they have supported more of CSS that we had to write some hacks to let them work on firefox 2 and let’s get our hands dirty inside the coding…
- 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.
Firefox also have implemented javascript 1.8 as part of Gecko 1.9 (which will be incorporated into Firefox 3).
<script type="application/javascript;version=1.8"> ADD CODE HERE </script>
now you can write more short code to achieve the same target in JavaScript 1.8, the language is now becoming similar to Lambda notation.
JavaScript 1.7 and older:
function(x) { return x * x; }
JavaScript 1.8:
function(x) x * x
you see it’s gonna be more fun! if you wanna read more you can check the Mozilla page
I Wish Micosoft surprise us this year with enough testing for IE8 by resolving IE7 bugs and not bringing a new bugs
Now it’s time for me to go to sleep :0 see you next time
Byeeee
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.





nice and valuable post, keep moving forward