SVGDocument Properties |
The SVGDocument type exposes the following members.
Name | Description | |
---|---|---|
![]() | Attributes |
A NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
(Inherited from Node.) |
![]() | BaseURI |
The absolute base URI of this node or null if the implementation wasn't able to obtain an absolute URI.
(Inherited from Document.) |
![]() | CharacterSet |
Gets the document's encoding.
(Inherited from Document.) |
![]() | Charset |
Gets the document's encoding.
(Inherited from Document.) |
![]() | ChildElementCount |
Returns the current number of element nodes that are children of this element. 0 if this element has no child nodes that are of nodeType 1.
(Inherited from Document.) |
![]() | ChildNodes |
A NodeList that contains all children of this node. If there are no children, this is a NodeList containing no nodes..
(Inherited from Node.) |
![]() | Children |
Returns the child elements.
(Inherited from Document.) |
![]() | ContentType |
Gets the document content type.
(Inherited from Document.) |
![]() | Context |
Gets the current browsing context.
(Inherited from Document.) |
![]() | DefaultView |
The defaultView IDL attribute of the Document interface, on getting,
must return this Document's browsing context's WindowProxy object,
if this Document has an associated browsing context, or null otherwise.
(Inherited from Document.) |
![]() | Doctype |
The Document Type Declaration associated with this document.
(Inherited from Document.) |
![]() | DocumentElement |
This is a convenience attribute that allows direct access to the child node that is the document element of the document.
(Inherited from Document.) |
![]() | DocumentURI |
The location of the document or null if undefined or if the Document was created using DOMImplementation.createDocument.
(Inherited from Document.) |
![]() | Domain |
The domain name of the server that served the document, or a null string if the server cannot be identified by a domain name.
|
![]() | FirstChild |
The first child of this node. If there is no such node, this returns null.
(Inherited from Node.) |
![]() | FirstElementChild |
Returns the first child element node of this element. null if this element has no child elements.
(Inherited from Document.) |
![]() | Implementation |
The DOMImplementation object that handles this document.
(Inherited from Document.) |
![]() | InputEncoding |
Gets the document's encoding.
(Inherited from Document.) |
![]() | LastChild |
The last child of this node. If there is no such node, this returns null.
(Inherited from Node.) |
![]() | LastElementChild |
Returns the last child element node of this element. null if this element has no child elements.
(Inherited from Document.) |
![]() | LocalName |
Returns the local part of the qualified name of this node.
For nodes of any type other than ELEMENT_NODE and ATTRIBUTE_NODE and nodes created with a DOM Level 1 method, such as Document.createElement(), this is always null.
(Inherited from Node.) |
![]() | Location |
The location of the document.
(Inherited from Document.) |
![]() | NamespaceURI |
The namespace URI of this node, or null if it is unspecified.
(Inherited from Node.) |
![]() | NextElementSibling |
Returns the next sibling element node of this element. null if this element has no element sibling nodes that come after this one in the document tree.
(Inherited from Document.) |
![]() | NextSibling |
The node immediately following this node. If there is no such node, this returns null.
(Inherited from Node.) |
![]() | NodeName |
The name of this node, depending on its type.
(Inherited from Document.) |
![]() | NodeType |
A code representing the type of the underlying object.
(Inherited from Document.) |
![]() | NodeValue |
The value of this node, depending on its type.
(Inherited from Node.) |
![]() | Origin |
Gets the document origin.
(Inherited from Document.) |
![]() | OwnerDocument |
Gets the owner document.
(Inherited from Document.) |
![]() | ParentElement |
Gets the parent Element of this node.
(Inherited from Node.) |
![]() | ParentNode |
The parent of this node. All nodes, except Attr, Document, DocumentFragment, Entity, and Notation may have a parent. However, if a node has just been created and not yet added to the tree, or if it has been removed from the tree, this is null.
(Inherited from Node.) |
![]() | Prefix |
The namespace prefix of this node, or null if it is unspecified. When it is defined to be null, setting it has no effect
(Inherited from Node.) |
![]() | PreviousElementSibling |
Returns the previous sibling element node of this element. null if this element has no element sibling nodes that come before this one in the document tree.
(Inherited from Document.) |
![]() | PreviousSibling |
The node immediately preceding this node. If there is no such node, this returns null.
(Inherited from Node.) |
![]() | ReadyState |
Returns the document readiness. The "loading" while the Document is loading, "interactive" once it is finished parsing but still loading sub-resources, and "complete" once it has loaded.
(Inherited from Document.) |
![]() | Referrer |
Returns the URI of the page that linked to this page. The value is an empty string if the user navigated to the page directly (not through a link, but, for example, via a bookmark).
|
![]() | RootElement |
The root ‘svg’ in the document hierarchy.
|
![]() | StrictErrorChecking |
An attribute specifying whether error checking is enforced or not. When set to false, the implementation is free to not test every possible error case normally defined on DOM operations, and not raise any DOMException on DOM operations or report errors while using Document.normalizeDocument(). In case of error, the behavior is undefined. This attribute is true by default.
(Inherited from Document.) |
![]() | StyleSheets |
A list containing all the style sheets explicitly linked into or embedded in a document. For HTML documents, this includes external style sheets, included via the HTML LINK element, and inline STYLE elements.
(Inherited from Document.) |
![]() | TextContent |
This attribute returns the text content of this node and its descendants. When it is defined to be null, setting it has no effect. On setting, any possible children this node may have are removed and, if it the new string is not empty or null, replaced by a single Text node containing the string this attribute is set to.
(Inherited from Node.) |
![]() | Title |
The title of a document as specified by the ‘title’ sub-element of the ‘svg’ root element (i.e., Here is the title...)
|
![]() | URL |
The complete URI of the document.
|
![]() | XmlStandalone |
An attribute specifying, as part of the XML declaration, whether this document is standalone. This is false when unspecified.
(Inherited from Document.) |
![]() | XmlVersion |
An attribute specifying, as part of the XML declaration, the version number of this document. If there is no declaration and if this document supports the "XML" feature, the value is "1.0". If this document does not support the "XML" feature, the value is always null.
(Inherited from Document.) |