Changeset 2862:56cc7d808748 in livinglogic.python.xist

Show
Ignore:
Timestamp:
08/07/07 18:20:25 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Add news entry about html.applycss().

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • NEWS.xml

    r2861 r2862  
    2222<item>A generator function <function>itercssrules</function> has been added to 
    2323<module>ll.xist.ns.html</module>. This function can be passed an &xist; tree 
    24 and it will produce all &css; rule defined in any <class>link</class> or 
    25 <class>style</class> or imported by them (via the &css; rule <lit>@import</lit> 
    26 (this requires the <module>cssutils</module> package).</item> 
     24and it will produce all &css; rules defined in any <class>link</class> or 
     25<class>style</class> or imported by them (via the &css; rule <lit>@import</lit>) 
     26This requires the <module>cssutils</module> package.</item> 
     27 
     28<item>A function <function>applycss</function> has been added to 
     29<module>ll.xist.ns.html</module>. This function modifies the &xist; tree 
     30passed in by removing all &css; (from <class>link</class> or <class>style</class> 
     31elements) and putting the styles into <lit>style</lit> attributes of the 
     32affected elements instead.</item> 
    2733 
    2834<item>The method <method>asBytes</method> has been renamed to <method>bytes</method>