ownerNode property

Retrieves the node that associates this style sheet with the document.

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



HRESULT value = object.get_ownerNode(IHTMLElement** p);

Property values

Type: Object

the node that associates the style sheet with the document.

Standards information


For HTML, the node returned is the corresponding link or style element. For XML, it is the linking processing instruction. For style sheets that are included by other style sheets, the value of this attribute is null.