/** * If this rule is contained inside another rule (e.g. a style rule inside an @media block), * this is the containing rule. If this rule is not nested inside any other rules, this returns <code>null</code>. * @return the parent rule */ public CSSRule jsxGet_parentRule() { final org.w3c.dom.css.CSSRule parentRule = rule_.getParentRule(); if (parentRule != null) { return CSSRule.create(stylesheet_, parentRule); } return null; }
/** * If this rule is contained inside another rule (e.g. a style rule inside an @media block), * this is the containing rule. If this rule is not nested inside any other rules, this returns <code>null</code>. * @return the parent rule */ public CSSRule jsxGet_parentRule() { final org.w3c.dom.css.CSSRule parentRule = rule_.getParentRule(); if (parentRule != null) { return CSSRule.create(stylesheet_, parentRule); } return null; }
/** * If this rule is contained inside another rule (e.g. a style rule inside an @media block), * this is the containing rule. If this rule is not nested inside any other rules, this returns <code>null</code>. * @return the parent rule */ public CSSRule jsxGet_parentRule() { final org.w3c.dom.css.CSSRule parentRule = rule_.getParentRule(); if (parentRule != null) { return CSSRule.create(stylesheet_, parentRule); } return null; }
/** * If this rule is contained inside another rule (e.g. a style rule inside a @media block), * this is the containing rule. If this rule is not nested inside any other rules, this returns {@code null}. * @return the parent rule */ @JsxGetter public CSSRule getParentRule() { final org.w3c.dom.css.CSSRule parentRule = rule_.getParentRule(); if (parentRule != null) { return CSSRule.create(stylesheet_, parentRule); } return null; }