WebCore:
authorweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Aug 2006 20:33:54 +0000 (20:33 +0000)
committerweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Aug 2006 20:33:54 +0000 (20:33 +0000)
        Reviewed by Tim H.

        - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10628
          Auto-generate the remaining Objective-C DOM bindings

          Auto-generates DOMHTMLCollection, DOMHTMLElement, DOMHTMLFormElement,
          and DOMHTMLOptionsCollection, and lays groundwork for the rest of the
          HTML DOM bindings by adding/fixing the appropriate IDL's and updating
          the CodeGeneratorObjC.pm build script.

        * DerivedSources.make:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/objc/DOM.mm:
        * bindings/objc/DOMExtensions.h:
        * bindings/objc/DOMHTML.h:
        * bindings/objc/DOMHTML.mm:
        * bindings/objc/DOMHTMLInternal.h:
        * bindings/scripts/CodeGeneratorObjC.pm:
        * html/HTMLAnchorElement.idl:
        * html/HTMLAreaElement.idl:
        * html/HTMLBaseFontElement.idl:
        * html/HTMLBodyElement.idl:
        * html/HTMLButtonElement.idl:
        * html/HTMLCollection.idl: Added.
        * html/HTMLDocument.idl:
        * html/HTMLElement.idl:
        * html/HTMLFormElement.idl:
        * html/HTMLFrameElement.idl: Added.
        * html/HTMLFrameSetElement.idl: Added.
        * html/HTMLIFrameElement.idl: Added.
        * html/HTMLImageElement.idl:
        * html/HTMLInputElement.idl:
        * html/HTMLLabelElement.idl:
        * html/HTMLLegendElement.idl:
        * html/HTMLLinkElement.idl:
        * html/HTMLMapElement.idl:
        * html/HTMLObjectElement.idl: Added.
        * html/HTMLOptionsCollection.idl:
        * html/HTMLPreElement.idl:
        * html/HTMLSelectElement.idl: Added.
        * html/HTMLStyleElement.idl:
        * html/HTMLTableCaptionElement.idl: Added.
        * html/HTMLTableCellElement.idl: Added.
        * html/HTMLTableColElement.idl: Added.
        * html/HTMLTableElement.idl: Added.
        * html/HTMLTableRowElement.idl: Added.
        * html/HTMLTableSectionElement.idl: Added.
        * html/HTMLTextAreaElement.idl:

WebKit:

        Reviewed by Tim H.

        - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10628
          Auto-generate the remaining Objective-C DOM bindings

          Auto-generates DOMHTMLCollection, DOMHTMLElement, DOMHTMLFormElement,
          and DOMHTMLOptionsCollection.

        * WebKit.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16098 268f45cc-cd09-0410-ab3c-d52691b4dbfc

41 files changed:
WebCore/ChangeLog
WebCore/DerivedSources.make
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/objc/DOM.mm
WebCore/bindings/objc/DOMExtensions.h
WebCore/bindings/objc/DOMHTML.h
WebCore/bindings/objc/DOMHTML.mm
WebCore/bindings/objc/DOMHTMLInternal.h
WebCore/bindings/scripts/CodeGeneratorObjC.pm
WebCore/html/HTMLAnchorElement.idl
WebCore/html/HTMLAreaElement.idl
WebCore/html/HTMLBaseFontElement.idl
WebCore/html/HTMLBodyElement.idl
WebCore/html/HTMLButtonElement.idl
WebCore/html/HTMLCollection.idl [new file with mode: 0644]
WebCore/html/HTMLDocument.idl
WebCore/html/HTMLElement.idl
WebCore/html/HTMLFormElement.idl
WebCore/html/HTMLFrameElement.idl [new file with mode: 0644]
WebCore/html/HTMLFrameSetElement.idl [new file with mode: 0644]
WebCore/html/HTMLIFrameElement.idl [new file with mode: 0644]
WebCore/html/HTMLImageElement.idl
WebCore/html/HTMLInputElement.idl
WebCore/html/HTMLLabelElement.idl
WebCore/html/HTMLLegendElement.idl
WebCore/html/HTMLLinkElement.idl
WebCore/html/HTMLMapElement.idl
WebCore/html/HTMLObjectElement.idl [new file with mode: 0644]
WebCore/html/HTMLOptionsCollection.idl
WebCore/html/HTMLPreElement.idl
WebCore/html/HTMLSelectElement.idl [new file with mode: 0644]
WebCore/html/HTMLStyleElement.idl
WebCore/html/HTMLTableCaptionElement.idl [new file with mode: 0644]
WebCore/html/HTMLTableCellElement.idl [new file with mode: 0644]
WebCore/html/HTMLTableColElement.idl [new file with mode: 0644]
WebCore/html/HTMLTableElement.idl [new file with mode: 0644]
WebCore/html/HTMLTableRowElement.idl [new file with mode: 0644]
WebCore/html/HTMLTableSectionElement.idl [new file with mode: 0644]
WebCore/html/HTMLTextAreaElement.idl
WebKit/ChangeLog
WebKit/WebKit.xcodeproj/project.pbxproj

index 04cd0aedeb54995664bfb9097d9a041dbc6fe5c7..355d44061d7161a66ea6525e2e3fd1f79667137a 100644 (file)
@@ -1,3 +1,54 @@
+2006-08-29  Sam Weinig  <sam.weinig@gmail.com>
+
+        Reviewed by Tim H.
+
+        - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10628
+          Auto-generate the remaining Objective-C DOM bindings
+
+          Auto-generates DOMHTMLCollection, DOMHTMLElement, DOMHTMLFormElement,
+          and DOMHTMLOptionsCollection, and lays groundwork for the rest of the 
+          HTML DOM bindings by adding/fixing the appropriate IDL's and updating
+          the CodeGeneratorObjC.pm build script.
+
+        * DerivedSources.make:
+        * WebCore.xcodeproj/project.pbxproj:
+        * bindings/objc/DOM.mm:
+        * bindings/objc/DOMExtensions.h:
+        * bindings/objc/DOMHTML.h:
+        * bindings/objc/DOMHTML.mm:
+        * bindings/objc/DOMHTMLInternal.h:
+        * bindings/scripts/CodeGeneratorObjC.pm:
+        * html/HTMLAnchorElement.idl:
+        * html/HTMLAreaElement.idl:
+        * html/HTMLBaseFontElement.idl:
+        * html/HTMLBodyElement.idl:
+        * html/HTMLButtonElement.idl:
+        * html/HTMLCollection.idl: Added.
+        * html/HTMLDocument.idl:
+        * html/HTMLElement.idl:
+        * html/HTMLFormElement.idl:
+        * html/HTMLFrameElement.idl: Added.
+        * html/HTMLFrameSetElement.idl: Added.
+        * html/HTMLIFrameElement.idl: Added.
+        * html/HTMLImageElement.idl:
+        * html/HTMLInputElement.idl:
+        * html/HTMLLabelElement.idl:
+        * html/HTMLLegendElement.idl:
+        * html/HTMLLinkElement.idl:
+        * html/HTMLMapElement.idl:
+        * html/HTMLObjectElement.idl: Added.
+        * html/HTMLOptionsCollection.idl:
+        * html/HTMLPreElement.idl:
+        * html/HTMLSelectElement.idl: Added.
+        * html/HTMLStyleElement.idl:
+        * html/HTMLTableCaptionElement.idl: Added.
+        * html/HTMLTableCellElement.idl: Added.
+        * html/HTMLTableColElement.idl: Added.
+        * html/HTMLTableElement.idl: Added.
+        * html/HTMLTableRowElement.idl: Added.
+        * html/HTMLTableSectionElement.idl: Added.
+        * html/HTMLTextAreaElement.idl:
+
 2006-08-29  Nikolas Zimmermann  <zimmermann@kde.org>
 
         Reviewed and landed by ap.
index 34fbaf73f65d55a337e66e8d984bb143f09afce7..84804b0e6395d40aeb9c051c9aecf39b00c1d7ee 100644 (file)
@@ -62,6 +62,10 @@ all : \
     DOMNotation.h \
     DOMProcessingInstruction.h \
     DOMText.h \
+    DOMHTMLCollection.h \
+    DOMHTMLElement.h \
+    DOMHTMLFormElement.h \
+    DOMHTMLOptionsCollection.h \
     HTMLEntityNames.c \
     JSAttr.h \
     JSCSSPrimitiveValue.h \
index 0653c43898822085937a9b95656a0fbb1497c8fe..930ba6162f5c93b8aa832e5fcf2ba0b930d503fb 100644 (file)
                85CA975D0A962E5400690CCF /* DOMDocumentType.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85CA975B0A962E5400690CCF /* DOMDocumentType.mm */; };
                85D389B20A991A7F00282145 /* DOMAttr.h in Headers */ = {isa = PBXBuildFile; fileRef = 85D389B00A991A7F00282145 /* DOMAttr.h */; settings = {ATTRIBUTES = (Private, ); }; };
                85D389B30A991A7F00282145 /* DOMAttr.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85D389B10A991A7F00282145 /* DOMAttr.mm */; };
