1 out of 2 rated this helpful - Rate this topic

Methods

[This documentation is preliminary and is subject to change.]

This section contains a list of Document Object Model (DOM) style methods.

In this section

MethodDescription

addPageRule

Not implemented. Creates a new page object for a style sheet.

addRule method

Creates a new rule for a style sheet.

createStyleSheet method

Creates a style sheet for the document.

getComputedStyle

Returns a currentStyle object containing the Cascading Style Sheets (CSS) settings that are applied to the specified element or a pseudo-element related to the specified element.

getExpression method

Retrieves the expression for the given property.

msGetPropertyEnabled

Returns whether a given property in the style object is enabled.

msPutPropertyEnabled

Sets whether a given property in the style object is enabled.

recalc

Recalculates all dynamic properties in the current document.

removeBehavior

Detaches a behavior from the element.

removeExpression method

Removes the expression from the specified property.

removeImport method

Removes the imported style sheet from the imports collection based on ordinal position.

removeProperty

Removes a CSS property if it is explicitly set within the current declaration block.

removeRule method

Deletes an existing style rule for the styleSheet object, and adjusts the index of the rules collection accordingly.

setExpression method

Sets an expression for the specified object.

setProperty

Sets a property value and priority within the current declaration block.

 

 

 

Build date: 3/14/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