90 lines
2.1 KiB
Python
90 lines
2.1 KiB
Python
"""Implements Document Object Model Level 2 CSS
|
|
http://www.w3.org/TR/2000/PR-DOM-Level-2-Style-20000927/css.html
|
|
|
|
currently implemented
|
|
- CSSStyleSheet
|
|
- CSSRuleList
|
|
- CSSRule
|
|
- CSSComment (cssutils addon)
|
|
- CSSCharsetRule
|
|
- CSSFontFaceRule
|
|
- CSSImportRule
|
|
- CSSMediaRule
|
|
- CSSNamespaceRule (WD)
|
|
- CSSPageRule
|
|
- CSSStyleRule
|
|
- CSSUnkownRule
|
|
- Selector and SelectorList
|
|
- CSSStyleDeclaration
|
|
- CSS2Properties
|
|
- CSSValue
|
|
- CSSPrimitiveValue
|
|
- CSSValueList
|
|
- CSSVariablesRule
|
|
- CSSVariablesDeclaration
|
|
|
|
todo
|
|
- RGBColor, Rect, Counter
|
|
"""
|
|
__all__ = [
|
|
'CSSStyleSheet',
|
|
'CSSRuleList',
|
|
'CSSRule',
|
|
'CSSComment',
|
|
'CSSCharsetRule',
|
|
'CSSFontFaceRule',
|
|
'CSSImportRule',
|
|
'CSSMediaRule',
|
|
'CSSNamespaceRule',
|
|
'CSSPageRule',
|
|
'MarginRule',
|
|
'CSSStyleRule',
|
|
'CSSUnknownRule',
|
|
'CSSVariablesRule',
|
|
'CSSVariablesDeclaration',
|
|
'Selector',
|
|
'SelectorList',
|
|
'CSSStyleDeclaration',
|
|
'Property',
|
|
'PropertyValue',
|
|
'Value',
|
|
'ColorValue',
|
|
'DimensionValue',
|
|
'URIValue',
|
|
'CSSFunction',
|
|
'CSSVariable',
|
|
'MSValue',
|
|
'CSSCalc',
|
|
]
|
|
|
|
from .cssstylesheet import CSSStyleSheet
|
|
from .cssrulelist import CSSRuleList
|
|
from .cssrule import CSSRule
|
|
from .csscomment import CSSComment
|
|
from .csscharsetrule import CSSCharsetRule
|
|
from .cssfontfacerule import CSSFontFaceRule
|
|
from .cssimportrule import CSSImportRule
|
|
from .cssmediarule import CSSMediaRule
|
|
from .cssnamespacerule import CSSNamespaceRule
|
|
from .csspagerule import CSSPageRule
|
|
from .marginrule import MarginRule
|
|
from .cssstylerule import CSSStyleRule
|
|
from .cssunknownrule import CSSUnknownRule
|
|
from .cssvariablesrule import CSSVariablesRule
|
|
from .selector import Selector
|
|
from .selectorlist import SelectorList
|
|
from .cssstyledeclaration import CSSStyleDeclaration
|
|
from .cssvariablesdeclaration import CSSVariablesDeclaration
|
|
from .property import Property
|
|
|
|
from .value import (
|
|
PropertyValue,
|
|
Value,
|
|
ColorValue,
|
|
DimensionValue,
|
|
URIValue,
|
|
CSSFunction,
|
|
CSSVariable,
|
|
MSValue,
|
|
CSSCalc,
|
|
)
|