Reviewed by Chris.
- fixed <rdar://problem/
3778043> REGRESSION: innerHTML is broken, breaks automated iBench testing
- also fixed outerHTML, which would spill over past the node for whch it was supposed to get HTML
* khtml/html/html_elementimpl.cpp:
(HTMLElementImpl::outerHTML):
* khtml/xml/dom2_rangeimpl.cpp:
(DOM::RangeImpl::toHTML):
* khtml/xml/dom_nodeimpl.cpp:
(NodeImpl::toHTML):
(NodeImpl::recursive_toString):
(NodeImpl::recursive_toHTML):
* khtml/xml/dom_nodeimpl.h:
* kwq/WebCoreBridge.mm:
(-[WebCoreBridge markupStringFromNode:nodes:]):
- added new layout tests to cover the problems I fixed
* layout-tests/fast/innerHTML/001-expected.txt: Added.
* layout-tests/fast/innerHTML/001.html: Added.
* layout-tests/fast/innerHTML/002-expected.txt: Added.
* layout-tests/fast/innerHTML/002.html: Added.
* layout-tests/fast/innerHTML/003-expected.txt: Added.
* layout-tests/fast/innerHTML/003.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7396
268f45cc-cd09-0410-ab3c-
d52691b4dbfc