This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

ownerNode

Summary

Returns an element’s corresponding link or style node. See Notes.

Property of css/cssom/styleSheetcss/cssom/styleSheet

Syntax

var result = element.ownerNode;
element.ownerNode = value;

Notes

Remarks

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.

Syntax

Standards information

See also

Related articles

CSSOM

Related pages

Attributions