Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

parentRule property

Retrieves the containing rule, if the current rule is contained inside another rule.

Document Object Model (DOM) Level 2 Style Specification, Section 2.2Internet Explorer 9

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.

Standards information

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.