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

# Module selectorlist

source code

SelectorList is a list of CSS Selector objects.

TODO

  - remove duplicate Selectors. -> CSSOM canonicalize

  - ??? 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: $Id: selectorlist.py 1116 2008-03-05 13:52:23Z cthedot $

Classes | [hide private]
| SelectorList (cssutils) a list of Selectors of a CSSStyleRule

Imports: xml, cssutils, Selector