Reviewed by Darin.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Jul 2006 04:31:29 +0000 (04:31 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Jul 2006 04:31:29 +0000 (04:31 +0000)
commitd18a257cd6fe4a670b61e9533755e153b45ece66
treef6477d41b4b30b4011bcab31256411d7d7ea0fdd
parent7a66608d81d4aecd0a4c74a56ba252549ce28401
    Reviewed by Darin.

        Fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9901
        XSLTProcessor cannot parse text nodes for INPUT ELEMENTS in an XSLT stylesheet

        Test: fast/js/xhtml-serialize.html

        * editing/markup.cpp:
        (WebCore::endMarkup): If the element has child nodes, write a closing tag even if it
        is not permitted in HTML, to make it valid XML.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/js/resources/xhtml-serialize.js [new file with mode: 0644]
LayoutTests/fast/js/xhtml-serialize-expected.txt [new file with mode: 0644]
LayoutTests/fast/js/xhtml-serialize.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/markup.cpp