Reviewed by Darin.
fix for <rdar://problem/
4004004> no need to add body element for xml documents
In the fix for <rdar://problem/
3758785> we decided to add a body element when closing a document
to ensure that the onload handler would fire. This is unnecessary for xml documents,
so now we also check to see if we're dealing with an html document before adding the body element.
* khtml/xml/dom_docimpl.cpp: (DocumentImpl::close):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8583
268f45cc-cd09-0410-ab3c-
d52691b4dbfc