Package | dom.style.css |
Interface | public interface DOMImplementationCSS extends DOMImplementation |
Introduced in: | DOM 2 Core |
There is no way to associate the new CSSStyleSheet with a document in DOM Level 2.
See also
Method | Defined By | ||
---|---|---|---|
Creates a new CSSStyleSheet. | DOMImplementationCSS | ||
DOM 2 Core createDocument(namespaceURI:DOMString, qualifiedName:DOMString, doctype:DocumentType):Document
This method creates a DOM document. | DOMImplementation | ||
DOM 2 Core createDocumentType(qualifiedName:DOMString, publicId:DOMString, systemId:DOMString):DocumentType
Creates an empty DocumentType node. | DOMImplementation | ||
This method returns a specialized object which implements the
specialized APIs of the specified feature and version, as specified
in DOM Features. | DOMImplementation | ||
Test if the DOM implementation implements a specific feature and version,
as specified in DOM Features. | DOMImplementation |
DOM 2 Style createCSSStyleSheet | () | method |
public function createCSSStyleSheet(title:DOMString, media:DOMString):CSSStyleSheet
Introduced in: | DOM 2 Core |
Creates a new CSSStyleSheet.
Parameters
title:DOMString — The advisory title.
| |
media:DOMString — The comma-separated list of media associated with the new style sheet.
|
CSSStyleSheet — A new CSS style sheet.
|
DOMException — SYNTAX_ERR: Raised if the specified media string value
has a syntax error and is unparsable.
|
See also