Test W3C DOM compliance
JS tests in YOUR browser [
]
all these objects are dynamically tested in the order in which they appear on http://www.w3.org/TR/REC-DOM-Level-1/ecma-script-language-binding.html
each undefined returned value is a failure
to be continued...
Output in other browsers...
in Microsoft Internet Explorer 4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
document.doctype == undefined
document.implementation == undefined
document.documentElement == [object]
document.createElement == function createElement() { [native code] }
document.createDocumentFragment == function createDocumentFragment() { [native code] }
document.createTextNode == function createTextNode() { [native code] }
document.createComment == undefined
document.createCDATASection == undefined
document.createProcessingInstruction == undefined
document.createAttribute == undefined
document.createEntityReference == undefined
document.getElementsByTagName == function getElementsByTagName() { [native code] }
document.nodeName == undefined
document.nodeValue == undefined
document.nodeType == undefined
document.parentNode == undefined
document.childNodes == [object]
document.firstChild == undefined
document.lastChild == undefined
document.previousSibling == undefined
document.nextSibling == undefined
document.attributes == undefined
document.ownerDocument == undefined
document.insertBefore == undefined
document.replaceChild == undefined
document.removeChild == undefined
document.appendChild == undefined
document.hasChildNodes == undefined
document.cloneNode == undefined
to be continued...
29 tests / 23 failures
in Netscape 5.0 (X11; en-US)
(this is Mozilla build 2000-09-01-11-M18)
document.doctype == [object DocumentType]
document.implementation == [object DOMImplementation]
document.documentElement == [object HTMLHtmlElement]
document.createElement == function createElement() { [native code] }
document.createDocumentFragment == function createDocumentFragment() { [native code] }
document.createTextNode == function createTextNode() { [native code] }
document.createComment == function createComment() { [native code] }
document.createCDATASection == function createCDATASection() { [native code] }
document.createProcessingInstruction == function createProcessingInstruction() { [native code] }
document.createAttribute == function createAttribute() { [native code] }
document.createEntityReference == function createEntityReference() { [native code] }
document.getElementsByTagName == function getElementsByTagName() { [native code] }
document.nodeName == #document
document.nodeValue ==
document.nodeType == 9
document.parentNode == null
document.childNodes == [object NodeList]
document.firstChild == [object DocumentType]
document.lastChild == [object HTMLHtmlElement]
document.previousSibling == null
document.nextSibling == null
document.attributes == null
document.ownerDocument == null
document.insertBefore == function insertBefore() { [native code] }
document.replaceChild == function replaceChild() { [native code] }
document.removeChild == function removeChild() { [native code] }
document.appendChild == function appendChild() { [native code] }
document.hasChildNodes == function hasChildNodes() { [native code] }
document.cloneNode == function cloneNode() { [native code] }
to be continued...
29 tests / 0 failure
Hervé
Last modified: Fri Feb 15 16:42:22 CET 2002