Changeset 2828:d924a7802211 in livinglogic.python.xist

Show
Ignore:
Timestamp:
07/30/07 21:52:02 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Invert check logic in html.itercssrules() for skipping comments.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/ns/html.py

    r2825 r2828  
    13771377    import cssutils 
    13781378    from cssutils import css, stylesheets 
    1379     from cssutils.css import cssstyledeclaration, cssvalue, csscomment 
     1379    from cssutils.css import cssstyledeclaration, cssvalue, csscomment, property as property_ 
    13801380except ImportError: 
    13811381    pass 
     
    13971397    def _fixurl(self, rule, base): 
    13981398        for proplist in rule.style.seq: 
    1399             if not isinstance(proplist, csscomment.CSSComment): 
     1399            if isinstance(proplist, property_._Property): 
    14001400                for prop in proplist: 
    14011401                    for (i, value) in enumerate(prop.cssValue.seq):