+               85DF2C5C0AA341F600AD64C5 /* DOMHTMLFormElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF2C100AA341F600AD64C5 /* DOMHTMLFormElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               85DF2C5D0AA341F600AD64C5 /* DOMHTMLFormElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF2C110AA341F600AD64C5 /* DOMHTMLFormElement.mm */; };
+               85DF2EED0AA387CB00AD64C5 /* DOMHTMLElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF2EEB0AA387CB00AD64C5 /* DOMHTMLElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               85DF2EEE0AA387CB00AD64C5 /* DOMHTMLElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF2EEC0AA387CB00AD64C5 /* DOMHTMLElement.mm */; };
+               85DF2F8E0AA3C88100AD64C5 /* DOMHTMLCollection.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF2F8C0AA3C88100AD64C5 /* DOMHTMLCollection.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               85DF2F8F0AA3C88100AD64C5 /* DOMHTMLCollection.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF2F8D0AA3C88100AD64C5 /* DOMHTMLCollection.mm */; };
+               85DF2F9B0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF2F990AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               85DF2F9C0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF2F9A0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.mm */; };
                85EC9AFA0A71A2C600EEEAED /* FontData.h in Headers */ = {isa = PBXBuildFile; fileRef = 85EC9AF80A71A2C600EEEAED /* FontData.h */; };
                85EC9AFB0A71A2C600EEEAED /* Language.h in Headers */ = {isa = PBXBuildFile; fileRef = 85EC9AF90A71A2C600EEEAED /* Language.h */; };
                85F56A7A0A98CE3700ADB60A /* DOMProcessingInstruction.h in Headers */ = {isa = PBXBuildFile; fileRef = 85F56A780A98CE3700ADB60A /* DOMProcessingInstruction.h */; settings = {ATTRIBUTES = (Private, ); }; };
                854FE72D0A2297BE0058D7AD /* Traversal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Traversal.h; sourceTree = "<group>"; };
                854FE72E0A2297BE0058D7AD /* TreeWalker.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = TreeWalker.cpp; sourceTree = "<group>"; };
                854FE72F0A2297BE0058D7AD /* TreeWalker.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = TreeWalker.h; sourceTree = "<group>"; };
+               855542570AA48B1E00BA89F2 /* HTMLTableCaptionElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLTableCaptionElement.idl; sourceTree = "<group>"; };
+               855542580AA48B1E00BA89F2 /* HTMLTableCellElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLTableCellElement.idl; sourceTree = "<group>"; };
+               855542590AA48B1E00BA89F2 /* HTMLTableColElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLTableColElement.idl; sourceTree = "<group>"; };
+               8555425A0AA48B1E00BA89F2 /* HTMLTableElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLTableElement.idl; sourceTree = "<group>"; };
+               8555425B0AA48B1E00BA89F2 /* HTMLTableRowElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLTableRowElement.idl; sourceTree = "<group>"; };
+               8555425C0AA48B1E00BA89F2 /* HTMLTableSectionElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLTableSectionElement.idl; sourceTree = "<group>"; };
+               855542950AA4938800BA89F2 /* HTMLFrameElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLFrameElement.idl; sourceTree = "<group>"; };
+               855542960AA4938800BA89F2 /* HTMLFrameSetElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLFrameSetElement.idl; sourceTree = "<group>"; };
+               855542970AA4938800BA89F2 /* HTMLIFrameElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLIFrameElement.idl; sourceTree = "<group>"; };
+               855542980AA4938800BA89F2 /* HTMLObjectElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLObjectElement.idl; sourceTree = "<group>"; };
+               855542990AA4938800BA89F2 /* HTMLSelectElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLSelectElement.idl; sourceTree = "<group>"; };
                856C89FA0A90F068005C687B /* DOMNode.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DOMNode.h; sourceTree = "<group>"; };
                856C89FB0A90F068005C687B /* DOMNode.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMNode.mm; sourceTree = "<group>"; };
                856C8AE20A912649005C687B /* DOMObject.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMObject.h; sourceTree = "<group>"; };
                85CA975B0A962E5400690CCF /* DOMDocumentType.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMDocumentType.mm; sourceTree = "<group>"; };
                85D389B00A991A7F00282145 /* DOMAttr.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMAttr.h; sourceTree = "<group>"; };
                85D389B10A991A7F00282145 /* DOMAttr.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMAttr.mm; sourceTree = "<group>"; };
+               85DF2C100AA341F600AD64C5 /* DOMHTMLFormElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLFormElement.h; sourceTree = "<group>"; };
+               85DF2C110AA341F600AD64C5 /* DOMHTMLFormElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLFormElement.mm; sourceTree = "<group>"; };
+               85DF2EEB0AA387CB00AD64C5 /* DOMHTMLElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLElement.h; sourceTree = "<group>"; };
+               85DF2EEC0AA387CB00AD64C5 /* DOMHTMLElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLElement.mm; sourceTree = "<group>"; };
+               85DF2F690AA3C74300AD64C5 /* HTMLCollection.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLCollection.idl; sourceTree = "<group>"; };
+               85DF2F8C0AA3C88100AD64C5 /* DOMHTMLCollection.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLCollection.h; sourceTree = "<group>"; };
+               85DF2F8D0AA3C88100AD64C5 /* DOMHTMLCollection.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLCollection.mm; sourceTree = "<group>"; };
+               85DF2F920AA3C9B600AD64C5 /* HTMLOptionsCollection.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLOptionsCollection.idl; sourceTree = "<group>"; };
+               85DF2F990AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLOptionsCollection.h; sourceTree = "<group>"; };
+               85DF2F9A0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLOptionsCollection.mm; sourceTree = "<group>"; };
                85EC9AF80A71A2C600EEEAED /* FontData.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = FontData.h; sourceTree = "<group>"; };
                85EC9AF90A71A2C600EEEAED /* Language.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Language.h; sourceTree = "<group>"; };
                85F56A780A98CE3700ADB60A /* DOMProcessingInstruction.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMProcessingInstruction.h; sourceTree = "<group>"; };
                                85F56A790A98CE3700ADB60A /* DOMProcessingInstruction.mm */,
                                85ACA99A0A9B575900671E90 /* DOMText.h */,
                                85ACA99B0A9B575900671E90 /* DOMText.mm */,
+                               85DF2F8C0AA3C88100AD64C5 /* DOMHTMLCollection.h */,
+                               85DF2F8D0AA3C88100AD64C5 /* DOMHTMLCollection.mm */,
+                               85DF2EEB0AA387CB00AD64C5 /* DOMHTMLElement.h */,
+                               85DF2EEC0AA387CB00AD64C5 /* DOMHTMLElement.mm */,
+                               85DF2C100AA341F600AD64C5 /* DOMHTMLFormElement.h */,
+                               85DF2C110AA341F600AD64C5 /* DOMHTMLFormElement.mm */,
+                               85DF2F990AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h */,
+                               85DF2F9A0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.mm */,
                        );
                        name = "Derived Sources";
                        path = DerivedSources/WebCore;
                                938E662509F09956008A48EC /* HTMLCanvasElement.idl */,
                                A8DF3FC9097FA0FB0052981B /* HTMLCollection.cpp */,
                                A8DF3FC8097FA0FB0052981B /* HTMLCollection.h */,
+                               85DF2F690AA3C74300AD64C5 /* HTMLCollection.idl */,
                                A8EA79ED0A1916DF00A8EF5F /* HTMLDirectoryElement.cpp */,
                                A8EA79EE0A1916DF00A8EF5F /* HTMLDirectoryElement.h */,
                                1A85B1D90A1B23A400D8C87C /* HTMLDirectoryElement.idl */,
                                A8D064EF0A23BFEA005E7203 /* HTMLFormElement.idl */,
                                A871DE170A152AC800B12A68 /* HTMLFrameElement.cpp */,
                                A871DE1F0A152AC800B12A68 /* HTMLFrameElement.h */,
+                               855542950AA4938800BA89F2 /* HTMLFrameElement.idl */,
                                A871DE220A152AC800B12A68 /* HTMLFrameSetElement.cpp */,
                                A871DE1C0A152AC800B12A68 /* HTMLFrameSetElement.h */,
+                               855542960AA4938800BA89F2 /* HTMLFrameSetElement.idl */,
                                A81369B3097374F500D74463 /* HTMLGenericFormElement.cpp */,
                                A81369B2097374F500D74463 /* HTMLGenericFormElement.h */,
                                A871DE190A152AC800B12A68 /* HTMLHeadElement.cpp */,
                                1A85B17D0A1B183600D8C87C /* HTMLHtmlElement.idl */,
                                A871DE180A152AC800B12A68 /* HTMLIFrameElement.cpp */,
                                A871DE1E0A152AC800B12A68 /* HTMLIFrameElement.h */,
+                               855542970AA4938800BA89F2 /* HTMLIFrameElement.idl */,
                                A8EA7D290A19385500A8EF5F /* HTMLImageElement.cpp */,
                                A8EA7D250A19385500A8EF5F /* HTMLImageElement.h */,
                                1AE2AA790A1CDC6100B42B25 /* HTMLImageElement.idl */,
                                A8DF3FCC097FA0FB0052981B /* HTMLNameCollection.h */,
                                A871D4510A127CBC00B12A68 /* HTMLObjectElement.cpp */,
                                A871D4500A127CBC00B12A68 /* HTMLObjectElement.h */,
+                               855542980AA4938800BA89F2 /* HTMLObjectElement.idl */,
                                A8EA79EF0A1916DF00A8EF5F /* HTMLOListElement.cpp */,
                                A8EA79E50A1916DF00A8EF5F /* HTMLOListElement.h */,
                                1A85B1CB0A1B22DC00D8C87C /* HTMLOListElement.idl */,
                                A80E7E180A1A7CCB007FB8C5 /* HTMLOptionElement.idl */,
                                9327A94109968D1A0068A546 /* HTMLOptionsCollection.cpp */,
                                A81369BE097374F500D74463 /* HTMLOptionsCollection.h */,
