MDN self-hosted library · e01.org

StyleSheet

CSSOM

no runnable cells web-api-interface upstream source

CSSOM

An object implementing the StyleSheet interface represents a single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface.

Instance properties

  • StyleSheet.disabled
  • : A boolean value representing whether the current stylesheet has been applied or not.
  • StyleSheet.href
  • : Returns a string representing the location of the stylesheet.
  • StyleSheet.media
  • : Returns a MediaList representing the intended destination medium for style information.
  • StyleSheet.ownerNode
  • : Returns a Node associating this style sheet with the current document.
  • StyleSheet.parentStyleSheet
  • : Returns a StyleSheet including this one, if any; returns null if there aren't any.
  • StyleSheet.title
  • : Returns a string representing the advisory title of the current style sheet.
  • StyleSheet.type
  • : Returns a string representing the style sheet language for this style sheet.

Specifications

Browser compatibility

See also

  • CSSStyleSheet