+2006-08-31 Sam Weinig <sam.weinig@gmail.com>
+
+ Reviewed by Tim H.
+
+ - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10669
+ Auto-generate the remaining Objective-C HTML DOM bindings
+
+ Auto-generates DOMHTMLAnchorElement, DOMHTMLAreaElement,
+ DOMHTMLBaseFontElement, DOMHTMLFontElement, DOMHTMLFrameElement,
+ DOMHTMLFrameSetElement, DOMHTMLHRElement, DOMHTMLIFrameElement,
+ DOMHTMLImageElement, DOMHTMLMapElement, DOMHTMLModElement,
+ DOMHTMLObjectElement, DOMHTMLParamElement, DOMHTMLScriptElement,
+ DOMHTMLTableCaptionElement, DOMHTMLTableCellElement,
+ DOMHTMLTableColElement, DOMHTMLTableElement, DOMHTMLTableRowElement,
+ and DOMHTMLTableSectionElement.
+
+ Splits DOMHTMLAppletElement and DOMHTMLOptionElement into their own
+ files.
+
+ * DerivedSources.make:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/objc/DOM.mm:
+ * bindings/objc/DOMExtensions.h:
+ * bindings/objc/DOMHTML.h:
+ * bindings/objc/DOMHTML.mm:
+ (-[DOMHTMLAnchorElement absoluteLinkURL]):
+ (-[DOMHTMLImageElement altDisplayString]):
+ (-[DOMHTMLImageElement absoluteImageURL]):
+ (-[DOMHTMLImageElement WebCore::]):
+ (-[DOMHTMLObjectElement absoluteImageURL]):
+ (-[DOMHTMLObjectElement WebCore::]):
+ (+[DOMHTMLTableCaptionElement _tableCaptionElementWith:]):
+ (-[DOMHTMLTableCaptionElement _tableCaptionElement]):
+ (+[DOMHTMLTableSectionElement _tableSectionElementWith:]):
+ (-[DOMHTMLTableSectionElement _tableSectionElement]):
+ (+[DOMHTMLTableElement _tableElementWith:]):
+ (-[DOMHTMLTableElement _tableElement]):
+ (+[DOMHTMLTableCellElement _tableCellElementWith:]):
+ (-[DOMHTMLTableCellElement _tableCellElement]):
+ * bindings/objc/DOMHTMLAppletElement.h: Added.
+ * bindings/objc/DOMHTMLAppletElement.mm: Added.
+ (-[DOMHTMLAppletElement WebCore::]):
+ (-[DOMHTMLAppletElement align]):
+ (-[DOMHTMLAppletElement setAlign:]):
+ (-[DOMHTMLAppletElement alt]):
+ (-[DOMHTMLAppletElement setAlt:]):
+ (-[DOMHTMLAppletElement archive]):
+ (-[DOMHTMLAppletElement setArchive:]):
+ (-[DOMHTMLAppletElement code]):
+ (-[DOMHTMLAppletElement setCode:]):
+ (-[DOMHTMLAppletElement codeBase]):
+ (-[DOMHTMLAppletElement setCodeBase:]):
+ (-[DOMHTMLAppletElement height]):
+ (-[DOMHTMLAppletElement setHeight:]):
+ (-[DOMHTMLAppletElement hspace]):
+ (-[DOMHTMLAppletElement setHspace:]):
+ (-[DOMHTMLAppletElement name]):
+ (-[DOMHTMLAppletElement setName:]):
+ (-[DOMHTMLAppletElement object]):
+ (-[DOMHTMLAppletElement setObject:]):
+ (-[DOMHTMLAppletElement vspace]):
+ (-[DOMHTMLAppletElement setVspace:]):
+ (-[DOMHTMLAppletElement width]):
+ (-[DOMHTMLAppletElement setWidth:]):
+ * bindings/objc/DOMHTMLInternal.h:
+ * bindings/objc/DOMHTMLOptionElement.h: Added.
+ * bindings/objc/DOMHTMLOptionElement.mm: Added.
+ (-[DOMHTMLOptionElement WebCore::]):
+ (-[DOMHTMLOptionElement form]):
+ (-[DOMHTMLOptionElement defaultSelected]):
+ (-[DOMHTMLOptionElement setDefaultSelected:]):
+ (-[DOMHTMLOptionElement text]):
+ (-[DOMHTMLOptionElement index]):
+ (-[DOMHTMLOptionElement disabled]):
+ (-[DOMHTMLOptionElement setDisabled:]):
+ (-[DOMHTMLOptionElement label]):
+ (-[DOMHTMLOptionElement setLabel:]):
+ (-[DOMHTMLOptionElement selected]):
+ (-[DOMHTMLOptionElement setSelected:]):
+ (-[DOMHTMLOptionElement value]):
+ (-[DOMHTMLOptionElement setValue:]):
+ * bindings/objc/DOMPrivate.h:
+ * bindings/scripts/CodeGeneratorObjC.pm:
+
2006-08-31 Alice Liu <alice.liu@apple.com>
Reviewed by Darin.
DOMNotation.h \
DOMProcessingInstruction.h \
DOMText.h \
+ DOMHTMLAnchorElement.h \
+ DOMHTMLAreaElement.h \
DOMHTMLBRElement.h \
DOMHTMLBaseElement.h \
+ DOMHTMLBaseFontElement.h \
DOMHTMLBodyElement.h \
DOMHTMLButtonElement.h \
DOMHTMLCollection.h \
DOMHTMLDivElement.h \
DOMHTMLElement.h \
DOMHTMLFieldSetElement.h \
+ DOMHTMLFontElement.h \
DOMHTMLFormElement.h \
+ DOMHTMLFrameElement.h \
+ DOMHTMLFrameSetElement.h \
+ DOMHTMLHRElement.h \
DOMHTMLHeadElement.h \
DOMHTMLHeadingElement.h \
DOMHTMLHtmlElement.h \
+ DOMHTMLIFrameElement.h \
+ DOMHTMLImageElement.h \
DOMHTMLInputElement.h \
DOMHTMLIsIndexElement.h \
DOMHTMLLIElement.h \
DOMHTMLLabelElement.h \
DOMHTMLLegendElement.h \
DOMHTMLLinkElement.h \
+ DOMHTMLMapElement.h \
DOMHTMLMenuElement.h \
DOMHTMLMetaElement.h \
+ DOMHTMLModElement.h \
DOMHTMLOListElement.h \
+ DOMHTMLObjectElement.h \
DOMHTMLOptGroupElement.h \
DOMHTMLOptionsCollection.h \
DOMHTMLParagraphElement.h \
+ DOMHTMLParamElement.h \
DOMHTMLPreElement.h \
DOMHTMLQuoteElement.h \
+ DOMHTMLScriptElement.h \
DOMHTMLSelectElement.h \
DOMHTMLStyleElement.h \
+ DOMHTMLTableCaptionElement.h \
+ DOMHTMLTableCellElement.h \
+ DOMHTMLTableColElement.h \
+ DOMHTMLTableElement.h \
+ DOMHTMLTableRowElement.h \
+ DOMHTMLTableSectionElement.h \
DOMHTMLTextAreaElement.h \
DOMHTMLTitleElement.h \
DOMHTMLUListElement.h \
8518DD790A9CF31B0091B7A6 /* DOMNamedNodeMap.mm in Sources */ = {isa = PBXBuildFile; fileRef = 8518DD770A9CF31B0091B7A6 /* DOMNamedNodeMap.mm */; };
85217E020A5ECD4700DB8D00 /* XSLImportRule.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 85217E000A5ECD4700DB8D00 /* XSLImportRule.cpp */; };
85217E030A5ECD4700DB8D00 /* XSLImportRule.h in Headers */ = {isa = PBXBuildFile; fileRef = 85217E010A5ECD4700DB8D00 /* XSLImportRule.h */; };
+ 852B9E870AA79C47002ADA6E /* DOMHTMLAppletElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 852B9E830AA79C47002ADA6E /* DOMHTMLAppletElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ 852B9E880AA79C47002ADA6E /* DOMHTMLAppletElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 852B9E840AA79C47002ADA6E /* DOMHTMLAppletElement.mm */; };
+ 852B9E890AA79C47002ADA6E /* DOMHTMLOptionElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 852B9E850AA79C47002ADA6E /* DOMHTMLOptionElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ 852B9E8A0AA79C47002ADA6E /* DOMHTMLOptionElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 852B9E860AA79C47002ADA6E /* DOMHTMLOptionElement.mm */; };
854FE7300A2297BE0058D7AD /* NodeFilter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 854FE7260A2297BE0058D7AD /* NodeFilter.cpp */; };
854FE7310A2297BE0058D7AD /* NodeFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = 854FE7270A2297BE0058D7AD /* NodeFilter.h */; };
854FE7320A2297BE0058D7AD /* NodeFilterCondition.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 854FE7280A2297BE0058D7AD /* NodeFilterCondition.cpp */; };
85DF2F8F0AA3C88100AD64C5 /* DOMHTMLCollection.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF2F8D0AA3C88100AD64C5 /* DOMHTMLCollection.mm */; };
85DF2F9B0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF2F990AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h */; settings = {ATTRIBUTES = (); }; };
85DF2F9C0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF2F9A0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.mm */; };
+ 85DF81270AA7787200486AD7 /* DOMHTMLAnchorElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF81210AA7787200486AD7 /* DOMHTMLAnchorElement.h */; };
+ 85DF81280AA7787200486AD7 /* DOMHTMLAnchorElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF81220AA7787200486AD7 /* DOMHTMLAnchorElement.mm */; };
+ 85DF81290AA7787200486AD7 /* DOMHTMLImageElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF81230AA7787200486AD7 /* DOMHTMLImageElement.h */; };
+ 85DF812A0AA7787200486AD7 /* DOMHTMLImageElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF81240AA7787200486AD7 /* DOMHTMLImageElement.mm */; };
+ 85DF812B0AA7787200486AD7 /* DOMHTMLObjectElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF81250AA7787200486AD7 /* DOMHTMLObjectElement.h */; };
+ 85DF812C0AA7787200486AD7 /* DOMHTMLObjectElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF81260AA7787200486AD7 /* DOMHTMLObjectElement.mm */; };
+ 85DF812D0AA778A300486AD7 /* DOMHTMLAnchorElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF81210AA7787200486AD7 /* DOMHTMLAnchorElement.h */; };
+ 85DF812E0AA778A300486AD7 /* DOMHTMLImageElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF81230AA7787200486AD7 /* DOMHTMLImageElement.h */; };
+ 85DF812F0AA778A300486AD7 /* DOMHTMLObjectElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF81250AA7787200486AD7 /* DOMHTMLObjectElement.h */; };
+ 85DF81950AA77E4B00486AD7 /* DOMHTMLFrameElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF818D0AA77E4B00486AD7 /* DOMHTMLFrameElement.h */; };
+ 85DF81960AA77E4B00486AD7 /* DOMHTMLFrameElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF818E0AA77E4B00486AD7 /* DOMHTMLFrameElement.mm */; };
+ 85DF81970AA77E4B00486AD7 /* DOMHTMLFrameSetElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF818F0AA77E4B00486AD7 /* DOMHTMLFrameSetElement.h */; };
+ 85DF81980AA77E4B00486AD7 /* DOMHTMLFrameSetElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF81900AA77E4B00486AD7 /* DOMHTMLFrameSetElement.mm */; };
+ 85DF81990AA77E4B00486AD7 /* DOMHTMLIFrameElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF81910AA77E4B00486AD7 /* DOMHTMLIFrameElement.h */; };
+ 85DF819A0AA77E4B00486AD7 /* DOMHTMLIFrameElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF81920AA77E4B00486AD7 /* DOMHTMLIFrameElement.mm */; };
+ 85DF819B0AA77E4B00486AD7 /* DOMHTMLScriptElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF81930AA77E4B00486AD7 /* DOMHTMLScriptElement.h */; };
+ 85DF819C0AA77E4B00486AD7 /* DOMHTMLScriptElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF81940AA77E4B00486AD7 /* DOMHTMLScriptElement.mm */; };
+ 85DF819D0AA77E7E00486AD7 /* DOMHTMLFrameElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF818D0AA77E4B00486AD7 /* DOMHTMLFrameElement.h */; };
+ 85DF819E0AA77E7E00486AD7 /* DOMHTMLFrameSetElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF818F0AA77E4B00486AD7 /* DOMHTMLFrameSetElement.h */; };
+ 85DF819F0AA77E7E00486AD7 /* DOMHTMLIFrameElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF81910AA77E4B00486AD7 /* DOMHTMLIFrameElement.h */; };
+ 85DF81A00AA77E7E00486AD7 /* DOMHTMLScriptElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF81930AA77E4B00486AD7 /* DOMHTMLScriptElement.h */; };
+ 85DF821D0AA7849E00486AD7 /* DOMHTMLTableCaptionElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF82130AA7849E00486AD7 /* DOMHTMLTableCaptionElement.h */; };
+ 85DF821E0AA7849E00486AD7 /* DOMHTMLTableCaptionElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF82140AA7849E00486AD7 /* DOMHTMLTableCaptionElement.mm */; };
+ 85DF821F0AA7849E00486AD7 /* DOMHTMLTableCellElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF82150AA7849E00486AD7 /* DOMHTMLTableCellElement.h */; };
+ 85DF82200AA7849E00486AD7 /* DOMHTMLTableCellElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF82160AA7849E00486AD7 /* DOMHTMLTableCellElement.mm */; };
+ 85DF82210AA7849E00486AD7 /* DOMHTMLTableColElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF82170AA7849E00486AD7 /* DOMHTMLTableColElement.h */; };
+ 85DF82220AA7849E00486AD7 /* DOMHTMLTableColElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF82180AA7849E00486AD7 /* DOMHTMLTableColElement.mm */; };
+ 85DF82230AA7849E00486AD7 /* DOMHTMLTableRowElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF82190AA7849E00486AD7 /* DOMHTMLTableRowElement.h */; };
+ 85DF82240AA7849E00486AD7 /* DOMHTMLTableRowElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF821A0AA7849E00486AD7 /* DOMHTMLTableRowElement.mm */; };
+ 85DF82250AA7849E00486AD7 /* DOMHTMLTableSectionElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF821B0AA7849E00486AD7 /* DOMHTMLTableSectionElement.h */; };
+ 85DF82260AA7849E00486AD7 /* DOMHTMLTableSectionElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF821C0AA7849E00486AD7 /* DOMHTMLTableSectionElement.mm */; };
+ 85DF822F0AA7866800486AD7 /* DOMHTMLTableCaptionElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF82130AA7849E00486AD7 /* DOMHTMLTableCaptionElement.h */; };
+ 85DF82300AA7866800486AD7 /* DOMHTMLTableCellElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF82150AA7849E00486AD7 /* DOMHTMLTableCellElement.h */; };
+ 85DF82310AA7866800486AD7 /* DOMHTMLTableColElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF82170AA7849E00486AD7 /* DOMHTMLTableColElement.h */; };
+ 85DF82320AA7866800486AD7 /* DOMHTMLTableRowElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF82190AA7849E00486AD7 /* DOMHTMLTableRowElement.h */; };
+ 85DF82330AA7866800486AD7 /* DOMHTMLTableSectionElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF821B0AA7849E00486AD7 /* DOMHTMLTableSectionElement.h */; };
+ 85DF82700AA78B8B00486AD7 /* DOMHTMLTableElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF826E0AA78B8A00486AD7 /* DOMHTMLTableElement.h */; };
+ 85DF82710AA78B8B00486AD7 /* DOMHTMLTableElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF826F0AA78B8A00486AD7 /* DOMHTMLTableElement.mm */; };
+ 85DF82740AA78C7300486AD7 /* DOMHTMLTableElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF826E0AA78B8A00486AD7 /* DOMHTMLTableElement.h */; };
85EC9AFA0A71A2C600EEEAED /* FontData.h in Headers */ = {isa = PBXBuildFile; fileRef = 85EC9AF80A71A2C600EEEAED /* FontData.h */; };
85EC9AFB0A71A2C600EEEAED /* Language.h in Headers */ = {isa = PBXBuildFile; fileRef = 85EC9AF90A71A2C600EEEAED /* Language.h */; };
+ 85ECBEEB0AA7626900544F0B /* DOMHTMLAreaElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ECBEDD0AA7626800544F0B /* DOMHTMLAreaElement.h */; };
+ 85ECBEEC0AA7626900544F0B /* DOMHTMLAreaElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85ECBEDE0AA7626800544F0B /* DOMHTMLAreaElement.mm */; };
+ 85ECBEED0AA7626900544F0B /* DOMHTMLBaseFontElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ECBEDF0AA7626800544F0B /* DOMHTMLBaseFontElement.h */; };
+ 85ECBEEE0AA7626900544F0B /* DOMHTMLBaseFontElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85ECBEE00AA7626800544F0B /* DOMHTMLBaseFontElement.mm */; };
+ 85ECBEEF0AA7626900544F0B /* DOMHTMLFontElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ECBEE10AA7626800544F0B /* DOMHTMLFontElement.h */; };
+ 85ECBEF00AA7626900544F0B /* DOMHTMLFontElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85ECBEE20AA7626800544F0B /* DOMHTMLFontElement.mm */; };
+ 85ECBEF10AA7626900544F0B /* DOMHTMLHRElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ECBEE30AA7626800544F0B /* DOMHTMLHRElement.h */; };
+ 85ECBEF20AA7626900544F0B /* DOMHTMLHRElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85ECBEE40AA7626800544F0B /* DOMHTMLHRElement.mm */; };
+ 85ECBEF30AA7626900544F0B /* DOMHTMLMapElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ECBEE50AA7626800544F0B /* DOMHTMLMapElement.h */; };
+ 85ECBEF40AA7626900544F0B /* DOMHTMLMapElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85ECBEE60AA7626800544F0B /* DOMHTMLMapElement.mm */; };
+ 85ECBEF50AA7626900544F0B /* DOMHTMLModElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ECBEE70AA7626800544F0B /* DOMHTMLModElement.h */; };
+ 85ECBEF60AA7626900544F0B /* DOMHTMLModElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85ECBEE80AA7626900544F0B /* DOMHTMLModElement.mm */; };
+ 85ECBEF70AA7626900544F0B /* DOMHTMLParamElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ECBEE90AA7626900544F0B /* DOMHTMLParamElement.h */; };
+ 85ECBEF80AA7626900544F0B /* DOMHTMLParamElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85ECBEEA0AA7626900544F0B /* DOMHTMLParamElement.mm */; };
+ 85ECBF080AA7628900544F0B /* DOMHTMLAreaElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85ECBEDD0AA7626800544F0B /* DOMHTMLAreaElement.h */; };
+ 85ECBF090AA7628900544F0B /* DOMHTMLBaseFontElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85ECBEDF0AA7626800544F0B /* DOMHTMLBaseFontElement.h */; };
+ 85ECBF0A0AA7628900544F0B /* DOMHTMLFontElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85ECBEE10AA7626800544F0B /* DOMHTMLFontElement.h */; };
+ 85ECBF0B0AA7628900544F0B /* DOMHTMLHRElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85ECBEE30AA7626800544F0B /* DOMHTMLHRElement.h */; };
+ 85ECBF0C0AA7628900544F0B /* DOMHTMLMapElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85ECBEE50AA7626800544F0B /* DOMHTMLMapElement.h */; };
+ 85ECBF0D0AA7628900544F0B /* DOMHTMLModElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85ECBEE70AA7626800544F0B /* DOMHTMLModElement.h */; };
+ 85ECBF0E0AA7628900544F0B /* DOMHTMLParamElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85ECBEE90AA7626900544F0B /* DOMHTMLParamElement.h */; };
85F32AEC0AA63B8700FF3184 /* DOMHTMLInputElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85F32AE40AA63B8700FF3184 /* DOMHTMLInputElement.h */; };
85F32AED0AA63B8700FF3184 /* DOMHTMLInputElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85F32AE50AA63B8700FF3184 /* DOMHTMLInputElement.mm */; };
85F32AEE0AA63B8700FF3184 /* DOMHTMLOptGroupElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85F32AE60AA63B8700FF3184 /* DOMHTMLOptGroupElement.h */; };
85183B5B0AA6928600F19FA3 /* DOMHTMLParagraphElement.h in CopyFiles */,
85183B5C0AA6928600F19FA3 /* DOMHTMLPreElement.h in CopyFiles */,
85183B5D0AA6928600F19FA3 /* DOMHTMLQuoteElement.h in CopyFiles */,
+ 85ECBF080AA7628900544F0B /* DOMHTMLAreaElement.h in CopyFiles */,
+ 85ECBF090AA7628900544F0B /* DOMHTMLBaseFontElement.h in CopyFiles */,
+ 85ECBF0A0AA7628900544F0B /* DOMHTMLFontElement.h in CopyFiles */,
+ 85ECBF0B0AA7628900544F0B /* DOMHTMLHRElement.h in CopyFiles */,
+ 85ECBF0C0AA7628900544F0B /* DOMHTMLMapElement.h in CopyFiles */,
+ 85ECBF0D0AA7628900544F0B /* DOMHTMLModElement.h in CopyFiles */,
+ 85ECBF0E0AA7628900544F0B /* DOMHTMLParamElement.h in CopyFiles */,
+ 85DF812D0AA778A300486AD7 /* DOMHTMLAnchorElement.h in CopyFiles */,
+ 85DF812E0AA778A300486AD7 /* DOMHTMLImageElement.h in CopyFiles */,
+ 85DF812F0AA778A300486AD7 /* DOMHTMLObjectElement.h in CopyFiles */,
+ 85DF819D0AA77E7E00486AD7 /* DOMHTMLFrameElement.h in CopyFiles */,
+ 85DF819E0AA77E7E00486AD7 /* DOMHTMLFrameSetElement.h in CopyFiles */,
+ 85DF819F0AA77E7E00486AD7 /* DOMHTMLIFrameElement.h in CopyFiles */,
+ 85DF81A00AA77E7E00486AD7 /* DOMHTMLScriptElement.h in CopyFiles */,
+ 85DF822F0AA7866800486AD7 /* DOMHTMLTableCaptionElement.h in CopyFiles */,
+ 85DF82300AA7866800486AD7 /* DOMHTMLTableCellElement.h in CopyFiles */,
+ 85DF82310AA7866800486AD7 /* DOMHTMLTableColElement.h in CopyFiles */,
+ 85DF82740AA78C7300486AD7 /* DOMHTMLTableElement.h in CopyFiles */,
+ 85DF82320AA7866800486AD7 /* DOMHTMLTableRowElement.h in CopyFiles */,
+ 85DF82330AA7866800486AD7 /* DOMHTMLTableSectionElement.h in CopyFiles */,
);
runOnlyForDeploymentPostprocessing = 0;
};
8518DD770A9CF31B0091B7A6 /* DOMNamedNodeMap.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMNamedNodeMap.mm; sourceTree = "<group>"; };
85217E000A5ECD4700DB8D00 /* XSLImportRule.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = XSLImportRule.cpp; sourceTree = "<group>"; };
85217E010A5ECD4700DB8D00 /* XSLImportRule.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = XSLImportRule.h; sourceTree = "<group>"; };
+ 852B9E830AA79C47002ADA6E /* DOMHTMLAppletElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLAppletElement.h; sourceTree = "<group>"; };
+ 852B9E840AA79C47002ADA6E /* DOMHTMLAppletElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLAppletElement.mm; sourceTree = "<group>"; };
+ 852B9E850AA79C47002ADA6E /* DOMHTMLOptionElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLOptionElement.h; sourceTree = "<group>"; };
+ 852B9E860AA79C47002ADA6E /* DOMHTMLOptionElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLOptionElement.mm; sourceTree = "<group>"; };
854FE7260A2297BE0058D7AD /* NodeFilter.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = NodeFilter.cpp; sourceTree = "<group>"; };
854FE7270A2297BE0058D7AD /* NodeFilter.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NodeFilter.h; sourceTree = "<group>"; };
854FE7280A2297BE0058D7AD /* NodeFilterCondition.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = NodeFilterCondition.cpp; 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>"; };
+ 85DF81210AA7787200486AD7 /* DOMHTMLAnchorElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLAnchorElement.h; sourceTree = "<group>"; };
+ 85DF81220AA7787200486AD7 /* DOMHTMLAnchorElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLAnchorElement.mm; sourceTree = "<group>"; };
+ 85DF81230AA7787200486AD7 /* DOMHTMLImageElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLImageElement.h; sourceTree = "<group>"; };
+ 85DF81240AA7787200486AD7 /* DOMHTMLImageElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLImageElement.mm; sourceTree = "<group>"; };
+ 85DF81250AA7787200486AD7 /* DOMHTMLObjectElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLObjectElement.h; sourceTree = "<group>"; };
+ 85DF81260AA7787200486AD7 /* DOMHTMLObjectElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLObjectElement.mm; sourceTree = "<group>"; };
+ 85DF818D0AA77E4B00486AD7 /* DOMHTMLFrameElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLFrameElement.h; sourceTree = "<group>"; };
+ 85DF818E0AA77E4B00486AD7 /* DOMHTMLFrameElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLFrameElement.mm; sourceTree = "<group>"; };
+ 85DF818F0AA77E4B00486AD7 /* DOMHTMLFrameSetElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLFrameSetElement.h; sourceTree = "<group>"; };
+ 85DF81900AA77E4B00486AD7 /* DOMHTMLFrameSetElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLFrameSetElement.mm; sourceTree = "<group>"; };
+ 85DF81910AA77E4B00486AD7 /* DOMHTMLIFrameElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLIFrameElement.h; sourceTree = "<group>"; };
+ 85DF81920AA77E4B00486AD7 /* DOMHTMLIFrameElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLIFrameElement.mm; sourceTree = "<group>"; };
+ 85DF81930AA77E4B00486AD7 /* DOMHTMLScriptElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLScriptElement.h; sourceTree = "<group>"; };
+ 85DF81940AA77E4B00486AD7 /* DOMHTMLScriptElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLScriptElement.mm; sourceTree = "<group>"; };
+ 85DF82130AA7849E00486AD7 /* DOMHTMLTableCaptionElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLTableCaptionElement.h; sourceTree = "<group>"; };
+ 85DF82140AA7849E00486AD7 /* DOMHTMLTableCaptionElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLTableCaptionElement.mm; sourceTree = "<group>"; };
+ 85DF82150AA7849E00486AD7 /* DOMHTMLTableCellElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLTableCellElement.h; sourceTree = "<group>"; };
+ 85DF82160AA7849E00486AD7 /* DOMHTMLTableCellElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLTableCellElement.mm; sourceTree = "<group>"; };
+ 85DF82170AA7849E00486AD7 /* DOMHTMLTableColElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLTableColElement.h; sourceTree = "<group>"; };
+ 85DF82180AA7849E00486AD7 /* DOMHTMLTableColElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLTableColElement.mm; sourceTree = "<group>"; };
+ 85DF82190AA7849E00486AD7 /* DOMHTMLTableRowElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLTableRowElement.h; sourceTree = "<group>"; };
+ 85DF821A0AA7849E00486AD7 /* DOMHTMLTableRowElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLTableRowElement.mm; sourceTree = "<group>"; };
+ 85DF821B0AA7849E00486AD7 /* DOMHTMLTableSectionElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLTableSectionElement.h; sourceTree = "<group>"; };
+ 85DF821C0AA7849E00486AD7 /* DOMHTMLTableSectionElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLTableSectionElement.mm; sourceTree = "<group>"; };
+ 85DF826E0AA78B8A00486AD7 /* DOMHTMLTableElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLTableElement.h; sourceTree = "<group>"; };
+ 85DF826F0AA78B8A00486AD7 /* DOMHTMLTableElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLTableElement.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>"; };
+ 85ECBEDD0AA7626800544F0B /* DOMHTMLAreaElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLAreaElement.h; sourceTree = "<group>"; };
+ 85ECBEDE0AA7626800544F0B /* DOMHTMLAreaElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLAreaElement.mm; sourceTree = "<group>"; };
+ 85ECBEDF0AA7626800544F0B /* DOMHTMLBaseFontElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLBaseFontElement.h; sourceTree = "<group>"; };
+ 85ECBEE00AA7626800544F0B /* DOMHTMLBaseFontElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLBaseFontElement.mm; sourceTree = "<group>"; };
+ 85ECBEE10AA7626800544F0B /* DOMHTMLFontElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLFontElement.h; sourceTree = "<group>"; };
+ 85ECBEE20AA7626800544F0B /* DOMHTMLFontElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLFontElement.mm; sourceTree = "<group>"; };
+ 85ECBEE30AA7626800544F0B /* DOMHTMLHRElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLHRElement.h; sourceTree = "<group>"; };
+ 85ECBEE40AA7626800544F0B /* DOMHTMLHRElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLHRElement.mm; sourceTree = "<group>"; };
+ 85ECBEE50AA7626800544F0B /* DOMHTMLMapElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLMapElement.h; sourceTree = "<group>"; };
+ 85ECBEE60AA7626800544F0B /* DOMHTMLMapElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLMapElement.mm; sourceTree = "<group>"; };
+ 85ECBEE70AA7626800544F0B /* DOMHTMLModElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLModElement.h; sourceTree = "<group>"; };
+ 85ECBEE80AA7626900544F0B /* DOMHTMLModElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLModElement.mm; sourceTree = "<group>"; };
+ 85ECBEE90AA7626900544F0B /* DOMHTMLParamElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLParamElement.h; sourceTree = "<group>"; };
+ 85ECBEEA0AA7626900544F0B /* DOMHTMLParamElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLParamElement.mm; sourceTree = "<group>"; };
85F32AE40AA63B8700FF3184 /* DOMHTMLInputElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLInputElement.h; sourceTree = "<group>"; };
85F32AE50AA63B8700FF3184 /* DOMHTMLInputElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLInputElement.mm; sourceTree = "<group>"; };
85F32AE60AA63B8700FF3184 /* DOMHTMLOptGroupElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLOptGroupElement.h; sourceTree = "<group>"; };
85992FC20AA5DD4600AC0785 /* HTML */ = {
isa = PBXGroup;
children = (
+ 852B9E830AA79C47002ADA6E /* DOMHTMLAppletElement.h */,
+ 852B9E840AA79C47002ADA6E /* DOMHTMLAppletElement.mm */,
85992FBE0AA5DD4000AC0785 /* DOMHTMLDocument.h */,
85992FBF0AA5DD4000AC0785 /* DOMHTMLDocument.mm */,
+ 852B9E850AA79C47002ADA6E /* DOMHTMLOptionElement.h */,
+ 852B9E860AA79C47002ADA6E /* DOMHTMLOptionElement.mm */,
);
name = HTML;
sourceTree = "<group>";
85F56A790A98CE3700ADB60A /* DOMProcessingInstruction.mm */,
85ACA99A0A9B575900671E90 /* DOMText.h */,
85ACA99B0A9B575900671E90 /* DOMText.mm */,
+ 85DF81210AA7787200486AD7 /* DOMHTMLAnchorElement.h */,
+ 85DF81220AA7787200486AD7 /* DOMHTMLAnchorElement.mm */,
+ 85ECBEDD0AA7626800544F0B /* DOMHTMLAreaElement.h */,
+ 85ECBEDE0AA7626800544F0B /* DOMHTMLAreaElement.mm */,
+ 85183B380AA6926100F19FA3 /* DOMHTMLBRElement.h */,
+ 85183B390AA6926100F19FA3 /* DOMHTMLBRElement.mm */,
+ 859A9C3D0AA5E3BD00B694B2 /* DOMHTMLBaseElement.h */,
+ 859A9C3E0AA5E3BD00B694B2 /* DOMHTMLBaseElement.mm */,
+ 85ECBEDF0AA7626800544F0B /* DOMHTMLBaseFontElement.h */,
+ 85ECBEE00AA7626800544F0B /* DOMHTMLBaseFontElement.mm */,
+ 859A9C3F0AA5E3BD00B694B2 /* DOMHTMLBodyElement.h */,
+ 859A9C400AA5E3BD00B694B2 /* DOMHTMLBodyElement.mm */,
+ 85BA4CD50AA6861B0088052D /* DOMHTMLButtonElement.h */,
+ 85BA4CD60AA6861B0088052D /* DOMHTMLButtonElement.mm */,
85DF2F8C0AA3C88100AD64C5 /* DOMHTMLCollection.h */,
85DF2F8D0AA3C88100AD64C5 /* DOMHTMLCollection.mm */,
+ 85BA4D010AA688680088052D /* DOMHTMLDListElement.h */,
+ 85BA4D020AA688680088052D /* DOMHTMLDListElement.mm */,
+ 85BA4CFD0AA688680088052D /* DOMHTMLDirectoryElement.h */,
+ 85BA4CFE0AA688680088052D /* DOMHTMLDirectoryElement.mm */,
+ 85BA4CFF0AA688680088052D /* DOMHTMLDivElement.h */,
+ 85BA4D000AA688680088052D /* DOMHTMLDivElement.mm */,
85DF2EEB0AA387CB00AD64C5 /* DOMHTMLElement.h */,
85DF2EEC0AA387CB00AD64C5 /* DOMHTMLElement.mm */,
+ 85BA4CD70AA6861B0088052D /* DOMHTMLFieldSetElement.h */,
+ 85BA4CD80AA6861B0088052D /* DOMHTMLFieldSetElement.mm */,
+ 85ECBEE10AA7626800544F0B /* DOMHTMLFontElement.h */,
+ 85ECBEE20AA7626800544F0B /* DOMHTMLFontElement.mm */,
85DF2C100AA341F600AD64C5 /* DOMHTMLFormElement.h */,
85DF2C110AA341F600AD64C5 /* DOMHTMLFormElement.mm */,
+ 85DF818D0AA77E4B00486AD7 /* DOMHTMLFrameElement.h */,
+ 85DF818E0AA77E4B00486AD7 /* DOMHTMLFrameElement.mm */,
+ 85DF818F0AA77E4B00486AD7 /* DOMHTMLFrameSetElement.h */,
+ 85DF81900AA77E4B00486AD7 /* DOMHTMLFrameSetElement.mm */,
+ 85ECBEE30AA7626800544F0B /* DOMHTMLHRElement.h */,
+ 85ECBEE40AA7626800544F0B /* DOMHTMLHRElement.mm */,
85992EB20AA5069500AC0785 /* DOMHTMLHeadElement.h */,
85992EB30AA5069500AC0785 /* DOMHTMLHeadElement.mm */,
+ 85183B3A0AA6926100F19FA3 /* DOMHTMLHeadingElement.h */,
+ 85183B3B0AA6926100F19FA3 /* DOMHTMLHeadingElement.mm */,
85992EB40AA5069500AC0785 /* DOMHTMLHtmlElement.h */,
85992EB50AA5069500AC0785 /* DOMHTMLHtmlElement.mm */,
- 85992EB60AA5069500AC0785 /* DOMHTMLLinkElement.h */,
- 85992EB70AA5069500AC0785 /* DOMHTMLLinkElement.mm */,
- 85DF2F990AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h */,
- 85DF2F9A0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.mm */,
- 85992EB80AA5069500AC0785 /* DOMHTMLTitleElement.h */,
- 85992EB90AA5069500AC0785 /* DOMHTMLTitleElement.mm */,
- 859A9C3D0AA5E3BD00B694B2 /* DOMHTMLBaseElement.h */,
- 859A9C3E0AA5E3BD00B694B2 /* DOMHTMLBaseElement.mm */,
- 859A9C3F0AA5E3BD00B694B2 /* DOMHTMLBodyElement.h */,
- 859A9C400AA5E3BD00B694B2 /* DOMHTMLBodyElement.mm */,
- 859A9C410AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.h */,
- 859A9C420AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.mm */,
- 859A9C430AA5E3BD00B694B2 /* DOMHTMLMetaElement.h */,
- 859A9C440AA5E3BD00B694B2 /* DOMHTMLMetaElement.mm */,
- 859A9C450AA5E3BD00B694B2 /* DOMHTMLStyleElement.h */,
- 859A9C460AA5E3BD00B694B2 /* DOMHTMLStyleElement.mm */,
+ 85DF81910AA77E4B00486AD7 /* DOMHTMLIFrameElement.h */,
+ 85DF81920AA77E4B00486AD7 /* DOMHTMLIFrameElement.mm */,
+ 85DF81230AA7787200486AD7 /* DOMHTMLImageElement.h */,
+ 85DF81240AA7787200486AD7 /* DOMHTMLImageElement.mm */,
85F32AE40AA63B8700FF3184 /* DOMHTMLInputElement.h */,
85F32AE50AA63B8700FF3184 /* DOMHTMLInputElement.mm */,
- 85F32AE60AA63B8700FF3184 /* DOMHTMLOptGroupElement.h */,
- 85F32AE70AA63B8700FF3184 /* DOMHTMLOptGroupElement.mm */,
- 85F32AE80AA63B8700FF3184 /* DOMHTMLSelectElement.h */,
- 85F32AE90AA63B8700FF3184 /* DOMHTMLSelectElement.mm */,
- 85F32AEA0AA63B8700FF3184 /* DOMHTMLTextAreaElement.h */,
- 85F32AEB0AA63B8700FF3184 /* DOMHTMLTextAreaElement.mm */,
- 85BA4CD50AA6861B0088052D /* DOMHTMLButtonElement.h */,
- 85BA4CD60AA6861B0088052D /* DOMHTMLButtonElement.mm */,
- 85BA4CD70AA6861B0088052D /* DOMHTMLFieldSetElement.h */,
- 85BA4CD80AA6861B0088052D /* DOMHTMLFieldSetElement.mm */,
+ 859A9C410AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.h */,
+ 859A9C420AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.mm */,
+ 85BA4D030AA688680088052D /* DOMHTMLLIElement.h */,
+ 85BA4D040AA688680088052D /* DOMHTMLLIElement.mm */,
85BA4CD90AA6861B0088052D /* DOMHTMLLabelElement.h */,
85BA4CDA0AA6861B0088052D /* DOMHTMLLabelElement.mm */,
85BA4CDB0AA6861B0088052D /* DOMHTMLLegendElement.h */,
85BA4CDC0AA6861B0088052D /* DOMHTMLLegendElement.mm */,
- 85BA4CFD0AA688680088052D /* DOMHTMLDirectoryElement.h */,
- 85BA4CFE0AA688680088052D /* DOMHTMLDirectoryElement.mm */,
- 85BA4CFF0AA688680088052D /* DOMHTMLDivElement.h */,
- 85BA4D000AA688680088052D /* DOMHTMLDivElement.mm */,
- 85BA4D010AA688680088052D /* DOMHTMLDListElement.h */,
- 85BA4D020AA688680088052D /* DOMHTMLDListElement.mm */,
- 85BA4D030AA688680088052D /* DOMHTMLLIElement.h */,
- 85BA4D040AA688680088052D /* DOMHTMLLIElement.mm */,
+ 85992EB60AA5069500AC0785 /* DOMHTMLLinkElement.h */,
+ 85992EB70AA5069500AC0785 /* DOMHTMLLinkElement.mm */,
+ 85ECBEE50AA7626800544F0B /* DOMHTMLMapElement.h */,
+ 85ECBEE60AA7626800544F0B /* DOMHTMLMapElement.mm */,
85BA4D050AA688680088052D /* DOMHTMLMenuElement.h */,
85BA4D060AA688680088052D /* DOMHTMLMenuElement.mm */,
+ 859A9C430AA5E3BD00B694B2 /* DOMHTMLMetaElement.h */,
+ 859A9C440AA5E3BD00B694B2 /* DOMHTMLMetaElement.mm */,
+ 85ECBEE70AA7626800544F0B /* DOMHTMLModElement.h */,
+ 85ECBEE80AA7626900544F0B /* DOMHTMLModElement.mm */,
85BA4D070AA688680088052D /* DOMHTMLOListElement.h */,
85BA4D080AA688680088052D /* DOMHTMLOListElement.mm */,
- 85BA4D090AA688680088052D /* DOMHTMLUListElement.h */,
- 85BA4D0A0AA688680088052D /* DOMHTMLUListElement.mm */,
- 85183B380AA6926100F19FA3 /* DOMHTMLBRElement.h */,
- 85183B390AA6926100F19FA3 /* DOMHTMLBRElement.mm */,
- 85183B3A0AA6926100F19FA3 /* DOMHTMLHeadingElement.h */,
- 85183B3B0AA6926100F19FA3 /* DOMHTMLHeadingElement.mm */,
+ 85DF81250AA7787200486AD7 /* DOMHTMLObjectElement.h */,
+ 85DF81260AA7787200486AD7 /* DOMHTMLObjectElement.mm */,
+ 85F32AE60AA63B8700FF3184 /* DOMHTMLOptGroupElement.h */,
+ 85F32AE70AA63B8700FF3184 /* DOMHTMLOptGroupElement.mm */,
+ 85DF2F990AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h */,
+ 85DF2F9A0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.mm */,
85183B3C0AA6926100F19FA3 /* DOMHTMLParagraphElement.h */,
85183B3D0AA6926100F19FA3 /* DOMHTMLParagraphElement.mm */,
+ 85ECBEE90AA7626900544F0B /* DOMHTMLParamElement.h */,
+ 85ECBEEA0AA7626900544F0B /* DOMHTMLParamElement.mm */,
85183B3E0AA6926100F19FA3 /* DOMHTMLPreElement.h */,
85183B3F0AA6926100F19FA3 /* DOMHTMLPreElement.mm */,
85183B400AA6926100F19FA3 /* DOMHTMLQuoteElement.h */,
85183B410AA6926100F19FA3 /* DOMHTMLQuoteElement.mm */,
+ 85DF81930AA77E4B00486AD7 /* DOMHTMLScriptElement.h */,
+ 85DF81940AA77E4B00486AD7 /* DOMHTMLScriptElement.mm */,
+ 85F32AE80AA63B8700FF3184 /* DOMHTMLSelectElement.h */,
+ 85F32AE90AA63B8700FF3184 /* DOMHTMLSelectElement.mm */,
+ 859A9C450AA5E3BD00B694B2 /* DOMHTMLStyleElement.h */,
+ 859A9C460AA5E3BD00B694B2 /* DOMHTMLStyleElement.mm */,
+ 85DF82130AA7849E00486AD7 /* DOMHTMLTableCaptionElement.h */,
+ 85DF82140AA7849E00486AD7 /* DOMHTMLTableCaptionElement.mm */,
+ 85DF82150AA7849E00486AD7 /* DOMHTMLTableCellElement.h */,
+ 85DF82160AA7849E00486AD7 /* DOMHTMLTableCellElement.mm */,
+ 85DF82170AA7849E00486AD7 /* DOMHTMLTableColElement.h */,
+ 85DF82180AA7849E00486AD7 /* DOMHTMLTableColElement.mm */,
+ 85DF826E0AA78B8A00486AD7 /* DOMHTMLTableElement.h */,
+ 85DF826F0AA78B8A00486AD7 /* DOMHTMLTableElement.mm */,
+ 85DF82190AA7849E00486AD7 /* DOMHTMLTableRowElement.h */,
+ 85DF821A0AA7849E00486AD7 /* DOMHTMLTableRowElement.mm */,
+ 85DF821B0AA7849E00486AD7 /* DOMHTMLTableSectionElement.h */,
+ 85DF821C0AA7849E00486AD7 /* DOMHTMLTableSectionElement.mm */,
+ 85F32AEA0AA63B8700FF3184 /* DOMHTMLTextAreaElement.h */,
+ 85F32AEB0AA63B8700FF3184 /* DOMHTMLTextAreaElement.mm */,
+ 85992EB80AA5069500AC0785 /* DOMHTMLTitleElement.h */,
+ 85992EB90AA5069500AC0785 /* DOMHTMLTitleElement.mm */,
+ 85BA4D090AA688680088052D /* DOMHTMLUListElement.h */,
+ 85BA4D0A0AA688680088052D /* DOMHTMLUListElement.mm */,
);
name = "Derived Sources";
path = DerivedSources/WebCore;
85183B460AA6926100F19FA3 /* DOMHTMLParagraphElement.h in Headers */,
85183B480AA6926100F19FA3 /* DOMHTMLPreElement.h in Headers */,
85183B4A0AA6926100F19FA3 /* DOMHTMLQuoteElement.h in Headers */,
+ 85ECBEEB0AA7626900544F0B /* DOMHTMLAreaElement.h in Headers */,
+ 85ECBEED0AA7626900544F0B /* DOMHTMLBaseFontElement.h in Headers */,
+ 85ECBEEF0AA7626900544F0B /* DOMHTMLFontElement.h in Headers */,
+ 85ECBEF10AA7626900544F0B /* DOMHTMLHRElement.h in Headers */,
+ 85ECBEF30AA7626900544F0B /* DOMHTMLMapElement.h in Headers */,
+ 85ECBEF50AA7626900544F0B /* DOMHTMLModElement.h in Headers */,
+ 85ECBEF70AA7626900544F0B /* DOMHTMLParamElement.h in Headers */,
+ 85DF81270AA7787200486AD7 /* DOMHTMLAnchorElement.h in Headers */,
+ 85DF81290AA7787200486AD7 /* DOMHTMLImageElement.h in Headers */,
+ 85DF812B0AA7787200486AD7 /* DOMHTMLObjectElement.h in Headers */,
+ 85DF81950AA77E4B00486AD7 /* DOMHTMLFrameElement.h in Headers */,
+ 85DF81970AA77E4B00486AD7 /* DOMHTMLFrameSetElement.h in Headers */,
+ 85DF81990AA77E4B00486AD7 /* DOMHTMLIFrameElement.h in Headers */,
+ 85DF819B0AA77E4B00486AD7 /* DOMHTMLScriptElement.h in Headers */,
+ 85DF821D0AA7849E00486AD7 /* DOMHTMLTableCaptionElement.h in Headers */,
+ 85DF821F0AA7849E00486AD7 /* DOMHTMLTableCellElement.h in Headers */,
+ 85DF82210AA7849E00486AD7 /* DOMHTMLTableColElement.h in Headers */,
+ 85DF82700AA78B8B00486AD7 /* DOMHTMLTableElement.h in Headers */,
+ 85DF82230AA7849E00486AD7 /* DOMHTMLTableRowElement.h in Headers */,
+ 85DF82250AA7849E00486AD7 /* DOMHTMLTableSectionElement.h in Headers */,
+ 852B9E870AA79C47002ADA6E /* DOMHTMLAppletElement.h in Headers */,
+ 852B9E890AA79C47002ADA6E /* DOMHTMLOptionElement.h in Headers */,
1A98955D0AA78149005EF5EF /* CString.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
0867D690FE84028FC02AAC07 /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 149C284308902B11008A9EFC /* Build configuration list for PBXProject "WebCore" */;
+ compatibilityVersion = "Xcode 2.4";
hasScannedForEncodings = 1;
knownRegions = (
English,
productRefGroup = 034768DFFF38A50411DB9C8B /* Products */;
projectDirPath = "";
projectRoot = "";
+ shouldCheckCompatibility = 1;
targets = (
93F198A508245E59001E9ABC /* WebCore */,
DD041FBE09D9DDBE0010AF2A /* Derived Sources */,
85183B470AA6926100F19FA3 /* DOMHTMLParagraphElement.mm in Sources */,
85183B490AA6926100F19FA3 /* DOMHTMLPreElement.mm in Sources */,
85183B4B0AA6926100F19FA3 /* DOMHTMLQuoteElement.mm in Sources */,
+ 85ECBEEC0AA7626900544F0B /* DOMHTMLAreaElement.mm in Sources */,
+ 85ECBEEE0AA7626900544F0B /* DOMHTMLBaseFontElement.mm in Sources */,
+ 85ECBEF00AA7626900544F0B /* DOMHTMLFontElement.mm in Sources */,
+ 85ECBEF20AA7626900544F0B /* DOMHTMLHRElement.mm in Sources */,
+ 85ECBEF40AA7626900544F0B /* DOMHTMLMapElement.mm in Sources */,
+ 85ECBEF60AA7626900544F0B /* DOMHTMLModElement.mm in Sources */,
+ 85ECBEF80AA7626900544F0B /* DOMHTMLParamElement.mm in Sources */,
+ 85DF81280AA7787200486AD7 /* DOMHTMLAnchorElement.mm in Sources */,
+ 85DF812A0AA7787200486AD7 /* DOMHTMLImageElement.mm in Sources */,
+ 85DF812C0AA7787200486AD7 /* DOMHTMLObjectElement.mm in Sources */,
+ 85DF81960AA77E4B00486AD7 /* DOMHTMLFrameElement.mm in Sources */,
+ 85DF81980AA77E4B00486AD7 /* DOMHTMLFrameSetElement.mm in Sources */,
+ 85DF819A0AA77E4B00486AD7 /* DOMHTMLIFrameElement.mm in Sources */,
+ 85DF819C0AA77E4B00486AD7 /* DOMHTMLScriptElement.mm in Sources */,
+ 85DF821E0AA7849E00486AD7 /* DOMHTMLTableCaptionElement.mm in Sources */,
+ 85DF82200AA7849E00486AD7 /* DOMHTMLTableCellElement.mm in Sources */,
+ 85DF82220AA7849E00486AD7 /* DOMHTMLTableColElement.mm in Sources */,
+ 85DF82240AA7849E00486AD7 /* DOMHTMLTableRowElement.mm in Sources */,
+ 85DF82260AA7849E00486AD7 /* DOMHTMLTableSectionElement.mm in Sources */,
+ 85DF82710AA78B8B00486AD7 /* DOMHTMLTableElement.mm in Sources */,
+ 852B9E880AA79C47002ADA6E /* DOMHTMLAppletElement.mm in Sources */,
+ 852B9E8A0AA79C47002ADA6E /* DOMHTMLOptionElement.mm in Sources */,
1A98955C0AA78149005EF5EF /* CString.cpp in Sources */,
1A98956B0AA78F80005EF5EF /* KURLCFNet.cpp in Sources */,
);
#import "DOMText.h"
// From old DOMHTML.h
+#import "DOMHTMLAppletElement.h"
#import "DOMHTMLDocument.h"
+#import "DOMHTMLOptionElement.h"
// Generated Objective-C Bindings
+#import "DOMHTMLAnchorElement.h"
+#import "DOMHTMLAreaElement.h"
#import "DOMHTMLBRElement.h"
#import "DOMHTMLBaseElement.h"
+#import "DOMHTMLBaseFontElement.h"
#import "DOMHTMLBodyElement.h"
#import "DOMHTMLButtonElement.h"
#import "DOMHTMLCollection.h"
#import "DOMHTMLDivElement.h"
#import "DOMHTMLElement.h"
#import "DOMHTMLFieldSetElement.h"
+#import "DOMHTMLFontElement.h"
#import "DOMHTMLFormElement.h"
+#import "DOMHTMLFrameElement.h"
+#import "DOMHTMLFrameSetElement.h"
+#import "DOMHTMLHRElement.h"
#import "DOMHTMLHeadElement.h"
#import "DOMHTMLHeadingElement.h"
#import "DOMHTMLHtmlElement.h"
+#import "DOMHTMLIFrameElement.h"
+#import "DOMHTMLImageElement.h"
#import "DOMHTMLInputElement.h"
#import "DOMHTMLIsIndexElement.h"
#import "DOMHTMLLIElement.h"
#import "DOMHTMLLabelElement.h"
#import "DOMHTMLLegendElement.h"
#import "DOMHTMLLinkElement.h"
+#import "DOMHTMLMapElement.h"
#import "DOMHTMLMenuElement.h"
#import "DOMHTMLMetaElement.h"
+#import "DOMHTMLModElement.h"
#import "DOMHTMLOListElement.h"
+#import "DOMHTMLObjectElement.h"
#import "DOMHTMLOptGroupElement.h"
#import "DOMHTMLOptionsCollection.h"
#import "DOMHTMLParagraphElement.h"
+#import "DOMHTMLParamElement.h"
#import "DOMHTMLPreElement.h"
#import "DOMHTMLQuoteElement.h"
+#import "DOMHTMLScriptElement.h"
#import "DOMHTMLSelectElement.h"
#import "DOMHTMLStyleElement.h"
+#import "DOMHTMLTableCaptionElement.h"
+#import "DOMHTMLTableCellElement.h"
+#import "DOMHTMLTableColElement.h"
+#import "DOMHTMLTableElement.h"
+#import "DOMHTMLTableRowElement.h"
+#import "DOMHTMLTableSectionElement.h"
#import "DOMHTMLTextAreaElement.h"
#import "DOMHTMLTitleElement.h"
#import "DOMHTMLUListElement.h"
/*
- * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (C) 2004-2006 Apple Computer, Inc. All rights reserved.
* Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
#import <WebCore/DOMDocument.h>
#import <WebCore/DOMElement.h>
#import <WebCore/DOMHTML.h>
-#import <WebCore/DOMNode.h>
-#import <WebCore/DOMRange.h>
-
-#import <WebCore/DOMHTMLElement.h>
+#import <WebCore/DOMHTMLAnchorElement.h>
+#import <WebCore/DOMHTMLAreaElement.h>
#import <WebCore/DOMHTMLDocument.h>
-#import <WebCore/DOMHTMLLinkElement.h>
+#import <WebCore/DOMHTMLElement.h>
+#import <WebCore/DOMHTMLImageElement.h>
#import <WebCore/DOMHTMLInputElement.h>
+#import <WebCore/DOMHTMLLinkElement.h>
+#import <WebCore/DOMHTMLObjectElement.h>
+#import <WebCore/DOMNode.h>
+#import <WebCore/DOMRange.h>
@class NSColor;
@class NSImage;
/*
- * Copyright (C) 2004 Apple Computer, Inc. All rights reserved.
+ * Copyright (C) 2004-2006 Apple Computer, Inc. All rights reserved.
* Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
#import <WebCore/DOMCore.h>
+#import <WebCore/DOMHTMLAnchorElement.h>
+#import <WebCore/DOMHTMLAppletElement.h>
+#import <WebCore/DOMHTMLAreaElement.h>
#import <WebCore/DOMHTMLBRElement.h>
#import <WebCore/DOMHTMLBaseElement.h>
+#import <WebCore/DOMHTMLBaseFontElement.h>
#import <WebCore/DOMHTMLBodyElement.h>
#import <WebCore/DOMHTMLButtonElement.h>
#import <WebCore/DOMHTMLCollection.h>
#import <WebCore/DOMHTMLDocument.h>
#import <WebCore/DOMHTMLElement.h>
#import <WebCore/DOMHTMLFieldSetElement.h>
+#import <WebCore/DOMHTMLFontElement.h>
#import <WebCore/DOMHTMLFormElement.h>
+#import <WebCore/DOMHTMLFrameElement.h>
+#import <WebCore/DOMHTMLFrameSetElement.h>
+#import <WebCore/DOMHTMLHRElement.h>
#import <WebCore/DOMHTMLHeadElement.h>
#import <WebCore/DOMHTMLHeadingElement.h>
#import <WebCore/DOMHTMLHtmlElement.h>
+#import <WebCore/DOMHTMLIFrameElement.h>
+#import <WebCore/DOMHTMLImageElement.h>
#import <WebCore/DOMHTMLInputElement.h>
#import <WebCore/DOMHTMLIsIndexElement.h>
#import <WebCore/DOMHTMLLIElement.h>
#import <WebCore/DOMHTMLLabelElement.h>
#import <WebCore/DOMHTMLLegendElement.h>
#import <WebCore/DOMHTMLLinkElement.h>
+#import <WebCore/DOMHTMLMapElement.h>
#import <WebCore/DOMHTMLMenuElement.h>
#import <WebCore/DOMHTMLMetaElement.h>
+#import <WebCore/DOMHTMLModElement.h>
#import <WebCore/DOMHTMLOListElement.h>
+#import <WebCore/DOMHTMLObjectElement.h>
#import <WebCore/DOMHTMLOptGroupElement.h>
+#import <WebCore/DOMHTMLOptionElement.h>
#import <WebCore/DOMHTMLOptionsCollection.h>
#import <WebCore/DOMHTMLParagraphElement.h>
+#import <WebCore/DOMHTMLParamElement.h>
#import <WebCore/DOMHTMLPreElement.h>
#import <WebCore/DOMHTMLQuoteElement.h>
+#import <WebCore/DOMHTMLScriptElement.h>
#import <WebCore/DOMHTMLSelectElement.h>
#import <WebCore/DOMHTMLStyleElement.h>
+#import <WebCore/DOMHTMLTableCaptionElement.h>
+#import <WebCore/DOMHTMLTableCellElement.h>
+#import <WebCore/DOMHTMLTableColElement.h>
+#import <WebCore/DOMHTMLTableElement.h>
+#import <WebCore/DOMHTMLTableRowElement.h>
+#import <WebCore/DOMHTMLTableSectionElement.h>
#import <WebCore/DOMHTMLTextAreaElement.h>
#import <WebCore/DOMHTMLTitleElement.h>
#import <WebCore/DOMHTMLUListElement.h>
-
-@class DOMHTMLTableCaptionElement;
-@class DOMHTMLTableSectionElement;
-
-@interface DOMHTMLOptionElement : DOMHTMLElement
-- (DOMHTMLFormElement *)form;
-- (BOOL)defaultSelected;
-- (void)setDefaultSelected:(BOOL)defaultSelected;
-- (NSString *)text;
-- (int)index;
-- (BOOL)disabled;
-- (void)setDisabled:(BOOL)disabled;
-- (NSString *)label;
-- (void)setLabel:(NSString *)label;
-- (BOOL)selected;
-- (void)setSelected:(BOOL)selected;
-- (NSString *)value;
-- (void)setValue:(NSString *)value;
-@end
-
-@interface DOMHTMLBaseFontElement : DOMHTMLElement
-- (NSString *)color;
-- (void)setColor:(NSString *)color;
-- (NSString *)face;
-- (void)setFace:(NSString *)face;
-- (NSString *)size;
-- (void)setSize:(NSString *)size;
-@end
-
-@interface DOMHTMLFontElement : DOMHTMLElement
-- (NSString *)color;
-- (void)setColor:(NSString *)color;
-- (NSString *)face;
-- (void)setFace:(NSString *)face;
-- (NSString *)size;
-- (void)setSize:(NSString *)size;
-@end
-
-@interface DOMHTMLHRElement : DOMHTMLElement
-- (NSString *)align;
-- (void)setAlign:(NSString *)align;
-- (BOOL)noShade;
-- (void)setNoShade:(BOOL)noShade;
-- (NSString *)size;
-- (void)setSize:(NSString *)size;
-- (NSString *)width;
-- (void)setWidth:(NSString *)width;
-@end
-
-@interface DOMHTMLModElement : DOMHTMLElement
-- (NSString *)cite;
-- (void)setCite:(NSString *)cite;
-- (NSString *)dateTime;
-- (void)setDateTime:(NSString *)dateTime;
-@end
-
-@interface DOMHTMLAnchorElement : DOMHTMLElement
-- (NSString *)accessKey;
-- (void)setAccessKey:(NSString *)accessKey;
-- (NSString *)charset;
-- (void)setCharset:(NSString *)charset;
-- (NSString *)coords;
-- (void)setCoords:(NSString *)coords;
-- (NSString *)href;
-- (void)setHref:(NSString *)href;
-- (NSString *)hreflang;
-- (void)setHreflang:(NSString *)hreflang;
-- (NSString *)name;
-- (void)setName:(NSString *)name;
-- (NSString *)rel;
-- (void)setRel:(NSString *)rel;
-- (NSString *)rev;
-- (void)setRev:(NSString *)rev;
-- (NSString *)shape;
-- (void)setShape:(NSString *)shape;
-- (int)tabIndex;
-- (void)setTabIndex:(int)tabIndex;
-- (NSString *)target;
-- (void)setTarget:(NSString *)target;
-- (NSString *)type;
-- (void)setType:(NSString *)type;
-- (void)blur;
-- (void)focus;
-@end
-
-@interface DOMHTMLImageElement : DOMHTMLElement
-- (NSString *)name;
-- (void)setName:(NSString *)name;
-- (NSString *)align;
-- (void)setAlign:(NSString *)align;
-- (NSString *)alt;
-- (void)setAlt:(NSString *)alt;
-- (NSString *)border;
-- (void)setBorder:(NSString *)border;
-- (int)height;
-- (void)setHeight:(int)height;
-- (int)hspace;
-- (void)setHspace:(int)hspace;
-- (BOOL)isMap;
-- (void)setIsMap:(BOOL)isMap;
-- (NSString *)longDesc;
-- (void)setLongDesc:(NSString *)longDesc;
-- (NSString *)src;
-- (void)setSrc:(NSString *)src;
-- (NSString *)useMap;
-- (void)setUseMap:(NSString *)useMap;
-- (int)vspace;
-- (void)setVspace:(int)vspace;
-- (int)width;
-- (void)setWidth:(int)width;
-@end
-
-@interface DOMHTMLObjectElement : DOMHTMLElement
-- (DOMHTMLFormElement *)form;
-- (NSString *)code;
-- (void)setCode:(NSString *)code;
-- (NSString *)align;
-- (void)setAlign:(NSString *)align;
-- (NSString *)archive;
-- (void)setArchive:(NSString *)archive;
-- (NSString *)border;
-- (void)setBorder:(NSString *)border;
-- (NSString *)codeBase;
-- (void)setCodeBase:(NSString *)codeBase;
-- (NSString *)codeType;
-- (void)setCodeType:(NSString *)codeType;
-- (NSString *)data;
-- (void)setData:(NSString *)data;
-- (BOOL)declare;
-- (void)setDeclare:(BOOL)declare;
-- (NSString *)height;
-- (void)setHeight:(NSString *)height;
-- (int)hspace;
-- (void)setHspace:(int)hspace;
-- (NSString *)name;
-- (void)setName:(NSString *)name;
-- (NSString *)standby;
-- (void)setStandby:(NSString *)standby;
-- (int)tabIndex;
-- (void)setTabIndex:(int)tabIndex;
-- (NSString *)type;
-- (void)setType:(NSString *)type;
-- (NSString *)useMap;
-- (void)setUseMap:(NSString *)useMap;
-- (int)vspace;
-- (void)setVspace:(int)vspace;
-- (NSString *)width;
-- (void)setWidth:(NSString *)width;
-- (DOMDocument *)contentDocument;
-@end
-
-@interface DOMHTMLParamElement : DOMHTMLElement
-- (NSString *)name;
-- (void)setName:(NSString *)name;
-- (NSString *)type;
-- (void)setType:(NSString *)type;
-- (NSString *)value;
-- (void)setValue:(NSString *)value;
-- (NSString *)valueType;
-- (void)setValueType:(NSString *)valueType;
-@end
-
-@interface DOMHTMLAppletElement : DOMHTMLElement
-- (NSString *)align;
-- (void)setAlign:(NSString *)align;
-- (NSString *)alt;
-- (void)setAlt:(NSString *)alt;
-- (NSString *)archive;
-- (void)setArchive:(NSString *)archive;
-- (NSString *)code;
-- (void)setCode:(NSString *)code;
-- (NSString *)codeBase;
-- (void)setCodeBase:(NSString *)codeBase;
-- (NSString *)height;
-- (void)setHeight:(NSString *)height;
-- (int)hspace;
-- (void)setHspace:(int)hspace;
-- (NSString *)name;
-- (void)setName:(NSString *)name;
-- (NSString *)object;
-- (void)setObject:(NSString *)object;
-- (int)vspace;
-- (void)setVspace:(int)vspace;
-- (NSString *)width;
-- (void)setWidth:(NSString *)width;
-@end
-
-@interface DOMHTMLMapElement : DOMHTMLElement
-- (DOMHTMLCollection *)areas;
-- (NSString *)name;
-- (void)setName:(NSString *)name;
-@end
-
-@interface DOMHTMLAreaElement : DOMHTMLElement
-- (NSString *)accessKey;
-- (void)setAccessKey:(NSString *)accessKey;
-- (NSString *)alt;
-- (void)setAlt:(NSString *)alt;
-- (NSString *)coords;
-- (void)setCoords:(NSString *)coords;
-- (NSString *)href;
-- (void)setHref:(NSString *)href;
-- (BOOL)noHref;
-- (void)setNoHref:(BOOL)noHref;
-- (NSString *)shape;
-- (void)setShape:(NSString *)shape;
-- (int)tabIndex;
-- (void)setTabIndex:(int)tabIndex;
-- (NSString *)target;
-- (void)setTarget:(NSString *)target;
-@end
-
-@interface DOMHTMLScriptElement : DOMHTMLElement
-- (NSString *)text;
-- (void)setText:(NSString *)text;
-- (NSString *)htmlFor;
-- (void)setHtmlFor:(NSString *)htmlFor;
-- (NSString *)event;
-- (void)setEvent:(NSString *)event;
-- (NSString *)charset;
-- (void)setCharset:(NSString *)charset;
-- (BOOL)defer;
-- (void)setDefer:(BOOL)defer;
-- (NSString *)src;
-- (void)setSrc:(NSString *)src;
-- (NSString *)type;
-- (void)setType:(NSString *)type;
-@end
-
-@interface DOMHTMLTableElement : DOMHTMLElement
-- (DOMHTMLTableCaptionElement *)caption;
-- (void)setCaption:(DOMHTMLTableCaptionElement *)caption;
-- (DOMHTMLTableSectionElement *)tHead;
-- (void)setTHead:(DOMHTMLTableSectionElement *)tHead;
-- (DOMHTMLTableSectionElement *)tFoot;
-- (void)setTFoot:(DOMHTMLTableSectionElement *)tFoot;
-- (DOMHTMLCollection *)rows;
-- (DOMHTMLCollection *)tBodies;
-- (NSString *)align;
-- (void)setAlign:(NSString *)align;
-- (NSString *)bgColor;
-- (void)setBgColor:(NSString *)bgColor;
-- (NSString *)border;
-- (void)setBorder:(NSString *)border;
-- (NSString *)cellPadding;
-- (void)setCellPadding:(NSString *)cellPadding;
-- (NSString *)cellSpacing;
-- (void)setCellSpacing:(NSString *)cellSpacing;
-// frameBorders corresponds to the frame method
-- (NSString *)frameBorders;
-- (void)setFrameBorders:(NSString *)frameBorders;
-- (NSString *)rules;
-- (void)setRules:(NSString *)rules;
-- (NSString *)summary;
-- (void)setSummary:(NSString *)summary;
-- (NSString *)width;
-- (void)setWidth:(NSString *)width;
-- (DOMHTMLElement *)createTHead;
-- (void)deleteTHead;
-- (DOMHTMLElement *)createTFoot;
-- (void)deleteTFoot;
-- (DOMHTMLElement *)createCaption;
-- (void)deleteCaption;
-- (DOMHTMLElement *)insertRow:(int)index;
-- (void)deleteRow:(int)index;
-@end
-
-@interface DOMHTMLTableCaptionElement : DOMHTMLElement
-- (NSString *)align;
-- (void)setAlign:(NSString *)align;
-@end
-
-@interface DOMHTMLTableColElement : DOMHTMLElement
-- (NSString *)align;
-- (void)setAlign:(NSString *)align;
-- (NSString *)ch;
-- (void)setCh:(NSString *)ch;
-- (NSString *)chOff;
-- (void)setChOff:(NSString *)chOff;
-- (int)span;
-- (void)setSpan:(int)span;
-- (NSString *)vAlign;
-- (void)setVAlign:(NSString *)vAlign;
-- (NSString *)width;
-- (void)setWidth:(NSString *)width;
-@end
-
-@interface DOMHTMLTableSectionElement : DOMHTMLElement
-- (NSString *)align;
-- (void)setAlign:(NSString *)align;
-- (NSString *)ch;
-- (void)setCh:(NSString *)ch;
-- (NSString *)chOff;
-- (void)setChOff:(NSString *)chOff;
-- (NSString *)vAlign;
-- (void)setVAlign:(NSString *)vAlign;
-- (DOMHTMLCollection *)rows;
-- (DOMHTMLElement *)insertRow:(int)index;
-- (void)deleteRow:(int)index;
-@end
-
-@interface DOMHTMLTableRowElement : DOMHTMLElement
-- (int)rowIndex;
-- (int)sectionRowIndex;
-- (DOMHTMLCollection *)cells;
-- (NSString *)align;
-- (void)setAlign:(NSString *)align;
-- (NSString *)bgColor;
-- (void)setBgColor:(NSString *)bgColor;
-- (NSString *)ch;
-- (void)setCh:(NSString *)ch;
-- (NSString *)chOff;
-- (void)setChOff:(NSString *)chOff;
-- (NSString *)vAlign;
-- (void)setVAlign:(NSString *)vAlign;
-- (DOMHTMLElement *)insertCell:(int)index;
-- (void)deleteCell:(int)index;
-@end
-
-@interface DOMHTMLTableCellElement : DOMHTMLElement
-- (int)cellIndex;
-- (NSString *)abbr;
-- (void)setAbbr:(NSString *)abbr;
-- (NSString *)align;
-- (void)setAlign:(NSString *)align;
-- (NSString *)axis;
-- (void)setAxis:(NSString *)axis;
-- (NSString *)bgColor;
-- (void)setBgColor:(NSString *)bgColor;
-- (NSString *)ch;
-- (void)setCh:(NSString *)ch;
-- (NSString *)chOff;
-- (void)setChOff:(NSString *)chOff;
-- (int)colSpan;
-- (void)setColSpan:(int)colSpan;
-- (NSString *)headers;
-- (void)setHeaders:(NSString *)headers;
-- (NSString *)height;
-- (void)setHeight:(NSString *)height;
-- (BOOL)noWrap;
-- (void)setNoWrap:(BOOL)noWrap;
-- (int)rowSpan;
-- (void)setRowSpan:(int)rowSpan;
-- (NSString *)scope;
-- (void)setScope:(NSString *)scope;
-- (NSString *)vAlign;
-- (void)setVAlign:(NSString *)vAlign;
-- (NSString *)width;
-- (void)setWidth:(NSString *)width;
-@end
-
-@interface DOMHTMLFrameSetElement : DOMHTMLElement
-- (NSString *)cols;
-- (void)setCols:(NSString *)cols;
-- (NSString *)rows;
-- (void)setRows:(NSString *)rows;
-@end
-
-@interface DOMHTMLFrameElement : DOMHTMLElement
-- (NSString *)frameBorder;
-- (void)setFrameBorder:(NSString *)frameBorder;
-- (NSString *)longDesc;
-- (void)setLongDesc:(NSString *)longDesc;
-- (NSString *)marginHeight;
-- (void)setMarginHeight:(NSString *)marginHeight;
-- (NSString *)marginWidth;
-- (void)setMarginWidth:(NSString *)marginWidth;
-- (NSString *)name;
-- (void)setName:(NSString *)name;
-- (BOOL)noResize;
-- (void)setNoResize:(BOOL)noResize;
-- (NSString *)scrolling;
-- (void)setScrolling:(NSString *)scrolling;
-- (NSString *)src;
-- (void)setSrc:(NSString *)src;
-- (DOMDocument *)contentDocument;
-@end
-
-@interface DOMHTMLIFrameElement : DOMHTMLElement
-- (NSString *)align;
-- (void)setAlign:(NSString *)align;
-- (NSString *)frameBorder;
-- (void)setFrameBorder:(NSString *)frameBorder;
-- (NSString *)height;
-- (void)setHeight:(NSString *)height;
-- (NSString *)longDesc;
-- (void)setLongDesc:(NSString *)longDesc;
-- (NSString *)marginHeight;
-- (void)setMarginHeight:(NSString *)marginHeight;
-- (NSString *)marginWidth;
-- (void)setMarginWidth:(NSString *)marginWidth;
-- (NSString *)name;
-- (void)setName:(NSString *)name;
-- (NSString *)scrolling;
-- (void)setScrolling:(NSString *)scrolling;
-- (NSString *)src;
-- (void)setSrc:(NSString *)src;
-- (NSString *)width;
-- (void)setWidth:(NSString *)width;
-- (DOMDocument *)contentDocument;
-@end
/*
- * Copyright (C) 2004 Apple Computer, Inc. All rights reserved.
+ * Copyright (C) 2004-2006 Apple Computer, Inc. All rights reserved.
* Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
#import "DocumentFragment.h"
#import "FoundationExtras.h"
#import "FrameView.h"
-#import "HTMLAppletElement.h"
-#import "HTMLAreaElement.h"
-#import "HTMLBRElement.h"
-#import "HTMLBaseElement.h"
-#import "HTMLBaseFontElement.h"
-#import "HTMLBodyElement.h"
-#import "HTMLButtonElement.h"
-#import "HTMLDListElement.h"
-#import "HTMLDirectoryElement.h"
-#import "HTMLDivElement.h"
#import "HTMLDocument.h"
#import "HTMLEmbedElement.h"
-#import "HTMLFieldSetElement.h"
-#import "HTMLFontElement.h"
-#import "HTMLFormCollection.h"
#import "HTMLFormElement.h"
-#import "HTMLFrameSetElement.h"
-#import "HTMLHRElement.h"
-#import "HTMLHeadElement.h"
-#import "HTMLHeadingElement.h"
-#import "HTMLHtmlElement.h"
-#import "HTMLIFrameElement.h"
#import "HTMLImageElement.h"
-#import "HTMLIsIndexElement.h"
-#import "HTMLLIElement.h"
-#import "HTMLLabelElement.h"
-#import "HTMLLegendElement.h"
-#import "HTMLLinkElement.h"
-#import "HTMLMapElement.h"
-#import "HTMLMenuElement.h"
-#import "HTMLMetaElement.h"
+#import "HTMLInputElement.h"
#import "HTMLNames.h"
-#import "HTMLOListElement.h"
#import "HTMLObjectElement.h"
-#import "HTMLOptGroupElement.h"
-#import "HTMLOptionElement.h"
#import "HTMLOptionsCollection.h"
-#import "HTMLParagraphElement.h"
-#import "HTMLParamElement.h"
-#import "HTMLPreElement.h"
-#import "HTMLScriptElement.h"
#import "HTMLSelectElement.h"
-#import "HTMLStyleElement.h"
#import "HTMLTableCaptionElement.h"
#import "HTMLTableCellElement.h"
-#import "HTMLTableColElement.h"
#import "HTMLTableElement.h"
-#import "HTMLTableRowElement.h"
#import "HTMLTableSectionElement.h"
-#import "HTMLTextAreaElement.h"
-#import "HTMLTitleElement.h"
-#import "HTMLUListElement.h"
#import "KURL.h"
#import "NameNodeList.h"
#import "Range.h"
using namespace WebCore;
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.
-
//------------------------------------------------------------------------------------------
// DOMHTMLCollection
@end
-//------------------------------------------------------------------------------------------
-// DOMHTMLOptionElement
-
-@implementation DOMHTMLOptionElement
-
-- (HTMLOptionElement *)_optionElement
-{
- return static_cast<HTMLOptionElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (DOMHTMLFormElement *)form
-{
- return [DOMHTMLFormElement _formElementWith:[self _optionElement]->form()];
-}
-
-- (BOOL)defaultSelected
-{
- return [self _optionElement]->defaultSelected();
-}
-
-- (void)setDefaultSelected:(BOOL)defaultSelected
-{
- [self _optionElement]->setDefaultSelected(defaultSelected);
-}
-
-- (NSString *)text
-{
- return [self _optionElement]->text();
-}
-
-- (int)index
-{
- return [self _optionElement]->index();
-}
-
-- (BOOL)disabled
-{
- return [self _optionElement]->disabled();
-}
-
-- (void)setDisabled:(BOOL)disabled
-{
- [self _optionElement]->setDisabled(disabled);
-}
-
-- (NSString *)label
-{
- return [self _optionElement]->label();
-}
-
-- (void)setLabel:(NSString *)label
-{
- [self _optionElement]->setLabel(label);
-}
-
-- (BOOL)selected
-{
- return [self _optionElement]->selected();
-}
-
-- (void)setSelected:(BOOL)selected
-{
- [self _optionElement]->setSelected(selected);
-}
-
-- (NSString *)value
-{
- return [self _optionElement]->value();
-}
-
-- (void)setValue:(NSString *)value
-{
- String string = value;
- [self _optionElement]->setValue(string.impl());
-}
-
-@end
-
-
//------------------------------------------------------------------------------------------
// DOMHTMLInputElement
//------------------------------------------------------------------------------------------
-// DOMHTMLBaseFontElement
-
-@implementation DOMHTMLBaseFontElement
-
-- (HTMLBaseFontElement *)_baseFontElement
-{
- return static_cast<HTMLBaseFontElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)color
-{
- return [self _baseFontElement]->getAttribute(colorAttr);
-}
-
-- (void)setColor:(NSString *)color
-{
- [self _baseFontElement]->setAttribute(colorAttr, color);
-}
-
-- (NSString *)face
-{
- return [self _baseFontElement]->getAttribute(faceAttr);
-}
-
-- (void)setFace:(NSString *)face
-{
- [self _baseFontElement]->setAttribute(faceAttr, face);
-}
+// DOMHTMLAnchorElement
-- (NSString *)size
-{
- return [self _baseFontElement]->getAttribute(sizeAttr);
-}
+@implementation DOMHTMLAnchorElement (DOMHTMLAnchorElementExtensions)
-- (void)setSize:(NSString *)size
+- (NSURL *)absoluteLinkURL
{
- [self _baseFontElement]->setAttribute(sizeAttr, size);
+ return [self _getURLAttribute:@"href"];
}
@end
-@implementation DOMHTMLFontElement
-
-- (HTMLFontElement *)_fontElement
-{
- return static_cast<HTMLFontElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)color
-{
- return [self _fontElement]->getAttribute(colorAttr);
-}
-
-- (void)setColor:(NSString *)color
-{
- [self _fontElement]->setAttribute(colorAttr, color);
-}
-- (NSString *)face
-{
- return [self _fontElement]->getAttribute(faceAttr);
-}
+//------------------------------------------------------------------------------------------
+// DOMHTMLImageElement
-- (void)setFace:(NSString *)face
-{
- [self _fontElement]->setAttribute(faceAttr, face);
-}
+@implementation DOMHTMLImageElement (DOMHTMLImageElementExtensions)
-- (NSString *)size
+- (NSString *)altDisplayString
{
- return [self _fontElement]->getAttribute(sizeAttr);
+ String alt = [self _HTMLImageElement]->getAttribute(altAttr);
+ return alt.replace('\\', [self _element]->document()->backslashAsCurrencySymbol());
}
-- (void)setSize:(NSString *)size
+- (NSURL *)absoluteImageURL
{
- [self _fontElement]->setAttribute(sizeAttr, size);
+ return [self _getURLAttribute:@"src"];
}
@end
-@implementation DOMHTMLHRElement
-
-- (HTMLHRElement *)_HRElement
-{
- return static_cast<HTMLHRElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)align
-{
- return [self _HRElement]->getAttribute(alignAttr);
-}
-
-- (void)setAlign:(NSString *)align
-{
- [self _HRElement]->setAttribute(alignAttr, align);
-}
-
-- (BOOL)noShade
-{
- return [self _HRElement]->getAttribute(noshadeAttr).isNull();
-}
-
-- (void)setNoShade:(BOOL)noShade
-{
- [self _HRElement]->setAttribute(noshadeAttr, noShade ? "" : 0);
-}
-
-- (NSString *)size
-{
- return [self _HRElement]->getAttribute(sizeAttr);
-}
-
-- (void)setSize:(NSString *)size
-{
- [self _HRElement]->setAttribute(sizeAttr, size);
-}
-
-- (NSString *)width
-{
- return [self _HRElement]->getAttribute(widthAttr);
-}
+@implementation DOMHTMLImageElement (WebCoreInternal)
-- (void)setWidth:(NSString *)width
+- (WebCore::HTMLImageElement *)_HTMLImageElement
{
- [self _HRElement]->setAttribute(widthAttr, width);
+ return static_cast<WebCore::HTMLImageElement*>(DOM_cast<WebCore::Node*>(_internal));
}
@end
-@implementation DOMHTMLModElement
-
-- (HTMLElement *)_modElement
-{
- return static_cast<HTMLElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)cite
-{
- return [self _modElement]->getAttribute(citeAttr);
-}
-- (void)setCite:(NSString *)cite
-{
- [self _modElement]->setAttribute(citeAttr, cite);
-}
+//------------------------------------------------------------------------------------------
+// DOMHTMLObjectElement
-- (NSString *)dateTime
-{
- return [self _modElement]->getAttribute(datetimeAttr);
-}
+@implementation DOMHTMLObjectElement (DOMHTMLObjectElementExtensions)
-- (void)setDateTime:(NSString *)dateTime
+- (NSURL *)absoluteImageURL
{
- [self _modElement]->setAttribute(datetimeAttr, dateTime);
+ if (![self _HTMLObjectElement]->renderer() || ![self _HTMLObjectElement]->renderer()->isImage())
+ return nil;
+ return [self _getURLAttribute:@"data"];
}
@end
-@implementation DOMHTMLAnchorElement
+@implementation DOMHTMLObjectElement (WebCoreInternal)
-- (HTMLAnchorElement *)_anchorElement
+- (WebCore::HTMLObjectElement *)_HTMLObjectElement
{
- return static_cast<HTMLAnchorElement*>(DOM_cast<Node*>(_internal));
+ return static_cast<WebCore::HTMLObjectElement*>(DOM_cast<WebCore::Node*>(_internal));
}
-- (NSString *)accessKey
-{
- return [self _anchorElement]->getAttribute(accesskeyAttr);
-}
-
-- (void)setAccessKey:(NSString *)accessKey
-{
- [self _anchorElement]->setAttribute(accesskeyAttr, accessKey);
-}
-
-- (NSString *)charset
-{
- return [self _anchorElement]->getAttribute(charsetAttr);
-}
+@end
-- (void)setCharset:(NSString *)charset
-{
- [self _anchorElement]->setAttribute(charsetAttr, charset);
-}
-- (NSString *)coords
-{
- return [self _anchorElement]->getAttribute(coordsAttr);
-}
+//------------------------------------------------------------------------------------------
+// DOMHTMLAreaElement
-- (void)setCoords:(NSString *)coords
-{
- [self _anchorElement]->setAttribute(coordsAttr, coords);
-}
+@implementation DOMHTMLAreaElement (DOMHTMLAreaElementExtensions)
- (NSURL *)absoluteLinkURL
{
return [self _getURLAttribute:@"href"];
}
-- (NSString *)href
-{
- return [self _anchorElement]->href();
-}
-
-- (void)setHref:(NSString *)href
-{
- [self _anchorElement]->setAttribute(hrefAttr, href);
-}
-
-- (NSString *)hreflang
-{
- return [self _anchorElement]->hreflang();
-}
-
-- (void)setHreflang:(NSString *)hreflang
-{
- [self _anchorElement]->setHreflang(hreflang);
-}
-
-- (NSString *)name
-{
- return [self _anchorElement]->name();
-}
-
-- (void)setName:(NSString *)name
-{
- [self _anchorElement]->setName(name);
-}
-
-- (NSString *)rel
-{
- return [self _anchorElement]->rel();
-}
-
-- (void)setRel:(NSString *)rel
-{
- [self _anchorElement]->setRel(rel);
-}
-
-- (NSString *)rev
-{
- return [self _anchorElement]->rev();
-}
+@end
-- (void)setRev:(NSString *)rev
-{
- [self _anchorElement]->setRev(rev);
-}
-- (NSString *)shape
-{
- return [self _anchorElement]->shape();
-}
+//------------------------------------------------------------------------------------------
+// DOMHTMLTableCaptionElement
-- (void)setShape:(NSString *)shape
-{
- [self _anchorElement]->setShape(shape);
-}
+@implementation DOMHTMLTableCaptionElement (WebCoreInternal)
-- (int)tabIndex
++ (DOMHTMLTableCaptionElement *)_tableCaptionElementWith:(HTMLTableCaptionElement *)impl
{
- return [self _anchorElement]->tabIndex();
+ return static_cast<DOMHTMLTableCaptionElement*>([DOMNode _nodeWith:impl]);
}
-- (void)setTabIndex:(int)tabIndex
+- (HTMLTableCaptionElement *)_tableCaptionElement
{
- [self _anchorElement]->setTabIndex(tabIndex);
+ return static_cast<HTMLTableCaptionElement*>(DOM_cast<Node*>(_internal));
}
-- (NSString *)target
-{
- return [self _anchorElement]->getAttribute(targetAttr);
-}
+@end
-- (void)setTarget:(NSString *)target
-{
- [self _anchorElement]->setAttribute(targetAttr, target);
-}
-- (NSString *)type
-{
- return [self _anchorElement]->getAttribute(typeAttr);
-}
+//------------------------------------------------------------------------------------------
+// DOMHTMLTableSectionElement
-- (void)setType:(NSString *)type
-{
- [self _anchorElement]->setAttribute(typeAttr, type);
-}
+@implementation DOMHTMLTableSectionElement (WebCoreInternal)
-- (void)blur
++ (DOMHTMLTableSectionElement *)_tableSectionElementWith:(HTMLTableSectionElement *)impl
{
- HTMLAnchorElement *impl = [self _anchorElement];
- if (impl->document()->focusNode() == impl)
- impl->document()->setFocusNode(0);
+ return static_cast<DOMHTMLTableSectionElement*>([DOMNode _nodeWith:impl]);
}
-- (void)focus
+- (HTMLTableSectionElement *)_tableSectionElement
{
- HTMLAnchorElement *impl = [self _anchorElement];
- impl->document()->setFocusNode(static_cast<Element*>(impl));
+ return static_cast<HTMLTableSectionElement*>(DOM_cast<Node*>(_internal));
}
@end
-@implementation DOMHTMLImageElement
-
-- (HTMLImageElement *)_imageElement
-{
- return static_cast<HTMLImageElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)name
-{
- return [self _imageElement]->getAttribute(nameAttr);
-}
-
-- (void)setName:(NSString *)name
-{
- [self _imageElement]->setAttribute(nameAttr, name);
-}
-- (NSString *)align
-{
- return [self _imageElement]->getAttribute(alignAttr);
-}
+//------------------------------------------------------------------------------------------
+// DOMHTMLTableElement
-- (void)setAlign:(NSString *)align
-{
- [self _imageElement]->setAttribute(alignAttr, align);
-}
+@implementation DOMHTMLTableElement (WebCoreInternal)
-- (NSString *)alt
++ (DOMHTMLTableElement *)_tableElementWith:(HTMLTableElement *)impl
{
- return [self _imageElement]->getAttribute(altAttr);
+ return static_cast<DOMHTMLTableElement*>([DOMNode _nodeWith:impl]);
}
-- (NSString *)altDisplayString
+- (HTMLTableElement *)_tableElement
{
- String alt = [self _imageElement]->getAttribute(altAttr);
- return alt.replace('\\', [self _element]->document()->backslashAsCurrencySymbol());
+ return static_cast<HTMLTableElement*>(DOM_cast<Node*>(_internal));
}
-- (void)setAlt:(NSString *)alt
-{
- [self _imageElement]->setAttribute(altAttr, alt);
-}
+@end
-- (NSString *)border
-{
- return [self _imageElement]->getAttribute(borderAttr);
-}
-- (void)setBorder:(NSString *)border
-{
- [self _imageElement]->setAttribute(borderAttr, border);
-}
+//------------------------------------------------------------------------------------------
+// DOMHTMLTableCellElement
-- (int)height
-{
- return [self _imageElement]->getAttribute(heightAttr).toInt();
-}
+@implementation DOMHTMLTableCellElement (WebCoreInternal)
-- (void)setHeight:(int)height
++ (DOMHTMLTableCellElement *)_tableCellElementWith:(HTMLTableCellElement *)impl
{
- [self _imageElement]->setAttribute(heightAttr, String::number(height));
+ return static_cast<DOMHTMLTableCellElement*>([DOMNode _nodeWith:impl]);
}
-- (int)hspace
+- (HTMLTableCellElement *)_tableCellElement
{
- return [self _imageElement]->getAttribute(hspaceAttr).toInt();
+ return static_cast<HTMLTableCellElement*>(DOM_cast<Node*>(_internal));
}
-- (void)setHspace:(int)hspace
-{
- [self _imageElement]->setAttribute(hspaceAttr, String::number(hspace));
-}
+@end
-- (BOOL)isMap
-{
- return [self _imageElement]->getAttribute(ismapAttr).isNull();
-}
-- (void)setIsMap:(BOOL)isMap
-{
- [self _imageElement]->setAttribute(ismapAttr, isMap ? "" : 0);
-}
+#pragma mark DOM EXTENSIONS
-- (NSString *)longDesc
-{
- return [self _imageElement]->getAttribute(longdescAttr);
-}
-- (void)setLongDesc:(NSString *)longDesc
-{
- [self _imageElement]->setAttribute(longdescAttr, longDesc);
-}
-
-- (NSURL *)absoluteImageURL
-{
- return [self _getURLAttribute:@"src"];
-}
-
-- (NSString *)src
-{
- return [self _imageElement]->src();
-}
-
-- (void)setSrc:(NSString *)src
-{
- [self _imageElement]->setAttribute(srcAttr, src);
-}
-
-- (NSString *)useMap
-{
- return [self _imageElement]->getAttribute(usemapAttr);
-}
-
-- (void)setUseMap:(NSString *)useMap
-{
- [self _imageElement]->setAttribute(usemapAttr, useMap);
-}
-
-- (int)vspace
-{
- return [self _imageElement]->getAttribute(vspaceAttr).toInt();
-}
-
-- (void)setVspace:(int)vspace
-{
- [self _imageElement]->setAttribute(vspaceAttr, String::number(vspace));
-}
-
-- (int)width
-{
- return [self _imageElement]->getAttribute(widthAttr).toInt();
-}
-
-- (void)setWidth:(int)width
-{
- [self _imageElement]->setAttribute(widthAttr, String::number(width));
-}
-
-@end
-
-@implementation DOMHTMLObjectElement
-
-- (HTMLObjectElement *)_objectElement
-{
- return static_cast<HTMLObjectElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (DOMHTMLFormElement *)form
-{
- return [DOMHTMLFormElement _formElementWith:[self _objectElement]->form()];
-}
-
-- (NSString *)code
-{
- return [self _objectElement]->getAttribute(codeAttr);
-}
-
-- (void)setCode:(NSString *)code
-{
- [self _objectElement]->setAttribute(codeAttr, code);
-}
-
-- (NSString *)align
-{
- return [self _objectElement]->getAttribute(alignAttr);
-}
-
-- (void)setAlign:(NSString *)align
-{
- [self _objectElement]->setAttribute(alignAttr, align);
-}
-
-- (NSString *)archive
-{
- return [self _objectElement]->getAttribute(archiveAttr);
-}
-
-- (void)setArchive:(NSString *)archive
-{
- [self _objectElement]->setAttribute(archiveAttr, archive);
-}
-
-- (NSString *)border
-{
- return [self _objectElement]->getAttribute(borderAttr);
-}
-
-- (void)setBorder:(NSString *)border
-{
- [self _objectElement]->setAttribute(borderAttr, border);
-}
-
-- (NSString *)codeBase
-{
- return [self _objectElement]->getAttribute(codebaseAttr);
-}
-
-- (void)setCodeBase:(NSString *)codeBase
-{
- [self _objectElement]->setAttribute(codebaseAttr, codeBase);
-}
-
-- (NSString *)codeType
-{
- return [self _objectElement]->getAttribute(codetypeAttr);
-}
-
-- (void)setCodeType:(NSString *)codeType
-{
- [self _objectElement]->setAttribute(codetypeAttr, codeType);
-}
-
-- (NSURL *)absoluteImageURL
-{
- if (![self _objectElement]->renderer() || ![self _objectElement]->renderer()->isImage())
- return nil;
- return [self _getURLAttribute:@"data"];
-}
-
-- (NSString *)data
-{
- return [self _objectElement]->getAttribute(dataAttr);
-}
-
-- (void)setData:(NSString *)data
-{
- [self _objectElement]->setAttribute(dataAttr, data);
-}
-
-- (BOOL)declare
-{
- return [self _objectElement]->getAttribute(declareAttr).isNull();
-}
-
-- (void)setDeclare:(BOOL)declare
-{
- [self _objectElement]->setAttribute(declareAttr, declare ? "" : 0);
-}
-
-- (NSString *)height
-{
- return [self _objectElement]->getAttribute(heightAttr);
-}
-
-- (void)setHeight:(NSString *)height
-{
- [self _objectElement]->setAttribute(heightAttr, height);
-}
-
-- (int)hspace
-{
- return [self _objectElement]->getAttribute(hspaceAttr).toInt();
-}
-
-- (void)setHspace:(int)hspace
-{
- [self _objectElement]->setAttribute(hspaceAttr, String::number(hspace));
-}
-
-- (NSString *)name
-{
- return [self _objectElement]->getAttribute(nameAttr);
-}
-
-- (void)setName:(NSString *)name
-{
- [self _objectElement]->setAttribute(nameAttr, name);
-}
-
-- (NSString *)standby
-{
- return [self _objectElement]->getAttribute(standbyAttr);
-}
-
-- (void)setStandby:(NSString *)standby
-{
- [self _objectElement]->setAttribute(standbyAttr, standby);
-}
-
-- (int)tabIndex
-{
- return [self _objectElement]->getAttribute(tabindexAttr).toInt();
-}
-
-- (void)setTabIndex:(int)tabIndex
-{
- [self _objectElement]->setAttribute(tabindexAttr, String::number(tabIndex));
-}
-
-- (NSString *)type
-{
- return [self _objectElement]->getAttribute(typeAttr);
-}
-
-- (void)setType:(NSString *)type
-{
- [self _objectElement]->setAttribute(typeAttr, type);
-}
-
-- (NSString *)useMap
-{
- return [self _objectElement]->getAttribute(usemapAttr);
-}
-
-- (void)setUseMap:(NSString *)useMap
-{
- [self _objectElement]->setAttribute(usemapAttr, useMap);
-}
-
-- (int)vspace
-{
- return [self _objectElement]->getAttribute(vspaceAttr).toInt();
-}
-
-- (void)setVspace:(int)vspace
-{
- [self _objectElement]->setAttribute(vspaceAttr, String::number(vspace));
-}
-
-- (NSString *)width
-{
- return [self _objectElement]->getAttribute(widthAttr);
-}
-
-- (void)setWidth:(NSString *)width
-{
- [self _objectElement]->setAttribute(widthAttr, width);
-}
-
-- (DOMDocument *)contentDocument
-{
- return [DOMDocument _documentWith:[self _objectElement]->contentDocument()];
-}
-
-@end
-
-@implementation DOMHTMLParamElement
-
-- (HTMLParamElement *)_paramElement
-{
- return static_cast<HTMLParamElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)name
-{
- return [self _paramElement]->getAttribute(nameAttr);
-}
-
-- (void)setName:(NSString *)name
-{
- [self _paramElement]->setAttribute(nameAttr, name);
-}
-
-- (NSString *)type
-{
- return [self _paramElement]->getAttribute(typeAttr);
-}
-
-- (void)setType:(NSString *)type
-{
- [self _paramElement]->setAttribute(typeAttr, type);
-}
-
-- (NSString *)value
-{
- return [self _paramElement]->getAttribute(valueAttr);
-}
-
-- (void)setValue:(NSString *)value
-{
- [self _paramElement]->setAttribute(valueAttr, value);
-}
-
-- (NSString *)valueType
-{
- return [self _paramElement]->getAttribute(valuetypeAttr);
-}
-
-- (void)setValueType:(NSString *)valueType
-{
- [self _paramElement]->setAttribute(valuetypeAttr, valueType);
-}
-
-@end
-
-@implementation DOMHTMLAppletElement
-
-- (HTMLAppletElement *)_appletElement
-{
- return static_cast<HTMLAppletElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)align
-{
- return [self _appletElement]->getAttribute(alignAttr);
-}
-
-- (void)setAlign:(NSString *)align
-{
- [self _appletElement]->setAttribute(alignAttr, align);
-}
-
-- (NSString *)alt
-{
- return [self _appletElement]->getAttribute(altAttr);
-}
-
-- (NSString *)altDisplayString
-{
- String alt = [self _appletElement]->getAttribute(altAttr);
- return alt.replace('\\', [self _element]->document()->backslashAsCurrencySymbol());
-}
-
-- (void)setAlt:(NSString *)alt
-{
- [self _appletElement]->setAttribute(altAttr, alt);
-}
-
-- (NSString *)archive
-{
- return [self _appletElement]->getAttribute(archiveAttr);
-}
-
-- (void)setArchive:(NSString *)archive
-{
- [self _appletElement]->setAttribute(archiveAttr, archive);
-}
-
-- (NSString *)code
-{
- return [self _appletElement]->getAttribute(codeAttr);
-}
-
-- (void)setCode:(NSString *)code
-{
- [self _appletElement]->setAttribute(codeAttr, code);
-}
-
-- (NSString *)codeBase
-{
- return [self _appletElement]->getAttribute(codebaseAttr);
-}
-
-- (void)setCodeBase:(NSString *)codeBase
-{
- [self _appletElement]->setAttribute(codebaseAttr, codeBase);
-}
-
-- (NSString *)height
-{
- return [self _appletElement]->getAttribute(heightAttr);
-}
-
-- (void)setHeight:(NSString *)height
-{
- [self _appletElement]->setAttribute(heightAttr, height);
-}
-
-- (int)hspace
-{
- return [self _appletElement]->getAttribute(hspaceAttr).toInt();
-}
-
-- (void)setHspace:(int)hspace
-{
- [self _appletElement]->setAttribute(hspaceAttr, String::number(hspace));
-}
-
-- (NSString *)name
-{
- return [self _appletElement]->getAttribute(nameAttr);
-}
-
-- (void)setName:(NSString *)name
-{
- [self _appletElement]->setAttribute(nameAttr, name);
-}
-
-- (NSString *)object
-{
- return [self _appletElement]->getAttribute(objectAttr);
-}
-
-- (void)setObject:(NSString *)object
-{
- [self _appletElement]->setAttribute(objectAttr, object);
-}
-
-- (int)vspace
-{
- return [self _appletElement]->getAttribute(vspaceAttr).toInt();
-}
-
-- (void)setVspace:(int)vspace
-{
- [self _appletElement]->setAttribute(vspaceAttr, String::number(vspace));
-}
-
-- (NSString *)width
-{
- return [self _appletElement]->getAttribute(widthAttr);
-}
-
-- (void)setWidth:(NSString *)width
-{
- [self _appletElement]->setAttribute(widthAttr, width);
-}
-
-@end
-
-@implementation DOMHTMLMapElement
-
-- (HTMLMapElement *)_mapElement
-{
- return static_cast<HTMLMapElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (DOMHTMLCollection *)areas
-{
- HTMLCollection *collection = new HTMLCollection([self _mapElement], HTMLCollection::MapAreas);
- return [DOMHTMLCollection _collectionWith:collection];
-}
-
-- (NSString *)name
-{
- return [self _mapElement]->getAttribute(nameAttr);
-}
-
-- (void)setName:(NSString *)name
-{
- [self _mapElement]->setAttribute(nameAttr, name);
-}
-
-@end
-
-@implementation DOMHTMLAreaElement
-
-- (HTMLAreaElement *)_areaElement
-{
- return static_cast<HTMLAreaElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)accessKey
-{
- return [self _areaElement]->getAttribute(accesskeyAttr);
-}
-
-- (void)setAccessKey:(NSString *)accessKey
-{
- [self _areaElement]->setAttribute(accesskeyAttr, accessKey);
-}
-
-- (NSString *)alt
-{
- return [self _areaElement]->getAttribute(altAttr);
-}
-
-- (NSString *)altDisplayString
-{
- String alt = [self _areaElement]->getAttribute(altAttr);
- return alt.replace('\\', [self _element]->document()->backslashAsCurrencySymbol());
-}
-
-- (void)setAlt:(NSString *)alt
-{
- [self _areaElement]->setAttribute(altAttr, alt);
-}
-
-- (NSString *)coords
-{
- return [self _areaElement]->getAttribute(coordsAttr);
-}
-
-- (void)setCoords:(NSString *)coords
-{
- [self _areaElement]->setAttribute(coordsAttr, coords);
-}
-
-- (NSURL *)absoluteLinkURL
-{
- return [self _getURLAttribute:@"href"];
-}
-
-- (NSString *)href
-{
- return [self _areaElement]->href();
-}
-
-- (void)setHref:(NSString *)href
-{
- [self _areaElement]->setAttribute(hrefAttr, href);
-}
-
-- (BOOL)noHref
-{
- return [self _areaElement]->getAttribute(nohrefAttr).isNull();
-}
-
-- (void)setNoHref:(BOOL)noHref
-{
- [self _areaElement]->setAttribute(nohrefAttr, noHref ? "" : 0);
-}
-
-- (NSString *)shape
-{
- return [self _areaElement]->getAttribute(shapeAttr);
-}
-
-- (void)setShape:(NSString *)shape
-{
- [self _areaElement]->setAttribute(shapeAttr, shape);
-}
-
-- (int)tabIndex
-{
- return [self _areaElement]->getAttribute(tabindexAttr).toInt();
-}
-
-- (void)setTabIndex:(int)tabIndex
-{
- [self _areaElement]->setAttribute(tabindexAttr, String::number(tabIndex));
-}
-
-- (NSString *)target
-{
- return [self _areaElement]->getAttribute(targetAttr);
-}
-
-- (void)setTarget:(NSString *)target
-{
- [self _areaElement]->setAttribute(targetAttr, target);
-}
-
-@end
-
-@implementation DOMHTMLScriptElement
-
-- (HTMLScriptElement *)_scriptElement
-{
- return static_cast<HTMLScriptElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)text
-{
- return [self _scriptElement]->getAttribute(textAttr);
-}
-
-- (void)setText:(NSString *)text
-{
- [self _scriptElement]->setAttribute(textAttr, text);
-}
-
-- (NSString *)htmlFor
-{
- ASSERT_WITH_MESSAGE(0, "not implemented by khtml");
- return nil;
-}
-
-- (void)setHtmlFor:(NSString *)htmlFor
-{
- ASSERT_WITH_MESSAGE(0, "not implemented by khtml");
-}
-
-- (NSString *)event
-{
- ASSERT_WITH_MESSAGE(0, "not implemented by khtml");
- return nil;
-}
-
-- (void)setEvent:(NSString *)event
-{
- ASSERT_WITH_MESSAGE(0, "not implemented by khtml");
-}
-
-- (NSString *)charset
-{
- return [self _scriptElement]->getAttribute(charsetAttr);
-}
-
-- (void)setCharset:(NSString *)charset
-{
- [self _scriptElement]->setAttribute(charsetAttr, charset);
-}
-
-- (BOOL)defer
-{
- return [self _scriptElement]->getAttribute(deferAttr).isNull();
-}
-
-- (void)setDefer:(BOOL)defer
-{
- [self _scriptElement]->setAttribute(deferAttr, defer ? "" : 0);
-}
-
-- (NSString *)src
-{
- return [self _scriptElement]->getAttribute(srcAttr);
-}
-
-- (void)setSrc:(NSString *)src
-{
- [self _scriptElement]->setAttribute(srcAttr, src);
-}
-
-- (NSString *)type
-{
- return [self _scriptElement]->getAttribute(typeAttr);
-}
-
-- (void)setType:(NSString *)type
-{
- [self _scriptElement]->setAttribute(typeAttr, type);
-}
-
-@end
-
-@implementation DOMHTMLTableCaptionElement
-
-- (NSString *)align
-{
- return [self _tableCaptionElement]->getAttribute(alignAttr);
-}
-
-- (void)setAlign:(NSString *)align
-{
- [self _tableCaptionElement]->setAttribute(alignAttr, align);
-}
-
-@end
-
-@implementation DOMHTMLTableCaptionElement (WebCoreInternal)
-
-+ (DOMHTMLTableCaptionElement *)_tableCaptionElementWith:(HTMLTableCaptionElement *)impl
-{
- return static_cast<DOMHTMLTableCaptionElement*>([DOMNode _nodeWith:impl]);
-}
-
-- (HTMLTableCaptionElement *)_tableCaptionElement
-{
- return static_cast<HTMLTableCaptionElement*>(DOM_cast<Node*>(_internal));
-}
-
-@end
-
-@implementation DOMHTMLTableSectionElement
-
-- (NSString *)align
-{
- return [self _tableSectionElement]->getAttribute(alignAttr);
-}
-
-- (void)setAlign:(NSString *)align
-{
- [self _tableSectionElement]->setAttribute(alignAttr, align);
-}
-
-- (NSString *)ch
-{
- return [self _tableSectionElement]->getAttribute(charoffAttr);
-}
-
-- (void)setCh:(NSString *)ch
-{
- [self _tableSectionElement]->setAttribute(charoffAttr, ch);
-}
-
-- (NSString *)chOff
-{
- return [self _tableSectionElement]->getAttribute(charoffAttr);
-}
-
-- (void)setChOff:(NSString *)chOff
-{
- [self _tableSectionElement]->setAttribute(charoffAttr, chOff);
-}
-
-- (NSString *)vAlign
-{
- return [self _tableSectionElement]->getAttribute(valignAttr);
-}
-
-- (void)setVAlign:(NSString *)vAlign
-{
- [self _tableSectionElement]->setAttribute(valignAttr, vAlign);
-}
-
-- (DOMHTMLCollection *)rows
-{
- HTMLCollection *collection = new HTMLCollection([self _tableSectionElement], HTMLCollection::TableRows);
- return [DOMHTMLCollection _collectionWith:collection];
-}
-
-- (DOMHTMLElement *)insertRow:(int)index
-{
- ExceptionCode ec = 0;
- HTMLElement *impl = [self _tableSectionElement]->insertRow(index, ec);
- raiseOnDOMError(ec);
- return [DOMHTMLElement _elementWith:impl];
-}
-
-- (void)deleteRow:(int)index
-{
- ExceptionCode ec = 0;
- [self _tableSectionElement]->deleteRow(index, ec);
- raiseOnDOMError(ec);
-}
-
-@end
-
-@implementation DOMHTMLTableSectionElement (WebCoreInternal)
-
-+ (DOMHTMLTableSectionElement *)_tableSectionElementWith:(HTMLTableSectionElement *)impl
-{
- return static_cast<DOMHTMLTableSectionElement*>([DOMNode _nodeWith:impl]);
-}
-
-- (HTMLTableSectionElement *)_tableSectionElement
-{
- return static_cast<HTMLTableSectionElement*>(DOM_cast<Node*>(_internal));
-}
-
-@end
-
-@implementation DOMHTMLTableElement
-
-- (DOMHTMLTableCaptionElement *)caption
-{
- return [DOMHTMLTableCaptionElement _tableCaptionElementWith:[self _tableElement]->caption()];
-}
-
-- (void)setCaption:(DOMHTMLTableCaptionElement *)caption
-{
- [self _tableElement]->setCaption([caption _tableCaptionElement]);
-}
-
-- (DOMHTMLTableSectionElement *)tHead
-{
- return [DOMHTMLTableSectionElement _tableSectionElementWith:[self _tableElement]->tHead()];
-}
-
-- (void)setTHead:(DOMHTMLTableSectionElement *)tHead
-{
- [self _tableElement]->setTHead([tHead _tableSectionElement]);
-}
-
-- (DOMHTMLTableSectionElement *)tFoot
-{
- return [DOMHTMLTableSectionElement _tableSectionElementWith:[self _tableElement]->tFoot()];
-}
-
-- (void)setTFoot:(DOMHTMLTableSectionElement *)tFoot
-{
- [self _tableElement]->setTFoot([tFoot _tableSectionElement]);
-}
-
-- (DOMHTMLCollection *)rows
-{
- HTMLCollection *collection = new HTMLCollection([self _tableElement], HTMLCollection::TableRows);
- return [DOMHTMLCollection _collectionWith:collection];
-}
-
-- (DOMHTMLCollection *)tBodies
-{
- HTMLCollection *collection = new HTMLCollection([self _tableElement], HTMLCollection::TableTBodies);
- return [DOMHTMLCollection _collectionWith:collection];
-}
-
-- (NSString *)align
-{
- return [self _tableElement]->getAttribute(alignAttr);
-}
-
-- (void)setAlign:(NSString *)align
-{
- [self _tableElement]->setAttribute(alignAttr, align);
-}
-
-- (NSString *)bgColor
-{
- return [self _tableElement]->getAttribute(bgcolorAttr);
-}
-
-- (void)setBgColor:(NSString *)bgColor
-{
- [self _tableElement]->setAttribute(bgcolorAttr, bgColor);
-}
-
-- (NSString *)border
-{
- return [self _tableElement]->getAttribute(borderAttr);
-}
-
-- (void)setBorder:(NSString *)border
-{
- [self _tableElement]->setAttribute(borderAttr, border);
-}
-
-- (NSString *)cellPadding
-{
- return [self _tableElement]->getAttribute(cellpaddingAttr);
-}
-
-- (void)setCellPadding:(NSString *)cellPadding
-{
- [self _tableElement]->setAttribute(cellpaddingAttr, cellPadding);
-}
-
-- (NSString *)cellSpacing
-{
- return [self _tableElement]->getAttribute(cellspacingAttr);
-}
-
-- (void)setCellSpacing:(NSString *)cellSpacing
-{
- [self _tableElement]->setAttribute(cellspacingAttr, cellSpacing);
-}
-
-- (NSString *)frameBorders
-{
- return [self _tableElement]->getAttribute(frameAttr);
-}
-
-- (void)setFrameBorders:(NSString *)frameBorders
-{
- [self _tableElement]->setAttribute(frameAttr, frameBorders);
-}
-
-- (NSString *)rules
-{
- return [self _tableElement]->getAttribute(rulesAttr);
-}
-
-- (void)setRules:(NSString *)rules
-{
- [self _tableElement]->setAttribute(rulesAttr, rules);
-}
-
-- (NSString *)summary
-{
- return [self _tableElement]->getAttribute(summaryAttr);
-}
-
-- (void)setSummary:(NSString *)summary
-{
- [self _tableElement]->setAttribute(summaryAttr, summary);
-}
-
-- (NSString *)width
-{
- return [self _tableElement]->getAttribute(widthAttr);
-}
-
-- (void)setWidth:(NSString *)width
-{
- [self _tableElement]->setAttribute(widthAttr, width);
-}
-
-- (DOMHTMLElement *)createTHead
-{
- HTMLTableSectionElement *impl = static_cast<HTMLTableSectionElement*>([self _tableElement]->createTHead());
- return [DOMHTMLTableSectionElement _tableSectionElementWith:impl];
-}
-
-- (void)deleteTHead
-{
- [self _tableElement]->deleteTHead();
-}
-
-- (DOMHTMLElement *)createTFoot
-{
- HTMLTableSectionElement *impl = static_cast<HTMLTableSectionElement*>([self _tableElement]->createTFoot());
- return [DOMHTMLTableSectionElement _tableSectionElementWith:impl];
-}
-
-- (void)deleteTFoot
-{
- [self _tableElement]->deleteTFoot();
-}
-
-- (DOMHTMLElement *)createCaption
-{
- HTMLTableCaptionElement *impl = static_cast<HTMLTableCaptionElement*>([self _tableElement]->createCaption());
- return [DOMHTMLTableCaptionElement _tableCaptionElementWith:impl];
-}
-
-- (void)deleteCaption
-{
- [self _tableElement]->deleteCaption();
-}
-
-- (DOMHTMLElement *)insertRow:(int)index
-{
- ExceptionCode ec = 0;
- HTMLTableElement *impl = static_cast<HTMLTableElement*>([self _tableElement]->insertRow(index, ec));
- raiseOnDOMError(ec);
- return [DOMHTMLTableElement _tableElementWith:impl];
-}
-
-- (void)deleteRow:(int)index
-{
- ExceptionCode ec = 0;
- [self _tableElement]->deleteRow(index, ec);
- raiseOnDOMError(ec);
-}
-
-@end
-
-@implementation DOMHTMLTableElement (WebCoreInternal)
-
-+ (DOMHTMLTableElement *)_tableElementWith:(HTMLTableElement *)impl
-{
- return static_cast<DOMHTMLTableElement*>([DOMNode _nodeWith:impl]);
-}
-
-- (HTMLTableElement *)_tableElement
-{
- return static_cast<HTMLTableElement*>(DOM_cast<Node*>(_internal));
-}
-
-@end
-
-@implementation DOMHTMLTableColElement
-
-- (HTMLTableColElement *)_tableColElement
-{
- return static_cast<HTMLTableColElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)align
-{
- return [self _tableColElement]->getAttribute(alignAttr);
-}
-
-- (void)setAlign:(NSString *)align
-{
- [self _tableColElement]->setAttribute(alignAttr, align);
-}
-
-- (NSString *)ch
-{
- return [self _tableColElement]->getAttribute(charoffAttr);
-}
-
-- (void)setCh:(NSString *)ch
-{
- [self _tableColElement]->setAttribute(charoffAttr, ch);
-}
-
-- (NSString *)chOff
-{
- return [self _tableColElement]->getAttribute(charoffAttr);
-}
-
-- (void)setChOff:(NSString *)chOff
-{
- [self _tableColElement]->setAttribute(charoffAttr, chOff);
-}
-
-- (int)span
-{
- return [self _tableColElement]->getAttribute(spanAttr).toInt();
-}
-
-- (void)setSpan:(int)span
-{
- [self _tableColElement]->setAttribute(spanAttr, String::number(span));
-}
-
-- (NSString *)vAlign
-{
- return [self _tableColElement]->getAttribute(valignAttr);
-}
-
-- (void)setVAlign:(NSString *)vAlign
-{
- [self _tableColElement]->setAttribute(valignAttr, vAlign);
-}
-
-- (NSString *)width
-{
- return [self _tableColElement]->getAttribute(widthAttr);
-}
-
-- (void)setWidth:(NSString *)width
-{
- [self _tableColElement]->setAttribute(widthAttr, width);
-}
-
-@end
-
-@implementation DOMHTMLTableRowElement
-
-- (HTMLTableRowElement *)_tableRowElement
-{
- return static_cast<HTMLTableRowElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (int)rowIndex
-{
- return [self _tableRowElement]->rowIndex();
-}
-
-- (int)sectionRowIndex
-{
- return [self _tableRowElement]->sectionRowIndex();
-}
-
-- (DOMHTMLCollection *)cells
-{
- HTMLCollection *collection = new HTMLCollection([self _tableRowElement], HTMLCollection::TRCells);
- return [DOMHTMLCollection _collectionWith:collection];
-}
-
-- (NSString *)align
-{
- return [self _tableRowElement]->getAttribute(alignAttr);
-}
-
-- (void)setAlign:(NSString *)align
-{
- [self _tableRowElement]->setAttribute(alignAttr, align);
-}
-
-- (NSString *)bgColor
-{
- return [self _tableRowElement]->getAttribute(bgcolorAttr);
-}
-
-- (void)setBgColor:(NSString *)bgColor
-{
- [self _tableRowElement]->setAttribute(bgcolorAttr, bgColor);
-}
-
-- (NSString *)ch
-{
- return [self _tableRowElement]->getAttribute(charoffAttr);
-}
-
-- (void)setCh:(NSString *)ch
-{
- [self _tableRowElement]->setAttribute(charoffAttr, ch);
-}
-
-- (NSString *)chOff
-{
- return [self _tableRowElement]->getAttribute(charoffAttr);
-}
-
-- (void)setChOff:(NSString *)chOff
-{
- [self _tableRowElement]->setAttribute(charoffAttr, chOff);
-}
-
-- (NSString *)vAlign
-{
- return [self _tableRowElement]->getAttribute(valignAttr);
-}
-
-- (void)setVAlign:(NSString *)vAlign
-{
- [self _tableRowElement]->setAttribute(valignAttr, vAlign);
-}
-
-- (DOMHTMLElement *)insertCell:(int)index
-{
- ExceptionCode ec = 0;
- HTMLTableCellElement *impl = static_cast<HTMLTableCellElement*>([self _tableRowElement]->insertCell(index, ec));
- raiseOnDOMError(ec);
- return [DOMHTMLTableCellElement _tableCellElementWith:impl];
-}
-
-- (void)deleteCell:(int)index
-{
- ExceptionCode ec = 0;
- [self _tableRowElement]->deleteCell(index, ec);
- raiseOnDOMError(ec);
-}
-
-@end
-
-@implementation DOMHTMLTableCellElement
-
-- (int)cellIndex
-{
- return [self _tableCellElement]->cellIndex();
-}
-
-- (NSString *)abbr
-{
- return [self _tableCellElement]->getAttribute(abbrAttr);
-}
-
-- (void)setAbbr:(NSString *)abbr
-{
- [self _tableCellElement]->setAttribute(abbrAttr, abbr);
-}
-
-- (NSString *)align
-{
- return [self _tableCellElement]->getAttribute(alignAttr);
-}
-
-- (void)setAlign:(NSString *)align
-{
- [self _tableCellElement]->setAttribute(alignAttr, align);
-}
-
-- (NSString *)axis
-{
- return [self _tableCellElement]->getAttribute(axisAttr);
-}
-
-- (void)setAxis:(NSString *)axis
-{
- [self _tableCellElement]->setAttribute(axisAttr, axis);
-}
-
-- (NSString *)bgColor
-{
- return [self _tableCellElement]->getAttribute(bgcolorAttr);
-}
-
-- (void)setBgColor:(NSString *)bgColor
-{
- [self _tableCellElement]->setAttribute(bgcolorAttr, bgColor);
-}
-
-- (NSString *)ch
-{
- return [self _tableCellElement]->getAttribute(charoffAttr);
-}
-
-- (void)setCh:(NSString *)ch
-{
- [self _tableCellElement]->setAttribute(charoffAttr, ch);
-}
-
-- (NSString *)chOff
-{
- return [self _tableCellElement]->getAttribute(charoffAttr);
-}
-
-- (void)setChOff:(NSString *)chOff
-{
- [self _tableCellElement]->setAttribute(charoffAttr, chOff);
-}
-
-- (int)colSpan
-{
- return [self _tableCellElement]->getAttribute(colspanAttr).toInt();
-}
-
-- (void)setColSpan:(int)colSpan
-{
- [self _tableCellElement]->setAttribute(colspanAttr, String::number(colSpan));
-}
-
-- (NSString *)headers
-{
- return [self _tableCellElement]->getAttribute(headersAttr);
-}
-
-- (void)setHeaders:(NSString *)headers
-{
- [self _tableCellElement]->setAttribute(headersAttr, headers);
-}
-
-- (NSString *)height
-{
- return [self _tableCellElement]->getAttribute(heightAttr);
-}
-
-- (void)setHeight:(NSString *)height
-{
- [self _tableCellElement]->setAttribute(heightAttr, height);
-}
-
-- (BOOL)noWrap
-{
- return [self _tableCellElement]->getAttribute(nowrapAttr).isNull();
-}
-
-- (void)setNoWrap:(BOOL)noWrap
-{
- [self _tableCellElement]->setAttribute(nowrapAttr, noWrap ? "" : 0);
-}
-
-- (int)rowSpan
-{
- return [self _tableCellElement]->getAttribute(rowspanAttr).toInt();
-}
-
-- (void)setRowSpan:(int)rowSpan
-{
- [self _tableCellElement]->setAttribute(rowspanAttr, String::number(rowSpan));
-}
-
-- (NSString *)scope
-{
- return [self _tableCellElement]->getAttribute(scopeAttr);
-}
-
-- (void)setScope:(NSString *)scope
-{
- [self _tableCellElement]->setAttribute(scopeAttr, scope);
-}
-
-- (NSString *)vAlign
-{
- return [self _tableCellElement]->getAttribute(valignAttr);
-}
-
-- (void)setVAlign:(NSString *)vAlign
-{
- [self _tableCellElement]->setAttribute(valignAttr, vAlign);
-}
-
-- (NSString *)width
-{
- return [self _tableCellElement]->getAttribute(widthAttr);
-}
-
-- (void)setWidth:(NSString *)width
-{
- [self _tableCellElement]->setAttribute(widthAttr, width);
-}
-
-@end
-
-@implementation DOMHTMLTableCellElement (WebCoreInternal)
-
-+ (DOMHTMLTableCellElement *)_tableCellElementWith:(HTMLTableCellElement *)impl
-{
- return static_cast<DOMHTMLTableCellElement*>([DOMNode _nodeWith:impl]);
-}
-
-- (HTMLTableCellElement *)_tableCellElement
-{
- return static_cast<HTMLTableCellElement*>(DOM_cast<Node*>(_internal));
-}
-
-@end
-
-@implementation DOMHTMLFrameSetElement
-
-- (HTMLFrameSetElement *)_frameSetElement
-{
- return static_cast<HTMLFrameSetElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)rows
-{
- return [self _frameSetElement]->getAttribute(rowsAttr);
-}
-
-- (void)setRows:(NSString *)rows
-{
- [self _frameSetElement]->setAttribute(rowsAttr, rows);
-}
-
-- (NSString *)cols
-{
- return [self _frameSetElement]->getAttribute(colsAttr);
-}
-
-- (void)setCols:(NSString *)cols
-{
- [self _frameSetElement]->setAttribute(colsAttr, cols);
-}
-
-@end
-
-@implementation DOMHTMLFrameElement
-
-- (HTMLFrameElement *)_frameElement
-{
- return static_cast<HTMLFrameElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)frameBorder
-{
- return [self _frameElement]->getAttribute(frameborderAttr);
-}
-
-- (void)setFrameBorder:(NSString *)frameBorder
-{
- [self _frameElement]->setAttribute(frameborderAttr, frameBorder);
-}
-
-- (NSString *)longDesc
-{
- return [self _frameElement]->getAttribute(longdescAttr);
-}
-
-- (void)setLongDesc:(NSString *)longDesc
-{
- [self _frameElement]->setAttribute(longdescAttr, longDesc);
-}
-
-- (NSString *)marginHeight
-{
- return [self _frameElement]->getAttribute(marginheightAttr);
-}
-
-- (void)setMarginHeight:(NSString *)marginHeight
-{
- [self _frameElement]->setAttribute(marginheightAttr, marginHeight);
-}
-
-- (NSString *)marginWidth
-{
- return [self _frameElement]->getAttribute(marginwidthAttr);
-}
-
-- (void)setMarginWidth:(NSString *)marginWidth
-{
- [self _frameElement]->setAttribute(marginwidthAttr, marginWidth);
-}
-
-- (NSString *)name
-{
- return [self _frameElement]->getAttribute(nameAttr);
-}
-
-- (void)setName:(NSString *)name
-{
- [self _frameElement]->setAttribute(nameAttr, name);
-}
-
-- (BOOL)noResize
-{
- return [self _frameElement]->getAttribute(noresizeAttr).isNull();
-}
-
-- (void)setNoResize:(BOOL)noResize
-{
- [self _frameElement]->setAttribute(noresizeAttr, noResize ? "" : 0);
-}
-
-- (NSString *)scrolling
-{
- return [self _frameElement]->getAttribute(scrollingAttr);
-}
-
-- (void)setScrolling:(NSString *)scrolling
-{
- [self _frameElement]->setAttribute(scrollingAttr, scrolling);
-}
-
-- (NSString *)src
-{
- return [self _frameElement]->getAttribute(srcAttr);
-}
-
-- (void)setSrc:(NSString *)src
-{
- [self _frameElement]->setAttribute(srcAttr, src);
-}
-
-- (DOMDocument *)contentDocument
-{
- return [DOMDocument _documentWith:[self _frameElement]->contentDocument()];
-}
-
-@end
-
-@implementation DOMHTMLIFrameElement
-
-- (HTMLIFrameElement *)_IFrameElement
-{
- return static_cast<HTMLIFrameElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)align
-{
- return [self _IFrameElement]->getAttribute(alignAttr);
-}
-
-- (void)setAlign:(NSString *)align
-{
- [self _IFrameElement]->setAttribute(alignAttr, align);
-}
-
-- (NSString *)frameBorder
-{
- return [self _IFrameElement]->getAttribute(frameborderAttr);
-}
-
-- (void)setFrameBorder:(NSString *)frameBorder
-{
- [self _IFrameElement]->setAttribute(frameborderAttr, frameBorder);
-}
-
-- (NSString *)height
-{
- return [self _IFrameElement]->getAttribute(heightAttr);
-}
-
-- (void)setHeight:(NSString *)height
-{
- [self _IFrameElement]->setAttribute(heightAttr, height);
-}
-
-- (NSString *)longDesc
-{
- return [self _IFrameElement]->getAttribute(longdescAttr);
-}
-
-- (void)setLongDesc:(NSString *)longDesc
-{
- [self _IFrameElement]->setAttribute(longdescAttr, longDesc);
-}
-
-- (NSString *)marginHeight
-{
- return [self _IFrameElement]->getAttribute(marginheightAttr);
-}
-
-- (void)setMarginHeight:(NSString *)marginHeight
-{
- [self _IFrameElement]->setAttribute(marginheightAttr, marginHeight);
-}
-
-- (NSString *)marginWidth
-{
- return [self _IFrameElement]->getAttribute(marginwidthAttr);
-}
-
-- (void)setMarginWidth:(NSString *)marginWidth
-{
- [self _IFrameElement]->setAttribute(marginwidthAttr, marginWidth);
-}
-
-- (NSString *)name
-{
- return [self _IFrameElement]->getAttribute(nameAttr);
-}
-
-- (void)setName:(NSString *)name
-{
- [self _IFrameElement]->setAttribute(nameAttr, name);
-}
-
-- (BOOL)noResize
-{
- return [self _IFrameElement]->getAttribute(noresizeAttr).isNull();
-}
-
-- (void)setNoResize:(BOOL)noResize
-{
- [self _IFrameElement]->setAttribute(noresizeAttr, noResize ? "" : 0);
-}
-
-- (NSString *)scrolling
-{
- return [self _IFrameElement]->getAttribute(scrollingAttr);
-}
-
-- (void)setScrolling:(NSString *)scrolling
-{
- [self _IFrameElement]->setAttribute(scrollingAttr, scrolling);
-}
-
-- (NSString *)src
-{
- return [self _IFrameElement]->getAttribute(srcAttr);
-}
-
-- (void)setSrc:(NSString *)src
-{
- [self _IFrameElement]->setAttribute(srcAttr, src);
-}
-
-- (NSString *)width
-{
- return [self _IFrameElement]->getAttribute(widthAttr);
-}
-
-- (void)setWidth:(NSString *)width
-{
- [self _IFrameElement]->setAttribute(widthAttr, width);
-}
-
-- (DOMDocument *)contentDocument
-{
- return [DOMDocument _documentWith:[self _IFrameElement]->contentDocument()];
-}
-
-@end
-
-#pragma mark DOM EXTENSIONS
+//------------------------------------------------------------------------------------------
+// DOMHTMLEmbedElement
@implementation DOMHTMLEmbedElement
--- /dev/null
+/*
+ * Copyright (C) 2004-2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMHTMLElement.h>
+
+@interface DOMHTMLAppletElement : DOMHTMLElement
+- (NSString *)align;
+- (void)setAlign:(NSString *)align;
+- (NSString *)alt;
+- (void)setAlt:(NSString *)alt;
+- (NSString *)archive;
+- (void)setArchive:(NSString *)archive;
+- (NSString *)code;
+- (void)setCode:(NSString *)code;
+- (NSString *)codeBase;
+- (void)setCodeBase:(NSString *)codeBase;
+- (NSString *)height;
+- (void)setHeight:(NSString *)height;
+- (int)hspace;
+- (void)setHspace:(int)hspace;
+- (NSString *)name;
+- (void)setName:(NSString *)name;
+- (NSString *)object;
+- (void)setObject:(NSString *)object;
+- (int)vspace;
+- (void)setVspace:(int)vspace;
+- (NSString *)width;
+- (void)setWidth:(NSString *)width;
+@end
--- /dev/null
+/*
+ * Copyright (C) 2004-2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMHTMLAppletElement.h"
+
+#import "DOMInternal.h"
+#import "DOMHTMLInternal.h"
+#import "HTMLAppletElement.h"
+#import "PlatformString.h"
+
+@implementation DOMHTMLAppletElement
+
+- (WebCore::HTMLAppletElement *)_appletElement
+{
+ return static_cast<WebCore::HTMLAppletElement *>(DOM_cast<WebCore::Node *>(_internal));
+}
+
+- (NSString *)align
+{
+ return [self _appletElement]->align();
+}
+
+- (void)setAlign:(NSString *)align
+{
+ [self _appletElement]->setAlign(align);
+}
+
+- (NSString *)alt
+{
+ return [self _appletElement]->alt();
+}
+
+- (void)setAlt:(NSString *)alt
+{
+ [self _appletElement]->setAlt(alt);
+}
+
+- (NSString *)archive
+{
+ return [self _appletElement]->archive();
+}
+
+- (void)setArchive:(NSString *)archive
+{
+ [self _appletElement]->setArchive(archive);
+}
+
+- (NSString *)code
+{
+ return [self _appletElement]->code();
+}
+
+- (void)setCode:(NSString *)code
+{
+ [self _appletElement]->setCode(code);
+}
+
+- (NSString *)codeBase
+{
+ return [self _appletElement]->codeBase();
+}
+
+- (void)setCodeBase:(NSString *)codeBase
+{
+ [self _appletElement]->setCodeBase(codeBase);
+}
+
+- (NSString *)height
+{
+ return [self _appletElement]->height();
+}
+
+- (void)setHeight:(NSString *)height
+{
+ [self _appletElement]->setHeight(height);
+}
+
+//FIXME: DOM spec says hspace should be a DOMString, not an int
+- (int)hspace
+{
+ return [self _appletElement]->hspace().toInt();
+}
+
+- (void)setHspace:(int)hspace
+{
+ [self _appletElement]->setHspace(WebCore::String::number(hspace));
+}
+
+- (NSString *)name
+{
+ return [self _appletElement]->name();
+}
+
+- (void)setName:(NSString *)name
+{
+ [self _appletElement]->setName(name);
+}
+
+- (NSString *)object
+{
+ return [self _appletElement]->object();
+}
+
+- (void)setObject:(NSString *)object
+{
+ [self _appletElement]->setObject(object);
+}
+
+//FIXME: DOM spec says vspace should be a DOMString, not an int
+- (int)vspace
+{
+ return [self _appletElement]->vspace().toInt();
+}
+
+- (void)setVspace:(int)vspace
+{
+ [self _appletElement]->setVspace(WebCore::String::number(vspace));
+}
+
+- (NSString *)width
+{
+ return [self _appletElement]->width();
+}
+
+- (void)setWidth:(NSString *)width
+{
+ [self _appletElement]->setWidth(width);
+}
+
+@end
#import "DOMHTMLDocument.h"
#import "DOMHTMLElement.h"
#import "DOMHTMLFormElement.h"
-#import "DOMHTMLOptionsCollection.h"
+#import "DOMHTMLImageElement.h"
#import "DOMHTMLInputElement.h"
+#import "DOMHTMLObjectElement.h"
+#import "DOMHTMLOptionsCollection.h"
+#import "DOMHTMLTableCaptionElement.h"
+#import "DOMHTMLTableCellElement.h"
+#import "DOMHTMLTableElement.h"
+#import "DOMHTMLTableSectionElement.h"
namespace WebCore {
class HTMLCollection;
@end
@interface DOMHTMLObjectElement (WebCoreInternal)
-- (WebCore::HTMLObjectElement *)_objectElement;
+- (WebCore::HTMLObjectElement *)_HTMLObjectElement;
@end
@interface DOMHTMLInputElement (WebCoreInternal)
--- /dev/null
+/*
+ * Copyright (C) 2004-2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMHTMLElement.h>
+
+@class DOMHTMLFormElement;
+
+@interface DOMHTMLOptionElement : DOMHTMLElement
+- (DOMHTMLFormElement *)form;
+- (BOOL)defaultSelected;
+- (void)setDefaultSelected:(BOOL)defaultSelected;
+- (NSString *)text;
+- (int)index;
+- (BOOL)disabled;
+- (void)setDisabled:(BOOL)disabled;
+- (NSString *)label;
+- (void)setLabel:(NSString *)label;
+- (BOOL)selected;
+- (void)setSelected:(BOOL)selected;
+- (NSString *)value;
+- (void)setValue:(NSString *)value;
+@end
--- /dev/null
+/*
+ * Copyright (C) 2004-2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMHTMLOptionElement.h"
+
+#import "DOMInternal.h"
+#import "DOMHTMLInternal.h"
+#import "HTMLOptionElement.h"
+#import "DOMHTMLFormElement.h"
+#import "PlatformString.h"
+
+
+// FIXME: DOMHTMLOptionElement cannot be auto-generated yet because of some
+// differeneces between the old bindings and the idl.
+@implementation DOMHTMLOptionElement
+
+- (WebCore::HTMLOptionElement *)_optionElement
+{
+ return static_cast<WebCore::HTMLOptionElement *>(DOM_cast<WebCore::Node *>(_internal));
+}
+
+- (DOMHTMLFormElement *)form
+{
+ return [DOMHTMLFormElement _formElementWith:[self _optionElement]->form()];
+}
+
+- (BOOL)defaultSelected
+{
+ return [self _optionElement]->defaultSelected();
+}
+
+- (void)setDefaultSelected:(BOOL)defaultSelected
+{
+ [self _optionElement]->setDefaultSelected(defaultSelected);
+}
+
+- (NSString *)text
+{
+ return [self _optionElement]->text();
+}
+
+- (int)index
+{
+ return [self _optionElement]->index();
+}
+
+- (BOOL)disabled
+{
+ return [self _optionElement]->disabled();
+}
+
+- (void)setDisabled:(BOOL)disabled
+{
+ [self _optionElement]->setDisabled(disabled);
+}
+
+- (NSString *)label
+{
+ return [self _optionElement]->label();
+}
+
+- (void)setLabel:(NSString *)label
+{
+ [self _optionElement]->setLabel(label);
+}
+
+- (BOOL)selected
+{
+ return [self _optionElement]->selected();
+}
+
+- (void)setSelected:(BOOL)selected
+{
+ [self _optionElement]->setSelected(selected);
+}
+
+- (NSString *)value
+{
+ return [self _optionElement]->value();
+}
+
+- (void)setValue:(NSString *)value
+{
+ [self _optionElement]->setValue(value);
+}
+
+@end
/*
- * Copyright (C) 2004 Apple Computer, Inc. All rights reserved.
+ * Copyright (C) 2004-2006 Apple Computer, Inc. All rights reserved.
* Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
#import <WebCore/DOMElement.h>
#import <WebCore/DOMEvents.h>
#import <WebCore/DOMHTML.h>
-#import <WebCore/DOMNode.h>
-#import <WebCore/DOMRange.h>
-
#import <WebCore/DOMHTMLDocument.h>
-#import <WebCore/DOMHTMLSelectElement.h>
#import <WebCore/DOMHTMLInputElement.h>
+#import <WebCore/DOMHTMLSelectElement.h>
+#import <WebCore/DOMNode.h>
+#import <WebCore/DOMRange.h>
@interface DOMRange (WebPrivate)
// uses same algorithm as innerText
# Default Licence Templates
my $headerLicenceTemplate = << "EOF";
/*
- * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (C) 2004-2006 Apple Computer, Inc. All rights reserved.
* Copyright (C) 2006 Samuel Weinig <sam.weinig\@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
my $implementationLicenceTemplate = << "EOF";
/*
- This file is part of the WebKit open source project.
- This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
- 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.
-*/
+ * This file is part of the WebKit open source project.
+ * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
EOF
# Default constructor
$typeMaker = "optionsCollection";
} elsif ($type eq "HTMLDocument") {
$typeMaker = "HTMLDocument";
+ } elsif ($type eq "HTMLTableCaptionElement") {
+ $typeMaker = "tableCaptionElement";
+ } elsif ($type eq "HTMLTableSectionElement") {
+ $typeMaker = "tableSectionElement";
} elsif ($type eq "CSSStyleDeclaration") {
$typeMaker = "styleDeclaration";
} elsif ($type eq "CSSStyleSheet") {
my $combinedConstants = join(",\n", @headerConstants);
# FIXME: the formatting of the enums should line up the equal signs.
- push(@headerContent, "\n// Constants\n");
- push(@headerContent, "enum {\n");
+ push(@headerContent, "\nenum {\n");
push(@headerContent, $combinedConstants);
push(@headerContent, "\n};\n");
}
@implContent = ();
# START implementation
- push(@implContent, "\n\@implementation $className\n\n");
+ push(@implContent, "\@implementation $className\n\n");
if ($hasFunctionsOrAttributes) {
if ($parentImplClassName eq "Object") {
my $setterName = "set" . ucfirst($interfaceName);
my $argName = "new" . ucfirst($interfaceName);
+ # FIXME: should move this out into it's own fuction to share with
+ # the similar function parameter code below.
+ my $arg = "";
+ if ($codeGenerator->IsPrimitiveType($idlType) or $idlType eq "DOMString") {
+ $arg = $argName;
+ } elsif ($idlType eq "HTMLTableCaptionElement") {
+ $arg = "[" . $argName . " _tableCaptionElement]";
+ } elsif ($idlType eq "HTMLTableSectionElement") {
+ $arg = "[" . $argName . " _tableSectionElement]";
+ } else {
+ $arg = "[" . $argName . " _" . lcfirst($idlType) . "]";
+ }
+
+
my $setterSig = "- (void)$setterName:($attributeType)$argName\n";
push(@implContent, $setterSig);
push(@implContent, "{\n");
unless ($codeGenerator->IsPrimitiveType($idlType) or $idlType eq "DOMString") {
- push(@implContent, " ASSERT($argName)\n\n");
+ push(@implContent, " ASSERT($argName);\n\n");
}
if ($hasSetterException) {
push(@implContent, " $exceptionInit\n");
- push(@implContent, " IMPL->$attributeName($argName, ec);\n");
+ push(@implContent, " IMPL->$attributeName($arg, ec);\n");
push(@implContent, " $exceptionRaiseOnError\n");
} else {
- push(@implContent, " IMPL->$attributeName($argName);\n");
+ push(@implContent, " IMPL->$attributeName($arg);\n");
}
push(@implContent, "}\n\n");
my $paramName = $param->name;
- # FIXME: should move this out into it's own fuction to take care of possible special cases.
+ # FIXME: should move this out into it's own fuction to share with
+ # the similar setter parameter code above.
my $idlType = $codeGenerator->StripModule($param->type);
if ($codeGenerator->IsPrimitiveType($idlType) or $idlType eq "DOMString") {
push(@parameterNames, $paramName);
# Write content to file.
print $IMPL @implContentHeader;
+ my $includeCount = 0;
foreach my $implInclude (sort keys(%implIncludes)) {
print $IMPL "#import \"$implInclude\"\n";
+ $includeCount++;
}
+ unless ($includeCount == 0) {
+ print $IMPL "\n";
+ }
+
print $IMPL @implContent;
close($IMPL);
undef($IMPL);
+2006-08-31 Sam Weinig <sam.weinig@gmail.com>
+
+ Reviewed by Tim H.
+
+ - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10669
+ Auto-generate the remaining Objective-C HTML DOM bindings
+
+ * MigrateHeaders.make:
+
2006-08-31 Adele Peterson <adele@apple.com>
Reviewed by Darin.
DOMEvents.h \
DOMExtensions.h \
DOMHTML.h \
+ DOMHTMLAnchorElement.h \
+ DOMHTMLAppletElement.h \
+ DOMHTMLAreaElement.h \
DOMHTMLBRElement.h \
DOMHTMLBaseElement.h \
+ DOMHTMLBaseFontElement.h \
DOMHTMLBodyElement.h \
DOMHTMLButtonElement.h \
DOMHTMLCollection.h \
DOMHTMLDocument.h \
DOMHTMLElement.h \
DOMHTMLFieldSetElement.h \
+ DOMHTMLFontElement.h \
DOMHTMLFormElement.h \
+ DOMHTMLFrameElement.h \
+ DOMHTMLFrameSetElement.h \
+ DOMHTMLHRElement.h \
DOMHTMLHeadElement.h \
DOMHTMLHeadingElement.h \
DOMHTMLHtmlElement.h \
+ DOMHTMLIFrameElement.h \
+ DOMHTMLImageElement.h \
DOMHTMLInputElement.h \
DOMHTMLIsIndexElement.h \
DOMHTMLLIElement.h \
DOMHTMLLabelElement.h \
DOMHTMLLegendElement.h \
DOMHTMLLinkElement.h \
+ DOMHTMLMapElement.h \
DOMHTMLMenuElement.h \
DOMHTMLMetaElement.h \
+ DOMHTMLModElement.h \
DOMHTMLOListElement.h \
+ DOMHTMLObjectElement.h \
DOMHTMLOptGroupElement.h \
+ DOMHTMLOptionElement.h \
DOMHTMLOptionsCollection.h \
DOMHTMLParagraphElement.h \
+ DOMHTMLParamElement.h \
DOMHTMLPreElement.h \
DOMHTMLQuoteElement.h \
+ DOMHTMLScriptElement.h \
DOMHTMLSelectElement.h \
DOMHTMLStyleElement.h \
+ DOMHTMLTableCaptionElement.h \
+ DOMHTMLTableCellElement.h \
+ DOMHTMLTableColElement.h \
+ DOMHTMLTableElement.h \
+ DOMHTMLTableRowElement.h \
+ DOMHTMLTableSectionElement.h \
DOMHTMLTextAreaElement.h \
DOMHTMLTitleElement.h \
DOMHTMLUListElement.h \