Class Index | File Index

Modules


Panels


Templates


Services (XPCOM)


Libraries


All Classes


Report Doc Issue | How To Comment Firebug Code

Class Css

Utility for styles

Defined in: css.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Css()
Method Summary
Method Attributes Method Name and Description
<static>  
Css.getInstanceForStyleSheet(styleSheet, ownerDocument)
Retrieves the instance number for a given style sheet.
<static>  
Css.parseCSSProps(style, element)
Parses the CSS properties of a CSSStyleRule
Class Detail
Css()
Method Detail
<static> Css.getInstanceForStyleSheet(styleSheet, ownerDocument)
Retrieves the instance number for a given style sheet. The instance number is sheet's index within the set of all other sheets whose URL is the same.
Parameters:
styleSheet
ownerDocument

<static> {Array} Css.parseCSSProps(style, element)
Parses the CSS properties of a CSSStyleRule
Parameters:
{Object} style
CSSStyleRule to get the properties of
{Object} element
Element to which the style applies. Needed for parsing shorthand properties correctly.
Returns:
{Array} Properties represented by {name, value, priority, longhandProps}

Documentation generated by JsDoc Toolkit 2.3.0 on Sat Jan 05 2013 23:10:38 GMT+0100 (CET)