javascript styleSheet ownerRule
| ownerRule | NN 6 IE n/a 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 |
|
1954,Nickname,Homepage or email,Comments here,Add comment
