SDK Documents
NetFront Browser v3.4 DOM Support List Rev.2.0

3. DOM Level 2 Core

3.1 Fundamental Interfaces

InterfaceAttribute/MethodSupportRemark
DOMException
Attribute
code Yes
DOMImplementation
Method
createDocument(in DOMString namespaceURI, in DOMString qualifiedName, in DocumentType doctype) Yes In NF3, doctype specification is not supported.
createDocumentType(in DOMString qualifiedName, in DOMString publicId, in DOMString systemId) Yes
hasFeature (in DOMString feature, in DOMString version) Yes
DocumentFragment
Document
Attribute
doctype No
documentElement Yes DOMException does not occur even when an error occurs.
implementation Yes DOMException does not occur even when an error occurs.
Method
createAttribute(in DOMString name) Yes
createAttributeNS
(in DOMString namespaceURI, in DOMString qualifiedName)
Yes
createCDATASection(in DOMString data) Yes
createComment(in DOMString data) Yes
createDocumentFragment() Yes
createElement(in DOMString tagName) Yes
createElementNS
(in DOMString namespaceURI, in DOMString qualifiedName)
Yes
createEntityReference
(in DOMString name)
No
createProcessingInstruction
(in DOMString target, in DOMString data)
No
createTextNode(in DOMString data) Yes
getElementById(in DOMString elementId) Yes
getElementsByTagName
(in DOMString tagname)
Yes NF3 returns HTMLCollection.
getElementsByTagNameNS
(in DOMString namespaceURI, in DOMString localName)
Yes
importNode
(in Node importedNode, in boolean deep)
No
Node
Attribute
attributes Yes
childNodes Yes
firstChild Yes
lastChild Yes
localName Yes
namespaceURI Yes
nextSibling Yes
nodeName Yes Following node types are not supported.
ENTITY_REFERENCE_NODE
ENTITY_NODE
PROCESSING_INSTRUCTION_NODE
DOCUMENT_TYPE_NODE
NOTATION_NODE
nodeValue Yes Following node type is not supported.
PROCESSING_INSTRUCTION_NODE
nodeType Yes
ownerDocument Yes
parentNode Yes
prefix Yes In NF3, only reading of values is supported.
previousSibling Yes
Method
appendChild(in Node newChild) Yes
cloneNode(in boolean deep) Yes
hasAttributes() Yes
hasChildNodes() Yes
insertBefore(in Node newChild, in Node refChild) Yes
isSupported(in DOMString feature, in DOMString version) Yes
normalize() Yes Application to NBSP and SHY are not supported.
replaceChild(in Node newChild, in Node oldChild) Yes Supported only when replacing a Text node with another Text node.
removeChild(in Node oldChild) Yes
NodeList
Attribute
length Yes NF3 does not create node objects for elements that do not affect rendering.
Method
item(in unsigned long index) Yes NF3 does not create node objects for elements that do not affect rendering.
NamedNodeMap
Attribute
length Yes
Method
getNamedItem(in DOMString name) Yes
getNamedItemNS(in DOMString namespaceURI, in DOMString localName) Yes
item(in unsigned long index) Yes
removeNamedItem(in DOMString name) Yes
removeNamedItemNS(in DOMString namespaceURI, in DOMString localName) Yes
setNamedItem(in Node arg) Yes
setNamedItemNS(in Node arg) Yes
CharacterData
Attribute
data Yes
length Yes
Method
appendData(in DOMString arg) Yes
deleteData
(in unsigned long offset, in unsigned long count)
Yes offset and count are processed as number of characters instead of 16 bitwise in NF3.
insertData
(in unsigned long offset, in DOMString arg)
Yes offset is processed as number of characters instead of 16 bitwise in NF3.
replaceData(in unsigned long offset,
in unsigned long count, in DOMString arg)
Yes offset and count are processed as number of characters instead of 16 bitwise in NF3.
substringData
(in unsigned long offset, in unsigned long count)
Yes offset and count are processed as number of characters instead of 16 bitwise in NF3.
Attr
Attribute
name Yes
ownerElement Yes
specified Yes
value Yes
Element
Attribute
tagName Yes
Method
getAttribute(in DOMString name) Yes
getAttributeNode
(in DOMString name)
Yes
getAttributeNodeNS
(namespaceURI,localName)
Yes
getAttributeNS
(namespaceURI, localName);
Yes
getElementsByTagName
(in DOMString name)
Yes NF3 returns HTMLCollection.
getElementsByTagNameNS
(namespaceURI,localName)
Yes
hasAttribute(name) Yes Returns true only when a name given as an argument is specified for the element.
hasAttributeNS
(namespaceURI,localName)
Yes
removeAttribute
(in DOMString name)
Yes
removeAttributeNode
(in Attr oldAttr)
Yes
removeAttributeNS
(namespaceURI,localName)
Yes
setAttribute
(in DOMString name, in DOMString value)
Yes
setAttributeNode
(in Attr newAttr)
Yes
setAttributeNodeNS(newAttr) Yes
setAttributeNS
(namespaceURI,qualifiedName)
Yes
Text
Method
splitText(in unsigned long offset) Yes Application to NBSP and SHY are not supported.
Comment

3.2 Extended Interfaces

InterfaceAttribute/MethodSupportRemark
CDATASection
DocumentType
Attribute
entities No
internalSubset No
name No
notations No
publicId No
systemId No
Notation
Attribute
publicId No
systemId No
Entity
Attribute
notationName No
publicId No
systemId No
EntityReference
ProcessingInstruction
Attribute
data No
target No