CSSpool (pronounced "cesspool") is a validating SAC parser for CSS. The parser
calls methods on a document handler depending on what it has found. CSSPool
currently only supports CSS 2.1. CSSPool will not yield invalid properties or
selectors.
Changes:
## 0.1.1
- Added specificity to selectors.
- Added == to selector ASTs.
- Added =~ to selector ASTs. The object passed in to =~ must quack like an
hpricot node. It must implement the following methods: name, parent, child,
next_sibling, attributes. - Added .to_xpath to the selector AST.
-
Fixed a bug where functions as pseudo classes didn't parse.