ANN: cssutils

Christof Hoeke cthedot at
Mon Aug 11 21:11:29 CEST 2008

what is it
A Python package to parse and build CSS Cascading Style Sheets. (Not a 
renderer  though!)

about this release
------------------ is a bugfix release.

main changes
------------ 080811
     + **BUGFIX**: Fixed parsing of ``}a,b`` which resulted in TypeError 
until now.

     + **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. ``""``

     + 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

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 mailing list