New Features
Support IE Safe Hacks [stereobooster]
Bugfixes
Fix #23 - set up CSSPool.CSS so it can read files. [Mike Tierney]
New Features
'Minified' CSS output: passing :minify => true to a to_css call will omit
line breaks
Added Gemfile
Bugfixes
Parse properties without semi-colons at the end of a declaration.
Handle whitespaces after properties [stereobooster]
New Features
Pure ruby: no longer uses C based back end.
Bugfixes
Uh... Many.
New Features
Now wraps libcroco via FFI
Fix comment greediness. [Seth Rasmussen]
Accepting spaces after error rules.
Comments with asterisks tokenize correctly. [Seth Rasmussen]
Stop polluting the global namespace with includes. [Thomas Kadauke]
Fixed error handling on at rules. Thanks Dan for tests!
Made specificity an array
Made StyleSheet::Rule comparable on specificity
Fixed a bug where nil selectors on conditional selectors were being visited.
I suck.
Recovering from unexpected tokens in the properties section.
Added CSS::SAC::Parser#parse_rule to parse a single rule.
Added CSS::StyleSheet#find_rule for finding a particular rule.
Added CSS::StyleSheet#rules_matching for finding all rules matching a node.
Added CSS::StyleSheet#create_rule for creating a new rule.
Added CSS::StyleSheet#find_all_rules_matching for finding all rules that match any node in the passed in document.
Added .eql? to selector AST
Added .hash to selector AST
Added .eql? to LexicalUnits
Added .hash to LexicalUnits
Added CSS::StyleSheet#to_css
Added CSS::StyleSheet#reduce!
CSS::StyleSheet is now the default document handler
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.
Birthday!
Generated with the Darkfish Rdoc Generator 2.