Module Css

type rule = {
  1. selector : Selectors.complex;
  2. declarations : (string * string) list;
  3. important : string list;
}
type sheet = rule list
val parse : string -> sheet
val declarations : string -> (string * string) list
val specificity : Selectors.complex -> int * int * int
val matches : Selectors.complex -> Dom.element list -> Dom.element -> bool
val page_sheet : Dom.element -> string
val cascade : sheet -> Dom.element -> Dom.element -> (string * string) list