<?xml version="1.0" encoding="utf-8"?>
<!-- CSSImportRule interface -->

<interface name="CSSImportRule" inherits="CSSRule"
  id="CSS-CSSImportRule" since="DOM Level 2">
  <descr>
    <p>
      The <code>CSSImportRule</code> interface represents a <xspecref
      href="&css2;/cascade.html#at-import">@import
      rule</xspecref> within a CSS style sheet. The <code>@import</code> rule is
      used to import style rules from other style sheets.
    </p>
  </descr>
  
  <attribute id="CSS-CSSImportRule-href" name="href" type="DOMString"
    readonly="yes">
    <descr>
      <p>
	The location of the style sheet to be imported. The attribute will not
	contain the <code>"url(...)"</code> specifier around the URI.
      </p>
    </descr>
  </attribute>
  
  
  <attribute id="CSS-CSSImportRule-media" name="media" type="stylesheets::MediaList"
    readonly="yes">
    <descr>
      <p>
	A list of media types for which this style sheet may be
	used.
      </p>
    </descr>
  </attribute>
  
  <attribute id="CSS-CSSImportRule-styleSheet" name="styleSheet"
    type="CSSStyleSheet" readonly="yes">
    <descr>
      <p>The style sheet referred to by this rule, if it has been loaded. The
      value of this attribute is <code>null</code> if the style sheet has not
      yet been loaded or if it will not be loaded (e.g. if the style sheet is
      for a media type not supported by the user agent).
      </p>
    </descr>
  </attribute>
  
</interface>
