StyleSheet.ownerNode (Property)

The DOM node that owns the style sheet.

Availability:

DOM level - 2
JavaScript - 1.5
Netscape - 6.0
Property/method value type:Node object
JavaScript syntax:NmyStyleSheet.ownerNode

This is part of the internal node structured hierarchy maintained by the browser as a foundation for its implementation of the DOM model. In many cases this is likely to be the same object as that returned by the owningElement property. This property is in preparation for the DOM level 2 styling support.

Note that this property is named incorrectly in MSIE 5 where it is called owningNode.

See also:StyleSheet.owningNode

Property attributes:

ReadOnly.