+                               85DF2F920AA3C9B600AD64C5 /* HTMLOptionsCollection.idl */,
                                A8EA7CA40A192B9C00A8EF5F /* HTMLParagraphElement.cpp */,
                                A8EA7CA70A192B9C00A8EF5F /* HTMLParagraphElement.h */,
                                1AE2AB610A1CE7CA00B42B25 /* HTMLParagraphElement.idl */,
                                1AE2AB960A1CE88D00B42B25 /* HTMLScriptElement.idl */,
                                A81369BD097374F500D74463 /* HTMLSelectElement.cpp */,
                                A81369BC097374F500D74463 /* HTMLSelectElement.h */,
+                               855542990AA4938800BA89F2 /* HTMLSelectElement.idl */,
                                A871DC1A0A15205700B12A68 /* HTMLStyleElement.cpp */,
                                A871DC170A15205700B12A68 /* HTMLStyleElement.h */,
                                A80E7AB20A19D1F1007FB8C5 /* HTMLStyleElement.idl */,
                                A871DB240A150BD600B12A68 /* HTMLTableCaptionElement.cpp */,
                                A871DB1D0A150BD600B12A68 /* HTMLTableCaptionElement.h */,
+                               855542570AA48B1E00BA89F2 /* HTMLTableCaptionElement.idl */,
                                A871DB200A150BD600B12A68 /* HTMLTableCellElement.cpp */,
                                A871DB1C0A150BD600B12A68 /* HTMLTableCellElement.h */,
+                               855542580AA48B1E00BA89F2 /* HTMLTableCellElement.idl */,
                                A871DB1B0A150BD600B12A68 /* HTMLTableColElement.cpp */,
                                A871DB210A150BD600B12A68 /* HTMLTableColElement.h */,
+                               855542590AA48B1E00BA89F2 /* HTMLTableColElement.idl */,
                                A871DB1A0A150BD600B12A68 /* HTMLTableElement.cpp */,
                                A871DB190A150BD600B12A68 /* HTMLTableElement.h */,
+                               8555425A0AA48B1E00BA89F2 /* HTMLTableElement.idl */,
                                A871DB1F0A150BD600B12A68 /* HTMLTablePartElement.cpp */,
                                A871DB1E0A150BD600B12A68 /* HTMLTablePartElement.h */,
                                A871DB220A150BD600B12A68 /* HTMLTableRowElement.cpp */,
                                A871DB230A150BD600B12A68 /* HTMLTableRowElement.h */,
+                               8555425B0AA48B1E00BA89F2 /* HTMLTableRowElement.idl */,
                                A871DB180A150BD600B12A68 /* HTMLTableSectionElement.cpp */,
                                A871DB170A150BD600B12A68 /* HTMLTableSectionElement.h */,
+                               8555425C0AA48B1E00BA89F2 /* HTMLTableSectionElement.idl */,
                                A81369BB097374F500D74463 /* HTMLTextAreaElement.cpp */,
                                A81369BA097374F500D74463 /* HTMLTextAreaElement.h */,
                                A80E7E160A1A7CCB007FB8C5 /* HTMLTextAreaElement.idl */,
                                BC837CB60A9D10FE006B186A /* GraphicsContextPlatformPrivate.h in Headers */,
                                AA84FC860AA0FE08007699AF /* JSSVGMetadataElement.h in Headers */,
                                AAC8DAB20AA1002000DC0907 /* SVGMetadataElement.h in Headers */,
+                               85DF2C5C0AA341F600AD64C5 /* DOMHTMLFormElement.h in Headers */,
+                               85DF2EED0AA387CB00AD64C5 /* DOMHTMLElement.h in Headers */,
+                               85DF2F8E0AA3C88100AD64C5 /* DOMHTMLCollection.h in Headers */,
+                               85DF2F9B0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h in Headers */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
                                BC837C7B0A9D0D1A006B186A /* PDFDocumentImage.cpp in Sources */,
                                AA84FC850AA0FE08007699AF /* JSSVGMetadataElement.cpp in Sources */,
                                AAC8DAB10AA1002000DC0907 /* SVGMetadataElement.cpp in Sources */,
+                               85DF2C5D0AA341F600AD64C5 /* DOMHTMLFormElement.mm in Sources */,
+                               85DF2EEE0AA387CB00AD64C5 /* DOMHTMLElement.mm in Sources */,
+                               85DF2F8F0AA3C88100AD64C5 /* DOMHTMLCollection.mm in Sources */,
+                               85DF2F9C0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.mm in Sources */,
                                1AE42F6A0AA4B8CB00C8612D /* StringCF.cpp in Sources */,
                                1AE42F6B0AA4B8CB00C8612D /* StringImplCF.cpp in Sources */,
                        );
index 427e281126138bb9ee68607d6c7cee09ef0aea7e..061685100675f0d50f73aa532228fa6c75a932a1 100644 (file)
 #import "DOMProcessingInstruction.h"
 #import "DOMText.h"
 
+// Generated Objective-C Bindings
+#import "DOMHTMLCollection.h"
+#import "DOMHTMLElement.h"
+#import "DOMHTMLFormElement.h"
+#import "DOMHTMLOptionsCollection.h"
+
 #import <objc/objc-class.h>
 
 using WebCore::AtomicString;
index 3cba2793633b735e4ceef6c2daecf398b29d884a..2a47144ba7f64d3116f51c1ac487f9ef953ed0e4 100644 (file)
@@ -33,6 +33,8 @@
 #import <WebCore/DOMNode.h>
 #import <WebCore/DOMRange.h>
 
+#import <WebCore/DOMHTMLElement.h>
+
 @class NSColor;
 @class NSImage;
 @class DOMHTMLCollection;
 - (DOMDocumentFragment *)createDocumentFragmentWithText:(NSString *)text;
 @end
 
-@interface DOMHTMLElement (DOMHTMLElementExtensions)
-- (NSString *)innerHTML;
-- (void)setInnerHTML:(NSString *)innerHTML;
-- (NSString *)innerText;
-- (void)setInnerText:(NSString *)innerText;
-- (NSString *)outerHTML;
-- (void)setOuterHTML:(NSString *)outerHTML;
-- (NSString *)outerText;
-- (void)setOuterText:(NSString *)outerText;
-- (DOMHTMLCollection *)children;
-- (NSString *)contentEditable;
-- (void)setContentEditable:(NSString *)contentEditable;
-- (BOOL)isContentEditable;
-- (NSString *)titleDisplayString;
+@interface DOMHTMLInputElement (DOMHTMLInputElementExtensions)
+- (NSString *)altDisplayString;
+- (NSURL *)absoluteImageURL;
+@end
+
+@interface DOMHTMLImageElement (DOMHTMLImageElementExtensions)
+- (NSString *)altDisplayString;
+- (NSURL *)absoluteImageURL;
+@end
+
+@interface DOMHTMLObjectElement (DOMHTMLObjectElementExtensions)
+- (NSURL *)absoluteImageURL;
+@end
+
+@interface DOMHTMLAnchorElement (DOMHTMLAnchorElementExtensions)
+- (NSURL *)absoluteLinkURL;
+@end
+
+@interface DOMHTMLAreaElement (DOMHTMLAreaElementExtensions)
+- (NSURL *)absoluteLinkURL;
+@end
+
+@interface DOMHTMLLinkElement (DOMHTMLLinkElementExtensions)
+- (NSURL *)absoluteLinkURL;
 @end
 
 @interface DOMHTMLEmbedElement : DOMHTMLElement
 @interface DOMRange (DOMRangeExtensions)
 - (NSString *)text;
 @end
-
-@interface DOMHTMLInputElement (DOMHTMLInputElementExtensions)
-- (NSString *)altDisplayString;
-- (NSURL *)absoluteImageURL;
-@end
-
-@interface DOMHTMLImageElement (DOMHTMLImageElementExtensions)
-- (NSString *)altDisplayString;
-- (NSURL *)absoluteImageURL;
-@end
-
-@interface DOMHTMLObjectElement (DOMHTMLObjectElementExtensions)
-- (NSURL *)absoluteImageURL;
-@end
-
-@interface DOMHTMLAnchorElement (DOMHTMLAnchorElementExtensions)
-- (NSURL *)absoluteLinkURL;
-@end
-
-@interface DOMHTMLAreaElement (DOMHTMLAreaElementExtensions)
-- (NSURL *)absoluteLinkURL;
-@end
-
-@interface DOMHTMLLinkElement (DOMHTMLLinkElementExtensions)
-- (NSURL *)absoluteLinkURL;
-@end
index 1a92d13bb108e4fda9a1ceb261859ece025fffbb..dd121c506a1223d4859c079a3ae69e7e9947d10a 100644 (file)
 
 #import <WebCore/DOMCore.h>
 
-@class DOMHTMLElement;
-@class DOMHTMLFormElement;
+#import <WebCore/DOMHTMLCollection.h>
+#import <WebCore/DOMHTMLElement.h>
+#import <WebCore/DOMHTMLFormElement.h>
+#import <WebCore/DOMHTMLOptionsCollection.h>
+
 @class DOMHTMLTableCaptionElement;
 @class DOMHTMLTableSectionElement;
 
