/** * For style sheet languages that support the concept of style sheet * inclusion, this attribute represents the including style sheet, if one * exists. If the style sheet is a top-level style sheet, or the style * sheet language does not support inclusion, the value of this attribute * is <code>null</code>. */ public StyleSheet getParentStyleSheet() { CSSRule owner = getOwnerRule(); if (owner != null) return owner.getParentStyleSheet(); return null; }