We have developed an experimental script that attempts to convert an After Effects composition into HTML/CSS3. Here is a simple example showing an image bouncing on the floor: Simple Demo (Firefox required). The script can handle more complex stuff like parenting, expression, and also supports 3D animation.
Update: See Biped Demo, Mars Rover Demo, and 3D Demo (Safari required).