parent_rule property

parent_rule property

The CSS rule that contains this declaration block or null if this CSSStyleDeclaration is not attached to a CSSRule.

Definition:

@property
def parent_rule(self):
    ...

See Also