Reviewed by Chris.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 28 Aug 2004 00:31:08 +0000 (00:31 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 28 Aug 2004 00:31:08 +0000 (00:31 +0000)
commit7c04573384ac71f9c06592afb52c96a8fd3243d1
treece6b26c6ca4798336ec16e631299c9e6cb88f7eb
parentbe303c413148571b00af8c48f6afa08b3f412ec1
    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
12 files changed:
LayoutTests/fast/innerHTML/001-expected.txt [new file with mode: 0644]
LayoutTests/fast/innerHTML/001.html [new file with mode: 0644]
LayoutTests/fast/innerHTML/002-expected.txt [new file with mode: 0644]
LayoutTests/fast/innerHTML/002.html [new file with mode: 0644]
LayoutTests/fast/innerHTML/003-expected.txt [new file with mode: 0644]
LayoutTests/fast/innerHTML/003.html [new file with mode: 0644]
WebCore/ChangeLog-2005-08-23
WebCore/khtml/html/html_elementimpl.cpp
WebCore/khtml/xml/dom2_rangeimpl.cpp
WebCore/khtml/xml/dom_nodeimpl.cpp
WebCore/khtml/xml/dom_nodeimpl.h
WebCore/kwq/WebCoreBridge.mm