Cssutils

Latest version: v2.11.1

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 21 of 21

0.8a1

bugfix medialist
medium "projection" was spelled wrong (ended with a space)

docs
new examples and new structure on the website

NEW API **INCOMPATIBLE API CHANGES**
* new package cssutils.css which contains CSS interface implementations (css.CSSStyleSheet, css.CSSRuleList etc)
* new package cssutils.stylesheets which contains Stylesheets interface implementations are in (stylesheets.StyleSheet, stylesheets.MediaList etc)
* module cssutils.cssbuilder has therefor been removed and is replaced by packages cssutils.css and cssutils.stylesheets.
(You may like to define your own cssbuilder module which imports all new classes with their old name if you do not want to change all your code at this time. Usage of the new names is recommended however and there are more subtle changes.)
* CSS interfaces use W3 DOM names normally starting with CSS... now (e.g. CSSStyleSheet)
* CSSStyleSheet now uses superclass stylesheets.StyleSheet
* CSSImportRule is changed to comply to its specification (MediaList is after the URI and not before)
* CSSFontfaceRule (cssutils FontfaceRule) is removed as CSS 2.1 removed this rule completely
* CSSProperties is removed. Properties are useful in CSSStyleDeclaration only anyway and are used through that class now.
* some parameters have been renamed to their respective DOM names (e.g. selector is selectorText now in CSSStyleRule constructor
* the API has been cleaned up a bit. Some redundant methods have been removed.
- cssmediarule: removed getRules(), use cssRules property instead

* Comment as a rule is removed currently, might be reintegrated in a future version.
* some classes which have not been implemented fully anyway are not available until they are finished. This is mainly CSSMediaRule (will follow shortly), CSSUnknownRule, CSSValue and other value classes.


0.6.x
-----

Page 21 of 21

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.