mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-03-04 08:00:02 -05:00
64 lines
1.4 KiB
Python
64 lines
1.4 KiB
Python
"""
|
|
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
|
|
|
|
todo
|
|
- RGBColor, Rect, Counter
|
|
"""
|
|
__all__ = [
|
|
'CSSStyleSheet',
|
|
'CSSRuleList',
|
|
'CSSRule',
|
|
'CSSComment',
|
|
'CSSCharsetRule',
|
|
'CSSFontFaceRule'
|
|
'CSSImportRule',
|
|
'CSSMediaRule',
|
|
'CSSNamespaceRule',
|
|
'CSSPageRule',
|
|
'CSSStyleRule',
|
|
'CSSUnknownRule',
|
|
'Selector', 'SelectorList',
|
|
'CSSStyleDeclaration', 'Property',
|
|
'CSSValue', 'CSSPrimitiveValue', 'CSSValueList'
|
|
]
|
|
__docformat__ = 'restructuredtext'
|
|
__version__ = '$Id: __init__.py 1116 2008-03-05 13:52:23Z cthedot $'
|
|
|
|
from cssstylesheet import *
|
|
from cssrulelist import *
|
|
from cssrule import *
|
|
from csscomment import *
|
|
from csscharsetrule import *
|
|
from cssfontfacerule import *
|
|
from cssimportrule import *
|
|
from cssmediarule import *
|
|
from cssnamespacerule import *
|
|
from csspagerule import *
|
|
from cssstylerule import *
|
|
from cssunknownrule import *
|
|
from selector import *
|
|
from selectorlist import *
|
|
from cssstyledeclaration import *
|
|
from cssvalue import *
|