Reviewed by Hyatt.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Nov 2006 05:33:18 +0000 (05:33 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Nov 2006 05:33:18 +0000 (05:33 +0000)
commit2fb4b3ad9db028babc320257304b693d290d9a3e
tree72f1e01c413e06a10ef8084cdd5a11a15ecff71c
parente74f620ca4fd010db7ef0ec9fcc7e663461815ea
    Reviewed by Hyatt.

        http://bugs.webkit.org/show_bug.cgi?id=11694
        XSLT output method does not default to HTML when the target document is HTML

        Test: fast/xsl/default-html.html

        * xml/XSLTProcessor.cpp:
        (WebCore::XSLTProcessor::transformToString): Make mimeType an input/output parameter,
        serving as a hint when the stylesheet doesn't specify the output method.
        (WebCore::XSLTProcessor::transformToFragment): Set mimeType to text/html if the target
        document is HTML.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/xsl/default-html-expected.txt [new file with mode: 0644]
LayoutTests/fast/xsl/default-html.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/xml/XSLTProcessor.cpp