Firefox Tomorrow

web api interface

StyleSheet

View on MDN ↗

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

Instance properties

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

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also