Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

cssRule.parentStyleSheet

 

Summary

parentStyleSheet returns the object type of style sheet, in which the rule is defined.

Syntax

stylesheet = cssRule.parentStyleSheet 

Parameters

  • stylesheet stylesheet is an object type.

Instance

if (bgRule.parentStyleSheet! = MySheet) {
   // Style alien rule!
}

Letters

See Gecko DOM Reference: event # DOM_styleSheet_Object for more information about the interface type objects stylesheet.

Specification

DOM Level 2 Style - cssRule

Etiquetas y colaboradores del documento

 Colaboradores en esta página: fscholz, arunpandianp, teoli, HenryGR
 Última actualización por: arunpandianp,