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

Documentation StyleSheet by Mozilla Contributors, licensed under CC-BY-SA 2.5.




Is a Boolean representing whether the current stylesheet has been applied or not.

read onlyhref:String

Returns a DOMString representing the location of the stylesheet.

read onlymedia:MediaList

Returns a MediaList representing the intended destination medium for style information.

read onlyownerNode:Node

Returns a Node associating this style sheet with the current document.

read onlyparentStyleSheet:StyleSheet

Returns a StyleSheet including this one, if any; returns null if there aren't any.

read onlytitle:String

Returns a DOMString representing the advisory title of the current style sheet.

read onlytype:String

Returns a DOMString representing the style sheet language for this style sheet.