Methods
This section contains a list of Document Object Model (DOM) style methods.
In this section
| Method | Description |
|---|---|
|
Adds a style sheet to the imports collection for the specified style sheet. | |
|
Not implemented. Creates a new page object for a style sheet. | |
|
Creates a new rule for a style sheet. | |
|
Adds a medium to the end of the current list. If the medium is already used, it is first removed. | |
|
Converts a point pt object from CSS node coordinates to page coordinates. | |
|
Converts a point pt object from page coordinates to CSS node coordinates. | |
|
Note
createStyleSheet is no longer supported. Starting with Internet Explorer 11, use document.createElement('style'). For info, see Compatibility changes.
Creates a style sheet for the document. | |
|
Deletes a medium from the current list. | |
|
Deletes a rule from the media block. | |
|
Deletes a rule from the style sheet. | |
|
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. | |
|
This element is obsolete and should no longer be used. Retrieves the expression for the given property. | |
|
Gets the priority of a CSS property if the priority is explicitly set in the current declaration block. | |
|
Gets the value of a CSS property if it is explicitly set within the current declaration block. | |
|
Inserts a new rule into the media block. | |
|
Inserts a new rule into the style sheet. | |
|
Gets the medium at the position number that is indicated by an index in the current list. | |
|
Retrieves an object from the pages collection. | |
|
Retrieves an object from the rules collection. | |
|
Retrieves an object from a collection. | |
|
Returns whether a given property in the style object is enabled. | |
|
Forces the rendering of the page into one (or several) specified way(s). | |
|
Sets whether a given property in the style object is enabled. | |
|
This element is obsolete and should no longer be used. Recalculates all dynamic properties in the current document. | |
|
This element is obsolete and should no longer be used. Removes the expression from the specified property. | |
|
Removes the imported style sheet from the imports collection based on ordinal position. | |
|
Removes a CSS property if it is explicitly set within the current declaration block. | |
|
Deletes an existing style rule for the styleSheet object, and adjusts the index of the rules collection accordingly. | |
|
This element is obsolete and should no longer be used. Sets an expression for the specified object. | |
|
Sets a property value and priority within the current declaration block. | |
|
Disables the current orientation lock applied to the screen. | |
|
Scrolls and/or zooms an element to its specified coordinate with animation. |