Name
LzCSSStyleSheet() (as2)
Description
This service represents a CSS Style sheet
Introduced in DOM Level 2:
interface CSSStyleSheet : stylesheets::StyleSheet {
readonly attribute CSSRule ownerRule;
readonly attribute CSSRuleList cssRules;
unsigned long insertRule(in DOMString rule,
in unsigned long index)
raises(DOMException);
void deleteRule(in unsigned long index)
raises(DOMException);
};
Details
Methods (1)
-
insertRule()
-
public function insertRule(rule, index);
insertRule Used to insert a new rule into the style sheet. The new rule now
becomes part of the cascade.
JavaScript Synopsis
public function LzCSSStyleSheet(title, href, media, sstype, ownerRule, cssRules);