CSSFontFaceRule

This object is available to unprivileged JavaScript. It implements the following interfaces:

Constants

The nsIDOMCSSRule interface is a datatype for a CSS style rule in the Document Object Model.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Style

short UNKNOWN_RULE = 0
short STYLE_RULE = 1
short CHARSET_RULE = 2
short IMPORT_RULE = 3
short MEDIA_RULE = 4
short FONT_FACE_RULE = 5
short PAGE_RULE = 6

Properties

String cssText

readonly CSSRule parentRule

readonly CSSStyleSheet parentStyleSheet

readonly CSSStyleDeclaration style

readonly short type

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com