WebCore:
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 May 2006 08:20:57 +0000 (08:20 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 May 2006 08:20:57 +0000 (08:20 +0000)
commit32d7d1d1b1d169c12c7b55a8a81d9e3b2e6c2e0b
treea64d94caaa3c9f05768ee6e4aac39676e235d80b
parent59f244b2bd5fce7cce1f03cbe8a4503336138b1c
WebCore:

2006-05-18  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Darin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=8964
        Autogenerate more HTML classes

        * DerivedSources.make:
        * WebCore.xcodeproj/project.pbxproj:
        Add new files.

        * bindings/js/JSHTMLElementWrapperFactory.cpp:
        (WebCore::createAnchorWrapper):
        (WebCore::createAppletWrapper):
        (WebCore::createDivWrapper):
        (WebCore::createDirectoryWrapper):
        (WebCore::createDListWrapper):
        (WebCore::createHtmlWrapper):
        (WebCore::createOListWrapper):
        (WebCore::createUListWrapper):
        (WebCore::createJSWrapper):
        Add wrappers.

        * bindings/js/kjs_html.cpp:
        (KJS::):
        (KJS::JSHTMLElement::classInfo):
        (KJS::JSHTMLElement::accessors):
        (KJS::HTMLElementFunction::callAsFunction):
        * bindings/js/kjs_html.h:
        (KJS::JSHTMLElement::):
        Delete the old implementations.

        * html/HTMLAnchorElement.cpp:
        (WebCore::HTMLAnchorElement::hash):
        (WebCore::HTMLAnchorElement::host):
        (WebCore::HTMLAnchorElement::hostname):
        (WebCore::HTMLAnchorElement::pathname):
        (WebCore::HTMLAnchorElement::port):
        (WebCore::HTMLAnchorElement::protocol):
        (WebCore::HTMLAnchorElement::search):
        (WebCore::HTMLAnchorElement::text):
        * html/HTMLAnchorElement.h:
        Add some new accessor methods which used to be in kjs_html.cpp.

        * html/HTMLAnchorElement.idl: Added.
        * html/HTMLAppletElement.idl: Added.
        * html/HTMLDListElement.idl: Added.
        * html/HTMLDirectoryElement.idl: Added.
        * html/HTMLDivElement.idl: Added.
        * html/HTMLHtmlElement.idl: Added.
        * html/HTMLOListElement.idl: Added.
        * html/HTMLUListElement.idl: Added.

LayoutTests:

2006-05-18  Anders Carlsson  <acarlsson@apple.com>

        http://bugzilla.opendarwin.org/show_bug.cgi?id=8964
        Autogenerate more HTML classes

        * fast/dom/prototype-chain-expected.txt:
        Update test result.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14463 268f45cc-cd09-0410-ab3c-d52691b4dbfc
18 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/dom/prototype-chain-expected.txt
WebCore/ChangeLog
WebCore/DerivedSources.make
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/js/JSHTMLElementWrapperFactory.cpp
WebCore/bindings/js/kjs_html.cpp
WebCore/bindings/js/kjs_html.h
WebCore/html/HTMLAnchorElement.cpp
WebCore/html/HTMLAnchorElement.h
WebCore/html/HTMLAnchorElement.idl [new file with mode: 0644]
WebCore/html/HTMLAppletElement.idl [new file with mode: 0644]
WebCore/html/HTMLDListElement.idl [new file with mode: 0644]
WebCore/html/HTMLDirectoryElement.idl [new file with mode: 0644]
WebCore/html/HTMLDivElement.idl [new file with mode: 0644]
WebCore/html/HTMLHtmlElement.idl [new file with mode: 0644]
WebCore/html/HTMLOListElement.idl [new file with mode: 0644]
WebCore/html/HTMLUListElement.idl [new file with mode: 0644]