javascript styleSheet ownerRule
@Aug. 15, 2009, 12:26 p.m.
ownerRule | Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM 2 |
|
Read-only |
For a styleSheet object brought into the document via an @import rule, returns a reference to that @import rule object (a W3C DOM CSSImportRule object). The cssRule object provides the properties and methods that apply to a CSSImportRule object. For other style sheet types, the property returns null. |
|
Example | |
var hostRule = document.styleSheets[2].ownerRule; |
|
Value | |
Object reference or null. |
|
Default | |
null |
Permanent URL:
http://javascript.gakaa.com/stylesheet-ownerrule.aspx
Powered by Linode.