StyleSheet

  • Revision slug: DOM/stylesheet
  • Revision title: stylesheet
  • Revision id: 86017
  • Created:
  • Creator: Sevenspade
  • Is current revision? No
  • Comment Mention [[en/DOM/CSSStyleSheet]]; 12 words added

Revision Content

{{ DomRef() }}

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

Properties

stylesheet.disabled 
This property indicates whether the current stylesheet has been applied or not.
stylesheet.href 
Returns the location of the stylesheet.
stylesheet.media 
Specifies the intended destination medium for style information.
stylesheet.ownerNode 
Returns the node that associates this style sheet with the document.
stylesheet.parentStyleSheet 
Returns the stylesheet that is including this one, if any.
stylesheet.title 
Returns the advisory title of the current style sheet.
stylesheet.type 
Specifies the style sheet language for this style sheet.

Specification

DOM Level 2 Style Sheets: StyleSheet

See also

Revision Source

<p>{{ DomRef() }}</p>
<p>An object implementing the <code>StyleSheet</code> interface represents a single style sheet.  CSS style sheets will furtther implement the more specialized <code><a href="en/DOM/CSSStyleSheet" title="en/DOM/CSSStyleSheet">CSSStyleSheet</a></code> interface.</p>
<h2 name="Properties">Properties</h2>
<dl> <dt><a href="/en/DOM/StyleSheet/disabled" title="en/DOM/stylesheet.disabled">stylesheet.disabled</a> </dt> <dd>This property indicates whether the current stylesheet has been applied or not.</dd> <dt><a href="/en/DOM/StyleSheet/href" title="en/DOM/stylesheet.href">stylesheet.href</a> </dt> <dd>Returns the location of the stylesheet.</dd> <dt><a href="/en/DOM/StyleSheet/media" title="en/DOM/stylesheet.media">stylesheet.media</a> </dt> <dd>Specifies the intended destination medium for style information.</dd> <dt><a href="/en/DOM/StyleSheet/ownerNode" title="en/DOM/stylesheet.ownerNode">stylesheet.ownerNode</a> </dt> <dd>Returns the node that associates this style sheet with the document.</dd> <dt><a href="/en/DOM/StyleSheet/parentStyleSheet" title="en/DOM/stylesheet.parentStyleSheet">stylesheet.parentStyleSheet</a> </dt> <dd>Returns the stylesheet that is including this one, if any.</dd> <dt><a href="/en/DOM/StyleSheet/title" title="en/DOM/stylesheet.title">stylesheet.title</a> </dt> <dd>Returns the advisory title of the current style sheet.</dd> <dt><a href="/en/DOM/StyleSheet/type" title="en/DOM/stylesheet.type">stylesheet.type</a> </dt> <dd>Specifies the style sheet language for this style sheet.</dd>
</dl>
<h2 name="Specification">Specification</h2>
<p><a class="external" href="http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet">DOM Level 2 Style Sheets: StyleSheet</a></p>
<h2>See also</h2>
<ul> <li><code><a href="/en/DOM/CSSStyleSheet" title="en/DOM/CSSStyleSheet">CSSStyleSheet</a></code></li>
</ul>
Revert to this revision