ownerRule property
Retrieves a value that indicates whether this style sheet comes from an @import rule or a link (an element or processing instruction).
![]() ![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: Object
a value that indicates whether the style sheet comes from an @import rule or a link.
Standards information
Remarks
If the style sheet comes from an @import rule, the ownerRule property will contain a CSSImportRule object, and the ownerNode property will be null. If the style sheet comes from a link, the ownerRule property will be null, and the ownerNode will contain the node.
See also
Show:

