Very nice!
I was just wondering if it might be possible to use SAC, so you could use "real" css rather than just a CSS-a-like.
http://www.w3.org/Style/CSS/SAC/
SAC is the "simple api for css", there's a couple of java css parsers that use it. It doesn't tie you to the css properties used by html, but it does support the css selection model, and a "well known" syntax. Might be useful. |