I would like to show you 3 new features we have today in Firefox (trunk).

demo

To try this demos, please use a nightly build: http://ftp.mozilla.org/pub/mozilla.....

If you don't, you should follow hacks.mozilla.org. More details are coming. We are also on Twitter: @mozhacks @paulrouget.

Orientation

If your computer has accelerometers, Firefox fires "Orientation" events in the Web content:

                window.addEventListener("MozOrientation", function(e) {
                   /* 3 values: e.x, e.y, e.y */
                }, true)

For more details, see Doug's blog post. Here are the demos:

Orientation works with the latest trunk of Firefox. It works on MacBooks, on Windows on Thinkpad and Linux on Thinkpad (don't forget to modprobe tp_smapi && /etc/init.d/hdapsd start).

On the last MacBook Pro (5.1), the orientation is not computed the right way. We are working on it (but the demos still work, just the computed orientation is the opposite of the real one).

And here is a screencast of Orientation in action (flash version)

WebGL

We talked about WebGL: http://hacks.mozilla.org/category/w....

Here is a demo showing WebGL + CSS3 + SVG: http://people.mozilla.com/~prouget/....

CSS Transition

We now support CSS Transition. Here is a demo including CSS Transition + the video tag: http://people.mozilla.com/~prouget/....

Follow us!

If you want to know more about these demos, please follow hacks.mozilla.org, more details are coming :)