http://www.w3.org/DOM/DOMTM git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225913 13f79535-47bb-0310-9956-ffa450edef68
52 lines
1.4 KiB
XML
52 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- $Id$ -->
|
|
<interface id="CSS-DOMImplementationCSS" name="DOMImplementationCSS" since="DOM
|
|
Level 2" inherits="DOMImplementation">
|
|
<descr>
|
|
<p>
|
|
This interface allows the DOM user to create a <code>CSSStyleSheet</code>
|
|
outside the context of a document. There is no way to associate the new
|
|
<code>CSSStyleSheet</code> with a document in DOM Level 2.
|
|
</p>
|
|
</descr>
|
|
<method id='CSS-DOMImplementationCSS-createCSSStyleSheet' name="createCSSStyleSheet">
|
|
<descr>
|
|
<p>Creates a new <code>CSSStyleSheet</code>.</p>
|
|
</descr>
|
|
<parameters>
|
|
<param name="title" type="DOMString" attr="in">
|
|
<descr>
|
|
<p>
|
|
The advisory title. See also the <specref
|
|
ref="StyleSheets-StyleSheet-title"/> section.
|
|
</p>
|
|
</descr>
|
|
</param>
|
|
<param name="media" type="DOMString" attr="in">
|
|
<descr>
|
|
<p>
|
|
The comma-separated list of media associated with the new style
|
|
sheet. See also the <specref ref="StyleSheets-StyleSheet-media"/>
|
|
section.
|
|
</p>
|
|
</descr>
|
|
</param>
|
|
</parameters>
|
|
<returns type="CSSStyleSheet">
|
|
<descr>
|
|
<p>A new CSS style sheet.</p>
|
|
</descr>
|
|
</returns>
|
|
<raises>
|
|
<exception name="DOMException">
|
|
<descr>
|
|
<p>
|
|
SYNTAX_ERR: Raised if the specified media string value has a syntax
|
|
error and is unparsable.
|
|
</p>
|
|
</descr>
|
|
</exception>
|
|
</raises>
|
|
</method>
|
|
</interface>
|