This topic has not yet been rated - Rate this topic

ownerRule property

Retrieves a value that indicates whether this style sheet comes from an @import rule or a link (an element or processing instruction).

Document Object Model (DOM) Level 2 Style Specification, Section 2.2Internet Explorer 9

Syntax

JavaScript

p = object.ownerRule

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

styleSheet
cssRules

 

 

Send comments about this topic to Microsoft

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.