-@interface DOMHTMLCollection : DOMObject
-- (unsigned)length;
-- (DOMNode *)item:(unsigned)index;
-- (DOMNode *)namedItem:(NSString *)name;
-@end
-
-@interface DOMHTMLOptionsCollection : DOMObject
-- (unsigned)length;
-- (void)setLength:(unsigned)length;
-- (DOMNode *)item:(unsigned)index;
-- (DOMNode *)namedItem:(NSString *)name;
-@end
-
 @interface DOMHTMLDocument : DOMDocument
 - (NSString *)title;
 - (void)setTitle:(NSString *)title;
 - (DOMNodeList *)getElementsByName:(NSString *)elementName;
 @end
 
-@interface DOMHTMLElement : DOMElement
-- (NSString *)idName;
-- (void)setIdName:(NSString *)idName;
-- (NSString *)title;
-- (void)setTitle:(NSString *)title;
-- (NSString *)lang;
-- (void)setLang:(NSString *)lang;
-- (NSString *)dir;
-- (void)setDir:(NSString *)dir;
-- (NSString *)className;
-- (void)setClassName:(NSString *)className;
-@end
-
 @interface DOMHTMLHtmlElement : DOMHTMLElement
 - (NSString *)version;
 - (void)setVersion:(NSString *)version;
 - (void)setVLink:(NSString *)vLink;
 @end
 
-@interface DOMHTMLFormElement : DOMHTMLElement
-- (DOMHTMLCollection *)elements;
-- (int)length;
-- (NSString *)name;
-- (void)setName:(NSString *)name;
-- (NSString *)acceptCharset;
-- (void)setAcceptCharset:(NSString *)acceptCharset;
-- (NSString *)action;
-- (void)setAction:(NSString *)action;
-- (NSString *)enctype;
-- (void)setEnctype:(NSString *)enctype;
-- (NSString *)method;
-- (void)setMethod:(NSString *)method;
-- (NSString *)target;
-- (void)setTarget:(NSString *)target;
-- (void)submit;
-- (void)reset;
-@end
-
 @interface DOMHTMLSelectElement : DOMHTMLElement
 - (NSString *)type;
 - (int)selectedIndex;
index 44dc4610d1a9bf0b1485e400ac610d03b34f72c8..b58c83982489cdeb9e3974de0ec9a85989877412 100644 (file)
@@ -98,80 +98,9 @@ using namespace HTMLNames;
 // FIXME: This code should be using the impl methods instead of doing so many get/setAttribute calls.
 // FIXME: This code should be generated.
 
-@interface DOMHTMLCollection (WebCoreInternal)
-+ (DOMHTMLCollection *)_collectionWith:(HTMLCollection *)impl;
-@end
-
-@interface DOMHTMLElement (WebCoreInternal)
-+ (DOMHTMLElement *)_elementWith:(HTMLElement *)impl;
-- (HTMLElement *)_HTMLElement;
-@end
-
-@interface DOMHTMLFormElement (WebCoreInternal)
-+ (DOMHTMLFormElement *)_formElementWith:(HTMLFormElement *)impl;
-@end
-
-@interface DOMHTMLTableCaptionElement (WebCoreInternal)
-+ (DOMHTMLTableCaptionElement *)_tableCaptionElementWith:(HTMLTableCaptionElement *)impl;
-- (HTMLTableCaptionElement *)_tableCaptionElement;
-@end
-
-@interface DOMHTMLTableSectionElement (WebCoreInternal)
-+ (DOMHTMLTableSectionElement *)_tableSectionElementWith:(HTMLTableSectionElement *)impl;
-- (HTMLTableSectionElement *)_tableSectionElement;
-@end
-
-@interface DOMHTMLTableElement (WebCoreInternal)
-+ (DOMHTMLTableElement *)_tableElementWith:(HTMLTableElement *)impl;
-- (HTMLTableElement *)_tableElement;
-@end
-
-@interface DOMHTMLTableCellElement (WebCoreInternal)
-+ (DOMHTMLTableCellElement *)_tableCellElementWith:(HTMLTableCellElement *)impl;
-- (HTMLTableCellElement *)_tableCellElement;
-@end
 
 //------------------------------------------------------------------------------------------
-
-@implementation DOMHTMLCollection
-
-- (void)dealloc
-{
-    if (_internal) {
-        DOM_cast<HTMLCollection*>(_internal)->deref();
-    }
-    [super dealloc];
-}
-
-- (void)finalize
-{
-    if (_internal) {
-        DOM_cast<HTMLCollection*>(_internal)->deref();
-    }
-    [super finalize];
-}
-
-- (HTMLCollection *)_collection
-{
-    return DOM_cast<HTMLCollection*>(_internal);
-}
-
-- (unsigned)length
-{
-    return [self _collection]->length();
-}
-
-- (DOMNode *)item:(unsigned)index
-{
-    return [DOMNode _nodeWith:[self _collection]->item(index)];
-}
-
-- (DOMNode *)namedItem:(NSString *)name
-{
-    return [DOMNode _nodeWith:[self _collection]->namedItem(name)];
-}
-
-@end
+// DOMHTMLCollection
 
 @implementation DOMHTMLCollection (WebCoreInternal)
 
@@ -201,23 +130,11 @@ using namespace HTMLNames;
 
 @end
 
-@implementation DOMHTMLOptionsCollection
 
-- (void)dealloc
-{
-    if (_internal) {
-        DOM_cast<HTMLOptionsCollection*>(_internal)->deref();
-    }
-    [super dealloc];
-}
+//------------------------------------------------------------------------------------------
+// DOMHTMLOptionsCollection
 
-- (void)finalize
-{
-    if (_internal) {
-        DOM_cast<HTMLOptionsCollection*>(_internal)->deref();
-    }
-    [super finalize];
-}
+@implementation DOMHTMLOptionsCollection (WebCoreInternal)
 
 - (id)_initWithOptionsCollection:(HTMLOptionsCollection *)impl
 {
@@ -243,88 +160,11 @@ using namespace HTMLNames;
     return [[[self alloc] _initWithOptionsCollection:impl] autorelease];
 }
 
-- (HTMLOptionsCollection *)_optionsCollection
-{
-    return DOM_cast<HTMLOptionsCollection*>(_internal);
-}
-
-- (unsigned)length
-{
-    return [self _optionsCollection]->length();
-}
-
-- (void)setLength:(unsigned)length
-{
-    ExceptionCode ec;
-    [self _optionsCollection]->setLength(length, ec);
-    raiseOnDOMError(ec);
-}
-
-- (DOMNode *)item:(unsigned)index
-{
-    return [DOMNode _nodeWith:[self _optionsCollection]->item(index)];
-}
-
-- (DOMNode *)namedItem:(NSString *)name
-{
-    return [DOMNode _nodeWith:[self _optionsCollection]->namedItem(name)];
-}
-
 @end
 
-@implementation DOMHTMLElement
-
-- (NSString *)idName
-{
-    return [self _HTMLElement]->getAttribute(idAttr);
-}
 
-- (void)setIdName:(NSString *)idName
-{
-    [self _HTMLElement]->setAttribute(idAttr, idName);
-}
-
-- (NSString *)title
-{
-    return [self _HTMLElement]->title();
-}
-
-- (void)setTitle:(NSString *)title
-{
-    [self _HTMLElement]->setTitle(title);
-}
-
-- (NSString *)lang
-{
-    return [self _HTMLElement]->lang();
-}
-
-- (void)setLang:(NSString *)lang
-{
-    [self _HTMLElement]->setLang(lang);
-}
-
-- (NSString *)dir
-{
-    return [self _HTMLElement]->dir();
-}
-
-- (void)setDir:(NSString *)dir
-{
-    [self _HTMLElement]->setDir(dir);
-}
-
-- (NSString *)className
-{
-    return [self _HTMLElement]->className();
-}
-
-- (void)setClassName:(NSString *)className
-{
-    [self _HTMLElement]->setClassName(className);
-}
-
-@end
+//------------------------------------------------------------------------------------------
+// DOMHTMLElement
 
 @implementation DOMHTMLElement (WebCoreInternal)
 
@@ -340,83 +180,9 @@ using namespace HTMLNames;
 
 @end
 
-@implementation DOMHTMLElement (DOMHTMLElementExtensions)
-
-- (NSString *)titleDisplayString
-{
-    return [self _HTMLElement]->title().replace('\\', [self _element]->document()->backslashAsCurrencySymbol());
-}
-
-- (NSString *)innerHTML
-{
-    return [self _HTMLElement]->innerHTML();
-}
 
-- (void)setInnerHTML:(NSString *)innerHTML
-{
-    int exception = 0;
-    [self _HTMLElement]->setInnerHTML(innerHTML, exception);
-    raiseOnDOMError(exception);
-}
-
-- (NSString *)outerHTML
-{
-    return [self _HTMLElement]->outerHTML();
-}
-
-- (void)setOuterHTML:(NSString *)outerHTML
-{
-    int exception = 0;
-    [self _HTMLElement]->setOuterHTML(outerHTML, exception);
-    raiseOnDOMError(exception);
-}
-
-- (NSString *)innerText
-{
-    return [self _HTMLElement]->innerText();
-}
-
-- (void)setInnerText:(NSString *)innerText
-{
-    int exception = 0;
-    [self _HTMLElement]->setInnerText(innerText, exception);
-    raiseOnDOMError(exception);
-}
-
-- (NSString *)outerText
-{
-    return [self _HTMLElement]->outerText();
-}
-
-- (void)setOuterText:(NSString *)outerText
-{
-    int exception = 0;
-    [self _HTMLElement]->setOuterText(outerText, exception);
-    raiseOnDOMError(exception);
-}
-
-- (DOMHTMLCollection *)children
-{
-    HTMLCollection *collection = new HTMLCollection([self _HTMLElement], HTMLCollection::NodeChildren);
-    return [DOMHTMLCollection _collectionWith:collection];
-}
-
-- (NSString *)contentEditable
-{
-    return [self _HTMLElement]->contentEditable();
-}
-
-- (void)setContentEditable:(NSString *)contentEditable
-{
-    [self _HTMLElement]->setContentEditable(contentEditable);
-}
-
-- (BOOL)isContentEditable
-{
-    return [self _HTMLElement]->isContentEditable();
-}
-
-@end
+//------------------------------------------------------------------------------------------
+// DOMHTMLDocument
 
 @implementation DOMHTMLDocument
 
