nsIDOMCSSStyleDeclaration
| IID: | a6cf90be-15b3-11d2-932e-00805f8add32 |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Properties
DOMString cssText
The nsIDOMCSSStyleDeclaration interface is a datatype for a CSS style declaration in the Document Object Model.
For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Style
readonly PRUint32 length
readonly nsIDOMCSSRule parentRule
Methods
nsIDOMCSSValue getPropertyCSSValue ( DOMString propertyName )
DOMString getPropertyPriority ( DOMString propertyName )
DOMString getPropertyValue ( DOMString propertyName )
DOMString item ( PRUint32 index )
DOMString removeProperty ( DOMString propertyName )
void setProperty ( DOMString propertyName , DOMString value , DOMString priority )
nsIDOMCSSValue getPropertyCSSValue ( DOMString propertyName )
- Arguments:
- propertyName
void setProperty ( DOMString propertyName , DOMString value , DOMString priority )
- Arguments:
- propertyName
- value
- priority
References
This interface is the type of the following properties:
nsIDOMCSSFontFaceRule.style, nsIDOMCSSPageRule.style, nsIDOMCSSStyleRule.style, nsIDOMElementCSSInlineStyle.style, nsIDOMSVGStylable.style
This interface is returned from the following methods:
nsIDOMDocumentCSS.getOverrideStyle, nsIDOMViewCSS.getComputedStyle
Reference documentation is generated from Mozilla's source.
