owner_node property

owner_node property

The node that associates this style sheet with the document. For HTML, this may be the corresponding LINK or STYLE element. For XML, it may be the linking processing instruction. For style sheets that are included by other style sheets, the value of this attribute is null.

Definition:

@property
def owner_node(self):
    ...

See Also