@@ -918,95 +684,9 @@ using namespace HTMLNames;
 
 @end
 
-@implementation DOMHTMLFormElement
-
-- (HTMLFormElement *)_formElement
-{
-    return static_cast<HTMLFormElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (DOMHTMLCollection *)elements
-{
-    HTMLCollection *collection = new HTMLFormCollection([self _formElement]);
-    return [DOMHTMLCollection _collectionWith:collection];
-}
-
-- (int)length
-{
-    return [self _formElement]->length();
-}
-
-- (NSString *)name
-{
-    return [self _formElement]->getAttribute(nameAttr);
-}
-
-- (void)setName:(NSString *)name
-{
-    [self _formElement]->setAttribute(nameAttr, name);
-}
 
-- (NSString *)acceptCharset
-{
-    return [self _formElement]->getAttribute(accept_charsetAttr);
-}
-
-- (void)setAcceptCharset:(NSString *)acceptCharset
-{
-    [self _formElement]->setAttribute(accept_charsetAttr, acceptCharset);
-}
-
-- (NSString *)action
-{
-    return [self _formElement]->getAttribute(actionAttr);
-}
-
-- (void)setAction:(NSString *)action
-{
-    [self _formElement]->setAttribute(actionAttr, action);
-}
-
-- (NSString *)enctype
-{
-    return [self _formElement]->getAttribute(enctypeAttr);
-}
-
-- (void)setEnctype:(NSString *)enctype
-{
-    [self _formElement]->setAttribute(enctypeAttr, enctype);
-}
-
-- (NSString *)method
-{
-    return [self _formElement]->getAttribute(methodAttr);
-}
-
-- (void)setMethod:(NSString *)method
-{
-    [self _formElement]->setAttribute(methodAttr, method);
-}
-
-- (NSString *)target
-{
-    return [self _formElement]->getAttribute(targetAttr);
-}
-
-- (void)setTarget:(NSString *)target
-{
-    [self _formElement]->setAttribute(targetAttr, target);
-}
-
-- (void)submit
-{
-    [self _formElement]->submit(false);
-}
-
-- (void)reset
-{
-    [self _formElement]->reset();
-}
-
-@end
+//------------------------------------------------------------------------------------------
+// DOMHTMLFormElement
 
 @implementation DOMHTMLFormElement (WebCoreInternal)
 
@@ -1017,6 +697,10 @@ using namespace HTMLNames;
 
 @end
 
+
+//------------------------------------------------------------------------------------------
+// DOMHTMLIsIndexElement
+
 @implementation DOMHTMLIsIndexElement
 
 - (HTMLIsIndexElement *)_isIndexElement
index 6851061e9c705e69aa6ca9d1c0f8ee09d6c3413f..c6cc25b1c94bd2a6f140ec2e12359635ed2e1cbe 100644 (file)
 
 #import "DOMHTML.h"
 
+#import "DOMHTMLCollection.h"
+#import "DOMHTMLElement.h"
+#import "DOMHTMLFormElement.h"
+#import "DOMHTMLOptionsCollection.h"
+
 namespace WebCore {
+    class HTMLCollection;
     class HTMLDocument;
+    class HTMLElement;
+    class HTMLFormElement;
+    class HTMLImageElement;
+    class HTMLInputElement;
+    class HTMLObjectElement;
     class HTMLOptionsCollection;
+    class HTMLTableCaptionElement;
+    class HTMLTableCellElement;
+    class HTMLTableElement;
+    class HTMLTableSectionElement;
 }
 
 @interface DOMHTMLOptionsCollection (WebCoreInternal)
@@ -37,3 +52,48 @@ namespace WebCore {
 @interface DOMHTMLDocument (WebCoreInternal)
 + (DOMHTMLDocument *)_HTMLDocumentWith:(WebCore::HTMLDocument *)impl;
 @end
+
+@interface DOMHTMLCollection (WebCoreInternal)
++ (DOMHTMLCollection *)_collectionWith:(WebCore::HTMLCollection *)impl;
+@end
+
+@interface DOMHTMLElement (WebCoreInternal)
++ (DOMHTMLElement *)_elementWith:(WebCore::HTMLElement *)impl;
+- (WebCore::HTMLElement *)_HTMLElement;
+@end
+
+@interface DOMHTMLFormElement (WebCoreInternal)
++ (DOMHTMLFormElement *)_formElementWith:(WebCore::HTMLFormElement *)impl;
+@end
+
+@interface DOMHTMLTableCaptionElement (WebCoreInternal)
++ (DOMHTMLTableCaptionElement *)_tableCaptionElementWith:(WebCore::HTMLTableCaptionElement *)impl;
+- (WebCore::HTMLTableCaptionElement *)_tableCaptionElement;
+@end
+
+@interface DOMHTMLTableSectionElement (WebCoreInternal)
++ (DOMHTMLTableSectionElement *)_tableSectionElementWith:(WebCore::HTMLTableSectionElement *)impl;
+- (WebCore::HTMLTableSectionElement *)_tableSectionElement;
+@end
+
+@interface DOMHTMLTableElement (WebCoreInternal)
++ (DOMHTMLTableElement *)_tableElementWith:(WebCore::HTMLTableElement *)impl;
+- (WebCore::HTMLTableElement *)_tableElement;
+@end
+
+@interface DOMHTMLTableCellElement (WebCoreInternal)
++ (DOMHTMLTableCellElement *)_tableCellElementWith:(WebCore::HTMLTableCellElement *)impl;
+- (WebCore::HTMLTableCellElement *)_tableCellElement;
+@end
+
+@interface DOMHTMLImageElement (WebCoreInternal)
+- (WebCore::HTMLImageElement *)_HTMLImageElement;
+@end
+
+@interface DOMHTMLObjectElement (WebCoreInternal)
+- (WebCore::HTMLObjectElement *)_objectElement;
+@end
+
+@interface DOMHTMLInputElement (WebCoreInternal)
+- (WebCore::HTMLInputElement *)_HTMLInputElement;
+@end
index 9a5e85f174ca3f38eb636b46fc0823d8ee827507..d57fb933ace7952b67e27a9e9a246c229d2ad457 100644 (file)
@@ -222,6 +222,8 @@ sub GetParentImplClassName
     # special cases
     if ($parent eq "EventTargetNode") {
         $parent = "Node";
+    } elsif ($parent eq "HTMLCollection") {
+        $parent = "Object";
     }
 
     return $parent;
@@ -393,6 +395,10 @@ sub AddIncludesForType
         $implIncludes{"DOMImplementationFront.h"} = 1;
     }
 
+
+    # Add type specific internal types.
+    $implIncludes{"DOMHTMLInternal.h"} = 1 if ($type =~ /^HTML/);
+
     # Default, include the same named file (the implementation) and the same name prefixed with "DOM". 
     $implIncludes{"$type.h"} = 1;
     $implIncludes{"DOM$type.h"} = 1;
@@ -457,6 +463,14 @@ sub GenerateHeader
             AddForwardDeclarationsForType($attribute->signature->type);
 
             my $attributeName = $attribute->signature->name;
+            if ($attributeName eq "id") {
+                # Special case attribute id to be idName to avoid Obj-C nameing conflict.
+                $attributeName .= "Name";
+            } elsif ($attributeName eq "frame") {
+                # Special case attribute frame to be frameBorders.
+                $attributeName .= "Borders";
+            }
+
             my $attributeType = GetObjCType($attribute->signature->type);
             my $attributeIsReadonly = ($attribute->type =~ /^readonly/);
             my $catagory = $attribute->signature->extendedAttributes->{"ObjCCatagory"};
@@ -662,8 +676,17 @@ sub GenerateImplementation
             my $attributeType = GetObjCType($attribute->signature->type);
             my $attributeIsReadonly = ($attribute->type =~ /^readonly/);
 
+            my $interfaceName = $attributeName;
+            if ($attributeName eq "id") {
+                # Special case attribute id to be idName to avoid Obj-C nameing conflict.
+                $interfaceName .= "Name";
+            } elsif ($attributeName eq "frame") {
+                # Special case attribute frame to be frameBorders.
+                $interfaceName .= "Borders";
+            }
+
             # - GETTER
-            my $getterSig = "- ($attributeType)$attributeName\n";
+            my $getterSig = "- ($attributeType)$interfaceName\n";
             
             # Exception handling
             my $hasGetterException = @{$attribute->getterExceptions};
@@ -677,10 +700,16 @@ sub GenerateImplementation
             my $attributeTypeSansPtr = $attributeType;
             $attributeTypeSansPtr =~ s/ \*$//; # Remove trailing " *" from pointer types.
             my $typeMaker = GetObjCTypeMaker($attribute->signature->type);
+            
+            # Special cases
             if ($attributeTypeSansPtr eq "DOMImplementation") {
                 # FIXME: We have to special case DOMImplementation until DOMImplementationFront is removed
                 $getterContentHead = "[$attributeTypeSansPtr $typeMaker:implementationFront($implementation";
                 $getterContentTail .= "]";
+            } elsif ($attributeName =~ /(\w+)DisplayString$/) {
+                my $attributeToDisplay = $1;
+                $getterContentHead = "$implementation->$attributeToDisplay().replace(\'\\\\\', [self _element]->document()->backslashAsCurrencySymbol()";
+                $implIncludes{"Document.h"} = 1;
             } elsif ($typeMaker ne "") {
                 # Surround getter with TypeMaker
                 $getterContentHead = "[$attributeTypeSansPtr $typeMaker:" . $getterContentHead;
@@ -688,7 +717,7 @@ sub GenerateImplementation
             }
             
             if ($attribute->signature->extendedAttributes->{"UsesPassRefPtr"}) {
-                $getterContentTail = ").get(" . $functionContentTail;
+                $getterContentTail = ").get(" . $getterContentTail;
             }
             
             my $getterContent;
@@ -711,8 +740,10 @@ sub GenerateImplementation
                 # Exception handling
                 my $hasSetterException = @{$attribute->setterExceptions};
                 
-                my $setterName = "set" . ucfirst($attributeName);
-                my $setterSig = "- (void)$setterName:($attributeType)$attributeName\n";
+                $attributeName = "set" . ucfirst($attributeName);
+                my $setterName = "set" . ucfirst($interfaceName);
+
+                my $setterSig = "- (void)$setterName:($attributeType)$interfaceName\n";
                 
                 push(@implContent, $setterSig);
                 push(@implContent, "{\n");
@@ -720,13 +751,13 @@ sub GenerateImplementation
                 if ($hasSetterException) {
                     # FIXME: asserts exsist in the exsisting bindings, but I am unsure why they are 
                     # there in the first place;
-                    push(@implContent, "    ASSERT($attributeName);\n\n");
+                    push(@implContent, "    ASSERT($interfaceName);\n\n");
                 
                     push(@implContent, "    $exceptionInit\n");
-                    push(@implContent, "    $implementation->$setterName($attributeName, ec);\n");
+                    push(@implContent, "    $implementation->$attributeName($interfaceName, ec);\n");
                     push(@implContent, "    $exceptionRaiseOnError\n");
                 } else {
-                    push(@implContent, "    $implementation->$setterName($attributeName);\n");
+                    push(@implContent, "    $implementation->$attributeName($interfaceName);\n");
                 }
                 
                 push(@implContent, "}\n\n");
index 636df764c2cc57819db8945f63c21309580f1592..d9bce834b6de970acd7f1a6328997f5a41c328c3 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -37,14 +38,14 @@ module html {
         void focus();
         
         // IE Extensions
-        readonly attribute DOMString hash;
-        readonly attribute DOMString host;
-        readonly attribute DOMString hostname;
-        readonly attribute DOMString pathname;
-        readonly attribute DOMString port;
-        readonly attribute DOMString protocol;
-        readonly attribute DOMString search;
-        readonly attribute DOMString text;
+        readonly attribute [Exclude=ObjC] DOMString hash;
+        readonly attribute [Exclude=ObjC] DOMString host;
+        readonly attribute [Exclude=ObjC] DOMString hostname;
+        readonly attribute [Exclude=ObjC] DOMString pathname;
+        readonly attribute [Exclude=ObjC] DOMString port;
+        readonly attribute [Exclude=ObjC] DOMString protocol;
+        readonly attribute [Exclude=ObjC] DOMString search;
+        readonly attribute [Exclude=ObjC] DOMString text;
     };
 
 }
