Changeset 16172 in webkit


Ignore:
Timestamp:
Aug 31, 2006 9:08:14 PM (18 years ago)
Author:
thatcher
Message:

WebCore:

Reviewed by Tim H.


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:

WebKit:

Reviewed by Tim H.

  • MigrateHeaders.make:
Location:
trunk
Files:
4 added
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r16171 r16172  
     12006-08-31  Sam Weinig  <sam.weinig@gmail.com>
     2
     3        Reviewed by Tim H.
     4
     5        - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10669
     6          Auto-generate the remaining Objective-C HTML DOM bindings
     7         
     8          Auto-generates DOMHTMLAnchorElement, DOMHTMLAreaElement,
     9          DOMHTMLBaseFontElement, DOMHTMLFontElement, DOMHTMLFrameElement,
     10          DOMHTMLFrameSetElement, DOMHTMLHRElement, DOMHTMLIFrameElement,
     11          DOMHTMLImageElement, DOMHTMLMapElement, DOMHTMLModElement,
     12          DOMHTMLObjectElement, DOMHTMLParamElement, DOMHTMLScriptElement,
     13          DOMHTMLTableCaptionElement, DOMHTMLTableCellElement,
     14          DOMHTMLTableColElement, DOMHTMLTableElement, DOMHTMLTableRowElement,
     15          and DOMHTMLTableSectionElement. 
     16
     17          Splits DOMHTMLAppletElement and DOMHTMLOptionElement into their own
     18          files.
     19
     20        * DerivedSources.make:
     21        * WebCore.xcodeproj/project.pbxproj:
     22        * bindings/objc/DOM.mm:
     23        * bindings/objc/DOMExtensions.h:
     24        * bindings/objc/DOMHTML.h:
     25        * bindings/objc/DOMHTML.mm:
     26        (-[DOMHTMLAnchorElement absoluteLinkURL]):
     27        (-[DOMHTMLImageElement altDisplayString]):
     28        (-[DOMHTMLImageElement absoluteImageURL]):
     29        (-[DOMHTMLImageElement WebCore::]):
     30        (-[DOMHTMLObjectElement absoluteImageURL]):
     31        (-[DOMHTMLObjectElement WebCore::]):
     32        (+[DOMHTMLTableCaptionElement _tableCaptionElementWith:]):
     33        (-[DOMHTMLTableCaptionElement _tableCaptionElement]):
     34        (+[DOMHTMLTableSectionElement _tableSectionElementWith:]):
     35        (-[DOMHTMLTableSectionElement _tableSectionElement]):
     36        (+[DOMHTMLTableElement _tableElementWith:]):
     37        (-[DOMHTMLTableElement _tableElement]):
     38        (+[DOMHTMLTableCellElement _tableCellElementWith:]):
     39        (-[DOMHTMLTableCellElement _tableCellElement]):
     40        * bindings/objc/DOMHTMLAppletElement.h: Added.
     41        * bindings/objc/DOMHTMLAppletElement.mm: Added.
     42        (-[DOMHTMLAppletElement WebCore::]):
     43        (-[DOMHTMLAppletElement align]):
     44        (-[DOMHTMLAppletElement setAlign:]):
     45        (-[DOMHTMLAppletElement alt]):
     46        (-[DOMHTMLAppletElement setAlt:]):
     47        (-[DOMHTMLAppletElement archive]):
     48        (-[DOMHTMLAppletElement setArchive:]):
     49        (-[DOMHTMLAppletElement code]):
     50        (-[DOMHTMLAppletElement setCode:]):
     51        (-[DOMHTMLAppletElement codeBase]):
     52        (-[DOMHTMLAppletElement setCodeBase:]):
     53        (-[DOMHTMLAppletElement height]):
     54        (-[DOMHTMLAppletElement setHeight:]):
     55        (-[DOMHTMLAppletElement hspace]):
     56        (-[DOMHTMLAppletElement setHspace:]):
     57        (-[DOMHTMLAppletElement name]):
     58        (-[DOMHTMLAppletElement setName:]):
     59        (-[DOMHTMLAppletElement object]):
     60        (-[DOMHTMLAppletElement setObject:]):
     61        (-[DOMHTMLAppletElement vspace]):
     62        (-[DOMHTMLAppletElement setVspace:]):
     63        (-[DOMHTMLAppletElement width]):
     64        (-[DOMHTMLAppletElement setWidth:]):
     65        * bindings/objc/DOMHTMLInternal.h:
     66        * bindings/objc/DOMHTMLOptionElement.h: Added.
     67        * bindings/objc/DOMHTMLOptionElement.mm: Added.
     68        (-[DOMHTMLOptionElement WebCore::]):
     69        (-[DOMHTMLOptionElement form]):
     70        (-[DOMHTMLOptionElement defaultSelected]):
     71        (-[DOMHTMLOptionElement setDefaultSelected:]):
     72        (-[DOMHTMLOptionElement text]):
     73        (-[DOMHTMLOptionElement index]):
     74        (-[DOMHTMLOptionElement disabled]):
     75        (-[DOMHTMLOptionElement setDisabled:]):
     76        (-[DOMHTMLOptionElement label]):
     77        (-[DOMHTMLOptionElement setLabel:]):
     78        (-[DOMHTMLOptionElement selected]):
     79        (-[DOMHTMLOptionElement setSelected:]):
     80        (-[DOMHTMLOptionElement value]):
     81        (-[DOMHTMLOptionElement setValue:]):
     82        * bindings/objc/DOMPrivate.h:
     83        * bindings/scripts/CodeGeneratorObjC.pm:
     84
    1852006-08-31  Alice Liu  <alice.liu@apple.com>
    286
  • trunk/WebCore/DerivedSources.make

    r16146 r16172  
    6363    DOMProcessingInstruction.h \
    6464    DOMText.h \
     65    DOMHTMLAnchorElement.h \
     66    DOMHTMLAreaElement.h \
    6567    DOMHTMLBRElement.h \
    6668    DOMHTMLBaseElement.h \
     69    DOMHTMLBaseFontElement.h \
    6770    DOMHTMLBodyElement.h \
    6871    DOMHTMLButtonElement.h \
     
    7376    DOMHTMLElement.h \
    7477    DOMHTMLFieldSetElement.h \
     78    DOMHTMLFontElement.h \
    7579    DOMHTMLFormElement.h \
     80    DOMHTMLFrameElement.h \
     81    DOMHTMLFrameSetElement.h \
     82    DOMHTMLHRElement.h \
    7683    DOMHTMLHeadElement.h \
    7784    DOMHTMLHeadingElement.h \
    7885    DOMHTMLHtmlElement.h \
     86    DOMHTMLIFrameElement.h \
     87    DOMHTMLImageElement.h \
    7988    DOMHTMLInputElement.h \
    8089    DOMHTMLIsIndexElement.h \
     
    8392    DOMHTMLLegendElement.h \
    8493    DOMHTMLLinkElement.h \
     94    DOMHTMLMapElement.h \
    8595    DOMHTMLMenuElement.h \
    8696    DOMHTMLMetaElement.h \
     97    DOMHTMLModElement.h \
    8798    DOMHTMLOListElement.h \
     99    DOMHTMLObjectElement.h \
    88100    DOMHTMLOptGroupElement.h \
    89101    DOMHTMLOptionsCollection.h \
    90102    DOMHTMLParagraphElement.h \
     103    DOMHTMLParamElement.h \
    91104    DOMHTMLPreElement.h \
    92105    DOMHTMLQuoteElement.h \
     106    DOMHTMLScriptElement.h \
    93107    DOMHTMLSelectElement.h \
    94108    DOMHTMLStyleElement.h \
     109    DOMHTMLTableCaptionElement.h \
     110    DOMHTMLTableCellElement.h \
     111    DOMHTMLTableColElement.h \
     112    DOMHTMLTableElement.h \
     113    DOMHTMLTableRowElement.h \
     114    DOMHTMLTableSectionElement.h \
    95115    DOMHTMLTextAreaElement.h \
    96116    DOMHTMLTitleElement.h \
  • trunk/WebCore/WebCore.xcodeproj/project.pbxproj

    r16160 r16172  
    410410                85217E020A5ECD4700DB8D00 /* XSLImportRule.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 85217E000A5ECD4700DB8D00 /* XSLImportRule.cpp */; };
    411411                85217E030A5ECD4700DB8D00 /* XSLImportRule.h in Headers */ = {isa = PBXBuildFile; fileRef = 85217E010A5ECD4700DB8D00 /* XSLImportRule.h */; };
     412                852B9E870AA79C47002ADA6E /* DOMHTMLAppletElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 852B9E830AA79C47002ADA6E /* DOMHTMLAppletElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
     413                852B9E880AA79C47002ADA6E /* DOMHTMLAppletElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 852B9E840AA79C47002ADA6E /* DOMHTMLAppletElement.mm */; };
     414                852B9E890AA79C47002ADA6E /* DOMHTMLOptionElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 852B9E850AA79C47002ADA6E /* DOMHTMLOptionElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
     415                852B9E8A0AA79C47002ADA6E /* DOMHTMLOptionElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 852B9E860AA79C47002ADA6E /* DOMHTMLOptionElement.mm */; };
    412416                854FE7300A2297BE0058D7AD /* NodeFilter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 854FE7260A2297BE0058D7AD /* NodeFilter.cpp */; };
    413417                854FE7310A2297BE0058D7AD /* NodeFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = 854FE7270A2297BE0058D7AD /* NodeFilter.h */; };
     
    514518                85DF2F9B0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF2F990AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h */; settings = {ATTRIBUTES = (); }; };
    515519                85DF2F9C0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF2F9A0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.mm */; };
     520                85DF81270AA7787200486AD7 /* DOMHTMLAnchorElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF81210AA7787200486AD7 /* DOMHTMLAnchorElement.h */; };
     521                85DF81280AA7787200486AD7 /* DOMHTMLAnchorElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF81220AA7787200486AD7 /* DOMHTMLAnchorElement.mm */; };
     522                85DF81290AA7787200486AD7 /* DOMHTMLImageElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF81230AA7787200486AD7 /* DOMHTMLImageElement.h */; };
     523                85DF812A0AA7787200486AD7 /* DOMHTMLImageElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF81240AA7787200486AD7 /* DOMHTMLImageElement.mm */; };
     524                85DF812B0AA7787200486AD7 /* DOMHTMLObjectElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF81250AA7787200486AD7 /* DOMHTMLObjectElement.h */; };
     525                85DF812C0AA7787200486AD7 /* DOMHTMLObjectElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF81260AA7787200486AD7 /* DOMHTMLObjectElement.mm */; };
     526                85DF812D0AA778A300486AD7 /* DOMHTMLAnchorElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF81210AA7787200486AD7 /* DOMHTMLAnchorElement.h */; };
     527                85DF812E0AA778A300486AD7 /* DOMHTMLImageElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF81230AA7787200486AD7 /* DOMHTMLImageElement.h */; };
     528                85DF812F0AA778A300486AD7 /* DOMHTMLObjectElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF81250AA7787200486AD7 /* DOMHTMLObjectElement.h */; };
     529                85DF81950AA77E4B00486AD7 /* DOMHTMLFrameElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF818D0AA77E4B00486AD7 /* DOMHTMLFrameElement.h */; };
     530                85DF81960AA77E4B00486AD7 /* DOMHTMLFrameElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF818E0AA77E4B00486AD7 /* DOMHTMLFrameElement.mm */; };
     531                85DF81970AA77E4B00486AD7 /* DOMHTMLFrameSetElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF818F0AA77E4B00486AD7 /* DOMHTMLFrameSetElement.h */; };
     532                85DF81980AA77E4B00486AD7 /* DOMHTMLFrameSetElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF81900AA77E4B00486AD7 /* DOMHTMLFrameSetElement.mm */; };
     533                85DF81990AA77E4B00486AD7 /* DOMHTMLIFrameElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF81910AA77E4B00486AD7 /* DOMHTMLIFrameElement.h */; };
     534                85DF819A0AA77E4B00486AD7 /* DOMHTMLIFrameElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF81920AA77E4B00486AD7 /* DOMHTMLIFrameElement.mm */; };
     535                85DF819B0AA77E4B00486AD7 /* DOMHTMLScriptElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF81930AA77E4B00486AD7 /* DOMHTMLScriptElement.h */; };
     536                85DF819C0AA77E4B00486AD7 /* DOMHTMLScriptElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF81940AA77E4B00486AD7 /* DOMHTMLScriptElement.mm */; };
     537                85DF819D0AA77E7E00486AD7 /* DOMHTMLFrameElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF818D0AA77E4B00486AD7 /* DOMHTMLFrameElement.h */; };
     538                85DF819E0AA77E7E00486AD7 /* DOMHTMLFrameSetElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF818F0AA77E4B00486AD7 /* DOMHTMLFrameSetElement.h */; };
     539                85DF819F0AA77E7E00486AD7 /* DOMHTMLIFrameElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF81910AA77E4B00486AD7 /* DOMHTMLIFrameElement.h */; };
     540                85DF81A00AA77E7E00486AD7 /* DOMHTMLScriptElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF81930AA77E4B00486AD7 /* DOMHTMLScriptElement.h */; };
     541                85DF821D0AA7849E00486AD7 /* DOMHTMLTableCaptionElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF82130AA7849E00486AD7 /* DOMHTMLTableCaptionElement.h */; };
     542                85DF821E0AA7849E00486AD7 /* DOMHTMLTableCaptionElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF82140AA7849E00486AD7 /* DOMHTMLTableCaptionElement.mm */; };
     543                85DF821F0AA7849E00486AD7 /* DOMHTMLTableCellElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF82150AA7849E00486AD7 /* DOMHTMLTableCellElement.h */; };
     544                85DF82200AA7849E00486AD7 /* DOMHTMLTableCellElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF82160AA7849E00486AD7 /* DOMHTMLTableCellElement.mm */; };
     545                85DF82210AA7849E00486AD7 /* DOMHTMLTableColElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF82170AA7849E00486AD7 /* DOMHTMLTableColElement.h */; };
     546                85DF82220AA7849E00486AD7 /* DOMHTMLTableColElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF82180AA7849E00486AD7 /* DOMHTMLTableColElement.mm */; };
     547                85DF82230AA7849E00486AD7 /* DOMHTMLTableRowElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF82190AA7849E00486AD7 /* DOMHTMLTableRowElement.h */; };
     548                85DF82240AA7849E00486AD7 /* DOMHTMLTableRowElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF821A0AA7849E00486AD7 /* DOMHTMLTableRowElement.mm */; };
     549                85DF82250AA7849E00486AD7 /* DOMHTMLTableSectionElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF821B0AA7849E00486AD7 /* DOMHTMLTableSectionElement.h */; };
     550                85DF82260AA7849E00486AD7 /* DOMHTMLTableSectionElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF821C0AA7849E00486AD7 /* DOMHTMLTableSectionElement.mm */; };
     551                85DF822F0AA7866800486AD7 /* DOMHTMLTableCaptionElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF82130AA7849E00486AD7 /* DOMHTMLTableCaptionElement.h */; };
     552                85DF82300AA7866800486AD7 /* DOMHTMLTableCellElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF82150AA7849E00486AD7 /* DOMHTMLTableCellElement.h */; };
     553                85DF82310AA7866800486AD7 /* DOMHTMLTableColElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF82170AA7849E00486AD7 /* DOMHTMLTableColElement.h */; };
     554                85DF82320AA7866800486AD7 /* DOMHTMLTableRowElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF82190AA7849E00486AD7 /* DOMHTMLTableRowElement.h */; };
     555                85DF82330AA7866800486AD7 /* DOMHTMLTableSectionElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF821B0AA7849E00486AD7 /* DOMHTMLTableSectionElement.h */; };
     556                85DF82700AA78B8B00486AD7 /* DOMHTMLTableElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85DF826E0AA78B8A00486AD7 /* DOMHTMLTableElement.h */; };
     557                85DF82710AA78B8B00486AD7 /* DOMHTMLTableElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85DF826F0AA78B8A00486AD7 /* DOMHTMLTableElement.mm */; };
     558                85DF82740AA78C7300486AD7 /* DOMHTMLTableElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85DF826E0AA78B8A00486AD7 /* DOMHTMLTableElement.h */; };
    516559                85EC9AFA0A71A2C600EEEAED /* FontData.h in Headers */ = {isa = PBXBuildFile; fileRef = 85EC9AF80A71A2C600EEEAED /* FontData.h */; };
    517560                85EC9AFB0A71A2C600EEEAED /* Language.h in Headers */ = {isa = PBXBuildFile; fileRef = 85EC9AF90A71A2C600EEEAED /* Language.h */; };
     561                85ECBEEB0AA7626900544F0B /* DOMHTMLAreaElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ECBEDD0AA7626800544F0B /* DOMHTMLAreaElement.h */; };
     562                85ECBEEC0AA7626900544F0B /* DOMHTMLAreaElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85ECBEDE0AA7626800544F0B /* DOMHTMLAreaElement.mm */; };
     563                85ECBEED0AA7626900544F0B /* DOMHTMLBaseFontElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ECBEDF0AA7626800544F0B /* DOMHTMLBaseFontElement.h */; };
     564                85ECBEEE0AA7626900544F0B /* DOMHTMLBaseFontElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85ECBEE00AA7626800544F0B /* DOMHTMLBaseFontElement.mm */; };
     565                85ECBEEF0AA7626900544F0B /* DOMHTMLFontElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ECBEE10AA7626800544F0B /* DOMHTMLFontElement.h */; };
     566                85ECBEF00AA7626900544F0B /* DOMHTMLFontElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85ECBEE20AA7626800544F0B /* DOMHTMLFontElement.mm */; };
     567                85ECBEF10AA7626900544F0B /* DOMHTMLHRElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ECBEE30AA7626800544F0B /* DOMHTMLHRElement.h */; };
     568                85ECBEF20AA7626900544F0B /* DOMHTMLHRElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85ECBEE40AA7626800544F0B /* DOMHTMLHRElement.mm */; };
     569                85ECBEF30AA7626900544F0B /* DOMHTMLMapElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ECBEE50AA7626800544F0B /* DOMHTMLMapElement.h */; };
     570                85ECBEF40AA7626900544F0B /* DOMHTMLMapElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85ECBEE60AA7626800544F0B /* DOMHTMLMapElement.mm */; };
     571                85ECBEF50AA7626900544F0B /* DOMHTMLModElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ECBEE70AA7626800544F0B /* DOMHTMLModElement.h */; };
     572                85ECBEF60AA7626900544F0B /* DOMHTMLModElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85ECBEE80AA7626900544F0B /* DOMHTMLModElement.mm */; };
     573                85ECBEF70AA7626900544F0B /* DOMHTMLParamElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ECBEE90AA7626900544F0B /* DOMHTMLParamElement.h */; };
     574                85ECBEF80AA7626900544F0B /* DOMHTMLParamElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85ECBEEA0AA7626900544F0B /* DOMHTMLParamElement.mm */; };
     575                85ECBF080AA7628900544F0B /* DOMHTMLAreaElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85ECBEDD0AA7626800544F0B /* DOMHTMLAreaElement.h */; };
     576                85ECBF090AA7628900544F0B /* DOMHTMLBaseFontElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85ECBEDF0AA7626800544F0B /* DOMHTMLBaseFontElement.h */; };
     577                85ECBF0A0AA7628900544F0B /* DOMHTMLFontElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85ECBEE10AA7626800544F0B /* DOMHTMLFontElement.h */; };
     578                85ECBF0B0AA7628900544F0B /* DOMHTMLHRElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85ECBEE30AA7626800544F0B /* DOMHTMLHRElement.h */; };
     579                85ECBF0C0AA7628900544F0B /* DOMHTMLMapElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85ECBEE50AA7626800544F0B /* DOMHTMLMapElement.h */; };
     580                85ECBF0D0AA7628900544F0B /* DOMHTMLModElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85ECBEE70AA7626800544F0B /* DOMHTMLModElement.h */; };
     581                85ECBF0E0AA7628900544F0B /* DOMHTMLParamElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85ECBEE90AA7626900544F0B /* DOMHTMLParamElement.h */; };
    518582                85F32AEC0AA63B8700FF3184 /* DOMHTMLInputElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85F32AE40AA63B8700FF3184 /* DOMHTMLInputElement.h */; };
    519583                85F32AED0AA63B8700FF3184 /* DOMHTMLInputElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85F32AE50AA63B8700FF3184 /* DOMHTMLInputElement.mm */; };
     
    18851949                                85183B5C0AA6928600F19FA3 /* DOMHTMLPreElement.h in CopyFiles */,
    18861950                                85183B5D0AA6928600F19FA3 /* DOMHTMLQuoteElement.h in CopyFiles */,
     1951                                85ECBF080AA7628900544F0B /* DOMHTMLAreaElement.h in CopyFiles */,
     1952                                85ECBF090AA7628900544F0B /* DOMHTMLBaseFontElement.h in CopyFiles */,
     1953                                85ECBF0A0AA7628900544F0B /* DOMHTMLFontElement.h in CopyFiles */,
     1954                                85ECBF0B0AA7628900544F0B /* DOMHTMLHRElement.h in CopyFiles */,
     1955                                85ECBF0C0AA7628900544F0B /* DOMHTMLMapElement.h in CopyFiles */,
     1956                                85ECBF0D0AA7628900544F0B /* DOMHTMLModElement.h in CopyFiles */,
     1957                                85ECBF0E0AA7628900544F0B /* DOMHTMLParamElement.h in CopyFiles */,
     1958                                85DF812D0AA778A300486AD7 /* DOMHTMLAnchorElement.h in CopyFiles */,
     1959                                85DF812E0AA778A300486AD7 /* DOMHTMLImageElement.h in CopyFiles */,
     1960                                85DF812F0AA778A300486AD7 /* DOMHTMLObjectElement.h in CopyFiles */,
     1961                                85DF819D0AA77E7E00486AD7 /* DOMHTMLFrameElement.h in CopyFiles */,
     1962                                85DF819E0AA77E7E00486AD7 /* DOMHTMLFrameSetElement.h in CopyFiles */,
     1963                                85DF819F0AA77E7E00486AD7 /* DOMHTMLIFrameElement.h in CopyFiles */,
     1964                                85DF81A00AA77E7E00486AD7 /* DOMHTMLScriptElement.h in CopyFiles */,
     1965                                85DF822F0AA7866800486AD7 /* DOMHTMLTableCaptionElement.h in CopyFiles */,
     1966                                85DF82300AA7866800486AD7 /* DOMHTMLTableCellElement.h in CopyFiles */,
     1967                                85DF82310AA7866800486AD7 /* DOMHTMLTableColElement.h in CopyFiles */,
     1968                                85DF82740AA78C7300486AD7 /* DOMHTMLTableElement.h in CopyFiles */,
     1969                                85DF82320AA7866800486AD7 /* DOMHTMLTableRowElement.h in CopyFiles */,
     1970                                85DF82330AA7866800486AD7 /* DOMHTMLTableSectionElement.h in CopyFiles */,
    18871971                        );
    18881972                        runOnlyForDeploymentPostprocessing = 0;
     
    23582442                85217E000A5ECD4700DB8D00 /* XSLImportRule.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = XSLImportRule.cpp; sourceTree = "<group>"; };
    23592443                85217E010A5ECD4700DB8D00 /* XSLImportRule.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = XSLImportRule.h; sourceTree = "<group>"; };
     2444                852B9E830AA79C47002ADA6E /* DOMHTMLAppletElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLAppletElement.h; sourceTree = "<group>"; };
     2445                852B9E840AA79C47002ADA6E /* DOMHTMLAppletElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLAppletElement.mm; sourceTree = "<group>"; };
     2446                852B9E850AA79C47002ADA6E /* DOMHTMLOptionElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLOptionElement.h; sourceTree = "<group>"; };
     2447                852B9E860AA79C47002ADA6E /* DOMHTMLOptionElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLOptionElement.mm; sourceTree = "<group>"; };
    23602448                854FE7260A2297BE0058D7AD /* NodeFilter.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = NodeFilter.cpp; sourceTree = "<group>"; };
    23612449                854FE7270A2297BE0058D7AD /* NodeFilter.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NodeFilter.h; sourceTree = "<group>"; };
     
    24562544                85DF2F990AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLOptionsCollection.h; sourceTree = "<group>"; };
    24572545                85DF2F9A0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLOptionsCollection.mm; sourceTree = "<group>"; };
     2546                85DF81210AA7787200486AD7 /* DOMHTMLAnchorElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLAnchorElement.h; sourceTree = "<group>"; };
     2547                85DF81220AA7787200486AD7 /* DOMHTMLAnchorElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLAnchorElement.mm; sourceTree = "<group>"; };
     2548                85DF81230AA7787200486AD7 /* DOMHTMLImageElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLImageElement.h; sourceTree = "<group>"; };
     2549                85DF81240AA7787200486AD7 /* DOMHTMLImageElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLImageElement.mm; sourceTree = "<group>"; };
     2550                85DF81250AA7787200486AD7 /* DOMHTMLObjectElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLObjectElement.h; sourceTree = "<group>"; };
     2551                85DF81260AA7787200486AD7 /* DOMHTMLObjectElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLObjectElement.mm; sourceTree = "<group>"; };
     2552                85DF818D0AA77E4B00486AD7 /* DOMHTMLFrameElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLFrameElement.h; sourceTree = "<group>"; };
     2553                85DF818E0AA77E4B00486AD7 /* DOMHTMLFrameElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLFrameElement.mm; sourceTree = "<group>"; };
     2554                85DF818F0AA77E4B00486AD7 /* DOMHTMLFrameSetElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLFrameSetElement.h; sourceTree = "<group>"; };
     2555                85DF81900AA77E4B00486AD7 /* DOMHTMLFrameSetElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLFrameSetElement.mm; sourceTree = "<group>"; };
     2556                85DF81910AA77E4B00486AD7 /* DOMHTMLIFrameElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLIFrameElement.h; sourceTree = "<group>"; };
     2557                85DF81920AA77E4B00486AD7 /* DOMHTMLIFrameElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLIFrameElement.mm; sourceTree = "<group>"; };
     2558                85DF81930AA77E4B00486AD7 /* DOMHTMLScriptElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLScriptElement.h; sourceTree = "<group>"; };
     2559                85DF81940AA77E4B00486AD7 /* DOMHTMLScriptElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLScriptElement.mm; sourceTree = "<group>"; };
     2560                85DF82130AA7849E00486AD7 /* DOMHTMLTableCaptionElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLTableCaptionElement.h; sourceTree = "<group>"; };
     2561                85DF82140AA7849E00486AD7 /* DOMHTMLTableCaptionElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLTableCaptionElement.mm; sourceTree = "<group>"; };
     2562                85DF82150AA7849E00486AD7 /* DOMHTMLTableCellElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLTableCellElement.h; sourceTree = "<group>"; };
     2563                85DF82160AA7849E00486AD7 /* DOMHTMLTableCellElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLTableCellElement.mm; sourceTree = "<group>"; };
     2564                85DF82170AA7849E00486AD7 /* DOMHTMLTableColElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLTableColElement.h; sourceTree = "<group>"; };
     2565                85DF82180AA7849E00486AD7 /* DOMHTMLTableColElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLTableColElement.mm; sourceTree = "<group>"; };
     2566                85DF82190AA7849E00486AD7 /* DOMHTMLTableRowElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLTableRowElement.h; sourceTree = "<group>"; };
     2567                85DF821A0AA7849E00486AD7 /* DOMHTMLTableRowElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLTableRowElement.mm; sourceTree = "<group>"; };
     2568                85DF821B0AA7849E00486AD7 /* DOMHTMLTableSectionElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLTableSectionElement.h; sourceTree = "<group>"; };
     2569                85DF821C0AA7849E00486AD7 /* DOMHTMLTableSectionElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLTableSectionElement.mm; sourceTree = "<group>"; };
     2570                85DF826E0AA78B8A00486AD7 /* DOMHTMLTableElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLTableElement.h; sourceTree = "<group>"; };
     2571                85DF826F0AA78B8A00486AD7 /* DOMHTMLTableElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLTableElement.mm; sourceTree = "<group>"; };
    24582572                85EC9AF80A71A2C600EEEAED /* FontData.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = FontData.h; sourceTree = "<group>"; };
    24592573                85EC9AF90A71A2C600EEEAED /* Language.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Language.h; sourceTree = "<group>"; };
     2574                85ECBEDD0AA7626800544F0B /* DOMHTMLAreaElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLAreaElement.h; sourceTree = "<group>"; };
     2575                85ECBEDE0AA7626800544F0B /* DOMHTMLAreaElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLAreaElement.mm; sourceTree = "<group>"; };
     2576                85ECBEDF0AA7626800544F0B /* DOMHTMLBaseFontElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLBaseFontElement.h; sourceTree = "<group>"; };
     2577                85ECBEE00AA7626800544F0B /* DOMHTMLBaseFontElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLBaseFontElement.mm; sourceTree = "<group>"; };
     2578                85ECBEE10AA7626800544F0B /* DOMHTMLFontElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLFontElement.h; sourceTree = "<group>"; };
     2579                85ECBEE20AA7626800544F0B /* DOMHTMLFontElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLFontElement.mm; sourceTree = "<group>"; };
     2580                85ECBEE30AA7626800544F0B /* DOMHTMLHRElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLHRElement.h; sourceTree = "<group>"; };
     2581                85ECBEE40AA7626800544F0B /* DOMHTMLHRElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLHRElement.mm; sourceTree = "<group>"; };
     2582                85ECBEE50AA7626800544F0B /* DOMHTMLMapElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLMapElement.h; sourceTree = "<group>"; };
     2583                85ECBEE60AA7626800544F0B /* DOMHTMLMapElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLMapElement.mm; sourceTree = "<group>"; };
     2584                85ECBEE70AA7626800544F0B /* DOMHTMLModElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLModElement.h; sourceTree = "<group>"; };
     2585                85ECBEE80AA7626900544F0B /* DOMHTMLModElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLModElement.mm; sourceTree = "<group>"; };
     2586                85ECBEE90AA7626900544F0B /* DOMHTMLParamElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLParamElement.h; sourceTree = "<group>"; };
     2587                85ECBEEA0AA7626900544F0B /* DOMHTMLParamElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLParamElement.mm; sourceTree = "<group>"; };
    24602588                85F32AE40AA63B8700FF3184 /* DOMHTMLInputElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLInputElement.h; sourceTree = "<group>"; };
    24612589                85F32AE50AA63B8700FF3184 /* DOMHTMLInputElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLInputElement.mm; sourceTree = "<group>"; };
     
    45054633                        isa = PBXGroup;
    45064634                        children = (
     4635                                852B9E830AA79C47002ADA6E /* DOMHTMLAppletElement.h */,
     4636                                852B9E840AA79C47002ADA6E /* DOMHTMLAppletElement.mm */,
    45074637                                85992FBE0AA5DD4000AC0785 /* DOMHTMLDocument.h */,
    45084638                                85992FBF0AA5DD4000AC0785 /* DOMHTMLDocument.mm */,
     4639                                852B9E850AA79C47002ADA6E /* DOMHTMLOptionElement.h */,
     4640                                852B9E860AA79C47002ADA6E /* DOMHTMLOptionElement.mm */,
    45094641                        );
    45104642                        name = HTML;
     
    45464678                                85ACA99A0A9B575900671E90 /* DOMText.h */,
    45474679                                85ACA99B0A9B575900671E90 /* DOMText.mm */,
     4680                                85DF81210AA7787200486AD7 /* DOMHTMLAnchorElement.h */,
     4681                                85DF81220AA7787200486AD7 /* DOMHTMLAnchorElement.mm */,
     4682                                85ECBEDD0AA7626800544F0B /* DOMHTMLAreaElement.h */,
     4683                                85ECBEDE0AA7626800544F0B /* DOMHTMLAreaElement.mm */,
     4684                                85183B380AA6926100F19FA3 /* DOMHTMLBRElement.h */,
     4685                                85183B390AA6926100F19FA3 /* DOMHTMLBRElement.mm */,
     4686                                859A9C3D0AA5E3BD00B694B2 /* DOMHTMLBaseElement.h */,
     4687                                859A9C3E0AA5E3BD00B694B2 /* DOMHTMLBaseElement.mm */,
     4688                                85ECBEDF0AA7626800544F0B /* DOMHTMLBaseFontElement.h */,
     4689                                85ECBEE00AA7626800544F0B /* DOMHTMLBaseFontElement.mm */,
     4690                                859A9C3F0AA5E3BD00B694B2 /* DOMHTMLBodyElement.h */,
     4691                                859A9C400AA5E3BD00B694B2 /* DOMHTMLBodyElement.mm */,
     4692                                85BA4CD50AA6861B0088052D /* DOMHTMLButtonElement.h */,
     4693                                85BA4CD60AA6861B0088052D /* DOMHTMLButtonElement.mm */,
    45484694                                85DF2F8C0AA3C88100AD64C5 /* DOMHTMLCollection.h */,
    45494695                                85DF2F8D0AA3C88100AD64C5 /* DOMHTMLCollection.mm */,
     4696                                85BA4D010AA688680088052D /* DOMHTMLDListElement.h */,
     4697                                85BA4D020AA688680088052D /* DOMHTMLDListElement.mm */,
     4698                                85BA4CFD0AA688680088052D /* DOMHTMLDirectoryElement.h */,
     4699                                85BA4CFE0AA688680088052D /* DOMHTMLDirectoryElement.mm */,
     4700                                85BA4CFF0AA688680088052D /* DOMHTMLDivElement.h */,
     4701                                85BA4D000AA688680088052D /* DOMHTMLDivElement.mm */,
    45504702                                85DF2EEB0AA387CB00AD64C5 /* DOMHTMLElement.h */,
    45514703                                85DF2EEC0AA387CB00AD64C5 /* DOMHTMLElement.mm */,
     4704                                85BA4CD70AA6861B0088052D /* DOMHTMLFieldSetElement.h */,
     4705                                85BA4CD80AA6861B0088052D /* DOMHTMLFieldSetElement.mm */,
     4706                                85ECBEE10AA7626800544F0B /* DOMHTMLFontElement.h */,
     4707                                85ECBEE20AA7626800544F0B /* DOMHTMLFontElement.mm */,
    45524708                                85DF2C100AA341F600AD64C5 /* DOMHTMLFormElement.h */,
    45534709                                85DF2C110AA341F600AD64C5 /* DOMHTMLFormElement.mm */,
     4710                                85DF818D0AA77E4B00486AD7 /* DOMHTMLFrameElement.h */,
     4711                                85DF818E0AA77E4B00486AD7 /* DOMHTMLFrameElement.mm */,
     4712                                85DF818F0AA77E4B00486AD7 /* DOMHTMLFrameSetElement.h */,
     4713                                85DF81900AA77E4B00486AD7 /* DOMHTMLFrameSetElement.mm */,
     4714                                85ECBEE30AA7626800544F0B /* DOMHTMLHRElement.h */,
     4715                                85ECBEE40AA7626800544F0B /* DOMHTMLHRElement.mm */,
    45544716                                85992EB20AA5069500AC0785 /* DOMHTMLHeadElement.h */,
    45554717                                85992EB30AA5069500AC0785 /* DOMHTMLHeadElement.mm */,
     4718                                85183B3A0AA6926100F19FA3 /* DOMHTMLHeadingElement.h */,
     4719                                85183B3B0AA6926100F19FA3 /* DOMHTMLHeadingElement.mm */,
    45564720                                85992EB40AA5069500AC0785 /* DOMHTMLHtmlElement.h */,
    45574721                                85992EB50AA5069500AC0785 /* DOMHTMLHtmlElement.mm */,
    4558                                 85992EB60AA5069500AC0785 /* DOMHTMLLinkElement.h */,
    4559                                 85992EB70AA5069500AC0785 /* DOMHTMLLinkElement.mm */,
    4560                                 85DF2F990AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h */,
    4561                                 85DF2F9A0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.mm */,
    4562                                 85992EB80AA5069500AC0785 /* DOMHTMLTitleElement.h */,
    4563                                 85992EB90AA5069500AC0785 /* DOMHTMLTitleElement.mm */,
    4564                                 859A9C3D0AA5E3BD00B694B2 /* DOMHTMLBaseElement.h */,
    4565                                 859A9C3E0AA5E3BD00B694B2 /* DOMHTMLBaseElement.mm */,
    4566                                 859A9C3F0AA5E3BD00B694B2 /* DOMHTMLBodyElement.h */,
    4567                                 859A9C400AA5E3BD00B694B2 /* DOMHTMLBodyElement.mm */,
     4722                                85DF81910AA77E4B00486AD7 /* DOMHTMLIFrameElement.h */,
     4723                                85DF81920AA77E4B00486AD7 /* DOMHTMLIFrameElement.mm */,
     4724                                85DF81230AA7787200486AD7 /* DOMHTMLImageElement.h */,
     4725                                85DF81240AA7787200486AD7 /* DOMHTMLImageElement.mm */,
     4726                                85F32AE40AA63B8700FF3184 /* DOMHTMLInputElement.h */,
     4727                                85F32AE50AA63B8700FF3184 /* DOMHTMLInputElement.mm */,
    45684728                                859A9C410AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.h */,
    45694729                                859A9C420AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.mm */,
    4570                                 859A9C430AA5E3BD00B694B2 /* DOMHTMLMetaElement.h */,
    4571                                 859A9C440AA5E3BD00B694B2 /* DOMHTMLMetaElement.mm */,
    4572                                 859A9C450AA5E3BD00B694B2 /* DOMHTMLStyleElement.h */,
    4573                                 859A9C460AA5E3BD00B694B2 /* DOMHTMLStyleElement.mm */,
    4574                                 85F32AE40AA63B8700FF3184 /* DOMHTMLInputElement.h */,
    4575                                 85F32AE50AA63B8700FF3184 /* DOMHTMLInputElement.mm */,
    4576                                 85F32AE60AA63B8700FF3184 /* DOMHTMLOptGroupElement.h */,
    4577                                 85F32AE70AA63B8700FF3184 /* DOMHTMLOptGroupElement.mm */,
    4578                                 85F32AE80AA63B8700FF3184 /* DOMHTMLSelectElement.h */,
    4579                                 85F32AE90AA63B8700FF3184 /* DOMHTMLSelectElement.mm */,
    4580                                 85F32AEA0AA63B8700FF3184 /* DOMHTMLTextAreaElement.h */,
    4581                                 85F32AEB0AA63B8700FF3184 /* DOMHTMLTextAreaElement.mm */,
    4582                                 85BA4CD50AA6861B0088052D /* DOMHTMLButtonElement.h */,
    4583                                 85BA4CD60AA6861B0088052D /* DOMHTMLButtonElement.mm */,
    4584                                 85BA4CD70AA6861B0088052D /* DOMHTMLFieldSetElement.h */,
    4585                                 85BA4CD80AA6861B0088052D /* DOMHTMLFieldSetElement.mm */,
     4730                                85BA4D030AA688680088052D /* DOMHTMLLIElement.h */,
     4731                                85BA4D040AA688680088052D /* DOMHTMLLIElement.mm */,
    45864732                                85BA4CD90AA6861B0088052D /* DOMHTMLLabelElement.h */,
    45874733                                85BA4CDA0AA6861B0088052D /* DOMHTMLLabelElement.mm */,
    45884734                                85BA4CDB0AA6861B0088052D /* DOMHTMLLegendElement.h */,
    45894735                                85BA4CDC0AA6861B0088052D /* DOMHTMLLegendElement.mm */,
    4590                                 85BA4CFD0AA688680088052D /* DOMHTMLDirectoryElement.h */,
    4591                                 85BA4CFE0AA688680088052D /* DOMHTMLDirectoryElement.mm */,
    4592                                 85BA4CFF0AA688680088052D /* DOMHTMLDivElement.h */,
    4593                                 85BA4D000AA688680088052D /* DOMHTMLDivElement.mm */,
    4594                                 85BA4D010AA688680088052D /* DOMHTMLDListElement.h */,
    4595                                 85BA4D020AA688680088052D /* DOMHTMLDListElement.mm */,
    4596                                 85BA4D030AA688680088052D /* DOMHTMLLIElement.h */,
    4597                                 85BA4D040AA688680088052D /* DOMHTMLLIElement.mm */,
     4736                                85992EB60AA5069500AC0785 /* DOMHTMLLinkElement.h */,
     4737                                85992EB70AA5069500AC0785 /* DOMHTMLLinkElement.mm */,
     4738                                85ECBEE50AA7626800544F0B /* DOMHTMLMapElement.h */,
     4739                                85ECBEE60AA7626800544F0B /* DOMHTMLMapElement.mm */,
    45984740                                85BA4D050AA688680088052D /* DOMHTMLMenuElement.h */,
    45994741                                85BA4D060AA688680088052D /* DOMHTMLMenuElement.mm */,
     4742                                859A9C430AA5E3BD00B694B2 /* DOMHTMLMetaElement.h */,
     4743                                859A9C440AA5E3BD00B694B2 /* DOMHTMLMetaElement.mm */,
     4744                                85ECBEE70AA7626800544F0B /* DOMHTMLModElement.h */,
     4745                                85ECBEE80AA7626900544F0B /* DOMHTMLModElement.mm */,
    46004746                                85BA4D070AA688680088052D /* DOMHTMLOListElement.h */,
    46014747                                85BA4D080AA688680088052D /* DOMHTMLOListElement.mm */,
    4602                                 85BA4D090AA688680088052D /* DOMHTMLUListElement.h */,
    4603                                 85BA4D0A0AA688680088052D /* DOMHTMLUListElement.mm */,
    4604                                 85183B380AA6926100F19FA3 /* DOMHTMLBRElement.h */,
    4605                                 85183B390AA6926100F19FA3 /* DOMHTMLBRElement.mm */,
    4606                                 85183B3A0AA6926100F19FA3 /* DOMHTMLHeadingElement.h */,
    4607                                 85183B3B0AA6926100F19FA3 /* DOMHTMLHeadingElement.mm */,
     4748                                85DF81250AA7787200486AD7 /* DOMHTMLObjectElement.h */,
     4749                                85DF81260AA7787200486AD7 /* DOMHTMLObjectElement.mm */,
     4750                                85F32AE60AA63B8700FF3184 /* DOMHTMLOptGroupElement.h */,
     4751                                85F32AE70AA63B8700FF3184 /* DOMHTMLOptGroupElement.mm */,
     4752                                85DF2F990AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h */,
     4753                                85DF2F9A0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.mm */,
    46084754                                85183B3C0AA6926100F19FA3 /* DOMHTMLParagraphElement.h */,
    46094755                                85183B3D0AA6926100F19FA3 /* DOMHTMLParagraphElement.mm */,
     4756                                85ECBEE90AA7626900544F0B /* DOMHTMLParamElement.h */,
     4757                                85ECBEEA0AA7626900544F0B /* DOMHTMLParamElement.mm */,
    46104758                                85183B3E0AA6926100F19FA3 /* DOMHTMLPreElement.h */,
    46114759                                85183B3F0AA6926100F19FA3 /* DOMHTMLPreElement.mm */,
    46124760                                85183B400AA6926100F19FA3 /* DOMHTMLQuoteElement.h */,
    46134761                                85183B410AA6926100F19FA3 /* DOMHTMLQuoteElement.mm */,
     4762                                85DF81930AA77E4B00486AD7 /* DOMHTMLScriptElement.h */,
     4763                                85DF81940AA77E4B00486AD7 /* DOMHTMLScriptElement.mm */,
     4764                                85F32AE80AA63B8700FF3184 /* DOMHTMLSelectElement.h */,
     4765                                85F32AE90AA63B8700FF3184 /* DOMHTMLSelectElement.mm */,
     4766                                859A9C450AA5E3BD00B694B2 /* DOMHTMLStyleElement.h */,
     4767                                859A9C460AA5E3BD00B694B2 /* DOMHTMLStyleElement.mm */,
     4768                                85DF82130AA7849E00486AD7 /* DOMHTMLTableCaptionElement.h */,
     4769                                85DF82140AA7849E00486AD7 /* DOMHTMLTableCaptionElement.mm */,
     4770                                85DF82150AA7849E00486AD7 /* DOMHTMLTableCellElement.h */,
     4771                                85DF82160AA7849E00486AD7 /* DOMHTMLTableCellElement.mm */,
     4772                                85DF82170AA7849E00486AD7 /* DOMHTMLTableColElement.h */,
     4773                                85DF82180AA7849E00486AD7 /* DOMHTMLTableColElement.mm */,
     4774                                85DF826E0AA78B8A00486AD7 /* DOMHTMLTableElement.h */,
     4775                                85DF826F0AA78B8A00486AD7 /* DOMHTMLTableElement.mm */,
     4776                                85DF82190AA7849E00486AD7 /* DOMHTMLTableRowElement.h */,
     4777                                85DF821A0AA7849E00486AD7 /* DOMHTMLTableRowElement.mm */,
     4778                                85DF821B0AA7849E00486AD7 /* DOMHTMLTableSectionElement.h */,
     4779                                85DF821C0AA7849E00486AD7 /* DOMHTMLTableSectionElement.mm */,
     4780                                85F32AEA0AA63B8700FF3184 /* DOMHTMLTextAreaElement.h */,
     4781                                85F32AEB0AA63B8700FF3184 /* DOMHTMLTextAreaElement.mm */,
     4782                                85992EB80AA5069500AC0785 /* DOMHTMLTitleElement.h */,
     4783                                85992EB90AA5069500AC0785 /* DOMHTMLTitleElement.mm */,
     4784                                85BA4D090AA688680088052D /* DOMHTMLUListElement.h */,
     4785                                85BA4D0A0AA688680088052D /* DOMHTMLUListElement.mm */,
    46144786                        );
    46154787                        name = "Derived Sources";
     
    71497321                                85183B480AA6926100F19FA3 /* DOMHTMLPreElement.h in Headers */,
    71507322                                85183B4A0AA6926100F19FA3 /* DOMHTMLQuoteElement.h in Headers */,
     7323                                85ECBEEB0AA7626900544F0B /* DOMHTMLAreaElement.h in Headers */,
     7324                                85ECBEED0AA7626900544F0B /* DOMHTMLBaseFontElement.h in Headers */,
     7325                                85ECBEEF0AA7626900544F0B /* DOMHTMLFontElement.h in Headers */,
     7326                                85ECBEF10AA7626900544F0B /* DOMHTMLHRElement.h in Headers */,
     7327                                85ECBEF30AA7626900544F0B /* DOMHTMLMapElement.h in Headers */,
     7328                                85ECBEF50AA7626900544F0B /* DOMHTMLModElement.h in Headers */,
     7329                                85ECBEF70AA7626900544F0B /* DOMHTMLParamElement.h in Headers */,
     7330                                85DF81270AA7787200486AD7 /* DOMHTMLAnchorElement.h in Headers */,
     7331                                85DF81290AA7787200486AD7 /* DOMHTMLImageElement.h in Headers */,
     7332                                85DF812B0AA7787200486AD7 /* DOMHTMLObjectElement.h in Headers */,
     7333                                85DF81950AA77E4B00486AD7 /* DOMHTMLFrameElement.h in Headers */,
     7334                                85DF81970AA77E4B00486AD7 /* DOMHTMLFrameSetElement.h in Headers */,
     7335                                85DF81990AA77E4B00486AD7 /* DOMHTMLIFrameElement.h in Headers */,
     7336                                85DF819B0AA77E4B00486AD7 /* DOMHTMLScriptElement.h in Headers */,
     7337                                85DF821D0AA7849E00486AD7 /* DOMHTMLTableCaptionElement.h in Headers */,
     7338                                85DF821F0AA7849E00486AD7 /* DOMHTMLTableCellElement.h in Headers */,
     7339                                85DF82210AA7849E00486AD7 /* DOMHTMLTableColElement.h in Headers */,
     7340                                85DF82700AA78B8B00486AD7 /* DOMHTMLTableElement.h in Headers */,
     7341                                85DF82230AA7849E00486AD7 /* DOMHTMLTableRowElement.h in Headers */,
     7342                                85DF82250AA7849E00486AD7 /* DOMHTMLTableSectionElement.h in Headers */,
     7343                                852B9E870AA79C47002ADA6E /* DOMHTMLAppletElement.h in Headers */,
     7344                                852B9E890AA79C47002ADA6E /* DOMHTMLOptionElement.h in Headers */,
    71517345                                1A98955D0AA78149005EF5EF /* CString.h in Headers */,
    71527346                        );
     
    71847378                        isa = PBXProject;
    71857379                        buildConfigurationList = 149C284308902B11008A9EFC /* Build configuration list for PBXProject "WebCore" */;
     7380                        compatibilityVersion = "Xcode 2.4";
    71867381                        hasScannedForEncodings = 1;
    71877382                        knownRegions = (
     
    71987393                        projectDirPath = "";
    71997394                        projectRoot = "";
     7395                        shouldCheckCompatibility = 1;
    72007396                        targets = (
    72017397                                93F198A508245E59001E9ABC /* WebCore */,
     
    81128308                                85183B490AA6926100F19FA3 /* DOMHTMLPreElement.mm in Sources */,
    81138309                                85183B4B0AA6926100F19FA3 /* DOMHTMLQuoteElement.mm in Sources */,
     8310                                85ECBEEC0AA7626900544F0B /* DOMHTMLAreaElement.mm in Sources */,
     8311                                85ECBEEE0AA7626900544F0B /* DOMHTMLBaseFontElement.mm in Sources */,
     8312                                85ECBEF00AA7626900544F0B /* DOMHTMLFontElement.mm in Sources */,
     8313                                85ECBEF20AA7626900544F0B /* DOMHTMLHRElement.mm in Sources */,
     8314                                85ECBEF40AA7626900544F0B /* DOMHTMLMapElement.mm in Sources */,
     8315                                85ECBEF60AA7626900544F0B /* DOMHTMLModElement.mm in Sources */,
     8316                                85ECBEF80AA7626900544F0B /* DOMHTMLParamElement.mm in Sources */,
     8317                                85DF81280AA7787200486AD7 /* DOMHTMLAnchorElement.mm in Sources */,
     8318                                85DF812A0AA7787200486AD7 /* DOMHTMLImageElement.mm in Sources */,
     8319                                85DF812C0AA7787200486AD7 /* DOMHTMLObjectElement.mm in Sources */,
     8320                                85DF81960AA77E4B00486AD7 /* DOMHTMLFrameElement.mm in Sources */,
     8321                                85DF81980AA77E4B00486AD7 /* DOMHTMLFrameSetElement.mm in Sources */,
     8322                                85DF819A0AA77E4B00486AD7 /* DOMHTMLIFrameElement.mm in Sources */,
     8323                                85DF819C0AA77E4B00486AD7 /* DOMHTMLScriptElement.mm in Sources */,
     8324                                85DF821E0AA7849E00486AD7 /* DOMHTMLTableCaptionElement.mm in Sources */,
     8325                                85DF82200AA7849E00486AD7 /* DOMHTMLTableCellElement.mm in Sources */,
     8326                                85DF82220AA7849E00486AD7 /* DOMHTMLTableColElement.mm in Sources */,
     8327                                85DF82240AA7849E00486AD7 /* DOMHTMLTableRowElement.mm in Sources */,
     8328                                85DF82260AA7849E00486AD7 /* DOMHTMLTableSectionElement.mm in Sources */,
     8329                                85DF82710AA78B8B00486AD7 /* DOMHTMLTableElement.mm in Sources */,
     8330                                852B9E880AA79C47002ADA6E /* DOMHTMLAppletElement.mm in Sources */,
     8331                                852B9E8A0AA79C47002ADA6E /* DOMHTMLOptionElement.mm in Sources */,
    81148332                                1A98955C0AA78149005EF5EF /* CString.cpp in Sources */,
    81158333                                1A98956B0AA78F80005EF5EF /* KURLCFNet.cpp in Sources */,
  • trunk/WebCore/bindings/objc/DOM.mm

    r16146 r16172  
    8686
    8787// From old DOMHTML.h
     88#import "DOMHTMLAppletElement.h"
    8889#import "DOMHTMLDocument.h"
     90#import "DOMHTMLOptionElement.h"
    8991
    9092// Generated Objective-C Bindings
     93#import "DOMHTMLAnchorElement.h"
     94#import "DOMHTMLAreaElement.h"
    9195#import "DOMHTMLBRElement.h"
    9296#import "DOMHTMLBaseElement.h"
     97#import "DOMHTMLBaseFontElement.h"
    9398#import "DOMHTMLBodyElement.h"
    9499#import "DOMHTMLButtonElement.h"
     
    99104#import "DOMHTMLElement.h"
    100105#import "DOMHTMLFieldSetElement.h"
     106#import "DOMHTMLFontElement.h"
    101107#import "DOMHTMLFormElement.h"
     108#import "DOMHTMLFrameElement.h"
     109#import "DOMHTMLFrameSetElement.h"
     110#import "DOMHTMLHRElement.h"
    102111#import "DOMHTMLHeadElement.h"
    103112#import "DOMHTMLHeadingElement.h"
    104113#import "DOMHTMLHtmlElement.h"
     114#import "DOMHTMLIFrameElement.h"
     115#import "DOMHTMLImageElement.h"
    105116#import "DOMHTMLInputElement.h"
    106117#import "DOMHTMLIsIndexElement.h"
     
    109120#import "DOMHTMLLegendElement.h"
    110121#import "DOMHTMLLinkElement.h"
     122#import "DOMHTMLMapElement.h"
    111123#import "DOMHTMLMenuElement.h"
    112124#import "DOMHTMLMetaElement.h"
     125#import "DOMHTMLModElement.h"
    113126#import "DOMHTMLOListElement.h"
     127#import "DOMHTMLObjectElement.h"
    114128#import "DOMHTMLOptGroupElement.h"
    115129#import "DOMHTMLOptionsCollection.h"
    116130#import "DOMHTMLParagraphElement.h"
     131#import "DOMHTMLParamElement.h"
    117132#import "DOMHTMLPreElement.h"
    118133#import "DOMHTMLQuoteElement.h"
     134#import "DOMHTMLScriptElement.h"
    119135#import "DOMHTMLSelectElement.h"
    120136#import "DOMHTMLStyleElement.h"
     137#import "DOMHTMLTableCaptionElement.h"
     138#import "DOMHTMLTableCellElement.h"
     139#import "DOMHTMLTableColElement.h"
     140#import "DOMHTMLTableElement.h"
     141#import "DOMHTMLTableRowElement.h"
     142#import "DOMHTMLTableSectionElement.h"
    121143#import "DOMHTMLTextAreaElement.h"
    122144#import "DOMHTMLTitleElement.h"
  • trunk/WebCore/bindings/objc/DOMExtensions.h

    r16146 r16172  
    11/*
    2  * Copyright (C) 2004, 2006 Apple Computer, Inc.  All rights reserved.
     2 * Copyright (C) 2004-2006 Apple Computer, Inc.  All rights reserved.
    33 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
    44 *
     
    3131#import <WebCore/DOMElement.h>
    3232#import <WebCore/DOMHTML.h>
     33#import <WebCore/DOMHTMLAnchorElement.h>
     34#import <WebCore/DOMHTMLAreaElement.h>
     35#import <WebCore/DOMHTMLDocument.h>
     36#import <WebCore/DOMHTMLElement.h>
     37#import <WebCore/DOMHTMLImageElement.h>
     38#import <WebCore/DOMHTMLInputElement.h>
     39#import <WebCore/DOMHTMLLinkElement.h>
     40#import <WebCore/DOMHTMLObjectElement.h>
    3341#import <WebCore/DOMNode.h>
    3442#import <WebCore/DOMRange.h>
    35 
    36 #import <WebCore/DOMHTMLElement.h>
    37 #import <WebCore/DOMHTMLDocument.h>
    38 #import <WebCore/DOMHTMLLinkElement.h>
    39 #import <WebCore/DOMHTMLInputElement.h>
    4043
    4144@class NSColor;
  • trunk/WebCore/bindings/objc/DOMHTML.h

    r16146 r16172  
    11/*
    2  * Copyright (C) 2004 Apple Computer, Inc.  All rights reserved.
     2 * Copyright (C) 2004-2006 Apple Computer, Inc.  All rights reserved.
    33 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
    44 *
     
    2727#import <WebCore/DOMCore.h>
    2828
     29#import <WebCore/DOMHTMLAnchorElement.h>
     30#import <WebCore/DOMHTMLAppletElement.h>
     31#import <WebCore/DOMHTMLAreaElement.h>
    2932#import <WebCore/DOMHTMLBRElement.h>
    3033#import <WebCore/DOMHTMLBaseElement.h>
     34#import <WebCore/DOMHTMLBaseFontElement.h>
    3135#import <WebCore/DOMHTMLBodyElement.h>
    3236#import <WebCore/DOMHTMLButtonElement.h>
     
    3842#import <WebCore/DOMHTMLElement.h>
    3943#import <WebCore/DOMHTMLFieldSetElement.h>
     44#import <WebCore/DOMHTMLFontElement.h>
    4045#import <WebCore/DOMHTMLFormElement.h>
     46#import <WebCore/DOMHTMLFrameElement.h>
     47#import <WebCore/DOMHTMLFrameSetElement.h>
     48#import <WebCore/DOMHTMLHRElement.h>
    4149#import <WebCore/DOMHTMLHeadElement.h>
    4250#import <WebCore/DOMHTMLHeadingElement.h>
    4351#import <WebCore/DOMHTMLHtmlElement.h>
     52#import <WebCore/DOMHTMLIFrameElement.h>
     53#import <WebCore/DOMHTMLImageElement.h>
    4454#import <WebCore/DOMHTMLInputElement.h>
    4555#import <WebCore/DOMHTMLIsIndexElement.h>
     
    4858#import <WebCore/DOMHTMLLegendElement.h>
    4959#import <WebCore/DOMHTMLLinkElement.h>
     60#import <WebCore/DOMHTMLMapElement.h>
    5061#import <WebCore/DOMHTMLMenuElement.h>
    5162#import <WebCore/DOMHTMLMetaElement.h>
     63#import <WebCore/DOMHTMLModElement.h>
    5264#import <WebCore/DOMHTMLOListElement.h>
     65#import <WebCore/DOMHTMLObjectElement.h>
    5366#import <WebCore/DOMHTMLOptGroupElement.h>
     67#import <WebCore/DOMHTMLOptionElement.h>
    5468#import <WebCore/DOMHTMLOptionsCollection.h>
    5569#import <WebCore/DOMHTMLParagraphElement.h>
     70#import <WebCore/DOMHTMLParamElement.h>
    5671#import <WebCore/DOMHTMLPreElement.h>
    5772#import <WebCore/DOMHTMLQuoteElement.h>
     73#import <WebCore/DOMHTMLScriptElement.h>
    5874#import <WebCore/DOMHTMLSelectElement.h>
    5975#import <WebCore/DOMHTMLStyleElement.h>
     76#import <WebCore/DOMHTMLTableCaptionElement.h>
     77#import <WebCore/DOMHTMLTableCellElement.h>
     78#import <WebCore/DOMHTMLTableColElement.h>
     79#import <WebCore/DOMHTMLTableElement.h>
     80#import <WebCore/DOMHTMLTableRowElement.h>
     81#import <WebCore/DOMHTMLTableSectionElement.h>
    6082#import <WebCore/DOMHTMLTextAreaElement.h>
    6183#import <WebCore/DOMHTMLTitleElement.h>
    6284#import <WebCore/DOMHTMLUListElement.h>
    63 
    64 @class DOMHTMLTableCaptionElement;
    65 @class DOMHTMLTableSectionElement;
    66 
    67 @interface DOMHTMLOptionElement : DOMHTMLElement
    68 - (DOMHTMLFormElement *)form;
    69 - (BOOL)defaultSelected;
    70 - (void)setDefaultSelected:(BOOL)defaultSelected;
    71 - (NSString *)text;
    72 - (int)index;
    73 - (BOOL)disabled;
    74 - (void)setDisabled:(BOOL)disabled;
    75 - (NSString *)label;
    76 - (void)setLabel:(NSString *)label;
    77 - (BOOL)selected;
    78 - (void)setSelected:(BOOL)selected;
    79 - (NSString *)value;
    80 - (void)setValue:(NSString *)value;
    81 @end
    82 
    83 @interface DOMHTMLBaseFontElement : DOMHTMLElement
    84 - (NSString *)color;
    85 - (void)setColor:(NSString *)color;
    86 - (NSString *)face;
    87 - (void)setFace:(NSString *)face;
    88 - (NSString *)size;
    89 - (void)setSize:(NSString *)size;
    90 @end
    91 
    92 @interface DOMHTMLFontElement : DOMHTMLElement
    93 - (NSString *)color;
    94 - (void)setColor:(NSString *)color;
    95 - (NSString *)face;
    96 - (void)setFace:(NSString *)face;
    97 - (NSString *)size;
    98 - (void)setSize:(NSString *)size;
    99 @end
    100 
    101 @interface DOMHTMLHRElement : DOMHTMLElement
    102 - (NSString *)align;
    103 - (void)setAlign:(NSString *)align;
    104 - (BOOL)noShade;
    105 - (void)setNoShade:(BOOL)noShade;
    106 - (NSString *)size;
    107 - (void)setSize:(NSString *)size;
    108 - (NSString *)width;
    109 - (void)setWidth:(NSString *)width;
    110 @end
    111 
    112 @interface DOMHTMLModElement : DOMHTMLElement
    113 - (NSString *)cite;
    114 - (void)setCite:(NSString *)cite;
    115 - (NSString *)dateTime;
    116 - (void)setDateTime:(NSString *)dateTime;
    117 @end
    118 
    119 @interface DOMHTMLAnchorElement : DOMHTMLElement
    120 - (NSString *)accessKey;
    121 - (void)setAccessKey:(NSString *)accessKey;
    122 - (NSString *)charset;
    123 - (void)setCharset:(NSString *)charset;
    124 - (NSString *)coords;
    125 - (void)setCoords:(NSString *)coords;
    126 - (NSString *)href;
    127 - (void)setHref:(NSString *)href;
    128 - (NSString *)hreflang;
    129 - (void)setHreflang:(NSString *)hreflang;
    130 - (NSString *)name;
    131 - (void)setName:(NSString *)name;
    132 - (NSString *)rel;
    133 - (void)setRel:(NSString *)rel;
    134 - (NSString *)rev;
    135 - (void)setRev:(NSString *)rev;
    136 - (NSString *)shape;
    137 - (void)setShape:(NSString *)shape;
    138 - (int)tabIndex;
    139 - (void)setTabIndex:(int)tabIndex;
    140 - (NSString *)target;
    141 - (void)setTarget:(NSString *)target;
    142 - (NSString *)type;
    143 - (void)setType:(NSString *)type;
    144 - (void)blur;
    145 - (void)focus;
    146 @end
    147 
    148 @interface DOMHTMLImageElement : DOMHTMLElement
    149 - (NSString *)name;
    150 - (void)setName:(NSString *)name;
    151 - (NSString *)align;
    152 - (void)setAlign:(NSString *)align;
    153 - (NSString *)alt;
    154 - (void)setAlt:(NSString *)alt;
    155 - (NSString *)border;
    156 - (void)setBorder:(NSString *)border;
    157 - (int)height;
    158 - (void)setHeight:(int)height;
    159 - (int)hspace;
    160 - (void)setHspace:(int)hspace;
    161 - (BOOL)isMap;
    162 - (void)setIsMap:(BOOL)isMap;
    163 - (NSString *)longDesc;
    164 - (void)setLongDesc:(NSString *)longDesc;
    165 - (NSString *)src;
    166 - (void)setSrc:(NSString *)src;
    167 - (NSString *)useMap;
    168 - (void)setUseMap:(NSString *)useMap;
    169 - (int)vspace;
    170 - (void)setVspace:(int)vspace;
    171 - (int)width;
    172 - (void)setWidth:(int)width;
    173 @end
    174 
    175 @interface DOMHTMLObjectElement : DOMHTMLElement
    176 - (DOMHTMLFormElement *)form;
    177 - (NSString *)code;
    178 - (void)setCode:(NSString *)code;
    179 - (NSString *)align;
    180 - (void)setAlign:(NSString *)align;
    181 - (NSString *)archive;
    182 - (void)setArchive:(NSString *)archive;
    183 - (NSString *)border;
    184 - (void)setBorder:(NSString *)border;
    185 - (NSString *)codeBase;
    186 - (void)setCodeBase:(NSString *)codeBase;
    187 - (NSString *)codeType;
    188 - (void)setCodeType:(NSString *)codeType;
    189 - (NSString *)data;
    190 - (void)setData:(NSString *)data;
    191 - (BOOL)declare;
    192 - (void)setDeclare:(BOOL)declare;
    193 - (NSString *)height;
    194 - (void)setHeight:(NSString *)height;
    195 - (int)hspace;
    196 - (void)setHspace:(int)hspace;
    197 - (NSString *)name;
    198 - (void)setName:(NSString *)name;
    199 - (NSString *)standby;
    200 - (void)setStandby:(NSString *)standby;
    201 - (int)tabIndex;
    202 - (void)setTabIndex:(int)tabIndex;
    203 - (NSString *)type;
    204 - (void)setType:(NSString *)type;
    205 - (NSString *)useMap;
    206 - (void)setUseMap:(NSString *)useMap;
    207 - (int)vspace;
    208 - (void)setVspace:(int)vspace;
    209 - (NSString *)width;
    210 - (void)setWidth:(NSString *)width;
    211 - (DOMDocument *)contentDocument;
    212 @end
    213 
    214 @interface DOMHTMLParamElement : DOMHTMLElement
    215 - (NSString *)name;
    216 - (void)setName:(NSString *)name;
    217 - (NSString *)type;
    218 - (void)setType:(NSString *)type;
    219 - (NSString *)value;
    220 - (void)setValue:(NSString *)value;
    221 - (NSString *)valueType;
    222 - (void)setValueType:(NSString *)valueType;
    223 @end
    224 
    225 @interface DOMHTMLAppletElement : DOMHTMLElement
    226 - (NSString *)align;
    227 - (void)setAlign:(NSString *)align;
    228 - (NSString *)alt;
    229 - (void)setAlt:(NSString *)alt;
    230 - (NSString *)archive;
    231 - (void)setArchive:(NSString *)archive;
    232 - (NSString *)code;
    233 - (void)setCode:(NSString *)code;
    234 - (NSString *)codeBase;
    235 - (void)setCodeBase:(NSString *)codeBase;
    236 - (NSString *)height;
    237 - (void)setHeight:(NSString *)height;
    238 - (int)hspace;
    239 - (void)setHspace:(int)hspace;
    240 - (NSString *)name;
    241 - (void)setName:(NSString *)name;
    242 - (NSString *)object;
    243 - (void)setObject:(NSString *)object;
    244 - (int)vspace;
    245 - (void)setVspace:(int)vspace;
    246 - (NSString *)width;
    247 - (void)setWidth:(NSString *)width;
    248 @end
    249 
    250 @interface DOMHTMLMapElement : DOMHTMLElement
    251 - (DOMHTMLCollection *)areas;
    252 - (NSString *)name;
    253 - (void)setName:(NSString *)name;
    254 @end
    255 
    256 @interface DOMHTMLAreaElement : DOMHTMLElement
    257 - (NSString *)accessKey;
    258 - (void)setAccessKey:(NSString *)accessKey;
    259 - (NSString *)alt;
    260 - (void)setAlt:(NSString *)alt;
    261 - (NSString *)coords;
    262 - (void)setCoords:(NSString *)coords;
    263 - (NSString *)href;
    264 - (void)setHref:(NSString *)href;
    265 - (BOOL)noHref;
    266 - (void)setNoHref:(BOOL)noHref;
    267 - (NSString *)shape;
    268 - (void)setShape:(NSString *)shape;
    269 - (int)tabIndex;
    270 - (void)setTabIndex:(int)tabIndex;
    271 - (NSString *)target;
    272 - (void)setTarget:(NSString *)target;
    273 @end
    274 
    275 @interface DOMHTMLScriptElement : DOMHTMLElement
    276 - (NSString *)text;
    277 - (void)setText:(NSString *)text;
    278 - (NSString *)htmlFor;
    279 - (void)setHtmlFor:(NSString *)htmlFor;
    280 - (NSString *)event;
    281 - (void)setEvent:(NSString *)event;
    282 - (NSString *)charset;
    283 - (void)setCharset:(NSString *)charset;
    284 - (BOOL)defer;
    285 - (void)setDefer:(BOOL)defer;
    286 - (NSString *)src;
    287 - (void)setSrc:(NSString *)src;
    288 - (NSString *)type;
    289 - (void)setType:(NSString *)type;
    290 @end
    291 
    292 @interface DOMHTMLTableElement : DOMHTMLElement
    293 - (DOMHTMLTableCaptionElement *)caption;
    294 - (void)setCaption:(DOMHTMLTableCaptionElement *)caption;
    295 - (DOMHTMLTableSectionElement *)tHead;
    296 - (void)setTHead:(DOMHTMLTableSectionElement *)tHead;
    297 - (DOMHTMLTableSectionElement *)tFoot;
    298 - (void)setTFoot:(DOMHTMLTableSectionElement *)tFoot;
    299 - (DOMHTMLCollection *)rows;
    300 - (DOMHTMLCollection *)tBodies;
    301 - (NSString *)align;
    302 - (void)setAlign:(NSString *)align;
    303 - (NSString *)bgColor;
    304 - (void)setBgColor:(NSString *)bgColor;
    305 - (NSString *)border;
    306 - (void)setBorder:(NSString *)border;
    307 - (NSString *)cellPadding;
    308 - (void)setCellPadding:(NSString *)cellPadding;
    309 - (NSString *)cellSpacing;
    310 - (void)setCellSpacing:(NSString *)cellSpacing;
    311 // frameBorders corresponds to the frame method
    312 - (NSString *)frameBorders;
    313 - (void)setFrameBorders:(NSString *)frameBorders;
    314 - (NSString *)rules;
    315 - (void)setRules:(NSString *)rules;
    316 - (NSString *)summary;
    317 - (void)setSummary:(NSString *)summary;
    318 - (NSString *)width;
    319 - (void)setWidth:(NSString *)width;
    320 - (DOMHTMLElement *)createTHead;
    321 - (void)deleteTHead;
    322 - (DOMHTMLElement *)createTFoot;
    323 - (void)deleteTFoot;
    324 - (DOMHTMLElement *)createCaption;
    325 - (void)deleteCaption;
    326 - (DOMHTMLElement *)insertRow:(int)index;
    327 - (void)deleteRow:(int)index;
    328 @end
    329 
    330 @interface DOMHTMLTableCaptionElement : DOMHTMLElement
    331 - (NSString *)align;
    332 - (void)setAlign:(NSString *)align;
    333 @end
    334 
    335 @interface DOMHTMLTableColElement : DOMHTMLElement
    336 - (NSString *)align;
    337 - (void)setAlign:(NSString *)align;
    338 - (NSString *)ch;
    339 - (void)setCh:(NSString *)ch;
    340 - (NSString *)chOff;
    341 - (void)setChOff:(NSString *)chOff;
    342 - (int)span;
    343 - (void)setSpan:(int)span;
    344 - (NSString *)vAlign;
    345 - (void)setVAlign:(NSString *)vAlign;
    346 - (NSString *)width;
    347 - (void)setWidth:(NSString *)width;
    348 @end
    349 
    350 @interface DOMHTMLTableSectionElement : DOMHTMLElement
    351 - (NSString *)align;
    352 - (void)setAlign:(NSString *)align;
    353 - (NSString *)ch;
    354 - (void)setCh:(NSString *)ch;
    355 - (NSString *)chOff;
    356 - (void)setChOff:(NSString *)chOff;
    357 - (NSString *)vAlign;
    358 - (void)setVAlign:(NSString *)vAlign;
    359 - (DOMHTMLCollection *)rows;
    360 - (DOMHTMLElement *)insertRow:(int)index;
    361 - (void)deleteRow:(int)index;
    362 @end
    363 
    364 @interface DOMHTMLTableRowElement : DOMHTMLElement
    365 - (int)rowIndex;
    366 - (int)sectionRowIndex;
    367 - (DOMHTMLCollection *)cells;
    368 - (NSString *)align;
    369 - (void)setAlign:(NSString *)align;
    370 - (NSString *)bgColor;
    371 - (void)setBgColor:(NSString *)bgColor;
    372 - (NSString *)ch;
    373 - (void)setCh:(NSString *)ch;
    374 - (NSString *)chOff;
    375 - (void)setChOff:(NSString *)chOff;
    376 - (NSString *)vAlign;
    377 - (void)setVAlign:(NSString *)vAlign;
    378 - (DOMHTMLElement *)insertCell:(int)index;
    379 - (void)deleteCell:(int)index;
    380 @end
    381 
    382 @interface DOMHTMLTableCellElement : DOMHTMLElement
    383 - (int)cellIndex;
    384 - (NSString *)abbr;
    385 - (void)setAbbr:(NSString *)abbr;
    386 - (NSString *)align;
    387 - (void)setAlign:(NSString *)align;
    388 - (NSString *)axis;
    389 - (void)setAxis:(NSString *)axis;
    390 - (NSString *)bgColor;
    391 - (void)setBgColor:(NSString *)bgColor;
    392 - (NSString *)ch;
    393 - (void)setCh:(NSString *)ch;
    394 - (NSString *)chOff;
    395 - (void)setChOff:(NSString *)chOff;
    396 - (int)colSpan;
    397 - (void)setColSpan:(int)colSpan;
    398 - (NSString *)headers;
    399 - (void)setHeaders:(NSString *)headers;
    400 - (NSString *)height;
    401 - (void)setHeight:(NSString *)height;
    402 - (BOOL)noWrap;
    403 - (void)setNoWrap:(BOOL)noWrap;
    404 - (int)rowSpan;
    405 - (void)setRowSpan:(int)rowSpan;
    406 - (NSString *)scope;
    407 - (void)setScope:(NSString *)scope;
    408 - (NSString *)vAlign;
    409 - (void)setVAlign:(NSString *)vAlign;
    410 - (NSString *)width;
    411 - (void)setWidth:(NSString *)width;
    412 @end
    413 
    414 @interface DOMHTMLFrameSetElement : DOMHTMLElement
    415 - (NSString *)cols;
    416 - (void)setCols:(NSString *)cols;
    417 - (NSString *)rows;
    418 - (void)setRows:(NSString *)rows;
    419 @end
    420 
    421 @interface DOMHTMLFrameElement : DOMHTMLElement
    422 - (NSString *)frameBorder;
    423 - (void)setFrameBorder:(NSString *)frameBorder;
    424 - (NSString *)longDesc;
    425 - (void)setLongDesc:(NSString *)longDesc;
    426 - (NSString *)marginHeight;
    427 - (void)setMarginHeight:(NSString *)marginHeight;
    428 - (NSString *)marginWidth;
    429 - (void)setMarginWidth:(NSString *)marginWidth;
    430 - (NSString *)name;
    431 - (void)setName:(NSString *)name;
    432 - (BOOL)noResize;
    433 - (void)setNoResize:(BOOL)noResize;
    434 - (NSString *)scrolling;
    435 - (void)setScrolling:(NSString *)scrolling;
    436 - (NSString *)src;
    437 - (void)setSrc:(NSString *)src;
    438 - (DOMDocument *)contentDocument;
    439 @end
    440 
    441 @interface DOMHTMLIFrameElement : DOMHTMLElement
    442 - (NSString *)align;
    443 - (void)setAlign:(NSString *)align;
    444 - (NSString *)frameBorder;
    445 - (void)setFrameBorder:(NSString *)frameBorder;
    446 - (NSString *)height;
    447 - (void)setHeight:(NSString *)height;
    448 - (NSString *)longDesc;
    449 - (void)setLongDesc:(NSString *)longDesc;
    450 - (NSString *)marginHeight;
    451 - (void)setMarginHeight:(NSString *)marginHeight;
    452 - (NSString *)marginWidth;
    453 - (void)setMarginWidth:(NSString *)marginWidth;
    454 - (NSString *)name;
    455 - (void)setName:(NSString *)name;
    456 - (NSString *)scrolling;
    457 - (void)setScrolling:(NSString *)scrolling;
    458 - (NSString *)src;
    459 - (void)setSrc:(NSString *)src;
    460 - (NSString *)width;
    461 - (void)setWidth:(NSString *)width;
    462 - (DOMDocument *)contentDocument;
    463 @end
  • trunk/WebCore/bindings/objc/DOMHTML.mm

    r16171 r16172  
    11/*
    2  * Copyright (C) 2004 Apple Computer, Inc.  All rights reserved.
     2 * Copyright (C) 2004-2006 Apple Computer, Inc.  All rights reserved.
    33 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
    44 *
     
    3535#import "FoundationExtras.h"
    3636#import "FrameView.h"
    37 #import "HTMLAppletElement.h"
    38 #import "HTMLAreaElement.h"
    39 #import "HTMLBRElement.h"
    40 #import "HTMLBaseElement.h"
    41 #import "HTMLBaseFontElement.h"
    42 #import "HTMLBodyElement.h"
    43 #import "HTMLButtonElement.h"
    44 #import "HTMLDListElement.h"
    45 #import "HTMLDirectoryElement.h"
    46 #import "HTMLDivElement.h"
    4737#import "HTMLDocument.h"
    4838#import "HTMLEmbedElement.h"
    49 #import "HTMLFieldSetElement.h"
    50 #import "HTMLFontElement.h"
    51 #import "HTMLFormCollection.h"
    5239#import "HTMLFormElement.h"
    53 #import "HTMLFrameSetElement.h"
    54 #import "HTMLHRElement.h"
    55 #import "HTMLHeadElement.h"
    56 #import "HTMLHeadingElement.h"
    57 #import "HTMLHtmlElement.h"
    58 #import "HTMLIFrameElement.h"
    5940#import "HTMLImageElement.h"
    60 #import "HTMLIsIndexElement.h"
    61 #import "HTMLLIElement.h"
    62 #import "HTMLLabelElement.h"
    63 #import "HTMLLegendElement.h"
    64 #import "HTMLLinkElement.h"
    65 #import "HTMLMapElement.h"
    66 #import "HTMLMenuElement.h"
    67 #import "HTMLMetaElement.h"
     41#import "HTMLInputElement.h"
    6842#import "HTMLNames.h"
    69 #import "HTMLOListElement.h"
    7043#import "HTMLObjectElement.h"
    71 #import "HTMLOptGroupElement.h"
    72 #import "HTMLOptionElement.h"
    7344#import "HTMLOptionsCollection.h"
    74 #import "HTMLParagraphElement.h"
    75 #import "HTMLParamElement.h"
    76 #import "HTMLPreElement.h"
    77 #import "HTMLScriptElement.h"
    7845#import "HTMLSelectElement.h"
    79 #import "HTMLStyleElement.h"
    8046#import "HTMLTableCaptionElement.h"
    8147#import "HTMLTableCellElement.h"
    82 #import "HTMLTableColElement.h"
    8348#import "HTMLTableElement.h"
    84 #import "HTMLTableRowElement.h"
    8549#import "HTMLTableSectionElement.h"
    86 #import "HTMLTextAreaElement.h"
    87 #import "HTMLTitleElement.h"
    88 #import "HTMLUListElement.h"
    8950#import "KURL.h"
    9051#import "NameNodeList.h"
     
    9758using namespace HTMLNames;
    9859
    99 // FIXME: This code should be using the impl methods instead of doing so many get/setAttribute calls.
    100 // FIXME: This code should be generated.
    101 
    10260
    10361//------------------------------------------------------------------------------------------
     
    238196
    239197//------------------------------------------------------------------------------------------
    240 // DOMHTMLOptionElement
    241 
    242 @implementation DOMHTMLOptionElement
    243 
    244 - (HTMLOptionElement *)_optionElement
    245 {
    246     return static_cast<HTMLOptionElement*>(DOM_cast<Node*>(_internal));
    247 }
    248 
    249 - (DOMHTMLFormElement *)form
    250 {
    251     return [DOMHTMLFormElement _formElementWith:[self _optionElement]->form()];
    252 }
    253 
    254 - (BOOL)defaultSelected
    255 {
    256     return [self _optionElement]->defaultSelected();
    257 }
    258 
    259 - (void)setDefaultSelected:(BOOL)defaultSelected
    260 {
    261     [self _optionElement]->setDefaultSelected(defaultSelected);
    262 }
    263 
    264 - (NSString *)text
    265 {
    266     return [self _optionElement]->text();
    267 }
    268 
    269 - (int)index
    270 {
    271     return [self _optionElement]->index();
    272 }
    273 
    274 - (BOOL)disabled
    275 {
    276     return [self _optionElement]->disabled();
    277 }
    278 
    279 - (void)setDisabled:(BOOL)disabled
    280 {
    281     [self _optionElement]->setDisabled(disabled);
    282 }
    283 
    284 - (NSString *)label
    285 {
    286     return [self _optionElement]->label();
    287 }
    288 
    289 - (void)setLabel:(NSString *)label
    290 {
    291     [self _optionElement]->setLabel(label);
    292 }
    293 
    294 - (BOOL)selected
    295 {
    296     return [self _optionElement]->selected();
    297 }
    298 
    299 - (void)setSelected:(BOOL)selected
    300 {
    301     [self _optionElement]->setSelected(selected);
    302 }
    303 
    304 - (NSString *)value
    305 {
    306     return [self _optionElement]->value();
    307 }
    308 
    309 - (void)setValue:(NSString *)value
    310 {
    311     String string = value;
    312     [self _optionElement]->setValue(string.impl());
    313 }
    314 
    315 @end
    316 
    317 
    318 //------------------------------------------------------------------------------------------
    319198// DOMHTMLInputElement
    320199
     
    346225
    347226//------------------------------------------------------------------------------------------
    348 // DOMHTMLBaseFontElement
    349 
    350 @implementation DOMHTMLBaseFontElement
    351 
    352 - (HTMLBaseFontElement *)_baseFontElement
    353 {
    354     return static_cast<HTMLBaseFontElement*>(DOM_cast<Node*>(_internal));
    355 }
    356 
    357 - (NSString *)color
    358 {
    359     return [self _baseFontElement]->getAttribute(colorAttr);
    360 }
    361 
    362 - (void)setColor:(NSString *)color
    363 {
    364     [self _baseFontElement]->setAttribute(colorAttr, color);
    365 }
    366 
    367 - (NSString *)face
    368 {
    369     return [self _baseFontElement]->getAttribute(faceAttr);
    370 }
    371 
    372 - (void)setFace:(NSString *)face
    373 {
    374     [self _baseFontElement]->setAttribute(faceAttr, face);
    375 }
    376 
    377 - (NSString *)size
    378 {
    379     return [self _baseFontElement]->getAttribute(sizeAttr);
    380 }
    381 
    382 - (void)setSize:(NSString *)size
    383 {
    384     [self _baseFontElement]->setAttribute(sizeAttr, size);
    385 }
    386 
    387 @end
    388 
    389 @implementation DOMHTMLFontElement
    390 
    391 - (HTMLFontElement *)_fontElement
    392 {
    393     return static_cast<HTMLFontElement*>(DOM_cast<Node*>(_internal));
    394 }
    395 
    396 - (NSString *)color
    397 {
    398     return [self _fontElement]->getAttribute(colorAttr);
    399 }
    400 
    401 - (void)setColor:(NSString *)color
    402 {
    403     [self _fontElement]->setAttribute(colorAttr, color);
    404 }
    405 
    406 - (NSString *)face
    407 {
    408     return [self _fontElement]->getAttribute(faceAttr);
    409 }
    410 
    411 - (void)setFace:(NSString *)face
    412 {
    413     [self _fontElement]->setAttribute(faceAttr, face);
    414 }
    415 
    416 - (NSString *)size
    417 {
    418     return [self _fontElement]->getAttribute(sizeAttr);
    419 }
    420 
    421 - (void)setSize:(NSString *)size
    422 {
    423     [self _fontElement]->setAttribute(sizeAttr, size);
    424 }
    425 
    426 @end
    427 
    428 @implementation DOMHTMLHRElement
    429 
    430 - (HTMLHRElement *)_HRElement
    431 {
    432     return static_cast<HTMLHRElement*>(DOM_cast<Node*>(_internal));
    433 }
    434 
    435 - (NSString *)align
    436 {
    437     return [self _HRElement]->getAttribute(alignAttr);
    438 }
    439 
    440 - (void)setAlign:(NSString *)align
    441 {
    442     [self _HRElement]->setAttribute(alignAttr, align);
    443 }
    444 
    445 - (BOOL)noShade
    446 {
    447     return [self _HRElement]->getAttribute(noshadeAttr).isNull();
    448 }
    449 
    450 - (void)setNoShade:(BOOL)noShade
    451 {
    452     [self _HRElement]->setAttribute(noshadeAttr, noShade ? "" : 0);
    453 }
    454 
    455 - (NSString *)size
    456 {
    457     return [self _HRElement]->getAttribute(sizeAttr);
    458 }
    459 
    460 - (void)setSize:(NSString *)size
    461 {
    462     [self _HRElement]->setAttribute(sizeAttr, size);
    463 }
    464 
    465 - (NSString *)width
    466 {
    467     return [self _HRElement]->getAttribute(widthAttr);
    468 }
    469 
    470 - (void)setWidth:(NSString *)width
    471 {
    472     [self _HRElement]->setAttribute(widthAttr, width);
    473 }
    474 
    475 @end
    476 
    477 @implementation DOMHTMLModElement
    478 
    479 - (HTMLElement *)_modElement
    480 {
    481     return static_cast<HTMLElement*>(DOM_cast<Node*>(_internal));
    482 }
    483 
    484 - (NSString *)cite
    485 {
    486     return [self _modElement]->getAttribute(citeAttr);
    487 }
    488 
    489 - (void)setCite:(NSString *)cite
    490 {
    491     [self _modElement]->setAttribute(citeAttr, cite);
    492 }
    493 
    494 - (NSString *)dateTime
    495 {
    496     return [self _modElement]->getAttribute(datetimeAttr);
    497 }
    498 
    499 - (void)setDateTime:(NSString *)dateTime
    500 {
    501     [self _modElement]->setAttribute(datetimeAttr, dateTime);
    502 }
    503 
    504 @end
    505 
    506 @implementation DOMHTMLAnchorElement
    507 
    508 - (HTMLAnchorElement *)_anchorElement
    509 {
    510     return static_cast<HTMLAnchorElement*>(DOM_cast<Node*>(_internal));
    511 }
    512 
    513 - (NSString *)accessKey
    514 {
    515     return [self _anchorElement]->getAttribute(accesskeyAttr);
    516 }
    517 
    518 - (void)setAccessKey:(NSString *)accessKey
    519 {
    520     [self _anchorElement]->setAttribute(accesskeyAttr, accessKey);
    521 }
    522 
    523 - (NSString *)charset
    524 {
    525     return [self _anchorElement]->getAttribute(charsetAttr);
    526 }
    527 
    528 - (void)setCharset:(NSString *)charset
    529 {
    530     [self _anchorElement]->setAttribute(charsetAttr, charset);
    531 }
    532 
    533 - (NSString *)coords
    534 {
    535     return [self _anchorElement]->getAttribute(coordsAttr);
    536 }
    537 
    538 - (void)setCoords:(NSString *)coords
    539 {
    540     [self _anchorElement]->setAttribute(coordsAttr, coords);
    541 }
     227// DOMHTMLAnchorElement
     228
     229@implementation DOMHTMLAnchorElement (DOMHTMLAnchorElementExtensions)
    542230
    543231- (NSURL *)absoluteLinkURL
     
    546234}
    547235
    548 - (NSString *)href
    549 {
    550     return [self _anchorElement]->href();
    551 }
    552 
    553 - (void)setHref:(NSString *)href
    554 {
    555     [self _anchorElement]->setAttribute(hrefAttr, href);
    556 }
    557 
    558 - (NSString *)hreflang
    559 {
    560     return [self _anchorElement]->hreflang();
    561 }
    562 
    563 - (void)setHreflang:(NSString *)hreflang
    564 {
    565     [self _anchorElement]->setHreflang(hreflang);
    566 }
    567 
    568 - (NSString *)name
    569 {
    570     return [self _anchorElement]->name();
    571 }
    572 
    573 - (void)setName:(NSString *)name
    574 {
    575     [self _anchorElement]->setName(name);
    576 }
    577 
    578 - (NSString *)rel
    579 {
    580     return [self _anchorElement]->rel();
    581 }
    582 
    583 - (void)setRel:(NSString *)rel
    584 {
    585     [self _anchorElement]->setRel(rel);
    586 }
    587 
    588 - (NSString *)rev
    589 {
    590     return [self _anchorElement]->rev();
    591 }
    592 
    593 - (void)setRev:(NSString *)rev
    594 {
    595     [self _anchorElement]->setRev(rev);
    596 }
    597 
    598 - (NSString *)shape
    599 {
    600     return [self _anchorElement]->shape();
    601 }
    602 
    603 - (void)setShape:(NSString *)shape
    604 {
    605     [self _anchorElement]->setShape(shape);
    606 }
    607 
    608 - (int)tabIndex
    609 {
    610     return [self _anchorElement]->tabIndex();
    611 }
    612 
    613 - (void)setTabIndex:(int)tabIndex
    614 {
    615     [self _anchorElement]->setTabIndex(tabIndex);
    616 }
    617 
    618 - (NSString *)target
    619 {
    620     return [self _anchorElement]->getAttribute(targetAttr);
    621 }
    622 
    623 - (void)setTarget:(NSString *)target
    624 {
    625     [self _anchorElement]->setAttribute(targetAttr, target);
    626 }
    627 
    628 - (NSString *)type
    629 {
    630     return [self _anchorElement]->getAttribute(typeAttr);
    631 }
    632 
    633 - (void)setType:(NSString *)type
    634 {
    635     [self _anchorElement]->setAttribute(typeAttr, type);
    636 }
    637 
    638 - (void)blur
    639 {
    640     HTMLAnchorElement *impl = [self _anchorElement];
    641     if (impl->document()->focusNode() == impl)
    642         impl->document()->setFocusNode(0);
    643 }
    644 
    645 - (void)focus
    646 {
    647     HTMLAnchorElement *impl = [self _anchorElement];
    648     impl->document()->setFocusNode(static_cast<Element*>(impl));
    649 }
    650 
    651 @end
    652 
    653 @implementation DOMHTMLImageElement
    654 
    655 - (HTMLImageElement *)_imageElement
    656 {
    657     return static_cast<HTMLImageElement*>(DOM_cast<Node*>(_internal));
    658 }
    659 
    660 - (NSString *)name
    661 {
    662     return [self _imageElement]->getAttribute(nameAttr);
    663 }
    664 
    665 - (void)setName:(NSString *)name
    666 {
    667     [self _imageElement]->setAttribute(nameAttr, name);
    668 }
    669 
    670 - (NSString *)align
    671 {
    672     return [self _imageElement]->getAttribute(alignAttr);
    673 }
    674 
    675 - (void)setAlign:(NSString *)align
    676 {
    677     [self _imageElement]->setAttribute(alignAttr, align);
    678 }
    679 
    680 - (NSString *)alt
    681 {
    682     return [self _imageElement]->getAttribute(altAttr);
    683 }
     236@end
     237
     238
     239//------------------------------------------------------------------------------------------
     240// DOMHTMLImageElement
     241
     242@implementation DOMHTMLImageElement (DOMHTMLImageElementExtensions)
    684243
    685244- (NSString *)altDisplayString
    686245{
    687     String alt = [self _imageElement]->getAttribute(altAttr);
     246    String alt = [self _HTMLImageElement]->getAttribute(altAttr);
    688247    return alt.replace('\\', [self _element]->document()->backslashAsCurrencySymbol());
    689248}
    690249
    691 - (void)setAlt:(NSString *)alt
    692 {
    693     [self _imageElement]->setAttribute(altAttr, alt);
    694 }
    695 
    696 - (NSString *)border
    697 {
    698     return [self _imageElement]->getAttribute(borderAttr);
    699 }
    700 
    701 - (void)setBorder:(NSString *)border
    702 {
    703     [self _imageElement]->setAttribute(borderAttr, border);
    704 }
    705 
    706 - (int)height
    707 {
    708     return [self _imageElement]->getAttribute(heightAttr).toInt();
    709 }
    710 
    711 - (void)setHeight:(int)height
    712 {
    713     [self _imageElement]->setAttribute(heightAttr, String::number(height));
    714 }
    715 
    716 - (int)hspace
    717 {
    718     return [self _imageElement]->getAttribute(hspaceAttr).toInt();
    719 }
    720 
    721 - (void)setHspace:(int)hspace
    722 {
    723     [self _imageElement]->setAttribute(hspaceAttr, String::number(hspace));
    724 }
    725 
    726 - (BOOL)isMap
    727 {
    728     return [self _imageElement]->getAttribute(ismapAttr).isNull();
    729 }
    730 
    731 - (void)setIsMap:(BOOL)isMap
    732 {
    733     [self _imageElement]->setAttribute(ismapAttr, isMap ? "" : 0);
    734 }
    735 
    736 - (NSString *)longDesc
    737 {
    738     return [self _imageElement]->getAttribute(longdescAttr);
    739 }
    740 
    741 - (void)setLongDesc:(NSString *)longDesc
    742 {
    743     [self _imageElement]->setAttribute(longdescAttr, longDesc);
    744 }
    745 
    746250- (NSURL *)absoluteImageURL
    747251{
     
    749253}
    750254
    751 - (NSString *)src
    752 {
    753     return [self _imageElement]->src();
    754 }
    755 
    756 - (void)setSrc:(NSString *)src
    757 {
    758     [self _imageElement]->setAttribute(srcAttr, src);
    759 }
    760 
    761 - (NSString *)useMap
    762 {
    763     return [self _imageElement]->getAttribute(usemapAttr);
    764 }
    765 
    766 - (void)setUseMap:(NSString *)useMap
    767 {
    768     [self _imageElement]->setAttribute(usemapAttr, useMap);
    769 }
    770 
    771 - (int)vspace
    772 {
    773     return [self _imageElement]->getAttribute(vspaceAttr).toInt();
    774 }
    775 
    776 - (void)setVspace:(int)vspace
    777 {
    778     [self _imageElement]->setAttribute(vspaceAttr, String::number(vspace));
    779 }
    780 
    781 - (int)width
    782 {
    783     return [self _imageElement]->getAttribute(widthAttr).toInt();
    784 }
    785 
    786 - (void)setWidth:(int)width
    787 {
    788     [self _imageElement]->setAttribute(widthAttr, String::number(width));
    789 }
    790 
    791 @end
    792 
    793 @implementation DOMHTMLObjectElement
    794 
    795 - (HTMLObjectElement *)_objectElement
    796 {
    797     return static_cast<HTMLObjectElement*>(DOM_cast<Node*>(_internal));
    798 }
    799 
    800 - (DOMHTMLFormElement *)form
    801 {
    802     return [DOMHTMLFormElement _formElementWith:[self _objectElement]->form()];
    803 }
    804 
    805 - (NSString *)code
    806 {
    807     return [self _objectElement]->getAttribute(codeAttr);
    808 }
    809 
    810 - (void)setCode:(NSString *)code
    811 {
    812     [self _objectElement]->setAttribute(codeAttr, code);
    813 }
    814 
    815 - (NSString *)align
    816 {
    817     return [self _objectElement]->getAttribute(alignAttr);
    818 }
    819 
    820 - (void)setAlign:(NSString *)align
    821 {
    822     [self _objectElement]->setAttribute(alignAttr, align);
    823 }
    824 
    825 - (NSString *)archive
    826 {
    827     return [self _objectElement]->getAttribute(archiveAttr);
    828 }
    829 
    830 - (void)setArchive:(NSString *)archive
    831 {
    832     [self _objectElement]->setAttribute(archiveAttr, archive);
    833 }
    834 
    835 - (NSString *)border
    836 {
    837     return [self _objectElement]->getAttribute(borderAttr);
    838 }
    839 
    840 - (void)setBorder:(NSString *)border
    841 {
    842     [self _objectElement]->setAttribute(borderAttr, border);
    843 }
    844 
    845 - (NSString *)codeBase
    846 {
    847     return [self _objectElement]->getAttribute(codebaseAttr);
    848 }
    849 
    850 - (void)setCodeBase:(NSString *)codeBase
    851 {
    852     [self _objectElement]->setAttribute(codebaseAttr, codeBase);
    853 }
    854 
    855 - (NSString *)codeType
    856 {
    857     return [self _objectElement]->getAttribute(codetypeAttr);
    858 }
    859 
    860 - (void)setCodeType:(NSString *)codeType
    861 {
    862     [self _objectElement]->setAttribute(codetypeAttr, codeType);
    863 }
     255@end
     256
     257@implementation DOMHTMLImageElement (WebCoreInternal)
     258
     259- (WebCore::HTMLImageElement *)_HTMLImageElement
     260{
     261    return static_cast<WebCore::HTMLImageElement*>(DOM_cast<WebCore::Node*>(_internal));
     262}
     263
     264@end
     265
     266
     267//------------------------------------------------------------------------------------------
     268// DOMHTMLObjectElement
     269
     270@implementation DOMHTMLObjectElement (DOMHTMLObjectElementExtensions)
    864271
    865272- (NSURL *)absoluteImageURL
    866273{
    867     if (![self _objectElement]->renderer() || ![self _objectElement]->renderer()->isImage())
     274    if (![self _HTMLObjectElement]->renderer() || ![self _HTMLObjectElement]->renderer()->isImage())
    868275        return nil;
    869276    return [self _getURLAttribute:@"data"];
    870277}
    871278
    872 - (NSString *)data
    873 {
    874     return [self _objectElement]->getAttribute(dataAttr);
    875 }
    876 
    877 - (void)setData:(NSString *)data
    878 {
    879     [self _objectElement]->setAttribute(dataAttr, data);
    880 }
    881 
    882 - (BOOL)declare
    883 {
    884     return [self _objectElement]->getAttribute(declareAttr).isNull();
    885 }
    886 
    887 - (void)setDeclare:(BOOL)declare
    888 {
    889     [self _objectElement]->setAttribute(declareAttr, declare ? "" : 0);
    890 }
    891 
    892 - (NSString *)height
    893 {
    894     return [self _objectElement]->getAttribute(heightAttr);
    895 }
    896 
    897 - (void)setHeight:(NSString *)height
    898 {
    899     [self _objectElement]->setAttribute(heightAttr, height);
    900 }
    901 
    902 - (int)hspace
    903 {
    904     return [self _objectElement]->getAttribute(hspaceAttr).toInt();
    905 }
    906 
    907 - (void)setHspace:(int)hspace
    908 {
    909     [self _objectElement]->setAttribute(hspaceAttr, String::number(hspace));
    910 }
    911 
    912 - (NSString *)name
    913 {
    914     return [self _objectElement]->getAttribute(nameAttr);
    915 }
    916 
    917 - (void)setName:(NSString *)name
    918 {
    919     [self _objectElement]->setAttribute(nameAttr, name);
    920 }
    921 
    922 - (NSString *)standby
    923 {
    924     return [self _objectElement]->getAttribute(standbyAttr);
    925 }
    926 
    927 - (void)setStandby:(NSString *)standby
    928 {
    929     [self _objectElement]->setAttribute(standbyAttr, standby);
    930 }
    931 
    932 - (int)tabIndex
    933 {
    934     return [self _objectElement]->getAttribute(tabindexAttr).toInt();
    935 }
    936 
    937 - (void)setTabIndex:(int)tabIndex
    938 {
    939     [self _objectElement]->setAttribute(tabindexAttr, String::number(tabIndex));
    940 }
    941 
    942 - (NSString *)type
    943 {
    944     return [self _objectElement]->getAttribute(typeAttr);
    945 }
    946 
    947 - (void)setType:(NSString *)type
    948 {
    949     [self _objectElement]->setAttribute(typeAttr, type);
    950 }
    951 
    952 - (NSString *)useMap
    953 {
    954     return [self _objectElement]->getAttribute(usemapAttr);
    955 }
    956 
    957 - (void)setUseMap:(NSString *)useMap
    958 {
    959     [self _objectElement]->setAttribute(usemapAttr, useMap);
    960 }
    961 
    962 - (int)vspace
    963 {
    964     return [self _objectElement]->getAttribute(vspaceAttr).toInt();
    965 }
    966 
    967 - (void)setVspace:(int)vspace
    968 {
    969     [self _objectElement]->setAttribute(vspaceAttr, String::number(vspace));
    970 }
    971 
    972 - (NSString *)width
    973 {
    974     return [self _objectElement]->getAttribute(widthAttr);
    975 }
    976 
    977 - (void)setWidth:(NSString *)width
    978 {
    979     [self _objectElement]->setAttribute(widthAttr, width);
    980 }
    981 
    982 - (DOMDocument *)contentDocument
    983 {
    984     return [DOMDocument _documentWith:[self _objectElement]->contentDocument()];
    985 }
    986 
    987 @end
    988 
    989 @implementation DOMHTMLParamElement
    990 
    991 - (HTMLParamElement *)_paramElement
    992 {
    993     return static_cast<HTMLParamElement*>(DOM_cast<Node*>(_internal));
    994 }
    995 
    996 - (NSString *)name
    997 {
    998     return [self _paramElement]->getAttribute(nameAttr);
    999 }
    1000 
    1001 - (void)setName:(NSString *)name
    1002 {
    1003     [self _paramElement]->setAttribute(nameAttr, name);
    1004 }
    1005 
    1006 - (NSString *)type
    1007 {
    1008     return [self _paramElement]->getAttribute(typeAttr);
    1009 }
    1010 
    1011 - (void)setType:(NSString *)type
    1012 {
    1013     [self _paramElement]->setAttribute(typeAttr, type);
    1014 }
    1015 
    1016 - (NSString *)value
    1017 {
    1018     return [self _paramElement]->getAttribute(valueAttr);
    1019 }
    1020 
    1021 - (void)setValue:(NSString *)value
    1022 {
    1023     [self _paramElement]->setAttribute(valueAttr, value);
    1024 }
    1025 
    1026 - (NSString *)valueType
    1027 {
    1028     return [self _paramElement]->getAttribute(valuetypeAttr);
    1029 }
    1030 
    1031 - (void)setValueType:(NSString *)valueType
    1032 {
    1033     [self _paramElement]->setAttribute(valuetypeAttr, valueType);
    1034 }
    1035 
    1036 @end
    1037 
    1038 @implementation DOMHTMLAppletElement
    1039 
    1040 - (HTMLAppletElement *)_appletElement
    1041 {
    1042     return static_cast<HTMLAppletElement*>(DOM_cast<Node*>(_internal));
    1043 }
    1044 
    1045 - (NSString *)align
    1046 {
    1047     return [self _appletElement]->getAttribute(alignAttr);
    1048 }
    1049 
    1050 - (void)setAlign:(NSString *)align
    1051 {
    1052     [self _appletElement]->setAttribute(alignAttr, align);
    1053 }
    1054 
    1055 - (NSString *)alt
    1056 {
    1057     return [self _appletElement]->getAttribute(altAttr);
    1058 }
    1059 
    1060 - (NSString *)altDisplayString
    1061 {
    1062     String alt = [self _appletElement]->getAttribute(altAttr);
    1063     return alt.replace('\\', [self _element]->document()->backslashAsCurrencySymbol());
    1064 }
    1065 
    1066 - (void)setAlt:(NSString *)alt
    1067 {
    1068     [self _appletElement]->setAttribute(altAttr, alt);
    1069 }
    1070 
    1071 - (NSString *)archive
    1072 {
    1073     return [self _appletElement]->getAttribute(archiveAttr);
    1074 }
    1075 
    1076 - (void)setArchive:(NSString *)archive
    1077 {
    1078     [self _appletElement]->setAttribute(archiveAttr, archive);
    1079 }
    1080 
    1081 - (NSString *)code
    1082 {
    1083     return [self _appletElement]->getAttribute(codeAttr);
    1084 }
    1085 
    1086 - (void)setCode:(NSString *)code
    1087 {
    1088     [self _appletElement]->setAttribute(codeAttr, code);
    1089 }
    1090 
    1091 - (NSString *)codeBase
    1092 {
    1093     return [self _appletElement]->getAttribute(codebaseAttr);
    1094 }
    1095 
    1096 - (void)setCodeBase:(NSString *)codeBase
    1097 {
    1098     [self _appletElement]->setAttribute(codebaseAttr, codeBase);
    1099 }
    1100 
    1101 - (NSString *)height
    1102 {
    1103     return [self _appletElement]->getAttribute(heightAttr);
    1104 }
    1105 
    1106 - (void)setHeight:(NSString *)height
    1107 {
    1108     [self _appletElement]->setAttribute(heightAttr, height);
    1109 }
    1110 
    1111 - (int)hspace
    1112 {
    1113     return [self _appletElement]->getAttribute(hspaceAttr).toInt();
    1114 }
    1115 
    1116 - (void)setHspace:(int)hspace
    1117 {
    1118     [self _appletElement]->setAttribute(hspaceAttr, String::number(hspace));
    1119 }
    1120 
    1121 - (NSString *)name
    1122 {
    1123     return [self _appletElement]->getAttribute(nameAttr);
    1124 }
    1125 
    1126 - (void)setName:(NSString *)name
    1127 {
    1128     [self _appletElement]->setAttribute(nameAttr, name);
    1129 }
    1130 
    1131 - (NSString *)object
    1132 {
    1133     return [self _appletElement]->getAttribute(objectAttr);
    1134 }
    1135 
    1136 - (void)setObject:(NSString *)object
    1137 {
    1138     [self _appletElement]->setAttribute(objectAttr, object);
    1139 }
    1140 
    1141 - (int)vspace
    1142 {
    1143     return [self _appletElement]->getAttribute(vspaceAttr).toInt();
    1144 }
    1145 
    1146 - (void)setVspace:(int)vspace
    1147 {
    1148     [self _appletElement]->setAttribute(vspaceAttr, String::number(vspace));
    1149 }
    1150 
    1151 - (NSString *)width
    1152 {
    1153     return [self _appletElement]->getAttribute(widthAttr);
    1154 }
    1155 
    1156 - (void)setWidth:(NSString *)width
    1157 {
    1158     [self _appletElement]->setAttribute(widthAttr, width);
    1159 }
    1160 
    1161 @end
    1162 
    1163 @implementation DOMHTMLMapElement
    1164 
    1165 - (HTMLMapElement *)_mapElement
    1166 {
    1167     return static_cast<HTMLMapElement*>(DOM_cast<Node*>(_internal));
    1168 }
    1169 
    1170 - (DOMHTMLCollection *)areas
    1171 {
    1172     HTMLCollection *collection = new HTMLCollection([self _mapElement], HTMLCollection::MapAreas);
    1173     return [DOMHTMLCollection _collectionWith:collection];
    1174 }
    1175 
    1176 - (NSString *)name
    1177 {
    1178     return [self _mapElement]->getAttribute(nameAttr);
    1179 }
    1180 
    1181 - (void)setName:(NSString *)name
    1182 {
    1183     [self _mapElement]->setAttribute(nameAttr, name);
    1184 }
    1185 
    1186 @end
    1187 
    1188 @implementation DOMHTMLAreaElement
    1189 
    1190 - (HTMLAreaElement *)_areaElement
    1191 {
    1192     return static_cast<HTMLAreaElement*>(DOM_cast<Node*>(_internal));
    1193 }
    1194 
    1195 - (NSString *)accessKey
    1196 {
    1197     return [self _areaElement]->getAttribute(accesskeyAttr);
    1198 }
    1199 
    1200 - (void)setAccessKey:(NSString *)accessKey
    1201 {
    1202     [self _areaElement]->setAttribute(accesskeyAttr, accessKey);
    1203 }
    1204 
    1205 - (NSString *)alt
    1206 {
    1207     return [self _areaElement]->getAttribute(altAttr);
    1208 }
    1209 
    1210 - (NSString *)altDisplayString
    1211 {
    1212     String alt = [self _areaElement]->getAttribute(altAttr);
    1213     return alt.replace('\\', [self _element]->document()->backslashAsCurrencySymbol());
    1214 }
    1215 
    1216 - (void)setAlt:(NSString *)alt
    1217 {
    1218     [self _areaElement]->setAttribute(altAttr, alt);
    1219 }
    1220 
    1221 - (NSString *)coords
    1222 {
    1223     return [self _areaElement]->getAttribute(coordsAttr);
    1224 }
    1225 
    1226 - (void)setCoords:(NSString *)coords
    1227 {
    1228     [self _areaElement]->setAttribute(coordsAttr, coords);
    1229 }
     279@end
     280
     281@implementation DOMHTMLObjectElement (WebCoreInternal)
     282
     283- (WebCore::HTMLObjectElement *)_HTMLObjectElement
     284{
     285    return static_cast<WebCore::HTMLObjectElement*>(DOM_cast<WebCore::Node*>(_internal));
     286}
     287
     288@end
     289
     290
     291//------------------------------------------------------------------------------------------
     292// DOMHTMLAreaElement
     293
     294@implementation DOMHTMLAreaElement (DOMHTMLAreaElementExtensions)
    1230295
    1231296- (NSURL *)absoluteLinkURL
     
    1234299}
    1235300
    1236 - (NSString *)href
    1237 {
    1238     return [self _areaElement]->href();
    1239 }
    1240 
    1241 - (void)setHref:(NSString *)href
    1242 {
    1243     [self _areaElement]->setAttribute(hrefAttr, href);
    1244 }
    1245 
    1246 - (BOOL)noHref
    1247 {
    1248     return [self _areaElement]->getAttribute(nohrefAttr).isNull();
    1249 }
    1250 
    1251 - (void)setNoHref:(BOOL)noHref
    1252 {
    1253     [self _areaElement]->setAttribute(nohrefAttr, noHref ? "" : 0);
    1254 }
    1255 
    1256 - (NSString *)shape
    1257 {
    1258     return [self _areaElement]->getAttribute(shapeAttr);
    1259 }
    1260 
    1261 - (void)setShape:(NSString *)shape
    1262 {
    1263     [self _areaElement]->setAttribute(shapeAttr, shape);
    1264 }
    1265 
    1266 - (int)tabIndex
    1267 {
    1268     return [self _areaElement]->getAttribute(tabindexAttr).toInt();
    1269 }
    1270 
    1271 - (void)setTabIndex:(int)tabIndex
    1272 {
    1273     [self _areaElement]->setAttribute(tabindexAttr, String::number(tabIndex));
    1274 }
    1275 
    1276 - (NSString *)target
    1277 {
    1278     return [self _areaElement]->getAttribute(targetAttr);
    1279 }
    1280 
    1281 - (void)setTarget:(NSString *)target
    1282 {
    1283     [self _areaElement]->setAttribute(targetAttr, target);
    1284 }
    1285 
    1286 @end
    1287 
    1288 @implementation DOMHTMLScriptElement
    1289 
    1290 - (HTMLScriptElement *)_scriptElement
    1291 {
    1292     return static_cast<HTMLScriptElement*>(DOM_cast<Node*>(_internal));
    1293 }
    1294 
    1295 - (NSString *)text
    1296 {
    1297     return [self _scriptElement]->getAttribute(textAttr);
    1298 }
    1299 
    1300 - (void)setText:(NSString *)text
    1301 {
    1302     [self _scriptElement]->setAttribute(textAttr, text);
    1303 }
    1304 
    1305 - (NSString *)htmlFor
    1306 {
    1307     ASSERT_WITH_MESSAGE(0, "not implemented by khtml");
    1308     return nil;
    1309 }
    1310 
    1311 - (void)setHtmlFor:(NSString *)htmlFor
    1312 {
    1313     ASSERT_WITH_MESSAGE(0, "not implemented by khtml");
    1314 }
    1315 
    1316 - (NSString *)event
    1317 {
    1318     ASSERT_WITH_MESSAGE(0, "not implemented by khtml");
    1319     return nil;
    1320 }
    1321 
    1322 - (void)setEvent:(NSString *)event
    1323 {
    1324     ASSERT_WITH_MESSAGE(0, "not implemented by khtml");
    1325 }
    1326 
    1327 - (NSString *)charset
    1328 {
    1329     return [self _scriptElement]->getAttribute(charsetAttr);
    1330 }
    1331 
    1332 - (void)setCharset:(NSString *)charset
    1333 {
    1334     [self _scriptElement]->setAttribute(charsetAttr, charset);
    1335 }
    1336 
    1337 - (BOOL)defer
    1338 {
    1339     return [self _scriptElement]->getAttribute(deferAttr).isNull();
    1340 }
    1341 
    1342 - (void)setDefer:(BOOL)defer
    1343 {
    1344     [self _scriptElement]->setAttribute(deferAttr, defer ? "" : 0);
    1345 }
    1346 
    1347 - (NSString *)src
    1348 {
    1349     return [self _scriptElement]->getAttribute(srcAttr);
    1350 }
    1351 
    1352 - (void)setSrc:(NSString *)src
    1353 {
    1354     [self _scriptElement]->setAttribute(srcAttr, src);
    1355 }
    1356 
    1357 - (NSString *)type
    1358 {
    1359     return [self _scriptElement]->getAttribute(typeAttr);
    1360 }
    1361 
    1362 - (void)setType:(NSString *)type
    1363 {
    1364     [self _scriptElement]->setAttribute(typeAttr, type);
    1365 }
    1366 
    1367 @end
    1368 
    1369 @implementation DOMHTMLTableCaptionElement
    1370 
    1371 - (NSString *)align
    1372 {
    1373     return [self _tableCaptionElement]->getAttribute(alignAttr);
    1374 }
    1375 
    1376 - (void)setAlign:(NSString *)align
    1377 {
    1378     [self _tableCaptionElement]->setAttribute(alignAttr, align);
    1379 }
    1380 
    1381 @end
     301@end
     302
     303
     304//------------------------------------------------------------------------------------------
     305// DOMHTMLTableCaptionElement
    1382306
    1383307@implementation DOMHTMLTableCaptionElement (WebCoreInternal)
     
    1395319@end
    1396320
    1397 @implementation DOMHTMLTableSectionElement
    1398 
    1399 - (NSString *)align
    1400 {
    1401     return [self _tableSectionElement]->getAttribute(alignAttr);
    1402 }
    1403 
    1404 - (void)setAlign:(NSString *)align
    1405 {
    1406     [self _tableSectionElement]->setAttribute(alignAttr, align);
    1407 }
    1408 
    1409 - (NSString *)ch
    1410 {
    1411     return [self _tableSectionElement]->getAttribute(charoffAttr);
    1412 }
    1413 
    1414 - (void)setCh:(NSString *)ch
    1415 {
    1416     [self _tableSectionElement]->setAttribute(charoffAttr, ch);
    1417 }
    1418 
    1419 - (NSString *)chOff
    1420 {
    1421     return [self _tableSectionElement]->getAttribute(charoffAttr);
    1422 }
    1423 
    1424 - (void)setChOff:(NSString *)chOff
    1425 {
    1426     [self _tableSectionElement]->setAttribute(charoffAttr, chOff);
    1427 }
    1428 
    1429 - (NSString *)vAlign
    1430 {
    1431     return [self _tableSectionElement]->getAttribute(valignAttr);
    1432 }
    1433 
    1434 - (void)setVAlign:(NSString *)vAlign
    1435 {
    1436     [self _tableSectionElement]->setAttribute(valignAttr, vAlign);
    1437 }
    1438 
    1439 - (DOMHTMLCollection *)rows
    1440 {
    1441     HTMLCollection *collection = new HTMLCollection([self _tableSectionElement], HTMLCollection::TableRows);
    1442     return [DOMHTMLCollection _collectionWith:collection];
    1443 }
    1444 
    1445 - (DOMHTMLElement *)insertRow:(int)index
    1446 {
    1447     ExceptionCode ec = 0;
    1448     HTMLElement *impl = [self _tableSectionElement]->insertRow(index, ec);
    1449     raiseOnDOMError(ec);
    1450     return [DOMHTMLElement _elementWith:impl];
    1451 }
    1452 
    1453 - (void)deleteRow:(int)index
    1454 {
    1455     ExceptionCode ec = 0;
    1456     [self _tableSectionElement]->deleteRow(index, ec);
    1457     raiseOnDOMError(ec);
    1458 }
    1459 
    1460 @end
     321
     322//------------------------------------------------------------------------------------------
     323// DOMHTMLTableSectionElement
    1461324
    1462325@implementation DOMHTMLTableSectionElement (WebCoreInternal)
     
    1474337@end
    1475338
    1476 @implementation DOMHTMLTableElement
    1477 
    1478 - (DOMHTMLTableCaptionElement *)caption
    1479 {
    1480     return [DOMHTMLTableCaptionElement _tableCaptionElementWith:[self _tableElement]->caption()];
    1481 }
    1482 
    1483 - (void)setCaption:(DOMHTMLTableCaptionElement *)caption
    1484 {
    1485     [self _tableElement]->setCaption([caption _tableCaptionElement]);
    1486 }
    1487 
    1488 - (DOMHTMLTableSectionElement *)tHead
    1489 {
    1490     return [DOMHTMLTableSectionElement _tableSectionElementWith:[self _tableElement]->tHead()];
    1491 }
    1492 
    1493 - (void)setTHead:(DOMHTMLTableSectionElement *)tHead
    1494 {
    1495     [self _tableElement]->setTHead([tHead _tableSectionElement]);
    1496 }
    1497 
    1498 - (DOMHTMLTableSectionElement *)tFoot
    1499 {
    1500     return [DOMHTMLTableSectionElement _tableSectionElementWith:[self _tableElement]->tFoot()];
    1501 }
    1502 
    1503 - (void)setTFoot:(DOMHTMLTableSectionElement *)tFoot
    1504 {
    1505     [self _tableElement]->setTFoot([tFoot _tableSectionElement]);
    1506 }
    1507 
    1508 - (DOMHTMLCollection *)rows
    1509 {
    1510     HTMLCollection *collection = new HTMLCollection([self _tableElement], HTMLCollection::TableRows);
    1511     return [DOMHTMLCollection _collectionWith:collection];
    1512 }
    1513 
    1514 - (DOMHTMLCollection *)tBodies
    1515 {
    1516     HTMLCollection *collection = new HTMLCollection([self _tableElement], HTMLCollection::TableTBodies);
    1517     return [DOMHTMLCollection _collectionWith:collection];
    1518 }
    1519 
    1520 - (NSString *)align
    1521 {
    1522     return [self _tableElement]->getAttribute(alignAttr);
    1523 }
    1524 
    1525 - (void)setAlign:(NSString *)align
    1526 {
    1527     [self _tableElement]->setAttribute(alignAttr, align);
    1528 }
    1529 
    1530 - (NSString *)bgColor
    1531 {
    1532     return [self _tableElement]->getAttribute(bgcolorAttr);
    1533 }
    1534 
    1535 - (void)setBgColor:(NSString *)bgColor
    1536 {
    1537     [self _tableElement]->setAttribute(bgcolorAttr, bgColor);
    1538 }
    1539 
    1540 - (NSString *)border
    1541 {
    1542     return [self _tableElement]->getAttribute(borderAttr);
    1543 }
    1544 
    1545 - (void)setBorder:(NSString *)border
    1546 {
    1547     [self _tableElement]->setAttribute(borderAttr, border);
    1548 }
    1549 
    1550 - (NSString *)cellPadding
    1551 {
    1552     return [self _tableElement]->getAttribute(cellpaddingAttr);
    1553 }
    1554 
    1555 - (void)setCellPadding:(NSString *)cellPadding
    1556 {
    1557     [self _tableElement]->setAttribute(cellpaddingAttr, cellPadding);
    1558 }
    1559 
    1560 - (NSString *)cellSpacing
    1561 {
    1562     return [self _tableElement]->getAttribute(cellspacingAttr);
    1563 }
    1564 
    1565 - (void)setCellSpacing:(NSString *)cellSpacing
    1566 {
    1567     [self _tableElement]->setAttribute(cellspacingAttr, cellSpacing);
    1568 }
    1569 
    1570 - (NSString *)frameBorders
    1571 {
    1572     return [self _tableElement]->getAttribute(frameAttr);
    1573 }
    1574 
    1575 - (void)setFrameBorders:(NSString *)frameBorders
    1576 {
    1577     [self _tableElement]->setAttribute(frameAttr, frameBorders);
    1578 }
    1579 
    1580 - (NSString *)rules
    1581 {
    1582     return [self _tableElement]->getAttribute(rulesAttr);
    1583 }
    1584 
    1585 - (void)setRules:(NSString *)rules
    1586 {
    1587     [self _tableElement]->setAttribute(rulesAttr, rules);
    1588 }
    1589 
    1590 - (NSString *)summary
    1591 {
    1592     return [self _tableElement]->getAttribute(summaryAttr);
    1593 }
    1594 
    1595 - (void)setSummary:(NSString *)summary
    1596 {
    1597     [self _tableElement]->setAttribute(summaryAttr, summary);
    1598 }
    1599 
    1600 - (NSString *)width
    1601 {
    1602     return [self _tableElement]->getAttribute(widthAttr);
    1603 }
    1604 
    1605 - (void)setWidth:(NSString *)width
    1606 {
    1607     [self _tableElement]->setAttribute(widthAttr, width);
    1608 }
    1609 
    1610 - (DOMHTMLElement *)createTHead
    1611 {
    1612     HTMLTableSectionElement *impl = static_cast<HTMLTableSectionElement*>([self _tableElement]->createTHead());
    1613     return [DOMHTMLTableSectionElement _tableSectionElementWith:impl];
    1614 }
    1615 
    1616 - (void)deleteTHead
    1617 {
    1618     [self _tableElement]->deleteTHead();
    1619 }
    1620 
    1621 - (DOMHTMLElement *)createTFoot
    1622 {
    1623     HTMLTableSectionElement *impl = static_cast<HTMLTableSectionElement*>([self _tableElement]->createTFoot());
    1624     return [DOMHTMLTableSectionElement _tableSectionElementWith:impl];
    1625 }
    1626 
    1627 - (void)deleteTFoot
    1628 {
    1629     [self _tableElement]->deleteTFoot();
    1630 }
    1631 
    1632 - (DOMHTMLElement *)createCaption
    1633 {
    1634     HTMLTableCaptionElement *impl = static_cast<HTMLTableCaptionElement*>([self _tableElement]->createCaption());
    1635     return [DOMHTMLTableCaptionElement _tableCaptionElementWith:impl];
    1636 }
    1637 
    1638 - (void)deleteCaption
    1639 {
    1640     [self _tableElement]->deleteCaption();
    1641 }
    1642 
    1643 - (DOMHTMLElement *)insertRow:(int)index
    1644 {
    1645     ExceptionCode ec = 0;
    1646     HTMLTableElement *impl = static_cast<HTMLTableElement*>([self _tableElement]->insertRow(index, ec));
    1647     raiseOnDOMError(ec);
    1648     return [DOMHTMLTableElement _tableElementWith:impl];
    1649 }
    1650 
    1651 - (void)deleteRow:(int)index
    1652 {
    1653     ExceptionCode ec = 0;
    1654     [self _tableElement]->deleteRow(index, ec);
    1655     raiseOnDOMError(ec);
    1656 }
    1657 
    1658 @end
     339
     340//------------------------------------------------------------------------------------------
     341// DOMHTMLTableElement
    1659342
    1660343@implementation DOMHTMLTableElement (WebCoreInternal)
     
    1672355@end
    1673356
    1674 @implementation DOMHTMLTableColElement
    1675 
    1676 - (HTMLTableColElement *)_tableColElement
    1677 {
    1678     return static_cast<HTMLTableColElement*>(DOM_cast<Node*>(_internal));
    1679 }
    1680 
    1681 - (NSString *)align
    1682 {
    1683     return [self _tableColElement]->getAttribute(alignAttr);
    1684 }
    1685 
    1686 - (void)setAlign:(NSString *)align
    1687 {
    1688     [self _tableColElement]->setAttribute(alignAttr, align);
    1689 }
    1690 
    1691 - (NSString *)ch
    1692 {
    1693     return [self _tableColElement]->getAttribute(charoffAttr);
    1694 }
    1695 
    1696 - (void)setCh:(NSString *)ch
    1697 {
    1698     [self _tableColElement]->setAttribute(charoffAttr, ch);
    1699 }
    1700 
    1701 - (NSString *)chOff
    1702 {
    1703     return [self _tableColElement]->getAttribute(charoffAttr);
    1704 }
    1705 
    1706 - (void)setChOff:(NSString *)chOff
    1707 {
    1708     [self _tableColElement]->setAttribute(charoffAttr, chOff);
    1709 }
    1710 
    1711 - (int)span
    1712 {
    1713     return [self _tableColElement]->getAttribute(spanAttr).toInt();
    1714 }
    1715 
    1716 - (void)setSpan:(int)span
    1717 {
    1718     [self _tableColElement]->setAttribute(spanAttr, String::number(span));
    1719 }
    1720 
    1721 - (NSString *)vAlign
    1722 {
    1723     return [self _tableColElement]->getAttribute(valignAttr);
    1724 }
    1725 
    1726 - (void)setVAlign:(NSString *)vAlign
    1727 {
    1728     [self _tableColElement]->setAttribute(valignAttr, vAlign);
    1729 }
    1730 
    1731 - (NSString *)width
    1732 {
    1733     return [self _tableColElement]->getAttribute(widthAttr);
    1734 }
    1735 
    1736 - (void)setWidth:(NSString *)width
    1737 {
    1738     [self _tableColElement]->setAttribute(widthAttr, width);
    1739 }
    1740 
    1741 @end
    1742 
    1743 @implementation DOMHTMLTableRowElement
    1744 
    1745 - (HTMLTableRowElement *)_tableRowElement
    1746 {
    1747     return static_cast<HTMLTableRowElement*>(DOM_cast<Node*>(_internal));
    1748 }
    1749 
    1750 - (int)rowIndex
    1751 {
    1752     return [self _tableRowElement]->rowIndex();
    1753 }
    1754 
    1755 - (int)sectionRowIndex
    1756 {
    1757     return [self _tableRowElement]->sectionRowIndex();
    1758 }
    1759 
    1760 - (DOMHTMLCollection *)cells
    1761 {
    1762     HTMLCollection *collection = new HTMLCollection([self _tableRowElement], HTMLCollection::TRCells);
    1763     return [DOMHTMLCollection _collectionWith:collection];
    1764 }
    1765 
    1766 - (NSString *)align
    1767 {
    1768     return [self _tableRowElement]->getAttribute(alignAttr);
    1769 }
    1770 
    1771 - (void)setAlign:(NSString *)align
    1772 {
    1773     [self _tableRowElement]->setAttribute(alignAttr, align);
    1774 }
    1775 
    1776 - (NSString *)bgColor
    1777 {
    1778     return [self _tableRowElement]->getAttribute(bgcolorAttr);
    1779 }
    1780 
    1781 - (void)setBgColor:(NSString *)bgColor
    1782 {
    1783     [self _tableRowElement]->setAttribute(bgcolorAttr, bgColor);
    1784 }
    1785 
    1786 - (NSString *)ch
    1787 {
    1788     return [self _tableRowElement]->getAttribute(charoffAttr);
    1789 }
    1790 
    1791 - (void)setCh:(NSString *)ch
    1792 {
    1793     [self _tableRowElement]->setAttribute(charoffAttr, ch);
    1794 }
    1795 
    1796 - (NSString *)chOff
    1797 {
    1798     return [self _tableRowElement]->getAttribute(charoffAttr);
    1799 }
    1800 
    1801 - (void)setChOff:(NSString *)chOff
    1802 {
    1803     [self _tableRowElement]->setAttribute(charoffAttr, chOff);
    1804 }
    1805 
    1806 - (NSString *)vAlign
    1807 {
    1808     return [self _tableRowElement]->getAttribute(valignAttr);
    1809 }
    1810 
    1811 - (void)setVAlign:(NSString *)vAlign
    1812 {
    1813     [self _tableRowElement]->setAttribute(valignAttr, vAlign);
    1814 }
    1815 
    1816 - (DOMHTMLElement *)insertCell:(int)index
    1817 {
    1818     ExceptionCode ec = 0;
    1819     HTMLTableCellElement *impl = static_cast<HTMLTableCellElement*>([self _tableRowElement]->insertCell(index, ec));
    1820     raiseOnDOMError(ec);
    1821     return [DOMHTMLTableCellElement _tableCellElementWith:impl];
    1822 }
    1823 
    1824 - (void)deleteCell:(int)index
    1825 {
    1826     ExceptionCode ec = 0;
    1827     [self _tableRowElement]->deleteCell(index, ec);
    1828     raiseOnDOMError(ec);
    1829 }
    1830 
    1831 @end
    1832 
    1833 @implementation DOMHTMLTableCellElement
    1834 
    1835 - (int)cellIndex
    1836 {
    1837     return [self _tableCellElement]->cellIndex();
    1838 }
    1839 
    1840 - (NSString *)abbr
    1841 {
    1842     return [self _tableCellElement]->getAttribute(abbrAttr);
    1843 }
    1844 
    1845 - (void)setAbbr:(NSString *)abbr
    1846 {
    1847     [self _tableCellElement]->setAttribute(abbrAttr, abbr);
    1848 }
    1849 
    1850 - (NSString *)align
    1851 {
    1852     return [self _tableCellElement]->getAttribute(alignAttr);
    1853 }
    1854 
    1855 - (void)setAlign:(NSString *)align
    1856 {
    1857     [self _tableCellElement]->setAttribute(alignAttr, align);
    1858 }
    1859 
    1860 - (NSString *)axis
    1861 {
    1862     return [self _tableCellElement]->getAttribute(axisAttr);
    1863 }
    1864 
    1865 - (void)setAxis:(NSString *)axis
    1866 {
    1867     [self _tableCellElement]->setAttribute(axisAttr, axis);
    1868 }
    1869 
    1870 - (NSString *)bgColor
    1871 {
    1872     return [self _tableCellElement]->getAttribute(bgcolorAttr);
    1873 }
    1874 
    1875 - (void)setBgColor:(NSString *)bgColor
    1876 {
    1877     [self _tableCellElement]->setAttribute(bgcolorAttr, bgColor);
    1878 }
    1879 
    1880 - (NSString *)ch
    1881 {
    1882     return [self _tableCellElement]->getAttribute(charoffAttr);
    1883 }
    1884 
    1885 - (void)setCh:(NSString *)ch
    1886 {
    1887     [self _tableCellElement]->setAttribute(charoffAttr, ch);
    1888 }
    1889 
    1890 - (NSString *)chOff
    1891 {
    1892     return [self _tableCellElement]->getAttribute(charoffAttr);
    1893 }
    1894 
    1895 - (void)setChOff:(NSString *)chOff
    1896 {
    1897     [self _tableCellElement]->setAttribute(charoffAttr, chOff);
    1898 }
    1899 
    1900 - (int)colSpan
    1901 {
    1902     return [self _tableCellElement]->getAttribute(colspanAttr).toInt();
    1903 }
    1904 
    1905 - (void)setColSpan:(int)colSpan
    1906 {
    1907     [self _tableCellElement]->setAttribute(colspanAttr, String::number(colSpan));
    1908 }
    1909 
    1910 - (NSString *)headers
    1911 {
    1912     return [self _tableCellElement]->getAttribute(headersAttr);
    1913 }
    1914 
    1915 - (void)setHeaders:(NSString *)headers
    1916 {
    1917     [self _tableCellElement]->setAttribute(headersAttr, headers);
    1918 }
    1919 
    1920 - (NSString *)height
    1921 {
    1922     return [self _tableCellElement]->getAttribute(heightAttr);
    1923 }
    1924 
    1925 - (void)setHeight:(NSString *)height
    1926 {
    1927     [self _tableCellElement]->setAttribute(heightAttr, height);
    1928 }
    1929 
    1930 - (BOOL)noWrap
    1931 {
    1932     return [self _tableCellElement]->getAttribute(nowrapAttr).isNull();
    1933 }
    1934 
    1935 - (void)setNoWrap:(BOOL)noWrap
    1936 {
    1937     [self _tableCellElement]->setAttribute(nowrapAttr, noWrap ? "" : 0);
    1938 }
    1939 
    1940 - (int)rowSpan
    1941 {
    1942     return [self _tableCellElement]->getAttribute(rowspanAttr).toInt();
    1943 }
    1944 
    1945 - (void)setRowSpan:(int)rowSpan
    1946 {
    1947     [self _tableCellElement]->setAttribute(rowspanAttr, String::number(rowSpan));
    1948 }
    1949 
    1950 - (NSString *)scope
    1951 {
    1952     return [self _tableCellElement]->getAttribute(scopeAttr);
    1953 }
    1954 
    1955 - (void)setScope:(NSString *)scope
    1956 {
    1957     [self _tableCellElement]->setAttribute(scopeAttr, scope);
    1958 }
    1959 
    1960 - (NSString *)vAlign
    1961 {
    1962     return [self _tableCellElement]->getAttribute(valignAttr);
    1963 }
    1964 
    1965 - (void)setVAlign:(NSString *)vAlign
    1966 {
    1967     [self _tableCellElement]->setAttribute(valignAttr, vAlign);
    1968 }
    1969 
    1970 - (NSString *)width
    1971 {
    1972     return [self _tableCellElement]->getAttribute(widthAttr);
    1973 }
    1974 
    1975 - (void)setWidth:(NSString *)width
    1976 {
    1977     [self _tableCellElement]->setAttribute(widthAttr, width);
    1978 }
    1979 
    1980 @end
     357
     358//------------------------------------------------------------------------------------------
     359// DOMHTMLTableCellElement
    1981360
    1982361@implementation DOMHTMLTableCellElement (WebCoreInternal)
     
    1994373@end
    1995374
    1996 @implementation DOMHTMLFrameSetElement
    1997 
    1998 - (HTMLFrameSetElement *)_frameSetElement
    1999 {
    2000     return static_cast<HTMLFrameSetElement*>(DOM_cast<Node*>(_internal));
    2001 }
    2002 
    2003 - (NSString *)rows
    2004 {
    2005     return [self _frameSetElement]->getAttribute(rowsAttr);
    2006 }
    2007 
    2008 - (void)setRows:(NSString *)rows
    2009 {
    2010     [self _frameSetElement]->setAttribute(rowsAttr, rows);
    2011 }
    2012 
    2013 - (NSString *)cols
    2014 {
    2015     return [self _frameSetElement]->getAttribute(colsAttr);
    2016 }
    2017 
    2018 - (void)setCols:(NSString *)cols
    2019 {
    2020     [self _frameSetElement]->setAttribute(colsAttr, cols);
    2021 }
    2022 
    2023 @end
    2024 
    2025 @implementation DOMHTMLFrameElement
    2026 
    2027 - (HTMLFrameElement *)_frameElement
    2028 {
    2029     return static_cast<HTMLFrameElement*>(DOM_cast<Node*>(_internal));
    2030 }
    2031 
    2032 - (NSString *)frameBorder
    2033 {
    2034     return [self _frameElement]->getAttribute(frameborderAttr);
    2035 }
    2036 
    2037 - (void)setFrameBorder:(NSString *)frameBorder
    2038 {
    2039     [self _frameElement]->setAttribute(frameborderAttr, frameBorder);
    2040 }
    2041 
    2042 - (NSString *)longDesc
    2043 {
    2044     return [self _frameElement]->getAttribute(longdescAttr);
    2045 }
    2046 
    2047 - (void)setLongDesc:(NSString *)longDesc
    2048 {
    2049     [self _frameElement]->setAttribute(longdescAttr, longDesc);
    2050 }
    2051 
    2052 - (NSString *)marginHeight
    2053 {
    2054     return [self _frameElement]->getAttribute(marginheightAttr);
    2055 }
    2056 
    2057 - (void)setMarginHeight:(NSString *)marginHeight
    2058 {
    2059     [self _frameElement]->setAttribute(marginheightAttr, marginHeight);
    2060 }
    2061 
    2062 - (NSString *)marginWidth
    2063 {
    2064     return [self _frameElement]->getAttribute(marginwidthAttr);
    2065 }
    2066 
    2067 - (void)setMarginWidth:(NSString *)marginWidth
    2068 {
    2069     [self _frameElement]->setAttribute(marginwidthAttr, marginWidth);
    2070 }
    2071 
    2072 - (NSString *)name
    2073 {
    2074     return [self _frameElement]->getAttribute(nameAttr);
    2075 }
    2076 
    2077 - (void)setName:(NSString *)name
    2078 {
    2079     [self _frameElement]->setAttribute(nameAttr, name);
    2080 }
    2081 
    2082 - (BOOL)noResize
    2083 {
    2084     return [self _frameElement]->getAttribute(noresizeAttr).isNull();
    2085 }
    2086 
    2087 - (void)setNoResize:(BOOL)noResize
    2088 {
    2089     [self _frameElement]->setAttribute(noresizeAttr, noResize ? "" : 0);
    2090 }
    2091 
    2092 - (NSString *)scrolling
    2093 {
    2094     return [self _frameElement]->getAttribute(scrollingAttr);
    2095 }
    2096 
    2097 - (void)setScrolling:(NSString *)scrolling
    2098 {
    2099     [self _frameElement]->setAttribute(scrollingAttr, scrolling);
    2100 }
    2101 
    2102 - (NSString *)src
    2103 {
    2104     return [self _frameElement]->getAttribute(srcAttr);
    2105 }
    2106 
    2107 - (void)setSrc:(NSString *)src
    2108 {
    2109     [self _frameElement]->setAttribute(srcAttr, src);
    2110 }
    2111 
    2112 - (DOMDocument *)contentDocument
    2113 {
    2114     return [DOMDocument _documentWith:[self _frameElement]->contentDocument()];
    2115 }
    2116 
    2117 @end
    2118 
    2119 @implementation DOMHTMLIFrameElement
    2120 
    2121 - (HTMLIFrameElement *)_IFrameElement
    2122 {
    2123     return static_cast<HTMLIFrameElement*>(DOM_cast<Node*>(_internal));
    2124 }
    2125 
    2126 - (NSString *)align
    2127 {
    2128     return [self _IFrameElement]->getAttribute(alignAttr);
    2129 }
    2130 
    2131 - (void)setAlign:(NSString *)align
    2132 {
    2133     [self _IFrameElement]->setAttribute(alignAttr, align);
    2134 }
    2135 
    2136 - (NSString *)frameBorder
    2137 {
    2138     return [self _IFrameElement]->getAttribute(frameborderAttr);
    2139 }
    2140 
    2141 - (void)setFrameBorder:(NSString *)frameBorder
    2142 {
    2143     [self _IFrameElement]->setAttribute(frameborderAttr, frameBorder);
    2144 }
    2145 
    2146 - (NSString *)height
    2147 {
    2148     return [self _IFrameElement]->getAttribute(heightAttr);
    2149 }
    2150 
    2151 - (void)setHeight:(NSString *)height
    2152 {
    2153     [self _IFrameElement]->setAttribute(heightAttr, height);
    2154 }
    2155 
    2156 - (NSString *)longDesc
    2157 {
    2158     return [self _IFrameElement]->getAttribute(longdescAttr);
    2159 }
    2160 
    2161 - (void)setLongDesc:(NSString *)longDesc
    2162 {
    2163     [self _IFrameElement]->setAttribute(longdescAttr, longDesc);
    2164 }
    2165 
    2166 - (NSString *)marginHeight
    2167 {
    2168     return [self _IFrameElement]->getAttribute(marginheightAttr);
    2169 }
    2170 
    2171 - (void)setMarginHeight:(NSString *)marginHeight
    2172 {
    2173     [self _IFrameElement]->setAttribute(marginheightAttr, marginHeight);
    2174 }
    2175 
    2176 - (NSString *)marginWidth
    2177 {
    2178     return [self _IFrameElement]->getAttribute(marginwidthAttr);
    2179 }
    2180 
    2181 - (void)setMarginWidth:(NSString *)marginWidth
    2182 {
    2183     [self _IFrameElement]->setAttribute(marginwidthAttr, marginWidth);
    2184 }
    2185 
    2186 - (NSString *)name
    2187 {
    2188     return [self _IFrameElement]->getAttribute(nameAttr);
    2189 }
    2190 
    2191 - (void)setName:(NSString *)name
    2192 {
    2193     [self _IFrameElement]->setAttribute(nameAttr, name);
    2194 }
    2195 
    2196 - (BOOL)noResize
    2197 {
    2198     return [self _IFrameElement]->getAttribute(noresizeAttr).isNull();
    2199 }
    2200 
    2201 - (void)setNoResize:(BOOL)noResize
    2202 {
    2203     [self _IFrameElement]->setAttribute(noresizeAttr, noResize ? "" : 0);
    2204 }
    2205 
    2206 - (NSString *)scrolling
    2207 {
    2208     return [self _IFrameElement]->getAttribute(scrollingAttr);
    2209 }
    2210 
    2211 - (void)setScrolling:(NSString *)scrolling
    2212 {
    2213     [self _IFrameElement]->setAttribute(scrollingAttr, scrolling);
    2214 }
    2215 
    2216 - (NSString *)src
    2217 {
    2218     return [self _IFrameElement]->getAttribute(srcAttr);
    2219 }
    2220 
    2221 - (void)setSrc:(NSString *)src
    2222 {
    2223     [self _IFrameElement]->setAttribute(srcAttr, src);
    2224 }
    2225 
    2226 - (NSString *)width
    2227 {
    2228     return [self _IFrameElement]->getAttribute(widthAttr);
    2229 }
    2230 
    2231 - (void)setWidth:(NSString *)width
    2232 {
    2233     [self _IFrameElement]->setAttribute(widthAttr, width);
    2234 }
    2235 
    2236 - (DOMDocument *)contentDocument
    2237 {
    2238     return [DOMDocument _documentWith:[self _IFrameElement]->contentDocument()];
    2239 }
    2240 
    2241 @end
    2242375
    2243376#pragma mark DOM EXTENSIONS
     377
     378
     379//------------------------------------------------------------------------------------------
     380// DOMHTMLEmbedElement
    2244381
    2245382@implementation DOMHTMLEmbedElement
  • trunk/WebCore/bindings/objc/DOMHTMLInternal.h

    r16146 r16172  
    3131#import "DOMHTMLElement.h"
    3232#import "DOMHTMLFormElement.h"
     33#import "DOMHTMLImageElement.h"
     34#import "DOMHTMLInputElement.h"
     35#import "DOMHTMLObjectElement.h"
    3336#import "DOMHTMLOptionsCollection.h"
    34 #import "DOMHTMLInputElement.h"
     37#import "DOMHTMLTableCaptionElement.h"
     38#import "DOMHTMLTableCellElement.h"
     39#import "DOMHTMLTableElement.h"
     40#import "DOMHTMLTableSectionElement.h"
    3541
    3642namespace WebCore {
     
    95101
    96102@interface DOMHTMLObjectElement (WebCoreInternal)
    97 - (WebCore::HTMLObjectElement *)_objectElement;
     103- (WebCore::HTMLObjectElement *)_HTMLObjectElement;
    98104@end
    99105
  • trunk/WebCore/bindings/objc/DOMPrivate.h

    r16146 r16172  
    11/*
    2  * Copyright (C) 2004 Apple Computer, Inc.  All rights reserved.
     2 * Copyright (C) 2004-2006 Apple Computer, Inc.  All rights reserved.
    33 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
    44 *
     
    2929#import <WebCore/DOMEvents.h>
    3030#import <WebCore/DOMHTML.h>
     31#import <WebCore/DOMHTMLDocument.h>
     32#import <WebCore/DOMHTMLInputElement.h>
     33#import <WebCore/DOMHTMLSelectElement.h>
    3134#import <WebCore/DOMNode.h>
    3235#import <WebCore/DOMRange.h>
    33 
    34 #import <WebCore/DOMHTMLDocument.h>
    35 #import <WebCore/DOMHTMLSelectElement.h>
    36 #import <WebCore/DOMHTMLInputElement.h>
    3736
    3837@interface DOMRange (WebPrivate)
  • trunk/WebCore/bindings/scripts/CodeGeneratorObjC.pm

    r16146 r16172  
    3737my $headerLicenceTemplate = << "EOF";
    3838/*
    39  * Copyright (C) 2004, 2006 Apple Computer, Inc.  All rights reserved.
     39 * Copyright (C) 2004-2006 Apple Computer, Inc.  All rights reserved.
    4040 * Copyright (C) 2006 Samuel Weinig <sam.weinig\@gmail.com>
    4141 *
     
    6565my $implementationLicenceTemplate = << "EOF";
    6666/*
    67     This file is part of the WebKit open source project.
    68     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    69 
    70     This library is free software; you can redistribute it and/or
    71     modify it under the terms of the GNU Library General Public
    72     License as published by the Free Software Foundation; either
    73     version 2 of the License, or (at your option) any later version.
    74 
    75     This library is distributed in the hope that it will be useful,
    76     but WITHOUT ANY WARRANTY; without even the implied warranty of
    77     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    78     Library General Public License for more details.
    79 
    80     You should have received a copy of the GNU Library General Public License
    81     along with this library; see the file COPYING.LIB.  If not, write to
    82     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    83     Boston, MA 02111-1307, USA.
    84 */
     67 * This file is part of the WebKit open source project.
     68 * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     69 *
     70 * Redistribution and use in source and binary forms, with or without
     71 * modification, are permitted provided that the following conditions
     72 * are met:
     73 * 1. Redistributions of source code must retain the above copyright
     74 *    notice, this list of conditions and the following disclaimer.
     75 * 2. Redistributions in binary form must reproduce the above copyright
     76 *    notice, this list of conditions and the following disclaimer in the
     77 *    documentation and/or other materials provided with the distribution.
     78 *
     79 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
     80 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     81 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     82 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
     83 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
     84 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
     85 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
     86 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
     87 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     88 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
     89 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     90 */
    8591EOF
    8692
     
    265271    } elsif ($type eq "HTMLDocument") {
    266272        $typeMaker = "HTMLDocument";
     273    } elsif ($type eq "HTMLTableCaptionElement") {
     274        $typeMaker = "tableCaptionElement";
     275    } elsif ($type eq "HTMLTableSectionElement") {
     276        $typeMaker = "tableSectionElement";
    267277    } elsif ($type eq "CSSStyleDeclaration") {
    268278        $typeMaker = "styleDeclaration";
     
    442452
    443453        # FIXME: the formatting of the enums should line up the equal signs.
    444         push(@headerContent, "\n// Constants\n");
    445         push(@headerContent, "enum {\n");
     454        push(@headerContent, "\nenum {\n");
    446455        push(@headerContent, $combinedConstants);
    447456        push(@headerContent, "\n};\n");       
     
    585594
    586595    # START implementation
    587     push(@implContent, "\n\@implementation $className\n\n");
     596    push(@implContent, "\@implementation $className\n\n");
    588597
    589598    if ($hasFunctionsOrAttributes) {
     
    709718                my $argName = "new" . ucfirst($interfaceName);
    710719
     720                # FIXME: should move this out into it's own fuction to share with
     721                # the similar function parameter code below.
     722                my $arg = "";
     723                if ($codeGenerator->IsPrimitiveType($idlType) or $idlType eq "DOMString") {
     724                    $arg = $argName;
     725                } elsif ($idlType eq "HTMLTableCaptionElement") {
     726                    $arg = "[" . $argName . " _tableCaptionElement]";
     727                } elsif ($idlType eq "HTMLTableSectionElement") {
     728                    $arg = "[" . $argName . " _tableSectionElement]";
     729                } else {
     730                    $arg = "[" . $argName . " _" . lcfirst($idlType) . "]";
     731                }
     732
     733
    711734                my $setterSig = "- (void)$setterName:($attributeType)$argName\n";
    712735
     
    715738
    716739                unless ($codeGenerator->IsPrimitiveType($idlType) or $idlType eq "DOMString") {
    717                     push(@implContent, "    ASSERT($argName)\n\n");
     740                    push(@implContent, "    ASSERT($argName);\n\n");
    718741                }
    719742
    720743                if ($hasSetterException) {
    721744                    push(@implContent, "    $exceptionInit\n");
    722                     push(@implContent, "    IMPL->$attributeName($argName, ec);\n");
     745                    push(@implContent, "    IMPL->$attributeName($arg, ec);\n");
    723746                    push(@implContent, "    $exceptionRaiseOnError\n");
    724747                } else {
    725                     push(@implContent, "    IMPL->$attributeName($argName);\n");
     748                    push(@implContent, "    IMPL->$attributeName($arg);\n");
    726749                }
    727750
     
    756779                my $paramName = $param->name;
    757780
    758                 # FIXME: should move this out into it's own fuction to take care of possible special cases.
     781                # FIXME: should move this out into it's own fuction to share with
     782                # the similar setter parameter code above.
    759783                my $idlType = $codeGenerator->StripModule($param->type);
    760784                if ($codeGenerator->IsPrimitiveType($idlType) or $idlType eq "DOMString") {
     
    900924        print $IMPL @implContentHeader;
    901925       
     926        my $includeCount = 0;
    902927        foreach my $implInclude (sort keys(%implIncludes)) {
    903928            print $IMPL "#import \"$implInclude\"\n";
     929            $includeCount++;
    904930        }
    905931       
     932        unless ($includeCount == 0) {
     933            print $IMPL "\n";
     934        }
     935
    906936        print $IMPL @implContent;
    907937        close($IMPL);
  • trunk/WebKit/ChangeLog

    r16167 r16172  
     12006-08-31  Sam Weinig  <sam.weinig@gmail.com>
     2
     3        Reviewed by Tim H.
     4
     5        - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10669
     6          Auto-generate the remaining Objective-C HTML DOM bindings
     7
     8        * MigrateHeaders.make:
     9
    1102006-08-31  Adele Peterson  <adele@apple.com>
    211
  • trunk/WebKit/MigrateHeaders.make

    r16146 r16172  
    4646    DOMExtensions.h \
    4747    DOMHTML.h \
     48    DOMHTMLAnchorElement.h \
     49    DOMHTMLAppletElement.h \
     50    DOMHTMLAreaElement.h \
    4851    DOMHTMLBRElement.h \
    4952    DOMHTMLBaseElement.h \
     53    DOMHTMLBaseFontElement.h \
    5054    DOMHTMLBodyElement.h \
    5155    DOMHTMLButtonElement.h \
     
    5761    DOMHTMLElement.h \
    5862    DOMHTMLFieldSetElement.h \
     63    DOMHTMLFontElement.h \
    5964    DOMHTMLFormElement.h \
     65    DOMHTMLFrameElement.h \
     66    DOMHTMLFrameSetElement.h \
     67    DOMHTMLHRElement.h \
    6068    DOMHTMLHeadElement.h \
    6169    DOMHTMLHeadingElement.h \
    6270    DOMHTMLHtmlElement.h \
     71    DOMHTMLIFrameElement.h \
     72    DOMHTMLImageElement.h \
    6373    DOMHTMLInputElement.h \
    6474    DOMHTMLIsIndexElement.h \
     
    6777    DOMHTMLLegendElement.h \
    6878    DOMHTMLLinkElement.h \
     79    DOMHTMLMapElement.h \
    6980    DOMHTMLMenuElement.h \
    7081    DOMHTMLMetaElement.h \
     82    DOMHTMLModElement.h \
    7183    DOMHTMLOListElement.h \
     84    DOMHTMLObjectElement.h \
    7285    DOMHTMLOptGroupElement.h \
     86    DOMHTMLOptionElement.h \
    7387    DOMHTMLOptionsCollection.h \
    7488    DOMHTMLParagraphElement.h \
     89    DOMHTMLParamElement.h \
    7590    DOMHTMLPreElement.h \
    7691    DOMHTMLQuoteElement.h \
     92    DOMHTMLScriptElement.h \
    7793    DOMHTMLSelectElement.h \
    7894    DOMHTMLStyleElement.h \
     95    DOMHTMLTableCaptionElement.h \
     96    DOMHTMLTableCellElement.h \
     97    DOMHTMLTableColElement.h \
     98    DOMHTMLTableElement.h \
     99    DOMHTMLTableRowElement.h \
     100    DOMHTMLTableSectionElement.h \
    79101    DOMHTMLTextAreaElement.h \
    80102    DOMHTMLTitleElement.h \
Note: See TracChangeset for help on using the changeset viewer.