Added document.implementation.createHTMLDocument(title)
Stricter definition for nodeValue on Text, Comment and CDATASection.