index 4fe09a1c336f8fca9e685730b8b26236a5ed1937..a09b898e81490b7b30f698df05ea4709ddec053f 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -30,13 +31,13 @@ module html {
         attribute DOMString target;
         
         // IE Extensions
-        readonly attribute DOMString hash;
-        readonly attribute DOMString host;
-        readonly attribute DOMString hostname;
-        readonly attribute DOMString pathname;
-        readonly attribute DOMString port;
-        readonly attribute DOMString protocol;
-        readonly attribute DOMString search;
+        readonly attribute [Exclude=ObjC] DOMString hash;
+        readonly attribute [Exclude=ObjC] DOMString host;
+        readonly attribute [Exclude=ObjC] DOMString hostname;
+        readonly attribute [Exclude=ObjC] DOMString pathname;
+        readonly attribute [Exclude=ObjC] DOMString port;
+        readonly attribute [Exclude=ObjC] DOMString protocol;
+        readonly attribute [Exclude=ObjC] DOMString search;
     };
 
 }
index f5e84ac1642d98396c8fcbb3cf5bd58f6d78d2cc..b472e430076cc2cb52218592d7e0776e89e4df30 100644 (file)
@@ -22,6 +22,6 @@ module html {
     interface [LegacyParent=KJS::JSHTMLElement] HTMLBaseFontElement : HTMLElement {
         attribute DOMString color;
         attribute DOMString face;
-        attribute long size;    
+        attribute long size;
     };
 }
index 922f08a96c3816cbb9f4badf1e8c274ff0c0dae7..983b61dd5960687b37dff6512710dcf9f71f40f6 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -27,9 +28,9 @@ module html {
         attribute DOMString vLink; 
         
         // IE Extensions
-        attribute long scrollLeft;
-        attribute long scrollTop;
-        readonly attribute long scrollWidth;
-        readonly attribute long scrollHeight;
+        attribute [Exclude=ObjC] long scrollLeft;
+        attribute [Exclude=ObjC] long scrollTop;
+        readonly attribute [Exclude=ObjC] long scrollWidth;
+        readonly attribute [Exclude=ObjC] long scrollHeight;
     };
 }
index d5c7cea59ecf82cfe1d1e2d3f78f5e83e535ef14..876d2eac746cc648b8325cf00565252a0f93d534 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -28,7 +29,7 @@ module html {
         readonly attribute  DOMString            type;
                  attribute  DOMString            value;
                  
-        void    click();
+        [Exclude=ObjC] void click();
 
     };
 
diff --git a/WebCore/html/HTMLCollection.idl b/WebCore/html/HTMLCollection.idl
new file mode 100644 (file)
index 0000000..3a20874
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+    interface HTMLCollection {
+        readonly attribute unsigned long length;
+        Node item(in unsigned long index);
+        Node namedItem(in DOMString name);
+    };
+
+}
index 6a664d8fc314aeb8195606f99d14d8d9c6b27ccf..07dd9ff32fc66f6f61a2964c943fae3510c961c4 100644 (file)
@@ -1,5 +1,7 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
 module html {
 
     interface [LegacyParent=KJS::JSHTMLDocument, GenerateConstructor] HTMLDocument : Document {
+
+                 attribute [Exclude=JS] DOMString title;
+        readonly attribute [Exclude=JS] DOMString referrer;
+        readonly attribute [Exclude=JS] DOMString domain;
+        readonly attribute [Exclude=JS] DOMString URL;
+                
+        // FIXME: the DOM spec does NOT have this attribute
+        // raising an exception.
+                 attribute [Exclude=JS] HTMLElement body
+                     setter raises (DOMException);
+                     
+        readonly attribute [UsesPassRefPtr, Exclude=JS] HTMLCollection images;
+        readonly attribute [UsesPassRefPtr, Exclude=JS] HTMLCollection applets;
+        readonly attribute [UsesPassRefPtr, Exclude=JS] HTMLCollection links;
+        readonly attribute [UsesPassRefPtr, Exclude=JS] HTMLCollection forms;
+        readonly attribute [UsesPassRefPtr, Exclude=JS] HTMLCollection anchors;
+        
+        // FIXME: the DOM spec states that this attribute can 
+        // raise an exception on setting.
+                 attribute [Exclude=JS] DOMString cookie
+                     /*setter raises (DOMException)*/;
+
+        [Exclude=JS] void               open();
+        [Exclude=JS] void               close();
+        [Exclude=JS] void               write(in DOMString text);
+        [Exclude=JS] void               writeln(in DOMString text);
+        [Exclude=JS] NodeList           getElementsByName(in DOMString elementName);
+
+        // non-standard
+
+        [Exclude=JS] Element            getElementById(in DOMString elementId);
+
     };
 
 }
index d0e8421ad6ce5edcda3aa7d734a9919ed34b101b..82ee3a5d26d0a4021b84eb4a5e5b47311cda17c8 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
 module html {
 
     interface [GenerateConstructor] HTMLElement : Element {
+
         attribute DOMString title;
+        attribute [Exclude=JS] DOMString id;
+        attribute [Exclude=JS] DOMString lang;
+        attribute [Exclude=JS] DOMString dir;
+        attribute [Exclude=JS] DOMString className;
+
+        // extensions
+
+        attribute [ObjCCatagory=DOMHTMLElementExtensions, Exclude=JS] DOMString innerHTML
+            setter raises (DOMException);
+        attribute [ObjCCatagory=DOMHTMLElementExtensions, Exclude=JS] DOMString innerText
+            setter raises (DOMException);
+        attribute [ObjCCatagory=DOMHTMLElementExtensions, Exclude=JS] DOMString outerHTML
+            setter raises (DOMException);
+        attribute [ObjCCatagory=DOMHTMLElementExtensions, Exclude=JS] DOMString outerText
+            setter raises (DOMException);
+
+        readonly attribute [UsesPassRefPtr, ObjCCatagory=DOMHTMLElementExtensions, Exclude=JS] HTMLCollection children;
+
+        attribute [ObjCCatagory=DOMHTMLElementExtensions, Exclude=JS] DOMString contentEditable;
+        readonly attribute [ObjCCatagory=DOMHTMLElementExtensions, Exclude=JS] boolean isContentEditable;
+
+        readonly attribute [ObjCCatagory=DOMHTMLElementExtensions, Exclude=JS] DOMString titleDisplayString;
+
     };
 
 }
