Package cssutils :: Package css :: Module selector |
[hide private]
[frames] | no frames]

# Module selector

source code

Selector is a single Selector of a CSSStyleRule SelectorList.

Partly implements
  http://www.w3.org/TR/css3-selectors/
TODO

  - .contains(selector)

  - .isSubselector(selector)

  - ??? CSS2 gives a special meaning to the comma (,) in selectors.

      However, since it is not known if the comma may acquire other meanings in future versions of CSS, the whole statement should be ignored if there is an error anywhere in the selector, even though the rest of the selector may look reasonable in CSS2.

      Illegal example(s):

      For example, since the "&" is not a valid token in a CSS2 selector, a CSS2 user agent must ignore the whole second line, and not set the color of H3 to red:

Version: $LastChangedRevision: 723 $

Date: $LastChangedDate: 2007-12-25 21:53:11 +0100 (Di, 25 Dez 2007) $

Author: $LastChangedBy: cthedot $

Classes | [hide private]
| Selector (cssutils) a single selector in a SelectorList of a CSSStyleRule

Imports: xml, cssutils