UpdateI'm breaking the CSS engine off of this beast and organizing it as a separate project. This will allow me to focus on documentation, examples, and tests for the most viable part of this silly idea and actually, just maybe, get something useful out there. As for the rest of it, let's just say it was never meant to be.
The CSS engine has seen a lot of progress, including full shorthand property support, HSL/RGB color handling, selector improvements, @import loading, and bug fixes. I'll get something put up on a separate project page within the next couple of weeks.
If anybody has use for any of this stuff, please contact me and let me know (john at newgonzo dot com). Just telling me a little about your project can be a huge motivator.
Cannonball is an implementation of the DOM Level 3, HTML and CSS3 core specifications written in ActionScript 3.0.
Cannonball as a whole is not functional, but some of its components are usable as separate libraries:
support for many of the CSS3 selectors, based on The Simple API for CSS an API for exposing any object as a CSS-selectable node style cascading with respect to document origin, selector specificity, and declaration priority (!imporant) You can explore the CSS selector engine here.
A proof-of-concept for using !HTMLTidy in Flash (via Alchemy) has been posted at the as3htmltidylib project page. It's fat and slow.
This project is under active (slow) development. Interested in contributing? Contact me at john at newgonzo dot com.
This project is incomplete and has very little documentation. Proceed at your own risk.