index a8855ffb22c08af6f2dc34563ad181b0fef447f5..184862c34639d686cf607ea31fde82ecdb631a89 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -20,7 +21,7 @@
 module html {
 
     interface [LegacyParent=KJS::JSHTMLElement, HasIndexGetter, HasOverridingNameGetter] HTMLFormElement : HTMLElement {
-        readonly attribute HTMLCollection  elements;
+        readonly attribute [UsesPassRefPtr] HTMLCollection  elements;
         readonly attribute long            length;
                  attribute DOMString       name;
                  attribute DOMString       acceptCharset;
diff --git a/WebCore/html/HTMLFrameElement.idl b/WebCore/html/HTMLFrameElement.idl
new file mode 100644 (file)
index 0000000..063813f
--- /dev/null
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+    interface HTMLFrameElement : HTMLElement {
+
+                 attribute DOMString       frameBorder;
+                 attribute DOMString       longDesc;
+                 attribute DOMString       marginHeight;
+                 attribute DOMString       marginWidth;
+                 attribute DOMString       name;
+                 attribute boolean         noResize;
+                 attribute DOMString       scrolling;
+                 attribute DOMString       src;
+        // Introduced in DOM Level 2:
+        readonly attribute Document        contentDocument;
+
+    };
+
+}
diff --git a/WebCore/html/HTMLFrameSetElement.idl b/WebCore/html/HTMLFrameSetElement.idl
new file mode 100644 (file)
index 0000000..6d3ecf4
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+    interface HTMLFrameSetElement : HTMLElement {
+
+        attribute DOMString cols;
+        attribute DOMString rows;
+
+    };
+
+}
diff --git a/WebCore/html/HTMLIFrameElement.idl b/WebCore/html/HTMLIFrameElement.idl
new file mode 100644 (file)
index 0000000..51f0159
--- /dev/null
@@ -0,0 +1,40 @@
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+    interface HTMLIFrameElement : HTMLElement {
+
+                 attribute DOMString       align;
+                 attribute DOMString       frameBorder;
+                 attribute DOMString       height;
+                 attribute DOMString       longDesc;
+                 attribute DOMString       marginHeight;
+                 attribute DOMString       marginWidth;
+                 attribute DOMString       name;
+                 attribute DOMString       scrolling;
+                 attribute DOMString       src;
+                 attribute DOMString       width;
+        // Introduced in DOM Level 2:
+        readonly attribute Document        contentDocument;
+
+    };
+
+}
index 3dd5b045f32ac609810f9f76e261721e6af65565..80279106a40cf37c02a2274df4cdbd0c49e39fb0 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -33,8 +34,8 @@ module html {
         attribute long width;
         
         // Extensions
-        readonly attribute boolean complete;
-        readonly attribute long x;
-        readonly attribute long y;
+        readonly attribute [Exclude=ObjC] boolean complete;
+        readonly attribute [Exclude=ObjC] long x;
+        readonly attribute [Exclude=ObjC] long y;
     };
 }
index 2ae2a8998c36b94ef19e48b95ab6669b372b5198..eedde00f921a15e2b7a51cffa52986f1eb03d0f2 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -44,7 +45,7 @@ module html {
         void    select();
         void    click();
         
-                 attribute boolean indeterminate; // WinIE extension
+                 attribute [Exclude=ObjC] boolean indeterminate; // WinIE extension
         
         // WinIE & FireFox extension:
         
index c4b6e4b0abbbcda6c9693b79b273bb3b373bbd6a..6b8a89fda1d35f7bf1ff617adaaeb743c9fdd8e3 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -22,6 +23,7 @@ module html {
         readonly attribute HTMLFormElement form;
         attribute DOMString accessKey;
         attribute DOMString htmlFor;
-        void focus();
+
+        [Exclude=ObjC] void focus();
     };
 }
index d675094be940fc53bf4bbee82d5f87679688939e..d413259425e6b48169a57653d13186eb649584e6 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -22,6 +23,7 @@ module html {
         readonly attribute HTMLFormElement form;
         attribute DOMString accessKey;
         attribute DOMString align;
-        void focus();
+
+        [Exclude=ObjC] void focus();
     };
 }
index ebb26bf6e30f5325800fb9723d348c924e4be58b..86ffe14393dd94b1f13dce9bd3e62f3ed99ed878 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -31,7 +32,7 @@ module html {
         attribute  DOMString            type;
         
         // DOM Level 2 Style
-        readonly attribute StyleSheet   sheet;
+        readonly attribute [Exclude=ObjC] StyleSheet   sheet;
     };
 
 }
index 96159a116e3dc0740b39ded29abd990d96943fe0..f2822c3456ce8c59c39c7205fa0e5e53733b9eeb 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -19,7 +20,7 @@
 
 module html {
     interface [LegacyParent=KJS::JSHTMLElement] HTMLMapElement : HTMLElement {
-        readonly attribute HTMLCollection areas;
+        readonly attribute [UsesPassRefPtr] HTMLCollection areas;
         attribute DOMString name;
     };
 }
diff --git a/WebCore/html/HTMLObjectElement.idl b/WebCore/html/HTMLObjectElement.idl
new file mode 100644 (file)
index 0000000..12afc73
--- /dev/null
@@ -0,0 +1,48 @@
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+    interface HTMLObjectElement : HTMLElement {
+
+        readonly attribute HTMLFormElement form;
+                 attribute DOMString       code;
+                 attribute DOMString       align;
+                 attribute DOMString       archive;
+                 attribute DOMString       border;
+                 attribute DOMString       codeBase;
+                 attribute DOMString       codeType;
+                 attribute DOMString       data;
+                 attribute boolean         declare;
+                 attribute DOMString       height;
+                 attribute long            hspace;
+                 attribute DOMString       name;
+                 attribute DOMString       standby;
+                 attribute long            tabIndex;
+                 attribute DOMString       type;
+                 attribute DOMString       useMap;
+                 attribute long            vspace;
+                 attribute DOMString       width;
+        // Introduced in DOM Level 2:
+        readonly attribute Document        contentDocument;
+
+    };
+
+}
index c582f5e8760dcf6d23679c24155334e4d3ea427b..fa5e35e23cc0f4a38373c18709648a083de59097 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
 
 module html {
 
+    // FIXME: the spec say that HTMLOptionsCollection should not have a parent class
+
     interface [LegacyParent=KJS::JSHTMLCollection, HasCustomIndexSetter] HTMLOptionsCollection : HTMLCollection {
-                 attribute          long                 selectedIndex;
-                 attribute [Custom] long                 length
+                 attribute [Exclude=ObjC] long selectedIndex;
+                 attribute [Custom] long length
                         setter raises (DOMException);
 
-        void               add(in HTMLOptionElement option, in [Optional] unsigned long index)
+        [Exclude=ObjC] void add(in HTMLOptionElement option, in [Optional] unsigned long index)
              raises (DOMException);
+             
+        [Exclude=JS] Node item(in unsigned long index);
+        [Exclude=JS] Node namedItem(in DOMString name);
+
     };
 }
index 03afaeb9387d2f6ff47056b7ee2f0a6985cde615..a823c9743f484a69e9909ea216d154d519fc5137 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -25,7 +26,7 @@ module html {
         attribute long width;
         
         // Extensions
-        attribute boolean wrap;
+        attribute [Exclude=ObjC] boolean wrap;
     };
 
 }
diff --git a/WebCore/html/HTMLSelectElement.idl b/WebCore/html/HTMLSelectElement.idl
new file mode 100644 (file)
index 0000000..ddef4f9
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+    interface HTMLSelectElement : HTMLElement {
+
+        readonly attribute DOMString       type;
+                 attribute long            selectedIndex;
+                 attribute DOMString       value;
+        
+        // Modified in DOM Level 2:
+        // FIXME: the version of this attribute according to the
+        // dom spec is commented out below it.
+        readonly attribute long            length;
+              /* attribute unsigned long   length
+                    setter raises (DOMException); */
+
+        readonly attribute HTMLFormElement form;
+
+        // Modified in DOM Level 2:
+        readonly attribute [UsesPassRefPtr] HTMLOptionsCollection options;
+
+                 attribute boolean         disabled;
+                 attribute boolean         multiple;
+                 attribute DOMString       name;
+                 attribute long            size;
+                 attribute long            tabIndex;
+        
+        void               add(in HTMLElement element, 
+                               in HTMLElement before)
+            raises(DOMException);
+        void               remove(in long index);
+        void               blur();
+        void               focus();
+
+    };
+
+}
index e00a932daf73fdf6ed4fe844b27127a3bc70d6f8..444ab36c5bfd2db594b6afc006239ad2cb9b77a6 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -25,7 +26,7 @@ module html {
         attribute  DOMString            type;
         
         // DOM Level 2 Style
-        readonly attribute StyleSheet   sheet;
+        readonly attribute [Exclude=ObjC] StyleSheet sheet;
     };
 
 }
