diff -ru calibre.orig/src/calibre/ebooks/oeb/stylizer.py calibre/src/calibre/ebooks/oeb/stylizer.py
--- calibre.orig/src/calibre/ebooks/oeb/stylizer.py	2011-03-18 19:22:30.000000000 +0100
+++ calibre/src/calibre/ebooks/oeb/stylizer.py	2012-12-23 14:27:31.670272511 +0100
@@ -16,7 +16,7 @@
     CSSValueList, CSSFontFaceRule, cssproperties
 from cssutils import profile as cssprofiles
 from lxml import etree
-from lxml.cssselect import css_to_xpath, ExpressionError, SelectorSyntaxError
+from cssselect import GenericTranslator
 from calibre.ebooks.oeb.base import XHTML, XHTML_NS, CSS_MIME, OEB_STYLES
 from calibre.ebooks.oeb.base import XPNSMAP, xpath, urlnormalize
 from calibre.ebooks.oeb.profile import PROFILES
