Skip to content
  • weinig's avatar
    LayoutTests: · 661a37fc
    weinig authored
            Reviewed by Darin.
    
            Update tests for http://bugs.webkit.org/show_bug.cgi?id=13830
            Auto-generate JS DOM bindings for HTMLDocument and most of 
            the rest of HTMLElement
    
            - Corrects prototype chain for JSHTMLDocument and adds test
              for HTMLFormElement.
    
            * fast/dom/prototype-chain-expected.txt:
            * fast/dom/prototype-chain.html:
    
    WebCore:
    
            Reviewed by Darin.
    
            Part two of patch for http://bugs.webkit.org/show_bug.cgi?id=13830
            Auto-generate JS DOM bindings for HTMLDocument and most of the rest
            of HTMLElement
    
            - Just the HTMLDocument part.
    
            * WebCore.pro:
            * WebCore.xcodeproj/project.pbxproj:
            * bindings/js/JSHTMLDocumentCustom.cpp: Added.
            (WebCore::JSHTMLDocument::canGetItemsForName):
            (WebCore::JSHTMLDocument::nameGetter):
            (WebCore::JSHTMLDocument::all):
            (WebCore::JSHTMLDocument::setAll):
            (WebCore::JSHTMLDocument::location):
            (WebCore::JSHTMLDocument::setLocation):
            (WebCore::JSHTMLDocument::open):
            (WebCore::writeHelper):
            (WebCore::JSHTMLDocument::write):
            (WebCore::JSHTMLDocument::writeln):
            (WebCore::JSHTMLDocument::clear):
            * bindings/js/kjs_dom.cpp:
            (KJS::toJS):
            * bindings/js/kjs_dom.h:
            * bindings/js/kjs_html.cpp:
            * bindings/js/kjs_html.h:
            * bindings/objc/DOMPrivate.h:
            * bindings/scripts/CodeGeneratorJS.pm: Add [Deletable] property
            for Document.all and fix HasOverridingNameGetter to allow correct
            prototype chain
            * dom/Document.cpp:
            (WebCore::Document::plugins): adds alias to embeds() for bindings
            * dom/Document.h:
            * html/HTMLDocument.cpp:
            (WebCore::HTMLDocument::width):
            (WebCore::HTMLDocument::height):
            (WebCore::HTMLDocument::dir):
            (WebCore::HTMLDocument::setDir):
            (WebCore::HTMLDocument::designMode):
            (WebCore::HTMLDocument::setDesignMode):
            (WebCore::HTMLDocument::bgColor):
            (WebCore::HTMLDocument::setBgColor):
            (WebCore::HTMLDocument::fgColor):
            (WebCore::HTMLDocument::setFgColor):
            (WebCore::HTMLDocument::alinkColor):
            (WebCore::HTMLDocument::setAlinkColor):
            (WebCore::HTMLDocument::linkColor):
            (WebCore::HTMLDocument::setLinkColor):
            (WebCore::HTMLDocument::vlinkColor):
            (WebCore::HTMLDocument::setVlinkColor):
            (WebCore::HTMLDocument::captureEvents):
            (WebCore::HTMLDocument::releaseEvents):
            * html/HTMLDocument.h:
            * html/HTMLDocument.idl:
    
    WebKit:
    
            Reviewed by Darin.
    
            Patch for http://bugs.webkit.org/show_bug.cgi?id=13830
            Auto-generate JS DOM bindings for HTMLDocument and most of the rest
            of HTMLElement
    
            * MigrateHeaders.make: add DOMHTMLDocumentPrivate.h
            * WebKit.xcodeproj/project.pbxproj:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    661a37fc