LayoutTests:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 May 2006 14:59:18 +0000 (14:59 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 May 2006 14:59:18 +0000 (14:59 +0000)
commit76108c4435dba6ea3827beef906309962feb0ffa
treebc566d4a05c91d1c44bc45dc8467548d22edf49a
parentd636026c2fbfdb0ef2759ce817e4d2581ec84c99
LayoutTests:

        Reviewed by Darin.

        <http://bugzilla.opendarwin.org/show_bug.cgi?id=8563>

        Tests that the name, publicID and systemID are all read correctly
        and that the doctype object preserves the case of the
        components from the source html:
        * fast/doctypes/005-case-preserving.html: Added.
        * fast/doctypes/005-case-preserving-expected.txt: Added.

WebCore:

        Reviewed by Darin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=8563

        The doctype object in the DOM is now usable by client code
        as opposed to always being exposed as nil. Now also ensures that
        the 'name' of the component preserves the case of the original html source.
        (i.e HtMl -> HtMl not HTML)

        * dom/Document.h:
        Changes comment by docType() to say it may return 0 for html
        * html/HTMLDocument.cpp:
        (WebCore::parseDocTypeDeclaration):
        (WebCore::HTMLDocument::determineParseMode):
        Preserves the case of the name component
        (WebCore::HTMLDocument::doctype):removed
        * html/HTMLDocument.h:
        (WebCore::HTMLDocument::doctype):removed

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14204 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/doctypes/005-case-preserving-expected.txt [new file with mode: 0644]
LayoutTests/fast/doctypes/005-case-preserving.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/dom/Document.h
WebCore/html/HTMLDocument.cpp
WebCore/html/HTMLDocument.h