author: | $LastChangedBy: cthedot $ |
---|---|
date: | $LastChangedDate: 2007-08-08 16:14:03 +0200 (Mi, 08 Aug 2007) $ |
version: | $LastChangedRevision: 206 $ |
Contents
Classes implementing DOM Level 2 CSS and CSS Module: Namespaces (W3C Working Draft 28 August 2006)
CSSStyleSheet: | Implements stylesheets.StyleSheet and is the root of a stylesheet. |
---|---|
CSSCharsetRule: | @charset rule |
CSSFontFaceRule: | @font-face rule (from v0.9.5a4) |
CSSImportRule: | @import rule |
CSSMediaRule: | @media rule |
CSSNamespaceRule: | @namespace rule |
CSSPageRule: | @page rule |
CSSStyleRule: | Main Rule with Selectors and CSSStyleDeclaration |
CSSStyleDeclaration: | Containing a list of Properties |
Property: | A single property with name, value and priority information, used for properties in CSSStyleDeclaration and stylesheets.MediaQuery |
CSSValue: | A CSS value which might also be a CSSPrimitiveValue or CSSValueList. |
CSSComment: | A comment anywhere in the stylesheet. Not in any official spec. |
The CSSStyleSheet contains all rules. It consists of the different rules defined above like CSSImportRule CSSStyleRule etc. It also defines the encoding of the style sheet used for serialization. The encoding might by set with an CSSCharsetRule rules or simpler with the encoding attribute. The serialized sheet may be obtained from cssText. All rules are present in cssRules. Namespace prefixes are available in prefixes, the actual namespace URIs in the CSSNamespaceRule objects (do not rely on prefixes though, see http://www.w3.org/TR/REC-xml-names/ how these work.
Also inherits properties from stylesheet.StyleSheet.
reflects the encoding of an @charset rule or 'utf-8' (default) if set to None.
Effectively using CSSCharsetRule directly is not needed anymore.
This rule is not really needed anymore as using encoding of CSSStyleSheet is much easier.
CSSNamespaceRule currently implements http://www.w3.org/TR/2006/WD-css3-namespace-20060828/
Used to import other CSS style sheets.
tbd
tbd
tbd