Export (0) Print
Expand All

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

HRESULT value = object.get_ownerRule(IHTMLCSSRule** p);

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 IHTMLStyleSheet4::ownerRule property will contain a CSSImportRule object, and the IHTMLStyleSheet4::ownerNode property will be null. If the style sheet comes from a link, the IHTMLStyleSheet4::ownerRule property will be null, and the IHTMLStyleSheet4::ownerNode will contain the node.

See also

IHTMLStyleSheet4::cssRules

 

 

Community Additions

ADD
Show:
© 2014 Microsoft