diff --git a/WebCore/html/HTMLTableCaptionElement.idl b/WebCore/html/HTMLTableCaptionElement.idl
new file mode 100644 (file)
index 0000000..31882f5
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+    interface HTMLTableCaptionElement : HTMLElement {
+
+        attribute DOMString       align;
+
+    };
+
+}
diff --git a/WebCore/html/HTMLTableCellElement.idl b/WebCore/html/HTMLTableCellElement.idl
new file mode 100644 (file)
index 0000000..da1ba7e
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+    interface HTMLTableCellElement : HTMLElement {
+
+        readonly attribute long            cellIndex;
+                 attribute DOMString       abbr;
+                 attribute DOMString       align;
+                 attribute DOMString       axis;
+                 attribute DOMString       bgColor;
+                 attribute DOMString       ch;
+                 attribute DOMString       chOff;
+                 attribute long            colSpan;
+                 attribute DOMString       headers;
+                 attribute DOMString       height;
+                 attribute boolean         noWrap;
+                 attribute long            rowSpan;
+                 attribute DOMString       scope;
+                 attribute DOMString       vAlign;
+                 attribute DOMString       width;
+
+    };
+
+}
diff --git a/WebCore/html/HTMLTableColElement.idl b/WebCore/html/HTMLTableColElement.idl
new file mode 100644 (file)
index 0000000..9f19a15
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+    interface HTMLTableColElement : HTMLElement {
+
+        attribute DOMString       align;
+        attribute DOMString       ch;
+        attribute DOMString       chOff;
+        attribute long            span;
+        attribute DOMString       vAlign;
+        attribute DOMString       width;
+
+    };
+
+}
diff --git a/WebCore/html/HTMLTableElement.idl b/WebCore/html/HTMLTableElement.idl
new file mode 100644 (file)
index 0000000..a0b6670
--- /dev/null
@@ -0,0 +1,64 @@
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+    interface HTMLTableElement : HTMLElement {
+
+        // FIXME: the dom spec states that the following 3 attributes
+        // could raise excepetions on setting.
+                 attribute HTMLTableCaptionElement caption
+                     /*setter raises (DOMException)*/;
+                 attribute HTMLTableSectionElement tHead
+                     /*setter raises (DOMException)*/;
+                 attribute HTMLTableSectionElement tFoot
+                     /*setter raises (DOMException)*/;
+
+        readonly attribute [UsesPassRefPtr] HTMLCollection rows;
+        readonly attribute [UsesPassRefPtr] HTMLCollection tBodies;
+                 attribute DOMString align;
+                 attribute DOMString bgColor;
+                 attribute DOMString border;
+                 attribute DOMString cellPadding;
+                 attribute DOMString cellSpacing;
+
+        // FIXME: the obj-c attribute is called frameBorders
+                 attribute DOMString frame;
+
+                 attribute DOMString rules;
+                 attribute DOMString summary;
+                 attribute DOMString width;
+
+        HTMLElement        createTHead();
+        void               deleteTHead();
+        HTMLElement        createTFoot();
+        void               deleteTFoot();
+        HTMLElement        createCaption();
+        void               deleteCaption();
+
+        HTMLElement insertRow(in long index)
+            raises (DOMException);
+
+        void deleteRow(in long index)
+            raises (DOMException);
+
+    };
+
+}
diff --git a/WebCore/html/HTMLTableRowElement.idl b/WebCore/html/HTMLTableRowElement.idl
new file mode 100644 (file)
index 0000000..507f022
--- /dev/null
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+    interface HTMLTableRowElement : HTMLElement {
+
+        readonly attribute long            rowIndex;
+        readonly attribute long            sectionRowIndex;
+        readonly attribute [UsesPassRefPtr] HTMLCollection  cells;
+                 attribute DOMString       align;
+                 attribute DOMString       bgColor;
+                 attribute DOMString       ch;
+                 attribute DOMString       chOff;
+                 attribute DOMString       vAlign;
+
+        HTMLElement        insertCell(in long index)
+            raises(DOMException);
+        void               deleteCell(in long index)
+            raises(DOMException);
+
+    };
+
+}
diff --git a/WebCore/html/HTMLTableSectionElement.idl b/WebCore/html/HTMLTableSectionElement.idl
new file mode 100644 (file)
index 0000000..1d55db3
--- /dev/null
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+    interface HTMLTableSectionElement : HTMLElement {
+
+                 attribute DOMString       align;
+                 attribute DOMString       ch;
+                 attribute DOMString       chOff;
+                 attribute DOMString       vAlign;
+        readonly attribute [UsesPassRefPtr] HTMLCollection  rows;
+
+        HTMLElement        insertRow(in long index)
+            raises(DOMException);
+        void               deleteRow(in long index)
+            raises(DOMException);
+
+    };
+
+}
index f4a6322787714f31751046fb8673dce89421d9ca..8ec57934442aca91c2bd1db1a2ecbd8170224627 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -37,9 +38,9 @@ module html {
         void     select();
 
        // WinIE & FireFox extension:
-                 attribute long selectionStart;
-                 attribute long selectionEnd;
-        void setSelectionRange(in long start, in long end);
+                 attribute [Exclude=ObjC] long selectionStart;
+                 attribute [Exclude=ObjC] long selectionEnd;
+        [Exclude=ObjC] void setSelectionRange(in long start, in long end);
     };
 
 }
index 872c873ad70fbc7e24bf6acabe63ae172cd45440..b0ce5a15c2115d44f8ca41de3d3d8bab7757fc27 100644 (file)
@@ -1,3 +1,15 @@
+2006-08-29  Sam Weinig  <sam.weinig@gmail.com>
+
+        Reviewed by Tim H.
+
+        - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10628
+          Auto-generate the remaining Objective-C DOM bindings
+
+          Auto-generates DOMHTMLCollection, DOMHTMLElement, DOMHTMLFormElement,
+          and DOMHTMLOptionsCollection.
+
+        * WebKit.xcodeproj/project.pbxproj:
+
 2006-08-28  Brady Eidson  <beidson@apple.com>
 
         Reviewed by Darin
index 98ff1e175487a309caa9a70b37d240d603610eed..980d4758dcb34ad7344a9cf4b668479de9ad6fa7 100644 (file)
                                93AF52A508254D87005D0156 /* DOMEvents.h */,
                                93AF52A308254D81005D0156 /* DOMExtensions.h */,
                                93AF52A108254D7D005D0156 /* DOMHTML.h */,
+                               850E67DA0A951B4000EFB73A /* DOMHTMLCollection.h */,
+                               856E065F0A93985900A24739 /* DOMHTMLElement.h */,
+                               85DF2EA90AA3824700AD64C5 /* DOMHTMLFormElement.h */,
+                               850E67E00A951B7C00EFB73A /* DOMHTMLOptionsCollection.h */,
                                93AF529F08254D7A005D0156 /* DOMPrivate.h */,
                                93AF529D08254D76005D0156 /* DOMRange.h */,
                                93AF529B08254D62005D0156 /* DOMStylesheets.h */,
                        shellPath = /bin/sh;
                        shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMXPath.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMXPath.h\"";
                };
+               850E67DA0A951B4000EFB73A /* DOMHTMLCollection.h */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                               "$(WEBCORE_PRIVATE_HEADERS_DIR)/DOMHTMLCollection.h",
+                       );
+                       name = DOMHTMLCollection.h;
+                       outputPaths = (
+                               "$(TARGET_BUILD_DIR)/$(PUBLIC_HEADERS_FOLDER_PATH)/DOMHTMLCollection.h",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMHTMLCollection.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMHTMLCollection.h\"";
+               };
+               850E67E00A951B7C00EFB73A /* DOMHTMLOptionsCollection.h */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                               "$(WEBCORE_PRIVATE_HEADERS_DIR)/DOMHTMLOptionsCollection.h",
+                       );
+                       name = DOMHTMLOptionsCollection.h;
+                       outputPaths = (
+                               "$(TARGET_BUILD_DIR)/$(PUBLIC_HEADERS_FOLDER_PATH)/DOMHTMLOptionsCollection.h",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMHTMLOptionsCollection.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMHTMLOptionsCollection.h\"";
+               };
                8526D6410A8FDB84009234B1 /* DOMText.h */ = {
                        isa = PBXShellScriptBuildPhase;
                        buildActionMask = 2147483647;
                        shellPath = /bin/sh;
                        shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMObject.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMObject.h\"";
                };
+               856E065F0A93985900A24739 /* DOMHTMLElement.h */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                               "$(WEBCORE_PRIVATE_HEADERS_DIR)/DOMHTMLElement.h",
+                       );
+                       name = DOMHTMLElement.h;
+                       outputPaths = (
+                               "$(TARGET_BUILD_DIR)/$(PUBLIC_HEADERS_FOLDER_PATH)/DOMHTMLElement.h",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMHTMLElement.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMHTMLElement.h\"";
+               };
                85A5C5E10A9032B300F91F2C /* DOMElement.h */ = {
                        isa = PBXShellScriptBuildPhase;
                        buildActionMask = 2147483647;
                        shellPath = /bin/sh;
                        shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMDocumentFragment.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMDocumentFragment.h\"";
                };
+               85DF2EA90AA3824700AD64C5 /* DOMHTMLFormElement.h */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                               "$(WEBCORE_PRIVATE_HEADERS_DIR)/DOMHTMLFormElement.h",
+                       );
+                       name = DOMHTMLFormElement.h;
+                       outputPaths = (
+                               "$(TARGET_BUILD_DIR)/$(PUBLIC_HEADERS_FOLDER_PATH)/DOMHTMLFormElement.h",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMHTMLFormElement.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMHTMLFormElement.h\"";
+               };
                9339323E0825A64200AADA6B /* npruntime.h */ = {
                        isa = PBXShellScriptBuildPhase;
                        buildActionMask = 2147483647;