ANN: cssutils 0.9.5.1
cthedot at gmail.com
Mon Aug 11 21:11:29 CEST 2008
what is it
A Python package to parse and build CSS Cascading Style Sheets. (Not a
about this release
0.9.5.1 is a bugfix release.
+ **BUGFIX**: Fixed parsing of ``}a,b`` which resulted in TypeError
+ **BUGFIX**: A rule with a selector using an undefined and
therefor invalid namespace prefix is ignored now.
+ **BUGFIX**: Removed typo in MediaList which resulted in Exception
when parsing medialist containing ``all`` and another media.
+ **BUGFIX**: Reading imported styles may have failed under certain
conditions with an AttributeError.
+ FEATURE: Added ``cssutils.VERSION`` which is the current release
version, in this case e.g. ``"0.9.5.1"``
+ IMPROVEMENT: Optimized imports and partly removed circular ones
which are a bit tricky...
CSSValue, CSSValueList, and CSSPrimitiveValue and the relevant
methods/properties Property.cssValue and
CSSStyleDeclaration.getPropertyCSSValue are more or less DEPRECATED and
will probably be replaced with interfaces defined in CSSOM. For now use
the properties and methods that handle values as simple strings, e.g.
``Property.value``. As the aforementioned classes are not hardly that
useful anyway this should not be a big problem but please beware if you
use or have used them.
If you think this a bad idea please let me know!
cssutils is published under the LGPL version 3 or later, see
If you have other licensing needs please let me know.
For download options see http://cthedot.de/cssutils/
cssutils needs Python 2.4 or higher (tested with Python 2.5.2 on Vista only)
Bug reports (via Google code), comments, etc are very much appreciated!
More information about the Python-announce-list