Search completed in 1.23 seconds.
CSSRuleList - Web APIs
any existing list therein is deleted, rule by rule. Example // get the first style sheet's first rule var first_rule = document.styleSheets[0].cssRules[0]; See also CSSRule CSSRuleList implementations There are multiple properties in the CSSOM that will return a CSSRuleList. They are: CSSStyleSheet property cssRules CSSMediaRule property cssRules CSSKeyframesRule property cssRules
CSSMozDocumentRule property cssRules Specifications Specification Status Comment CSS Object Model (CSSOM)The definition of 'CSSRuleList' in that specification. Working Draft ...