Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the containing rule, if the current rule is contained inside another rule.
![]() ![]() |
Syntax
HRESULT value = object.get_parentRule(IHTMLCSSRule** p);
Property values
Type: Object
the containing rule, if the current rule is contained inside another rule (for example, a style rule inside an @media block). If this rule is not nested inside any other rules, this returns null.
.png)
.png)