+2006-05-19 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Eric.
+
+ http://bugzilla.opendarwin.org/show_bug.cgi?id=8983
+ Autogenerate another 22 HTML classes
+
+ Already covered by existing DOM tests.
+
+ * DerivedSources.make:
+ * WebCore.vcproj/WebCore/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ Add new IDL files and generated sources.
+
+ * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
+ (WebCore::JSCanvasRenderingContext2D::drawImage):
+ (WebCore::JSCanvasRenderingContext2D::drawImageFromRect):
+ (WebCore::JSCanvasRenderingContext2D::createPattern):
+ Use JSHTMLImageElement::info in inherits.
+
+ * bindings/js/JSHTMLElementWrapperFactory.cpp:
+ (WebCore::createJSWrapper):
+ Add macros for the functions and the code to populate the hash set.
+
+ * bindings/js/kjs_html.cpp:
+ (KJS::):
+ (KJS::JSHTMLElement::classInfo):
+ (KJS::JSHTMLElement::accessors):
+ (KJS::HTMLElementFunction::callAsFunction):
+ * bindings/js/kjs_html.h:
+ (KJS::JSHTMLElement::):
+ Delete old cruft.
+
+ * bindings/scripts/CodeGeneratorJS.pm:
+ Add support for creating a JS object from a HTMLCollection.
+
+ * html/HTMLAreaElement.idl: Added.
+ * html/HTMLBRElement.idl: Added.
+ * html/HTMLBaseFontElement.idl: Added.
+ * html/HTMLBlockquoteElement.idl: Added.
+
+ * html/HTMLBodyElement.cpp:
+ (WebCore::HTMLBodyElement::scrollLeft):
+ (WebCore::HTMLBodyElement::setScrollLeft):
+ (WebCore::HTMLBodyElement::scrollTop):
+ (WebCore::HTMLBodyElement::setScrollTop):
+ (WebCore::HTMLBodyElement::scrollHeight):
+ (WebCore::HTMLBodyElement::scrollWidth):
+ * html/HTMLBodyElement.h:
+ Add new functions that used to be implemented in kjs_html.cpp
+
+ * html/HTMLBodyElement.idl: Added.
+ * html/HTMLFieldSetElement.idl: Added.
+ * html/HTMLFontElement.idl: Added.
+ * html/HTMLHRElement.idl: Added.
+ * html/HTMLHeadingElement.idl: Added.
+ * html/HTMLImageElement.idl: Added.
+ * html/HTMLIsIndexElement.idl: Added.
+ * html/HTMLLIElement.idl: Added.
+ * html/HTMLLabelElement.idl: Added.
+ * html/HTMLLegendElement.idl: Added.
+ * html/HTMLMapElement.idl: Added.
+ * html/HTMLMenuElement.idl: Added.
+ * html/HTMLModElement.idl: Added.
+ * html/HTMLParagraphElement.idl: Added.
+ * html/HTMLParamElement.idl: Added.
+ * html/HTMLPreElement.idl: Added.
+ * html/HTMLQuoteElement.idl: Added.
+ * html/HTMLScriptElement.idl: Added.
+
2006-05-18 David Hyatt <hyatt@apple.com>
Turn off responding to font changes while running. It doesn't work
JSElement.h \
JSEvent.h \
JSEntity.h \
- JSHTMLAppletElement.h \
- JSHTMLAnchorElement.h \
- JSHTMLButtonElement.h \
+ JSHTMLAppletElement.h \
+ JSHTMLAnchorElement.h \
+ JSHTMLAreaElement.h \
JSHTMLBaseElement.h \
+ JSHTMLBaseFontElement.h \
+ JSHTMLBlockquoteElement.h \
+ JSHTMLBodyElement.h \
+ JSHTMLBRElement.h \
+ JSHTMLButtonElement.h \
JSHTMLCanvasElement.h \
+ JSHTMLDirectoryElement.h \
+ JSHTMLDivElement.h \
+ JSHTMLDListElement.h \
JSHTMLDocument.h \
- JSHTMLDirectoryElement.h \
- JSHTMLDivElement.h \
- JSHTMLDListElement.h \
JSHTMLElement.h \
+ JSHTMLFieldSetElement.h \
+ JSHTMLFontElement.h \
JSHTMLHeadElement.h \
- JSHTMLHtmlElement.h \
+ JSHTMLHeadingElement.h \
+ JSHTMLHRElement.h \
+ JSHTMLImageElement.h \
+ JSHTMLIsIndexElement.h \
+ JSHTMLHtmlElement.h \
JSHTMLInputElement.h \
JSHTMLInputElementBaseTable.cpp \
+ JSHTMLLabelElement.h \
+ JSHTMLLegendElement.h \
+ JSHTMLLIElement.h \
JSHTMLLinkElement.h \
+ JSHTMLMenuElement.h \
JSHTMLOptionElement.h \
JSHTMLOptGroupElement.h \
+ JSHTMLQuoteElement.h \
+ JSHTMLMapElement.h \
JSHTMLMetaElement.h \
- JSHTMLOListElement.h \
+ JSHTMLModElement.h \
+ JSHTMLOListElement.h \
+ JSHTMLParagraphElement.h \
+ JSHTMLParamElement.h \
+ JSHTMLPreElement.h \
+ JSHTMLScriptElement.h \
JSHTMLStyleElement.h \
JSHTMLTextAreaElement.h \
JSHTMLTitleElement.h \
- JSHTMLUListElement.h \
+ JSHTMLUListElement.h \
JSKeyboardEvent.h \
JSMouseEvent.h \
JSMutationEvent.h \
RelativePath="..\..\DerivedSources\WebCore\JSHTMLAnchorElement.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLAreaElement.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\DerivedSources\WebCore\JSHTMLAppletElement.cpp"\r
>\r
RelativePath="..\..\DerivedSources\WebCore\JSHTMLBaseElement.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLBaseFontElement.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLBlockquoteElement.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLBodyElement.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLBRElement.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\DerivedSources\WebCore\JSHTMLButtonElement.cpp"\r
>\r
RelativePath="..\..\DerivedSources\WebCore\JSHTMLElement.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLFieldSetElement.cpp"\r
+ >\r
+ </File> \r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLFontElement.cpp"\r
+ >\r
+ </File> \r
<File\r
RelativePath="..\..\DerivedSources\WebCore\JSHTMLHeadElement.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLHeadingElement.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLHRElement.cpp"\r
+ >\r
+ </File> \r
<File\r
RelativePath="..\..\DerivedSources\WebCore\JSHTMLHtmlElement.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLImageElement.cpp"\r
+ >\r
+ </File> \r
<File\r
RelativePath="..\..\DerivedSources\WebCore\JSHTMLInputElement.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLIsIndexElement.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLLIElement.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLLabelElement.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLLegendElement.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\DerivedSources\WebCore\JSHTMLLinkElement.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLMapElement.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLMenuElement.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\DerivedSources\WebCore\JSHTMLMetaElement.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLModElement.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\DerivedSources\WebCore\JSHTMLOListElement.cpp"\r
>\r
RelativePath="..\..\DerivedSources\WebCore\JSHTMLOptionElement.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLParagraphElement.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLParamElement.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLPreElement.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLQuoteElement.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\DerivedSources\WebCore\JSHTMLScriptElement.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\DerivedSources\WebCore\JSHTMLStyleElement.cpp"\r
>\r
1A85B2B60A1B2AC700D8C87C /* JSHTMLDivElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A85B2B40A1B2AC700D8C87C /* JSHTMLDivElement.cpp */; };
1A85B2B70A1B2AC700D8C87C /* JSHTMLDivElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A85B2B50A1B2AC700D8C87C /* JSHTMLDivElement.h */; };
1A9EF4570A1B957D00332B63 /* JSCanvasRenderingContext2DCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A9EF4560A1B957D00332B63 /* JSCanvasRenderingContext2DCustom.cpp */; };
+ 1AE2A9FA0A1CDA5700B42B25 /* HTMLAreaElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2A9F00A1CDA5700B42B25 /* HTMLAreaElement.idl */; };
+ 1AE2A9FB0A1CDA5700B42B25 /* HTMLBaseFontElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2A9F10A1CDA5700B42B25 /* HTMLBaseFontElement.idl */; };
+ 1AE2A9FC0A1CDA5700B42B25 /* HTMLBodyElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2A9F20A1CDA5700B42B25 /* HTMLBodyElement.idl */; };
+ 1AE2A9FD0A1CDA5700B42B25 /* HTMLBRElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2A9F30A1CDA5700B42B25 /* HTMLBRElement.idl */; };
+ 1AE2A9FE0A1CDA5700B42B25 /* HTMLFieldSetElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2A9F40A1CDA5700B42B25 /* HTMLFieldSetElement.idl */; };
+ 1AE2A9FF0A1CDA5700B42B25 /* HTMLFontElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2A9F50A1CDA5700B42B25 /* HTMLFontElement.idl */; };
+ 1AE2AA020A1CDA5700B42B25 /* HTMLHeadingElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2A9F80A1CDA5700B42B25 /* HTMLHeadingElement.idl */; };
+ 1AE2AA030A1CDA5700B42B25 /* HTMLHRElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2A9F90A1CDA5700B42B25 /* HTMLHRElement.idl */; };
+ 1AE2AA1E0A1CDAB400B42B25 /* JSHTMLAreaElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AA0A0A1CDAB300B42B25 /* JSHTMLAreaElement.cpp */; };
+ 1AE2AA1F0A1CDAB400B42B25 /* JSHTMLAreaElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AA0B0A1CDAB300B42B25 /* JSHTMLAreaElement.h */; };
+ 1AE2AA200A1CDAB400B42B25 /* JSHTMLBaseFontElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AA0C0A1CDAB300B42B25 /* JSHTMLBaseFontElement.cpp */; };
+ 1AE2AA210A1CDAB400B42B25 /* JSHTMLBaseFontElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AA0D0A1CDAB300B42B25 /* JSHTMLBaseFontElement.h */; };
+ 1AE2AA220A1CDAB400B42B25 /* JSHTMLBodyElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AA0E0A1CDAB300B42B25 /* JSHTMLBodyElement.cpp */; };
+ 1AE2AA230A1CDAB400B42B25 /* JSHTMLBodyElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AA0F0A1CDAB300B42B25 /* JSHTMLBodyElement.h */; };
+ 1AE2AA240A1CDAB400B42B25 /* JSHTMLBRElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AA100A1CDAB300B42B25 /* JSHTMLBRElement.cpp */; };
+ 1AE2AA250A1CDAB400B42B25 /* JSHTMLBRElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AA110A1CDAB300B42B25 /* JSHTMLBRElement.h */; };
+ 1AE2AA260A1CDAB400B42B25 /* JSHTMLFieldSetElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AA120A1CDAB300B42B25 /* JSHTMLFieldSetElement.cpp */; };
+ 1AE2AA270A1CDAB400B42B25 /* JSHTMLFieldSetElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AA130A1CDAB300B42B25 /* JSHTMLFieldSetElement.h */; };
+ 1AE2AA280A1CDAB400B42B25 /* JSHTMLFontElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AA140A1CDAB300B42B25 /* JSHTMLFontElement.cpp */; };
+ 1AE2AA290A1CDAB400B42B25 /* JSHTMLFontElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AA150A1CDAB300B42B25 /* JSHTMLFontElement.h */; };
+ 1AE2AA2E0A1CDAB400B42B25 /* JSHTMLHeadingElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AA1A0A1CDAB400B42B25 /* JSHTMLHeadingElement.cpp */; };
+ 1AE2AA2F0A1CDAB400B42B25 /* JSHTMLHeadingElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AA1B0A1CDAB400B42B25 /* JSHTMLHeadingElement.h */; };
+ 1AE2AA300A1CDAB400B42B25 /* JSHTMLHRElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AA1C0A1CDAB400B42B25 /* JSHTMLHRElement.cpp */; };
+ 1AE2AA310A1CDAB400B42B25 /* JSHTMLHRElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AA1D0A1CDAB400B42B25 /* JSHTMLHRElement.h */; };
+ 1AE2AA7A0A1CDC6100B42B25 /* HTMLImageElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2AA790A1CDC6100B42B25 /* HTMLImageElement.idl */; };
+ 1AE2AA860A1CDCCE00B42B25 /* HTMLIsIndexElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2AA850A1CDCCE00B42B25 /* HTMLIsIndexElement.idl */; };
+ 1AE2AA970A1CDD2D00B42B25 /* JSHTMLImageElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AA930A1CDD2D00B42B25 /* JSHTMLImageElement.cpp */; };
+ 1AE2AA980A1CDD2D00B42B25 /* JSHTMLImageElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AA940A1CDD2D00B42B25 /* JSHTMLImageElement.h */; };
+ 1AE2AA990A1CDD2D00B42B25 /* JSHTMLIsIndexElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AA950A1CDD2D00B42B25 /* JSHTMLIsIndexElement.cpp */; };
+ 1AE2AA9A0A1CDD2D00B42B25 /* JSHTMLIsIndexElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AA960A1CDD2D00B42B25 /* JSHTMLIsIndexElement.h */; };
+ 1AE2AABF0A1CDD8300B42B25 /* HTMLLabelElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2AABE0A1CDD8300B42B25 /* HTMLLabelElement.idl */; };
+ 1AE2AACD0A1CDDDB00B42B25 /* HTMLLegendElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2AACC0A1CDDDB00B42B25 /* HTMLLegendElement.idl */; };
+ 1AE2AAE70A1CE52E00B42B25 /* HTMLLIElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2AAE60A1CE52E00B42B25 /* HTMLLIElement.idl */; };
+ 1AE2AAF80A1CE58600B42B25 /* HTMLMapElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2AAF70A1CE58600B42B25 /* HTMLMapElement.idl */; };
+ 1AE2AB080A1CE5CF00B42B25 /* HTMLModElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2AB070A1CE5CF00B42B25 /* HTMLModElement.idl */; };
+ 1AE2AB210A1CE63B00B42B25 /* JSHTMLLabelElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AB170A1CE63B00B42B25 /* JSHTMLLabelElement.cpp */; };
+ 1AE2AB220A1CE63B00B42B25 /* JSHTMLLabelElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AB180A1CE63B00B42B25 /* JSHTMLLabelElement.h */; };
+ 1AE2AB230A1CE63B00B42B25 /* JSHTMLLegendElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AB190A1CE63B00B42B25 /* JSHTMLLegendElement.cpp */; };
+ 1AE2AB240A1CE63B00B42B25 /* JSHTMLLegendElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AB1A0A1CE63B00B42B25 /* JSHTMLLegendElement.h */; };
+ 1AE2AB250A1CE63B00B42B25 /* JSHTMLLIElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AB1B0A1CE63B00B42B25 /* JSHTMLLIElement.cpp */; };
+ 1AE2AB260A1CE63B00B42B25 /* JSHTMLLIElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AB1C0A1CE63B00B42B25 /* JSHTMLLIElement.h */; };
+ 1AE2AB270A1CE63B00B42B25 /* JSHTMLMapElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AB1D0A1CE63B00B42B25 /* JSHTMLMapElement.cpp */; };
+ 1AE2AB280A1CE63B00B42B25 /* JSHTMLMapElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AB1E0A1CE63B00B42B25 /* JSHTMLMapElement.h */; };
+ 1AE2AB290A1CE63B00B42B25 /* JSHTMLModElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AB1F0A1CE63B00B42B25 /* JSHTMLModElement.cpp */; };
+ 1AE2AB2A0A1CE63B00B42B25 /* JSHTMLModElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AB200A1CE63B00B42B25 /* JSHTMLModElement.h */; };
+ 1AE2AB620A1CE7CA00B42B25 /* HTMLParagraphElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2AB610A1CE7CA00B42B25 /* HTMLParagraphElement.idl */; };
+ 1AE2AB730A1CE81500B42B25 /* HTMLParamElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2AB720A1CE81500B42B25 /* HTMLParamElement.idl */; };
+ 1AE2AB860A1CE85000B42B25 /* HTMLPreElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2AB850A1CE85000B42B25 /* HTMLPreElement.idl */; };
+ 1AE2AB970A1CE88D00B42B25 /* HTMLScriptElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2AB960A1CE88D00B42B25 /* HTMLScriptElement.idl */; };
+ 1AE2ABA60A1CE90500B42B25 /* JSHTMLParagraphElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AB9E0A1CE90500B42B25 /* JSHTMLParagraphElement.cpp */; };
+ 1AE2ABA70A1CE90500B42B25 /* JSHTMLParagraphElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AB9F0A1CE90500B42B25 /* JSHTMLParagraphElement.h */; };
+ 1AE2ABA80A1CE90500B42B25 /* JSHTMLParamElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2ABA00A1CE90500B42B25 /* JSHTMLParamElement.cpp */; };
+ 1AE2ABA90A1CE90500B42B25 /* JSHTMLParamElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2ABA10A1CE90500B42B25 /* JSHTMLParamElement.h */; };
+ 1AE2ABAA0A1CE90500B42B25 /* JSHTMLPreElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2ABA20A1CE90500B42B25 /* JSHTMLPreElement.cpp */; };
+ 1AE2ABAB0A1CE90500B42B25 /* JSHTMLPreElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2ABA30A1CE90500B42B25 /* JSHTMLPreElement.h */; };
+ 1AE2ABAC0A1CE90500B42B25 /* JSHTMLScriptElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2ABA40A1CE90500B42B25 /* JSHTMLScriptElement.cpp */; };
+ 1AE2ABAD0A1CE90500B42B25 /* JSHTMLScriptElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2ABA50A1CE90500B42B25 /* JSHTMLScriptElement.h */; };
+ 1AE2AE440A1D269E00B42B25 /* HTMLMenuElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2AE430A1D269E00B42B25 /* HTMLMenuElement.idl */; };
+ 1AE2AE5B0A1D26F200B42B25 /* JSHTMLMenuElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AE590A1D26F200B42B25 /* JSHTMLMenuElement.cpp */; };
+ 1AE2AE5C0A1D26F200B42B25 /* JSHTMLMenuElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AE5A0A1D26F200B42B25 /* JSHTMLMenuElement.h */; };
+ 1AE2AEA40A1D28E800B42B25 /* HTMLQuoteElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2AEA30A1D28E800B42B25 /* HTMLQuoteElement.idl */; };
+ 1AE2AEA80A1D291900B42B25 /* HTMLBlockquoteElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 1AE2AEA70A1D291900B42B25 /* HTMLBlockquoteElement.idl */; };
+ 1AE2AEC70A1D297B00B42B25 /* JSHTMLQuoteElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AEC30A1D297B00B42B25 /* JSHTMLQuoteElement.cpp */; };
+ 1AE2AEC80A1D297B00B42B25 /* JSHTMLQuoteElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AEC40A1D297B00B42B25 /* JSHTMLQuoteElement.h */; };
+ 1AE2AEE60A1D2A7500B42B25 /* JSHTMLBlockquoteElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AEE40A1D2A7500B42B25 /* JSHTMLBlockquoteElement.cpp */; };
+ 1AE2AEE70A1D2A7500B42B25 /* JSHTMLBlockquoteElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AEE50A1D2A7500B42B25 /* JSHTMLBlockquoteElement.h */; };
550A0BC9085F6039007353D6 /* QualifiedName.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 550A0BC7085F6039007353D6 /* QualifiedName.cpp */; };
550A0BCA085F6039007353D6 /* QualifiedName.h in Headers */ = {isa = PBXBuildFile; fileRef = 550A0BC8085F6039007353D6 /* QualifiedName.h */; };
550A0BCD085F604D007353D6 /* HTMLNames.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 550A0BCB085F604D007353D6 /* HTMLNames.cpp */; };
1A85B2B40A1B2AC700D8C87C /* JSHTMLDivElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLDivElement.cpp; sourceTree = "<group>"; };
1A85B2B50A1B2AC700D8C87C /* JSHTMLDivElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLDivElement.h; sourceTree = "<group>"; };
1A9EF4560A1B957D00332B63 /* JSCanvasRenderingContext2DCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSCanvasRenderingContext2DCustom.cpp; sourceTree = "<group>"; };
+ 1AE2A9F00A1CDA5700B42B25 /* HTMLAreaElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLAreaElement.idl; sourceTree = "<group>"; };
+ 1AE2A9F10A1CDA5700B42B25 /* HTMLBaseFontElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLBaseFontElement.idl; sourceTree = "<group>"; };
+ 1AE2A9F20A1CDA5700B42B25 /* HTMLBodyElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLBodyElement.idl; sourceTree = "<group>"; };
+ 1AE2A9F30A1CDA5700B42B25 /* HTMLBRElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLBRElement.idl; sourceTree = "<group>"; };
+ 1AE2A9F40A1CDA5700B42B25 /* HTMLFieldSetElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLFieldSetElement.idl; sourceTree = "<group>"; };
+ 1AE2A9F50A1CDA5700B42B25 /* HTMLFontElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLFontElement.idl; sourceTree = "<group>"; };
+ 1AE2A9F80A1CDA5700B42B25 /* HTMLHeadingElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLHeadingElement.idl; sourceTree = "<group>"; };
+ 1AE2A9F90A1CDA5700B42B25 /* HTMLHRElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLHRElement.idl; sourceTree = "<group>"; };
+ 1AE2AA0A0A1CDAB300B42B25 /* JSHTMLAreaElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLAreaElement.cpp; sourceTree = "<group>"; };
+ 1AE2AA0B0A1CDAB300B42B25 /* JSHTMLAreaElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLAreaElement.h; sourceTree = "<group>"; };
+ 1AE2AA0C0A1CDAB300B42B25 /* JSHTMLBaseFontElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLBaseFontElement.cpp; sourceTree = "<group>"; };
+ 1AE2AA0D0A1CDAB300B42B25 /* JSHTMLBaseFontElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLBaseFontElement.h; sourceTree = "<group>"; };
+ 1AE2AA0E0A1CDAB300B42B25 /* JSHTMLBodyElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLBodyElement.cpp; sourceTree = "<group>"; };
+ 1AE2AA0F0A1CDAB300B42B25 /* JSHTMLBodyElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLBodyElement.h; sourceTree = "<group>"; };
+ 1AE2AA100A1CDAB300B42B25 /* JSHTMLBRElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLBRElement.cpp; sourceTree = "<group>"; };
+ 1AE2AA110A1CDAB300B42B25 /* JSHTMLBRElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLBRElement.h; sourceTree = "<group>"; };
+ 1AE2AA120A1CDAB300B42B25 /* JSHTMLFieldSetElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLFieldSetElement.cpp; sourceTree = "<group>"; };
+ 1AE2AA130A1CDAB300B42B25 /* JSHTMLFieldSetElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLFieldSetElement.h; sourceTree = "<group>"; };
+ 1AE2AA140A1CDAB300B42B25 /* JSHTMLFontElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLFontElement.cpp; sourceTree = "<group>"; };
+ 1AE2AA150A1CDAB300B42B25 /* JSHTMLFontElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLFontElement.h; sourceTree = "<group>"; };
+ 1AE2AA1A0A1CDAB400B42B25 /* JSHTMLHeadingElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLHeadingElement.cpp; sourceTree = "<group>"; };
+ 1AE2AA1B0A1CDAB400B42B25 /* JSHTMLHeadingElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLHeadingElement.h; sourceTree = "<group>"; };
+ 1AE2AA1C0A1CDAB400B42B25 /* JSHTMLHRElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLHRElement.cpp; sourceTree = "<group>"; };
+ 1AE2AA1D0A1CDAB400B42B25 /* JSHTMLHRElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLHRElement.h; sourceTree = "<group>"; };
+ 1AE2AA790A1CDC6100B42B25 /* HTMLImageElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLImageElement.idl; sourceTree = "<group>"; };
+ 1AE2AA850A1CDCCE00B42B25 /* HTMLIsIndexElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLIsIndexElement.idl; sourceTree = "<group>"; };
+ 1AE2AA930A1CDD2D00B42B25 /* JSHTMLImageElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLImageElement.cpp; sourceTree = "<group>"; };
+ 1AE2AA940A1CDD2D00B42B25 /* JSHTMLImageElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLImageElement.h; sourceTree = "<group>"; };
+ 1AE2AA950A1CDD2D00B42B25 /* JSHTMLIsIndexElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLIsIndexElement.cpp; sourceTree = "<group>"; };
+ 1AE2AA960A1CDD2D00B42B25 /* JSHTMLIsIndexElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLIsIndexElement.h; sourceTree = "<group>"; };
+ 1AE2AABE0A1CDD8300B42B25 /* HTMLLabelElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLLabelElement.idl; sourceTree = "<group>"; };
+ 1AE2AACC0A1CDDDB00B42B25 /* HTMLLegendElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLLegendElement.idl; sourceTree = "<group>"; };
+ 1AE2AAE60A1CE52E00B42B25 /* HTMLLIElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLLIElement.idl; sourceTree = "<group>"; };
+ 1AE2AAF70A1CE58600B42B25 /* HTMLMapElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLMapElement.idl; sourceTree = "<group>"; };
+ 1AE2AB070A1CE5CF00B42B25 /* HTMLModElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLModElement.idl; sourceTree = "<group>"; };
+ 1AE2AB170A1CE63B00B42B25 /* JSHTMLLabelElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLLabelElement.cpp; sourceTree = "<group>"; };
+ 1AE2AB180A1CE63B00B42B25 /* JSHTMLLabelElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLLabelElement.h; sourceTree = "<group>"; };
+ 1AE2AB190A1CE63B00B42B25 /* JSHTMLLegendElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLLegendElement.cpp; sourceTree = "<group>"; };
+ 1AE2AB1A0A1CE63B00B42B25 /* JSHTMLLegendElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLLegendElement.h; sourceTree = "<group>"; };
+ 1AE2AB1B0A1CE63B00B42B25 /* JSHTMLLIElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLLIElement.cpp; sourceTree = "<group>"; };
+ 1AE2AB1C0A1CE63B00B42B25 /* JSHTMLLIElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLLIElement.h; sourceTree = "<group>"; };
+ 1AE2AB1D0A1CE63B00B42B25 /* JSHTMLMapElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLMapElement.cpp; sourceTree = "<group>"; };
+ 1AE2AB1E0A1CE63B00B42B25 /* JSHTMLMapElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLMapElement.h; sourceTree = "<group>"; };
+ 1AE2AB1F0A1CE63B00B42B25 /* JSHTMLModElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLModElement.cpp; sourceTree = "<group>"; };
+ 1AE2AB200A1CE63B00B42B25 /* JSHTMLModElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLModElement.h; sourceTree = "<group>"; };
+ 1AE2AB610A1CE7CA00B42B25 /* HTMLParagraphElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLParagraphElement.idl; sourceTree = "<group>"; };
+ 1AE2AB720A1CE81500B42B25 /* HTMLParamElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLParamElement.idl; sourceTree = "<group>"; };
+ 1AE2AB850A1CE85000B42B25 /* HTMLPreElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLPreElement.idl; sourceTree = "<group>"; };
+ 1AE2AB960A1CE88D00B42B25 /* HTMLScriptElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLScriptElement.idl; sourceTree = "<group>"; };
+ 1AE2AB9E0A1CE90500B42B25 /* JSHTMLParagraphElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLParagraphElement.cpp; sourceTree = "<group>"; };
+ 1AE2AB9F0A1CE90500B42B25 /* JSHTMLParagraphElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLParagraphElement.h; sourceTree = "<group>"; };
+ 1AE2ABA00A1CE90500B42B25 /* JSHTMLParamElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLParamElement.cpp; sourceTree = "<group>"; };
+ 1AE2ABA10A1CE90500B42B25 /* JSHTMLParamElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLParamElement.h; sourceTree = "<group>"; };
+ 1AE2ABA20A1CE90500B42B25 /* JSHTMLPreElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLPreElement.cpp; sourceTree = "<group>"; };
+ 1AE2ABA30A1CE90500B42B25 /* JSHTMLPreElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLPreElement.h; sourceTree = "<group>"; };
+ 1AE2ABA40A1CE90500B42B25 /* JSHTMLScriptElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLScriptElement.cpp; sourceTree = "<group>"; };
+ 1AE2ABA50A1CE90500B42B25 /* JSHTMLScriptElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLScriptElement.h; sourceTree = "<group>"; };
+ 1AE2AE430A1D269E00B42B25 /* HTMLMenuElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLMenuElement.idl; sourceTree = "<group>"; };
+ 1AE2AE590A1D26F200B42B25 /* JSHTMLMenuElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLMenuElement.cpp; sourceTree = "<group>"; };
+ 1AE2AE5A0A1D26F200B42B25 /* JSHTMLMenuElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLMenuElement.h; sourceTree = "<group>"; };
+ 1AE2AEA30A1D28E800B42B25 /* HTMLQuoteElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLQuoteElement.idl; sourceTree = "<group>"; };
+ 1AE2AEA70A1D291900B42B25 /* HTMLBlockquoteElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLBlockquoteElement.idl; sourceTree = "<group>"; };
+ 1AE2AEC30A1D297B00B42B25 /* JSHTMLQuoteElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLQuoteElement.cpp; sourceTree = "<group>"; };
+ 1AE2AEC40A1D297B00B42B25 /* JSHTMLQuoteElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLQuoteElement.h; sourceTree = "<group>"; };
+ 1AE2AEE40A1D2A7500B42B25 /* JSHTMLBlockquoteElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLBlockquoteElement.cpp; sourceTree = "<group>"; };
+ 1AE2AEE50A1D2A7500B42B25 /* JSHTMLBlockquoteElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLBlockquoteElement.h; sourceTree = "<group>"; };
2D90660B0665D937006B6F1A /* ClipboardMac.h */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = ClipboardMac.h; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
2D90660C0665D937006B6F1A /* ClipboardMac.mm */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = ClipboardMac.mm; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
4758C44308C5F217009BAF05 /* KCanvasPath.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = KCanvasPath.cpp; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
1A4A2DEC0A1B852A00C807F8 /* JSHTMLAnchorElement.h */,
1A4A2DED0A1B852A00C807F8 /* JSHTMLAppletElement.cpp */,
1A4A2DEE0A1B852A00C807F8 /* JSHTMLAppletElement.h */,
+ 1AE2AA0A0A1CDAB300B42B25 /* JSHTMLAreaElement.cpp */,
+ 1AE2AA0B0A1CDAB300B42B25 /* JSHTMLAreaElement.h */,
A80E7B080A19D606007FB8C5 /* JSHTMLBaseElement.cpp */,
A80E7B070A19D606007FB8C5 /* JSHTMLBaseElement.h */,
+ 1AE2AA0C0A1CDAB300B42B25 /* JSHTMLBaseFontElement.cpp */,
+ 1AE2AA0D0A1CDAB300B42B25 /* JSHTMLBaseFontElement.h */,
+ 1AE2AEE40A1D2A7500B42B25 /* JSHTMLBlockquoteElement.cpp */,
+ 1AE2AEE50A1D2A7500B42B25 /* JSHTMLBlockquoteElement.h */,
+ 1AE2AA0E0A1CDAB300B42B25 /* JSHTMLBodyElement.cpp */,
+ 1AE2AA0F0A1CDAB300B42B25 /* JSHTMLBodyElement.h */,
+ 1AE2AA100A1CDAB300B42B25 /* JSHTMLBRElement.cpp */,
+ 1AE2AA110A1CDAB300B42B25 /* JSHTMLBRElement.h */,
A80E7E960A1A83E3007FB8C5 /* JSHTMLButtonElement.cpp */,
A80E7E950A1A83E3007FB8C5 /* JSHTMLButtonElement.h */,
938E665F09F09B81008A48EC /* JSHTMLCanvasElement.cpp */,
1A494E330A12358B00FDAFC1 /* JSHTMLDocument.h */,
1A494BF80A122F4400FDAFC1 /* JSHTMLElement.cpp */,
1A494BF90A122F4400FDAFC1 /* JSHTMLElement.h */,
+ 1AE2AA120A1CDAB300B42B25 /* JSHTMLFieldSetElement.cpp */,
+ 1AE2AA130A1CDAB300B42B25 /* JSHTMLFieldSetElement.h */,
+ 1AE2AA140A1CDAB300B42B25 /* JSHTMLFontElement.cpp */,
+ 1AE2AA150A1CDAB300B42B25 /* JSHTMLFontElement.h */,
A80E7B0A0A19D606007FB8C5 /* JSHTMLHeadElement.cpp */,
A80E7B0B0A19D606007FB8C5 /* JSHTMLHeadElement.h */,
+ 1AE2AA1A0A1CDAB400B42B25 /* JSHTMLHeadingElement.cpp */,
+ 1AE2AA1B0A1CDAB400B42B25 /* JSHTMLHeadingElement.h */,
+ 1AE2AA1C0A1CDAB400B42B25 /* JSHTMLHRElement.cpp */,
+ 1AE2AA1D0A1CDAB400B42B25 /* JSHTMLHRElement.h */,
1A85B18D0A1B18A200D8C87C /* JSHTMLHtmlElement.cpp */,
1A85B18E0A1B18A200D8C87C /* JSHTMLHtmlElement.h */,
+ 1AE2AA930A1CDD2D00B42B25 /* JSHTMLImageElement.cpp */,
+ 1AE2AA940A1CDD2D00B42B25 /* JSHTMLImageElement.h */,
+ 1AE2AA950A1CDD2D00B42B25 /* JSHTMLIsIndexElement.cpp */,
+ 1AE2AA960A1CDD2D00B42B25 /* JSHTMLIsIndexElement.h */,
A80E7E8E0A1A83E3007FB8C5 /* JSHTMLInputElement.cpp */,
A80E7E8D0A1A83E3007FB8C5 /* JSHTMLInputElement.h */,
A80E7B060A19D606007FB8C5 /* JSHTMLLinkElement.cpp */,
A80E7B030A19D606007FB8C5 /* JSHTMLLinkElement.h */,
A80E7A150A19C3D6007FB8C5 /* JSHTMLMetaElement.cpp */,
A80E7A160A19C3D6007FB8C5 /* JSHTMLMetaElement.h */,
+ 1AE2AB170A1CE63B00B42B25 /* JSHTMLLabelElement.cpp */,
+ 1AE2AB180A1CE63B00B42B25 /* JSHTMLLabelElement.h */,
+ 1AE2AB190A1CE63B00B42B25 /* JSHTMLLegendElement.cpp */,
+ 1AE2AB1A0A1CE63B00B42B25 /* JSHTMLLegendElement.h */,
+ 1AE2AB1B0A1CE63B00B42B25 /* JSHTMLLIElement.cpp */,
+ 1AE2AB1C0A1CE63B00B42B25 /* JSHTMLLIElement.h */,
+ 1AE2AB1D0A1CE63B00B42B25 /* JSHTMLMapElement.cpp */,
+ 1AE2AB1E0A1CE63B00B42B25 /* JSHTMLMapElement.h */,
+ 1AE2AE590A1D26F200B42B25 /* JSHTMLMenuElement.cpp */,
+ 1AE2AE5A0A1D26F200B42B25 /* JSHTMLMenuElement.h */,
+ 1AE2AB1F0A1CE63B00B42B25 /* JSHTMLModElement.cpp */,
+ 1AE2AB200A1CE63B00B42B25 /* JSHTMLModElement.h */,
1A85B1E40A1B240500D8C87C /* JSHTMLOListElement.cpp */,
1A85B1E50A1B240500D8C87C /* JSHTMLOListElement.h */,
A80E7E920A1A83E3007FB8C5 /* JSHTMLOptGroupElement.cpp */,
A80E7E910A1A83E3007FB8C5 /* JSHTMLOptGroupElement.h */,
A80E7E900A1A83E3007FB8C5 /* JSHTMLOptionElement.cpp */,
A80E7E8F0A1A83E3007FB8C5 /* JSHTMLOptionElement.h */,
+ 1AE2AB9E0A1CE90500B42B25 /* JSHTMLParagraphElement.cpp */,
+ 1AE2AB9F0A1CE90500B42B25 /* JSHTMLParagraphElement.h */,
+ 1AE2ABA00A1CE90500B42B25 /* JSHTMLParamElement.cpp */,
+ 1AE2ABA10A1CE90500B42B25 /* JSHTMLParamElement.h */,
+ 1AE2ABA20A1CE90500B42B25 /* JSHTMLPreElement.cpp */,
+ 1AE2ABA30A1CE90500B42B25 /* JSHTMLPreElement.h */,
+ 1AE2AEC30A1D297B00B42B25 /* JSHTMLQuoteElement.cpp */,
+ 1AE2AEC40A1D297B00B42B25 /* JSHTMLQuoteElement.h */,
+ 1AE2ABA40A1CE90500B42B25 /* JSHTMLScriptElement.cpp */,
+ 1AE2ABA50A1CE90500B42B25 /* JSHTMLScriptElement.h */,
A80E7B050A19D606007FB8C5 /* JSHTMLStyleElement.cpp */,
A80E7B040A19D606007FB8C5 /* JSHTMLStyleElement.h */,
A80E7E940A1A83E3007FB8C5 /* JSHTMLTextAreaElement.cpp */,
1A4A2DBA0A1B83A800C807F8 /* HTMLAppletElement.idl */,
A8EA7D270A19385500A8EF5F /* HTMLAreaElement.cpp */,
A8EA7D260A19385500A8EF5F /* HTMLAreaElement.h */,
+ 1AE2A9F00A1CDA5700B42B25 /* HTMLAreaElement.idl */,
A871DC1E0A15205700B12A68 /* HTMLBaseElement.cpp */,
A871DC130A15205700B12A68 /* HTMLBaseElement.h */,
A80E7AAF0A19D1F1007FB8C5 /* HTMLBaseElement.idl */,
A8DF3FCB097FA0FB0052981B /* HTMLBaseFontElement.cpp */,
A8DF3FCA097FA0FB0052981B /* HTMLBaseFontElement.h */,
+ 1AE2A9F10A1CDA5700B42B25 /* HTMLBaseFontElement.idl */,
A8EA7CA80A192B9C00A8EF5F /* HTMLBlockquoteElement.cpp */,
A8EA7CA60A192B9C00A8EF5F /* HTMLBlockquoteElement.h */,
+ 1AE2AEA70A1D291900B42B25 /* HTMLBlockquoteElement.idl */,
A871DE1D0A152AC800B12A68 /* HTMLBodyElement.cpp */,
A871DE200A152AC800B12A68 /* HTMLBodyElement.h */,
+ 1AE2A9F20A1CDA5700B42B25 /* HTMLBodyElement.idl */,
A8CFF79E0A156978000A4234 /* HTMLBRElement.cpp */,
A8CFF7A00A156978000A4234 /* HTMLBRElement.h */,
+ 1AE2A9F30A1CDA5700B42B25 /* HTMLBRElement.idl */,
A81369B7097374F500D74463 /* HTMLButtonElement.cpp */,
A81369B6097374F500D74463 /* HTMLButtonElement.h */,
A80E7E550A1A7FB3007FB8C5 /* HTMLButtonElement.idl */,
A871D4520A127CBC00B12A68 /* HTMLEmbedElement.h */,
A81369B9097374F500D74463 /* HTMLFieldSetElement.cpp */,
A81369B8097374F500D74463 /* HTMLFieldSetElement.h */,
+ 1AE2A9F40A1CDA5700B42B25 /* HTMLFieldSetElement.idl */,
A8CFF7980A156978000A4234 /* HTMLFontElement.cpp */,
A8CFF79C0A156978000A4234 /* HTMLFontElement.h */,
+ 1AE2A9F50A1CDA5700B42B25 /* HTMLFontElement.idl */,
A8DF3FC7097FA0FB0052981B /* HTMLFormCollection.cpp */,
A8DF3FC6097FA0FB0052981B /* HTMLFormCollection.h */,
A81369B5097374F500D74463 /* HTMLFormElement.cpp */,
A80E7AB10A19D1F1007FB8C5 /* HTMLHeadElement.idl */,
A8EA7CA00A192B9C00A8EF5F /* HTMLHeadingElement.cpp */,
A8EA7CAA0A192B9C00A8EF5F /* HTMLHeadingElement.h */,
+ 1AE2A9F80A1CDA5700B42B25 /* HTMLHeadingElement.idl */,
A8EA7CA50A192B9C00A8EF5F /* HTMLHRElement.cpp */,
A8EA7CA10A192B9C00A8EF5F /* HTMLHRElement.h */,
+ 1AE2A9F90A1CDA5700B42B25 /* HTMLHRElement.idl */,
A871DE1A0A152AC800B12A68 /* HTMLHtmlElement.cpp */,
A871DE1B0A152AC800B12A68 /* HTMLHtmlElement.h */,
1A85B17D0A1B183600D8C87C /* HTMLHtmlElement.idl */,
A871DE1E0A152AC800B12A68 /* HTMLIFrameElement.h */,
A8EA7D290A19385500A8EF5F /* HTMLImageElement.cpp */,
A8EA7D250A19385500A8EF5F /* HTMLImageElement.h */,
+ 1AE2AA790A1CDC6100B42B25 /* HTMLImageElement.idl */,
A8EA7D280A19385500A8EF5F /* HTMLImageLoader.cpp */,
A8EA7D230A19385500A8EF5F /* HTMLImageLoader.h */,
A81369B1097374F500D74463 /* HTMLInputElement.cpp */,
A80E7E170A1A7CCB007FB8C5 /* HTMLInputElement.idl */,
A81369AF097374F500D74463 /* HTMLIsIndexElement.cpp */,
A81369AE097374F500D74463 /* HTMLIsIndexElement.h */,
+ 1AE2AA850A1CDCCE00B42B25 /* HTMLIsIndexElement.idl */,
A81369C9097374F600D74463 /* HTMLKeygenElement.cpp */,
A81369C8097374F500D74463 /* HTMLKeygenElement.h */,
A81369C7097374F500D74463 /* HTMLLabelElement.cpp */,
A81369C6097374F500D74463 /* HTMLLabelElement.h */,
+ 1AE2AABE0A1CDD8300B42B25 /* HTMLLabelElement.idl */,
A81369C5097374F500D74463 /* HTMLLegendElement.cpp */,
A81369C4097374F500D74463 /* HTMLLegendElement.h */,
+ 1AE2AACC0A1CDDDB00B42B25 /* HTMLLegendElement.idl */,
A8EA79F00A1916DF00A8EF5F /* HTMLLIElement.cpp */,
A8EA79EA0A1916DF00A8EF5F /* HTMLLIElement.h */,
+ 1AE2AAE60A1CE52E00B42B25 /* HTMLLIElement.idl */,
A871DC150A15205700B12A68 /* HTMLLinkElement.cpp */,
A871DC140A15205700B12A68 /* HTMLLinkElement.h */,
A80E7AB00A19D1F1007FB8C5 /* HTMLLinkElement.idl */,
A8EA7D2A0A19385500A8EF5F /* HTMLMapElement.cpp */,
A8EA7D240A19385500A8EF5F /* HTMLMapElement.h */,
+ 1AE2AAF70A1CE58600B42B25 /* HTMLMapElement.idl */,
A8EA7C9E0A192B9C00A8EF5F /* HTMLMarqueeElement.cpp */,
A8EA7C9D0A192B9C00A8EF5F /* HTMLMarqueeElement.h */,
A8EA79EC0A1916DF00A8EF5F /* HTMLMenuElement.cpp */,
A8EA79E80A1916DF00A8EF5F /* HTMLMenuElement.h */,
+ 1AE2AE430A1D269E00B42B25 /* HTMLMenuElement.idl */,
A871DC1B0A15205700B12A68 /* HTMLMetaElement.cpp */,
A871DC180A15205700B12A68 /* HTMLMetaElement.h */,
A80E79FC0A19C307007FB8C5 /* HTMLMetaElement.idl */,
A8CFF79F0A156978000A4234 /* HTMLModElement.cpp */,
A8CFF79D0A156978000A4234 /* HTMLModElement.h */,
+ 1AE2AB070A1CE5CF00B42B25 /* HTMLModElement.idl */,
A8DF3FCD097FA0FB0052981B /* HTMLNameCollection.cpp */,
A8DF3FCC097FA0FB0052981B /* HTMLNameCollection.h */,
550A0BCB085F604D007353D6 /* HTMLNames.cpp */,
A81369BE097374F500D74463 /* HTMLOptionsCollection.h */,
A8EA7CA40A192B9C00A8EF5F /* HTMLParagraphElement.cpp */,
A8EA7CA70A192B9C00A8EF5F /* HTMLParagraphElement.h */,
+ 1AE2AB610A1CE7CA00B42B25 /* HTMLParagraphElement.idl */,
A871D44F0A127CBC00B12A68 /* HTMLParamElement.cpp */,
A871D44E0A127CBC00B12A68 /* HTMLParamElement.h */,
+ 1AE2AB720A1CE81500B42B25 /* HTMLParamElement.idl */,
F523D25002DE4396018635CA /* HTMLParser.cpp */,
F523D25102DE4396018635CA /* HTMLParser.h */,
A871D44D0A127CBC00B12A68 /* HTMLPlugInElement.cpp */,
A871D44C0A127CBC00B12A68 /* HTMLPlugInElement.h */,
A8EA7C9F0A192B9C00A8EF5F /* HTMLPreElement.cpp */,
A8EA7CA20A192B9C00A8EF5F /* HTMLPreElement.h */,
+ 1AE2AB850A1CE85000B42B25 /* HTMLPreElement.idl */,
A8CFF79B0A156978000A4234 /* HTMLQuoteElement.cpp */,
A8CFF7990A156978000A4234 /* HTMLQuoteElement.h */,
+ 1AE2AEA30A1D28E800B42B25 /* HTMLQuoteElement.idl */,
A871DC160A15205700B12A68 /* HTMLScriptElement.cpp */,
A871DC190A15205700B12A68 /* HTMLScriptElement.h */,
+ 1AE2AB960A1CE88D00B42B25 /* HTMLScriptElement.idl */,
A81369BD097374F500D74463 /* HTMLSelectElement.cpp */,
A81369BC097374F500D74463 /* HTMLSelectElement.h */,
A871DC1A0A15205700B12A68 /* HTMLStyleElement.cpp */,
A80E7E9F0A1A83E3007FB8C5 /* JSHTMLButtonElement.h in Headers */,
A826E8AE0A1A8F2300CD1BB6 /* JSHTMLOptionElementConstructor.h in Headers */,
BCC0892A0A1C4991006189A6 /* GlyphWidthMap.h in Headers */,
+ 1AE2AA1F0A1CDAB400B42B25 /* JSHTMLAreaElement.h in Headers */,
+ 1AE2AA210A1CDAB400B42B25 /* JSHTMLBaseFontElement.h in Headers */,
+ 1AE2AA230A1CDAB400B42B25 /* JSHTMLBodyElement.h in Headers */,
+ 1AE2AA250A1CDAB400B42B25 /* JSHTMLBRElement.h in Headers */,
+ 1AE2AA270A1CDAB400B42B25 /* JSHTMLFieldSetElement.h in Headers */,
+ 1AE2AA290A1CDAB400B42B25 /* JSHTMLFontElement.h in Headers */,
+ 1AE2AA2F0A1CDAB400B42B25 /* JSHTMLHeadingElement.h in Headers */,
+ 1AE2AA310A1CDAB400B42B25 /* JSHTMLHRElement.h in Headers */,
+ 1AE2AA980A1CDD2D00B42B25 /* JSHTMLImageElement.h in Headers */,
+ 1AE2AA9A0A1CDD2D00B42B25 /* JSHTMLIsIndexElement.h in Headers */,
+ 1AE2AB220A1CE63B00B42B25 /* JSHTMLLabelElement.h in Headers */,
+ 1AE2AB240A1CE63B00B42B25 /* JSHTMLLegendElement.h in Headers */,
+ 1AE2AB260A1CE63B00B42B25 /* JSHTMLLIElement.h in Headers */,
+ 1AE2AB280A1CE63B00B42B25 /* JSHTMLMapElement.h in Headers */,
+ 1AE2AB2A0A1CE63B00B42B25 /* JSHTMLModElement.h in Headers */,
+ 1AE2ABA70A1CE90500B42B25 /* JSHTMLParagraphElement.h in Headers */,
+ 1AE2ABA90A1CE90500B42B25 /* JSHTMLParamElement.h in Headers */,
+ 1AE2ABAB0A1CE90500B42B25 /* JSHTMLPreElement.h in Headers */,
+ 1AE2ABAD0A1CE90500B42B25 /* JSHTMLScriptElement.h in Headers */,
+ 1AE2AE5C0A1D26F200B42B25 /* JSHTMLMenuElement.h in Headers */,
+ 1AE2AEC80A1D297B00B42B25 /* JSHTMLQuoteElement.h in Headers */,
+ 1AE2AEE70A1D2A7500B42B25 /* JSHTMLBlockquoteElement.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
A80E7E1C0A1A7CCB007FB8C5 /* HTMLOptionElement.idl in Resources */,
A80E7E1D0A1A7CCB007FB8C5 /* HTMLOptGroupElement.idl in Resources */,
A80E7E560A1A7FB3007FB8C5 /* HTMLButtonElement.idl in Resources */,
+ 1AE2A9FA0A1CDA5700B42B25 /* HTMLAreaElement.idl in Resources */,
+ 1AE2A9FB0A1CDA5700B42B25 /* HTMLBaseFontElement.idl in Resources */,
+ 1AE2A9FC0A1CDA5700B42B25 /* HTMLBodyElement.idl in Resources */,
+ 1AE2A9FD0A1CDA5700B42B25 /* HTMLBRElement.idl in Resources */,
+ 1AE2A9FE0A1CDA5700B42B25 /* HTMLFieldSetElement.idl in Resources */,
+ 1AE2A9FF0A1CDA5700B42B25 /* HTMLFontElement.idl in Resources */,
+ 1AE2AA020A1CDA5700B42B25 /* HTMLHeadingElement.idl in Resources */,
+ 1AE2AA030A1CDA5700B42B25 /* HTMLHRElement.idl in Resources */,
+ 1AE2AA7A0A1CDC6100B42B25 /* HTMLImageElement.idl in Resources */,
+ 1AE2AA860A1CDCCE00B42B25 /* HTMLIsIndexElement.idl in Resources */,
+ 1AE2AABF0A1CDD8300B42B25 /* HTMLLabelElement.idl in Resources */,
+ 1AE2AACD0A1CDDDB00B42B25 /* HTMLLegendElement.idl in Resources */,
+ 1AE2AAE70A1CE52E00B42B25 /* HTMLLIElement.idl in Resources */,
+ 1AE2AAF80A1CE58600B42B25 /* HTMLMapElement.idl in Resources */,
+ 1AE2AB080A1CE5CF00B42B25 /* HTMLModElement.idl in Resources */,
+ 1AE2AB620A1CE7CA00B42B25 /* HTMLParagraphElement.idl in Resources */,
+ 1AE2AB730A1CE81500B42B25 /* HTMLParamElement.idl in Resources */,
+ 1AE2AB860A1CE85000B42B25 /* HTMLPreElement.idl in Resources */,
+ 1AE2AB970A1CE88D00B42B25 /* HTMLScriptElement.idl in Resources */,
+ 1AE2AE440A1D269E00B42B25 /* HTMLMenuElement.idl in Resources */,
+ 1AE2AEA40A1D28E800B42B25 /* HTMLQuoteElement.idl in Resources */,
+ 1AE2AEA80A1D291900B42B25 /* HTMLBlockquoteElement.idl in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
BCC088860A1BD78D006189A6 /* FontDataMac.mm in Sources */,
BCC0891A0A1C4652006189A6 /* FontData.cpp in Sources */,
BCC089560A1C4CC9006189A6 /* GlyphWidthMap.cpp in Sources */,
+ 1AE2AA1E0A1CDAB400B42B25 /* JSHTMLAreaElement.cpp in Sources */,
+ 1AE2AA200A1CDAB400B42B25 /* JSHTMLBaseFontElement.cpp in Sources */,
+ 1AE2AA220A1CDAB400B42B25 /* JSHTMLBodyElement.cpp in Sources */,
+ 1AE2AA240A1CDAB400B42B25 /* JSHTMLBRElement.cpp in Sources */,
+ 1AE2AA260A1CDAB400B42B25 /* JSHTMLFieldSetElement.cpp in Sources */,
+ 1AE2AA280A1CDAB400B42B25 /* JSHTMLFontElement.cpp in Sources */,
+ 1AE2AA2E0A1CDAB400B42B25 /* JSHTMLHeadingElement.cpp in Sources */,
+ 1AE2AA300A1CDAB400B42B25 /* JSHTMLHRElement.cpp in Sources */,
+ 1AE2AA970A1CDD2D00B42B25 /* JSHTMLImageElement.cpp in Sources */,
+ 1AE2AA990A1CDD2D00B42B25 /* JSHTMLIsIndexElement.cpp in Sources */,
+ 1AE2AB210A1CE63B00B42B25 /* JSHTMLLabelElement.cpp in Sources */,
+ 1AE2AB230A1CE63B00B42B25 /* JSHTMLLegendElement.cpp in Sources */,
+ 1AE2AB250A1CE63B00B42B25 /* JSHTMLLIElement.cpp in Sources */,
+ 1AE2AB270A1CE63B00B42B25 /* JSHTMLMapElement.cpp in Sources */,
+ 1AE2AB290A1CE63B00B42B25 /* JSHTMLModElement.cpp in Sources */,
+ 1AE2ABA60A1CE90500B42B25 /* JSHTMLParagraphElement.cpp in Sources */,
+ 1AE2ABA80A1CE90500B42B25 /* JSHTMLParamElement.cpp in Sources */,
+ 1AE2ABAA0A1CE90500B42B25 /* JSHTMLPreElement.cpp in Sources */,
+ 1AE2ABAC0A1CE90500B42B25 /* JSHTMLScriptElement.cpp in Sources */,
+ 1AE2AE5B0A1D26F200B42B25 /* JSHTMLMenuElement.cpp in Sources */,
+ 1AE2AEC70A1D297B00B42B25 /* JSHTMLQuoteElement.cpp in Sources */,
+ 1AE2AEE60A1D2A7500B42B25 /* JSHTMLBlockquoteElement.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
#include "JSCanvasPattern.h"
#include "JSCanvasRenderingContext2D.h"
#include "JSHTMLCanvasElement.h"
+#include "JSHTMLImageElement.h"
#include "kjs_html.h"
using namespace KJS;
if (!o->isObject())
return throwError(exec, TypeError);
ExceptionCode ec;
- if (o->inherits(&KJS::JSHTMLElement::img_info)) {
+ if (o->inherits(&JSHTMLImageElement::info)) {
HTMLImageElement* imgElt = static_cast<HTMLImageElement*>(static_cast<JSHTMLElement*>(args[0])->impl());
switch (args.size()) {
case 3:
JSObject* o = static_cast<JSObject*>(args[0]);
if (!o->isObject())
return throwError(exec, TypeError);
- if (!o->inherits(&KJS::JSHTMLElement::img_info))
+ if (!o->inherits(&JSHTMLImageElement::info))
return throwError(exec, TypeError);
context->drawImageFromRect(static_cast<HTMLImageElement*>(static_cast<JSHTMLElement*>(args[0])->impl()),
args[1]->toNumber(exec), args[2]->toNumber(exec),
JSObject* o = static_cast<JSObject*>(args[0]);
if (!o->isObject())
return throwError(exec, TypeError);
- if (o->inherits(&KJS::JSHTMLElement::img_info)) {
+ if (o->inherits(&JSHTMLImageElement::info)) {
ExceptionCode ec;
JSValue* pattern = toJS(exec,
context->createPattern(static_cast<HTMLImageElement*>(static_cast<JSHTMLElement*>(args[0])->impl()),
#include "HTMLAnchorElement.h"
#include "HTMLAppletElement.h"
+#include "HTMLAreaElement.h"
#include "HTMLBaseElement.h"
+#include "HTMLBaseFontElement.h"
+#include "HTMLBlockQuoteElement.h"
+#include "HTMLBodyElement.h"
+#include "HTMLBRElement.h"
#include "HTMLButtonElement.h"
#include "HTMLCanvasElement.h"
-#include "HTMLDivElement.h"
#include "HTMLDirectoryElement.h"
+#include "HTMLDivElement.h"
#include "HTMLDListElement.h"
+#include "HTMLFieldSetElement.h"
+#include "HTMLFontElement.h"
#include "HTMLHeadElement.h"
+#include "HTMLHeadingElement.h"
+#include "HTMLHRElement.h"
#include "HTMLHtmlElement.h"
+#include "HTMLImageElement.h"
#include "HTMLInputElement.h"
+#include "HTMLIsIndexElement.h"
+#include "HTMLLabelElement.h"
+#include "HTMLLegendElement.h"
+#include "HTMLLIElement.h"
#include "HTMLLinkElement.h"
+#include "HTMLMapElement.h"
+#include "HTMLMenuElement.h"
#include "HTMLMetaElement.h"
+#include "HTMLModElement.h"
#include "HTMLOListElement.h"
#include "HTMLOptGroupElement.h"
#include "HTMLOptionElement.h"
+#include "HTMLParagraphElement.h"
+#include "HTMLParamElement.h"
+#include "HTMLPreElement.h"
+#include "HTMLQuoteElement.h"
+#include "HTMLScriptElement.h"
#include "HTMLStyleElement.h"
#include "HTMLTextAreaElement.h"
#include "HTMLTitleElement.h"
#include "JSHTMLAnchorElement.h"
#include "JSHTMLAppletElement.h"
+#include "JSHTMLAreaElement.h"
#include "JSHTMLBaseElement.h"
+#include "JSHTMLBaseFontElement.h"
+#include "JSHTMLBlockQuoteElement.h"
+#include "JSHTMLBodyElement.h"
+#include "JSHTMLBRElement.h"
#include "JSHTMLButtonElement.h"
#include "JSHTMLCanvasElement.h"
#include "JSHTMLDirectoryElement.h"
#include "JSHTMLDivElement.h"
#include "JSHTMLDListElement.h"
+#include "JSHTMLFieldSetElement.h"
+#include "JSHTMLFontElement.h"
#include "JSHTMLHeadElement.h"
+#include "JSHTMLHeadingElement.h"
+#include "JSHTMLHRElement.h"
#include "JSHTMLHtmlElement.h"
+#include "JSHTMLImageElement.h"
#include "JSHTMLInputElement.h"
+#include "JSHTMLIsIndexElement.h"
+#include "JSHTMLLabelElement.h"
+#include "JSHTMLLegendElement.h"
+#include "JSHTMLLIElement.h"
#include "JSHTMLLinkElement.h"
+#include "JSHTMLMapElement.h"
+#include "JSHTMLMenuElement.h"
#include "JSHTMLMetaElement.h"
+#include "JSHTMLModElement.h"
#include "JSHTMLOListElement.h"
#include "JSHTMLOptGroupElement.h"
#include "JSHTMLOptionElement.h"
+#include "JSHTMLParagraphElement.h"
+#include "JSHTMLParamElement.h"
+#include "JSHTMLPreElement.h"
+#include "JSHTMLQuoteElement.h"
+#include "JSHTMLScriptElement.h"
#include "JSHTMLStyleElement.h"
#include "JSHTMLTextAreaElement.h"
#include "JSHTMLTitleElement.h"
typedef DOMNode* (*CreateHTMLElementWrapperFunction)(ExecState*, PassRefPtr<HTMLElement>);
-static DOMNode* createAnchorWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLAnchorElement(exec, static_cast<HTMLAnchorElement*>(element.get()));
-}
-
-static DOMNode* createAppletWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLAppletElement(exec, static_cast<HTMLAppletElement*>(element.get()));
-}
-
-static DOMNode* createBaseWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLBaseElement(exec, static_cast<HTMLBaseElement*>(element.get()));
-}
-
-static DOMNode* createButtonWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLButtonElement(exec, static_cast<HTMLButtonElement*>(element.get()));
-}
-
-static DOMNode* createCanvasWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLCanvasElement(exec, static_cast<HTMLCanvasElement*>(element.get()));
-}
-
-static DOMNode* createDivWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLDivElement(exec, static_cast<HTMLDivElement*>(element.get()));
-}
-
-static DOMNode* createDirectoryWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLDirectoryElement(exec, static_cast<HTMLDirectoryElement*>(element.get()));
-}
-
-static DOMNode* createDListWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLDListElement(exec, static_cast<HTMLDListElement*>(element.get()));
-}
-
-static DOMNode* createHeadWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLHeadElement(exec, static_cast<HTMLHeadElement*>(element.get()));
-}
-
-static DOMNode* createHtmlWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLHtmlElement(exec, static_cast<HTMLHtmlElement*>(element.get()));
-}
-
-static DOMNode* createLinkWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLLinkElement(exec, static_cast<HTMLLinkElement*>(element.get()));
-}
-
-static DOMNode* createInputWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLInputElement(exec, static_cast<HTMLInputElement*>(element.get()));
-}
-
-static DOMNode* createMetaWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLMetaElement(exec, static_cast<HTMLMetaElement*>(element.get()));
-}
-
-static DOMNode* createOListWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLOListElement(exec, static_cast<HTMLOListElement*>(element.get()));
-}
-
-static DOMNode* createOptGroupWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLOptGroupElement(exec, static_cast<HTMLOptGroupElement*>(element.get()));
-}
-
-static DOMNode* createOptionWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLOptionElement(exec, static_cast<HTMLOptionElement*>(element.get()));
-}
-
-static DOMNode* createStyleWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLStyleElement(exec, static_cast<HTMLStyleElement*>(element.get()));
-}
-
-static DOMNode* createTextAreaWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLTextAreaElement(exec, static_cast<HTMLTextAreaElement*>(element.get()));
-}
-
-static DOMNode* createTitleWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLTitleElement(exec, static_cast<HTMLTitleElement*>(element.get()));
-}
-
-static DOMNode* createUListWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
-{
- return new JSHTMLUListElement(exec, static_cast<HTMLUListElement*>(element.get()));
-}
+#define FOR_EACH_TAG(macro) \
+ macro(a, Anchor) \
+ macro(applet, Applet) \
+ macro(area, Area) \
+ macro(base, Base) \
+ macro(basefont, BaseFont) \
+ macro(blockquote, Blockquote) \
+ macro(body, Body) \
+ macro(br, BR) \
+ macro(button, Button) \
+ macro(canvas, Canvas) \
+ macro(del, Mod) \
+ macro(dir, Directory) \
+ macro(div, Div) \
+ macro(dl, DList) \
+ macro(fieldset, FieldSet) \
+ macro(font, Font) \
+ macro(h1, Heading) \
+ macro(head, Head) \
+ macro(hr, HR) \
+ macro(html, Html) \
+ macro(img, Image) \
+ macro(input, Input) \
+ macro(isindex, IsIndex) \
+ macro(label, Label) \
+ macro(legend, Legend) \
+ macro(li, LI) \
+ macro(link, Link) \
+ macro(map, Map) \
+ macro(menu, Menu) \
+ macro(meta, Meta) \
+ macro(ol, OList) \
+ macro(optgroup, OptGroup) \
+ macro(option, Option) \
+ macro(p, Paragraph) \
+ macro(param, Param) \
+ macro(pre, Pre) \
+ macro(q, Quote) \
+ macro(script, Script) \
+ macro(style, Style) \
+ macro(textarea, TextArea) \
+ macro(title, Title) \
+ macro(ul, UList) \
+ // end of macro
+
+#define CREATE_WRAPPER_FUNCTION(tag, name) \
+static DOMNode* create##name##Wrapper(ExecState* exec, PassRefPtr<HTMLElement> element) \
+{ \
+ return new JSHTML##name##Element(exec, static_cast<HTML##name##Element*>(element.get())); \
+}
+FOR_EACH_TAG(CREATE_WRAPPER_FUNCTION)
+#undef CREATE_WRAPPER_FUNCTION
DOMNode* createJSWrapper(ExecState* exec, PassRefPtr<HTMLElement> element)
{
static HashMap<WebCore::AtomicStringImpl*, CreateHTMLElementWrapperFunction> map;
if (map.isEmpty()) {
- map.set(aTag.localName().impl(), createAnchorWrapper);
- map.set(appletTag.localName().impl(), createAppletWrapper);
- map.set(baseTag.localName().impl(), createBaseWrapper);
- map.set(buttonTag.localName().impl(), createButtonWrapper);
- map.set(canvasTag.localName().impl(), createCanvasWrapper);
- map.set(dirTag.localName().impl(), createDirectoryWrapper);
- map.set(divTag.localName().impl(), createDivWrapper);
- map.set(dlTag.localName().impl(), createDListWrapper);
- map.set(headTag.localName().impl(), createHeadWrapper);
- map.set(htmlTag.localName().impl(), createHtmlWrapper);
- map.set(inputTag.localName().impl(), createInputWrapper);
- map.set(linkTag.localName().impl(), createLinkWrapper);
- map.set(metaTag.localName().impl(), createMetaWrapper);
- map.set(olTag.localName().impl(), createOListWrapper);
- map.set(optgroupTag.localName().impl(), createOptGroupWrapper);
- map.set(optionTag.localName().impl(), createOptionWrapper);
- map.set(styleTag.localName().impl(), createStyleWrapper);
- map.set(textareaTag.localName().impl(), createTextAreaWrapper);
- map.set(titleTag.localName().impl(), createTitleWrapper);
- map.set(ulTag.localName().impl(), createUListWrapper);
+#define ADD_TO_HASH_MAP(tag, name) map.set(tag##Tag.localName().impl(), create##name##Wrapper);
+FOR_EACH_TAG(ADD_TO_HASH_MAP)
+#undef ADD_TO_HASH_MAP
+ map.set(h2Tag.localName().impl(), createHeadingWrapper);
+ map.set(h3Tag.localName().impl(), createHeadingWrapper);
+ map.set(h4Tag.localName().impl(), createHeadingWrapper);
+ map.set(h5Tag.localName().impl(), createHeadingWrapper);
+ map.set(h6Tag.localName().impl(), createHeadingWrapper);
+ map.set(imageTag.localName().impl(), createImageWrapper);
+ map.set(insTag.localName().impl(), createModWrapper);
+ map.set(listingTag.localName().impl(), createPreWrapper);
}
CreateHTMLElementWrapperFunction f = map.get(element->localName().impl());
if (f)
#include "HTMLTableRowElement.h"
#include "HTMLTableSectionElement.h"
#include "HTMLQuoteElement.h"
+#include "JSHTMLImageElement.h"
#include "NameNodeList.h"
#include "RenderLayer.h"
#include "Text.h"
// -------------------------------------------------------------------------
-const ClassInfo JSHTMLElement::area_info = { "HTMLAreaElement", &JSHTMLElement::info, &HTMLAreaElementTable, 0 };
-const ClassInfo JSHTMLElement::baseFont_info = { "HTMLBaseFontElement", &JSHTMLElement::info, &HTMLBaseFontElementTable, 0 };
-const ClassInfo JSHTMLElement::blockQuote_info = { "HTMLBlockQuoteElement", &JSHTMLElement::info, &HTMLBlockQuoteElementTable, 0 };
-const ClassInfo JSHTMLElement::body_info = { "HTMLBodyElement", &JSHTMLElement::info, &HTMLBodyElementTable, 0 };
-const ClassInfo JSHTMLElement::br_info = { "HTMLBRElement", &JSHTMLElement::info, &HTMLBRElementTable, 0 };
const ClassInfo JSHTMLElement::caption_info = { "HTMLTableCaptionElement", &JSHTMLElement::info, &HTMLTableCaptionElementTable, 0 };
const ClassInfo JSHTMLElement::col_info = { "HTMLTableColElement", &JSHTMLElement::info, &HTMLTableColElementTable, 0 };
const ClassInfo JSHTMLElement::embed_info = { "HTMLEmbedElement", &JSHTMLElement::info, &HTMLEmbedElementTable, 0 };
-const ClassInfo JSHTMLElement::fieldSet_info = { "HTMLFieldSetElement", &JSHTMLElement::info, &HTMLFieldSetElementTable, 0 };
-const ClassInfo JSHTMLElement::font_info = { "HTMLFontElement", &JSHTMLElement::info, &HTMLFontElementTable, 0 };
const ClassInfo JSHTMLElement::form_info = { "HTMLFormElement", &JSHTMLElement::info, &HTMLFormElementTable, 0 };
const ClassInfo JSHTMLElement::frameSet_info = { "HTMLFrameSetElement", &JSHTMLElement::info, &HTMLFrameSetElementTable, 0 };
const ClassInfo JSHTMLElement::frame_info = { "HTMLFrameElement", &JSHTMLElement::info, &HTMLFrameElementTable, 0 };
-const ClassInfo JSHTMLElement::heading_info = { "HTMLHeadingElement", &JSHTMLElement::info, &HTMLHeadingElementTable, 0 };
-const ClassInfo JSHTMLElement::hr_info = { "HTMLHRElement", &JSHTMLElement::info, &HTMLHRElementTable, 0 };
const ClassInfo JSHTMLElement::iFrame_info = { "HTMLIFrameElement", &JSHTMLElement::info, &HTMLIFrameElementTable, 0 };
-const ClassInfo JSHTMLElement::img_info = { "HTMLImageElement", &JSHTMLElement::info, &HTMLImageElementTable, 0 };
const ClassInfo JSHTMLElement::info = { "HTMLElement", &JSElement::info, &HTMLElementTable, 0 };
-const ClassInfo JSHTMLElement::isIndex_info = { "HTMLIsIndexElement", &JSHTMLElement::info, &HTMLIsIndexElementTable, 0 };
-const ClassInfo JSHTMLElement::label_info = { "HTMLLabelElement", &JSHTMLElement::info, &HTMLLabelElementTable, 0 };
-const ClassInfo JSHTMLElement::legend_info = { "HTMLLegendElement", &JSHTMLElement::info, &HTMLLegendElementTable, 0 };
-const ClassInfo JSHTMLElement::li_info = { "HTMLLIElement", &JSHTMLElement::info, &HTMLLIElementTable, 0 };
-const ClassInfo JSHTMLElement::map_info = { "HTMLMapElement", &JSHTMLElement::info, &HTMLMapElementTable, 0 };
const ClassInfo JSHTMLElement::marquee_info = { "HTMLMarqueeElement", &JSHTMLElement::info, &HTMLMarqueeElementTable, 0 };
-const ClassInfo JSHTMLElement::menu_info = { "HTMLMenuElement", &JSHTMLElement::info, &HTMLMenuElementTable, 0 };
-const ClassInfo JSHTMLElement::mod_info = { "HTMLModElement", &JSHTMLElement::info, &HTMLModElementTable, 0 };
const ClassInfo JSHTMLElement::object_info = { "HTMLObjectElement", &JSHTMLElement::info, &HTMLObjectElementTable, 0 };
-const ClassInfo JSHTMLElement::p_info = { "HTMLParagraphElement", &JSHTMLElement::info, &HTMLParagraphElementTable, 0 };
-const ClassInfo JSHTMLElement::param_info = { "HTMLParamElement", &JSHTMLElement::info, &HTMLParamElementTable, 0 };
-const ClassInfo JSHTMLElement::pre_info = { "HTMLPreElement", &JSHTMLElement::info, &HTMLPreElementTable, 0 };
-const ClassInfo JSHTMLElement::q_info = { "HTMLQuoteElement", &JSHTMLElement::info, &HTMLQuoteElementTable, 0 };
-const ClassInfo JSHTMLElement::script_info = { "HTMLScriptElement", &JSHTMLElement::info, &HTMLScriptElementTable, 0 };
const ClassInfo JSHTMLElement::select_info = { "HTMLSelectElement", &JSHTMLElement::info, &HTMLSelectElementTable, 0 };
const ClassInfo JSHTMLElement::table_info = { "HTMLTableElement", &JSHTMLElement::info, &HTMLTableElementTable, 0 };
const ClassInfo JSHTMLElement::tablecell_info = { "HTMLTableCellElement", &JSHTMLElement::info, &HTMLTableCellElementTable, 0 };
{
static HashMap<WebCore::AtomicStringImpl*, const ClassInfo*> classInfoMap;
if (classInfoMap.isEmpty()) {
- classInfoMap.set(areaTag.localName().impl(), &area_info);
- classInfoMap.set(basefontTag.localName().impl(), &baseFont_info);
- classInfoMap.set(blockquoteTag.localName().impl(), &blockQuote_info);
- classInfoMap.set(bodyTag.localName().impl(), &body_info);
- classInfoMap.set(brTag.localName().impl(), &br_info);
classInfoMap.set(captionTag.localName().impl(), &caption_info);
classInfoMap.set(colTag.localName().impl(), &col_info);
classInfoMap.set(colgroupTag.localName().impl(), &col_info);
- classInfoMap.set(delTag.localName().impl(), &mod_info);
classInfoMap.set(embedTag.localName().impl(), &embed_info);
- classInfoMap.set(fieldsetTag.localName().impl(), &fieldSet_info);
- classInfoMap.set(fontTag.localName().impl(), &font_info);
classInfoMap.set(formTag.localName().impl(), &form_info);
classInfoMap.set(frameTag.localName().impl(), &frame_info);
classInfoMap.set(framesetTag.localName().impl(), &frameSet_info);
- classInfoMap.set(h1Tag.localName().impl(), &heading_info);
- classInfoMap.set(h2Tag.localName().impl(), &heading_info);
- classInfoMap.set(h3Tag.localName().impl(), &heading_info);
- classInfoMap.set(h4Tag.localName().impl(), &heading_info);
- classInfoMap.set(h5Tag.localName().impl(), &heading_info);
- classInfoMap.set(h6Tag.localName().impl(), &heading_info);
- classInfoMap.set(hrTag.localName().impl(), &hr_info);
classInfoMap.set(iframeTag.localName().impl(), &iFrame_info);
- classInfoMap.set(imgTag.localName().impl(), &img_info);
- classInfoMap.set(insTag.localName().impl(), &mod_info);
- classInfoMap.set(isindexTag.localName().impl(), &isIndex_info);
- classInfoMap.set(labelTag.localName().impl(), &label_info);
- classInfoMap.set(legendTag.localName().impl(), &legend_info);
- classInfoMap.set(liTag.localName().impl(), &li_info);
- classInfoMap.set(listingTag.localName().impl(), &pre_info);
- classInfoMap.set(mapTag.localName().impl(), &map_info);
classInfoMap.set(marqueeTag.localName().impl(), &marquee_info);
- classInfoMap.set(menuTag.localName().impl(), &menu_info);
classInfoMap.set(objectTag.localName().impl(), &object_info);
- classInfoMap.set(pTag.localName().impl(), &p_info);
- classInfoMap.set(paramTag.localName().impl(), ¶m_info);
- classInfoMap.set(preTag.localName().impl(), &pre_info);
- classInfoMap.set(qTag.localName().impl(), &q_info);
- classInfoMap.set(scriptTag.localName().impl(), &script_info);
classInfoMap.set(selectTag.localName().impl(), &select_info);
classInfoMap.set(tableTag.localName().impl(), &table_info);
classInfoMap.set(tbodyTag.localName().impl(), &tablesection_info);
return &info;
}
-const JSHTMLElement::Accessors JSHTMLElement::isIndex_accessors = { &JSHTMLElement::isIndexGetter, &JSHTMLElement::isIndexSetter };
-const JSHTMLElement::Accessors JSHTMLElement::body_accessors = { &JSHTMLElement::bodyGetter, &JSHTMLElement::bodySetter };
const JSHTMLElement::Accessors JSHTMLElement::form_accessors = { &JSHTMLElement::formGetter, &JSHTMLElement::formSetter };
const JSHTMLElement::Accessors JSHTMLElement::select_accessors = { &JSHTMLElement::selectGetter, &JSHTMLElement::selectSetter };
-const JSHTMLElement::Accessors JSHTMLElement::label_accessors = { &JSHTMLElement::labelGetter, &JSHTMLElement::labelSetter };
-const JSHTMLElement::Accessors JSHTMLElement::fieldSet_accessors = { &JSHTMLElement::fieldSetGetter, &JSHTMLElement::fieldSetSetter };
-const JSHTMLElement::Accessors JSHTMLElement::legend_accessors = { &JSHTMLElement::legendGetter, &JSHTMLElement::legendSetter };
-const JSHTMLElement::Accessors JSHTMLElement::menu_accessors = { &JSHTMLElement::menuGetter, &JSHTMLElement::menuSetter };
-const JSHTMLElement::Accessors JSHTMLElement::li_accessors = { &JSHTMLElement::liGetter, &JSHTMLElement::liSetter };
-const JSHTMLElement::Accessors JSHTMLElement::p_accessors = { &JSHTMLElement::paragraphGetter, &JSHTMLElement::paragraphSetter };
-const JSHTMLElement::Accessors JSHTMLElement::heading_accessors = { &JSHTMLElement::headingGetter, &JSHTMLElement::headingSetter };
-const JSHTMLElement::Accessors JSHTMLElement::blockQuote_accessors = { &JSHTMLElement::blockQuoteGetter, &JSHTMLElement::blockQuoteSetter };
-const JSHTMLElement::Accessors JSHTMLElement::q_accessors = { &JSHTMLElement::quoteGetter, &JSHTMLElement::quoteSetter };
-const JSHTMLElement::Accessors JSHTMLElement::pre_accessors = { &JSHTMLElement::preGetter, &JSHTMLElement::preSetter };
-const JSHTMLElement::Accessors JSHTMLElement::br_accessors = { &JSHTMLElement::brGetter, &JSHTMLElement::brSetter };
-const JSHTMLElement::Accessors JSHTMLElement::baseFont_accessors = { &JSHTMLElement::baseFontGetter, &JSHTMLElement::baseFontSetter };
-const JSHTMLElement::Accessors JSHTMLElement::font_accessors = { &JSHTMLElement::fontGetter, &JSHTMLElement::fontSetter };
-const JSHTMLElement::Accessors JSHTMLElement::hr_accessors = { &JSHTMLElement::hrGetter, &JSHTMLElement::hrSetter };
-const JSHTMLElement::Accessors JSHTMLElement::mod_accessors = { &JSHTMLElement::modGetter, &JSHTMLElement::modSetter };
-const JSHTMLElement::Accessors JSHTMLElement::img_accessors = { &JSHTMLElement::imageGetter, &JSHTMLElement::imageSetter };
const JSHTMLElement::Accessors JSHTMLElement::object_accessors = { &JSHTMLElement::objectGetter, &JSHTMLElement::objectSetter };
-const JSHTMLElement::Accessors JSHTMLElement::param_accessors = { &JSHTMLElement::paramGetter, &JSHTMLElement::paramSetter };
const JSHTMLElement::Accessors JSHTMLElement::embed_accessors = { &JSHTMLElement::embedGetter, &JSHTMLElement::embedSetter };
-const JSHTMLElement::Accessors JSHTMLElement::map_accessors = { &JSHTMLElement::mapGetter, &JSHTMLElement::mapSetter };
-const JSHTMLElement::Accessors JSHTMLElement::area_accessors = { &JSHTMLElement::areaGetter, &JSHTMLElement::areaSetter };
-const JSHTMLElement::Accessors JSHTMLElement::script_accessors = { &JSHTMLElement::scriptGetter, &JSHTMLElement::scriptSetter };
const JSHTMLElement::Accessors JSHTMLElement::table_accessors = { &JSHTMLElement::tableGetter, &JSHTMLElement::tableSetter };
const JSHTMLElement::Accessors JSHTMLElement::caption_accessors = { &JSHTMLElement::tableCaptionGetter, &JSHTMLElement::tableCaptionSetter };
const JSHTMLElement::Accessors JSHTMLElement::col_accessors = { &JSHTMLElement::tableColGetter, &JSHTMLElement::tableColSetter };
{
static HashMap<WebCore::AtomicStringImpl*, const Accessors*> accessorMap;
if (accessorMap.isEmpty()) {
- accessorMap.add(areaTag.localName().impl(), &area_accessors);
- accessorMap.add(basefontTag.localName().impl(), &baseFont_accessors);
- accessorMap.add(blockquoteTag.localName().impl(), &blockQuote_accessors);
- accessorMap.add(bodyTag.localName().impl(), &body_accessors);
- accessorMap.add(brTag.localName().impl(), &br_accessors);
accessorMap.add(captionTag.localName().impl(), &caption_accessors);
accessorMap.add(colTag.localName().impl(), &col_accessors);
accessorMap.add(colgroupTag.localName().impl(), &col_accessors);
- accessorMap.add(delTag.localName().impl(), &mod_accessors);
accessorMap.add(embedTag.localName().impl(), &embed_accessors);
- accessorMap.add(fieldsetTag.localName().impl(), &fieldSet_accessors);
- accessorMap.add(fontTag.localName().impl(), &font_accessors);
accessorMap.add(formTag.localName().impl(), &form_accessors);
accessorMap.add(frameTag.localName().impl(), &frame_accessors);
accessorMap.add(framesetTag.localName().impl(), &frameSet_accessors);
- accessorMap.add(h1Tag.localName().impl(), &heading_accessors);
- accessorMap.add(h2Tag.localName().impl(), &heading_accessors);
- accessorMap.add(h3Tag.localName().impl(), &heading_accessors);
- accessorMap.add(h4Tag.localName().impl(), &heading_accessors);
- accessorMap.add(h5Tag.localName().impl(), &heading_accessors);
- accessorMap.add(h6Tag.localName().impl(), &heading_accessors);
- accessorMap.add(hrTag.localName().impl(), &hr_accessors);
accessorMap.add(iframeTag.localName().impl(), &iFrame_accessors);
- accessorMap.add(imgTag.localName().impl(), &img_accessors);
- accessorMap.add(insTag.localName().impl(), &mod_accessors);
- accessorMap.add(isindexTag.localName().impl(), &isIndex_accessors);
- accessorMap.add(labelTag.localName().impl(), &label_accessors);
- accessorMap.add(legendTag.localName().impl(), &legend_accessors);
- accessorMap.add(liTag.localName().impl(), &li_accessors);
- accessorMap.set(listingTag.localName().impl(), &pre_accessors);
- accessorMap.add(mapTag.localName().impl(), &map_accessors);
accessorMap.add(marqueeTag.localName().impl(), &marquee_accessors);
- accessorMap.add(menuTag.localName().impl(), &menu_accessors);
accessorMap.add(objectTag.localName().impl(), &object_accessors);
- accessorMap.add(pTag.localName().impl(), &p_accessors);
- accessorMap.add(paramTag.localName().impl(), ¶m_accessors);
- accessorMap.add(preTag.localName().impl(), &pre_accessors);
- accessorMap.add(qTag.localName().impl(), &q_accessors);
- accessorMap.add(scriptTag.localName().impl(), &script_accessors);
accessorMap.add(selectTag.localName().impl(), &select_accessors);
accessorMap.add(tableTag.localName().impl(), &table_accessors);
accessorMap.add(tbodyTag.localName().impl(), &tablesection_accessors);
contentEditable KJS::JSHTMLElement::ElementContentEditable DontDelete
isContentEditable KJS::JSHTMLElement::ElementIsContentEditable DontDelete|ReadOnly
@end
-@begin HTMLIsIndexElementTable 2
- form KJS::JSHTMLElement::IsIndexForm DontDelete|ReadOnly
- prompt KJS::JSHTMLElement::IsIndexPrompt DontDelete
-@end
-@begin HTMLBodyElementTable 10
- aLink KJS::JSHTMLElement::BodyALink DontDelete
- background KJS::JSHTMLElement::BodyBackground DontDelete
- bgColor KJS::JSHTMLElement::BodyBgColor DontDelete
- link KJS::JSHTMLElement::BodyLink DontDelete
- text KJS::JSHTMLElement::BodyText DontDelete
- vLink KJS::JSHTMLElement::BodyVLink DontDelete
- scrollLeft KJS::JSHTMLElement::BodyScrollLeft DontDelete
- scrollTop KJS::JSHTMLElement::BodyScrollTop DontDelete
- scrollHeight KJS::JSHTMLElement::BodyScrollHeight DontDelete|ReadOnly
- scrollWidth KJS::JSHTMLElement::BodyScrollWidth DontDelete|ReadOnly
-@end
@begin HTMLFormElementTable 11
# Also supported, by name/index
elements KJS::JSHTMLElement::FormElements DontDelete|ReadOnly
blur KJS::JSHTMLElement::SelectBlur DontDelete|Function 0
focus KJS::JSHTMLElement::SelectFocus DontDelete|Function 0
@end
-@begin HTMLLabelElementTable 4
- form KJS::JSHTMLElement::LabelForm DontDelete|ReadOnly
- accessKey KJS::JSHTMLElement::LabelAccessKey DontDelete
- htmlFor KJS::JSHTMLElement::LabelHtmlFor DontDelete
- focus KJS::JSHTMLElement::LabelFocus DontDelete|Function 0
-@end
-@begin HTMLFieldSetElementTable 1
- form KJS::JSHTMLElement::FieldSetForm DontDelete|ReadOnly
-@end
-@begin HTMLLegendElementTable 4
- form KJS::JSHTMLElement::LegendForm DontDelete|ReadOnly
- accessKey KJS::JSHTMLElement::LegendAccessKey DontDelete
- align KJS::JSHTMLElement::LegendAlign DontDelete
- focus KJS::JSHTMLElement::LegendFocus DontDelete|Function 0
-@end
-@begin HTMLMenuElementTable 1
- compact KJS::JSHTMLElement::MenuCompact DontDelete
-@end
-@begin HTMLLIElementTable 2
- type KJS::JSHTMLElement::LIType DontDelete
- value KJS::JSHTMLElement::LIValue DontDelete
-@end
-@begin HTMLParagraphElementTable 1
- align KJS::JSHTMLElement::ParagraphAlign DontDelete
-@end
-@begin HTMLHeadingElementTable 1
- align KJS::JSHTMLElement::HeadingAlign DontDelete
-@end
-@begin HTMLBlockQuoteElementTable 1
- cite KJS::JSHTMLElement::BlockQuoteCite DontDelete
-@end
-@begin HTMLQuoteElementTable 1
- cite KJS::JSHTMLElement::QuoteCite DontDelete
-@end
-@begin HTMLPreElementTable 1
- width KJS::JSHTMLElement::PreWidth DontDelete
-@end
-@begin HTMLBRElementTable 1
- clear KJS::JSHTMLElement::BRClear DontDelete
-@end
-@begin HTMLBaseFontElementTable 3
- color KJS::JSHTMLElement::BaseFontColor DontDelete
- face KJS::JSHTMLElement::BaseFontFace DontDelete
- size KJS::JSHTMLElement::BaseFontSize DontDelete
-@end
-@begin HTMLFontElementTable 3
- color KJS::JSHTMLElement::FontColor DontDelete
- face KJS::JSHTMLElement::FontFace DontDelete
- size KJS::JSHTMLElement::FontSize DontDelete
-@end
-@begin HTMLHRElementTable 4
- align KJS::JSHTMLElement::HRAlign DontDelete
- noShade KJS::JSHTMLElement::HRNoShade DontDelete
- size KJS::JSHTMLElement::HRSize DontDelete
- width KJS::JSHTMLElement::HRWidth DontDelete
-@end
-@begin HTMLModElementTable 2
- cite KJS::JSHTMLElement::ModCite DontDelete
- dateTime KJS::JSHTMLElement::ModDateTime DontDelete
-@end
-@begin HTMLImageElementTable 14
- name KJS::JSHTMLElement::ImageName DontDelete
- align KJS::JSHTMLElement::ImageAlign DontDelete
- alt KJS::JSHTMLElement::ImageAlt DontDelete
- border KJS::JSHTMLElement::ImageBorder DontDelete
- complete KJS::JSHTMLElement::ImageComplete DontDelete|ReadOnly
- height KJS::JSHTMLElement::ImageHeight DontDelete
- hspace KJS::JSHTMLElement::ImageHspace DontDelete
- isMap KJS::JSHTMLElement::ImageIsMap DontDelete
- longDesc KJS::JSHTMLElement::ImageLongDesc DontDelete
- src KJS::JSHTMLElement::ImageSrc DontDelete
- useMap KJS::JSHTMLElement::ImageUseMap DontDelete
- vspace KJS::JSHTMLElement::ImageVspace DontDelete
- width KJS::JSHTMLElement::ImageWidth DontDelete
- x KJS::JSHTMLElement::ImageX DontDelete|ReadOnly
- y KJS::JSHTMLElement::ImageY DontDelete|ReadOnly
-@end
@begin HTMLObjectElementTable 20
form KJS::JSHTMLElement::ObjectForm DontDelete|ReadOnly
code KJS::JSHTMLElement::ObjectCode DontDelete
vspace KJS::JSHTMLElement::ObjectVspace DontDelete
width KJS::JSHTMLElement::ObjectWidth DontDelete
@end
-@begin HTMLParamElementTable 4
- name KJS::JSHTMLElement::ParamName DontDelete
- type KJS::JSHTMLElement::ParamType DontDelete
- value KJS::JSHTMLElement::ParamValue DontDelete
- valueType KJS::JSHTMLElement::ParamValueType DontDelete
-@end
-@end
@begin HTMLEmbedElementTable 6
align KJS::JSHTMLElement::EmbedAlign DontDelete
height KJS::JSHTMLElement::EmbedHeight DontDelete
type KJS::JSHTMLElement::EmbedType DontDelete
width KJS::JSHTMLElement::EmbedWidth DontDelete
@end
-@begin HTMLMapElementTable 2
- areas KJS::JSHTMLElement::MapAreas DontDelete|ReadOnly
- name KJS::JSHTMLElement::MapName DontDelete
-@end
-@begin HTMLAreaElementTable 15
- accessKey KJS::JSHTMLElement::AreaAccessKey DontDelete
- alt KJS::JSHTMLElement::AreaAlt DontDelete
- coords KJS::JSHTMLElement::AreaCoords DontDelete
- href KJS::JSHTMLElement::AreaHref DontDelete
- hash KJS::JSHTMLElement::AreaHash DontDelete|ReadOnly
- host KJS::JSHTMLElement::AreaHost DontDelete|ReadOnly
- hostname KJS::JSHTMLElement::AreaHostName DontDelete|ReadOnly
- pathname KJS::JSHTMLElement::AreaPathName DontDelete|ReadOnly
- port KJS::JSHTMLElement::AreaPort DontDelete|ReadOnly
- protocol KJS::JSHTMLElement::AreaProtocol DontDelete|ReadOnly
- search KJS::JSHTMLElement::AreaSearch DontDelete|ReadOnly
- noHref KJS::JSHTMLElement::AreaNoHref DontDelete
- shape KJS::JSHTMLElement::AreaShape DontDelete
- tabIndex KJS::JSHTMLElement::AreaTabIndex DontDelete
- target KJS::JSHTMLElement::AreaTarget DontDelete
-@end
-@begin HTMLScriptElementTable 7
- text KJS::JSHTMLElement::ScriptText DontDelete
- htmlFor KJS::JSHTMLElement::ScriptHtmlFor DontDelete
- event KJS::JSHTMLElement::ScriptEvent DontDelete
- charset KJS::JSHTMLElement::ScriptCharset DontDelete
- defer KJS::JSHTMLElement::ScriptDefer DontDelete
- src KJS::JSHTMLElement::ScriptSrc DontDelete
- type KJS::JSHTMLElement::ScriptType DontDelete
-@end
@begin HTMLTableElementTable 23
caption KJS::JSHTMLElement::TableCaption DontDelete
tHead KJS::JSHTMLElement::TableTHead DontDelete
width KJS::JSHTMLElement::TableCellWidth DontDelete
@end
@begin HTMLFrameSetElementTable 2
- cols KJS::JSHTMLElement::FrameSetCols DontDelete
- rows KJS::JSHTMLElement::FrameSetRows DontDelete
+cols KJS::JSHTMLElement::FrameSetCols DontDelete
+rows KJS::JSHTMLElement::FrameSetRows DontDelete
@end
@begin HTMLFrameElementTable 9
contentDocument KJS::JSHTMLElement::FrameContentDocument DontDelete|ReadOnly
return jsUndefined();
}
-JSValue *JSHTMLElement::isIndexGetter(ExecState* exec, int token) const
-{
- HTMLIsIndexElement& isindex = *static_cast<HTMLIsIndexElement*>(impl());
- switch (token) {
- case IsIndexForm: return toJS(exec, isindex.form()); // type HTMLFormElement
- case IsIndexPrompt: return jsString(isindex.prompt());
- }
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::bodyGetter(ExecState* exec, int token) const
-{
- HTMLBodyElement& body = *static_cast<HTMLBodyElement*>(impl());
- switch (token) {
- case BodyALink: return jsString(body.aLink());
- case BodyBackground: return jsString(body.background());
- case BodyBgColor: return jsString(body.bgColor());
- case BodyLink: return jsString(body.link());
- case BodyText: return jsString(body.text());
- case BodyVLink: return jsString(body.vLink());
- default: {
- // Update the document's layout before we compute these attributes.
- Document *doc = body.document();
- doc->updateLayoutIgnorePendingStylesheets();
- FrameView *view = doc->view();
- switch (token) {
- case BodyScrollLeft:
- return jsNumber(view ? view->contentsX() : 0);
- case BodyScrollTop:
- return jsNumber(view ? view->contentsY() : 0);
- case BodyScrollHeight:
- return jsNumber(view ? view->contentsHeight() : 0);
- case BodyScrollWidth:
- return jsNumber(view ? view->contentsWidth() : 0);
- }
- }
- }
- return jsUndefined();
-}
-
JSValue *JSHTMLElement::formGetter(ExecState* exec, int token) const
{
HTMLFormElement& form = *static_cast<HTMLFormElement*>(impl());
return jsUndefined();
}
-JSValue *JSHTMLElement::labelGetter(ExecState* exec, int token) const
-{
- HTMLLabelElement& label = *static_cast<HTMLLabelElement*>(impl());
- switch (token) {
- case LabelForm: return toJS(exec,label.form()); // type HTMLFormElement
- case LabelAccessKey: return jsString(label.accessKey());
- case LabelHtmlFor: return jsString(label.htmlFor());
- }
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::fieldSetGetter(ExecState* exec, int token) const
-{
- HTMLFieldSetElement& fieldSet = *static_cast<HTMLFieldSetElement*>(impl());
- if (token == FieldSetForm)
- return toJS(exec,fieldSet.form()); // type HTMLFormElement
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::legendGetter(ExecState* exec, int token) const
-{
- HTMLLegendElement& legend = *static_cast<HTMLLegendElement*>(impl());
- switch (token) {
- case LegendForm: return toJS(exec,legend.form()); // type HTMLFormElement
- case LegendAccessKey: return jsString(legend.accessKey());
- case LegendAlign: return jsString(legend.align());
- }
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::menuGetter(ExecState* exec, int token) const
-{
- HTMLMenuElement& menu = *static_cast<HTMLMenuElement*>(impl());
- if (token == MenuCompact)
- return jsBoolean(menu.compact());
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::liGetter(ExecState* exec, int token) const
-{
- HTMLLIElement& li = *static_cast<HTMLLIElement*>(impl());
- switch (token) {
- case LIType: return jsString(li.type());
- case LIValue: return jsNumber(li.value());
- }
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::paragraphGetter(ExecState* exec, int token) const
-{
- HTMLParagraphElement& p = *static_cast<HTMLParagraphElement*>(impl());
- if (token == ParagraphAlign)
- return jsString(p.align());
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::headingGetter(ExecState* exec, int token) const
-{
- HTMLHeadingElement& h = *static_cast<HTMLHeadingElement*>(impl());
- if (token == HeadingAlign)
- return jsString(h.align());
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::blockQuoteGetter(ExecState* exec, int token) const
-{
- HTMLBlockquoteElement& blockQuote = *static_cast<HTMLBlockquoteElement*>(impl());
- if (token == BlockQuoteCite)
- return jsString(blockQuote.cite());
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::quoteGetter(ExecState* exec, int token) const
-{
- HTMLQuoteElement& quote = *static_cast<HTMLQuoteElement*>(impl());
- if (token == QuoteCite)
- return jsString(quote.cite());
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::preGetter(ExecState* exec, int token) const
-{
- // FIXME: Add support for 'wrap' when white-space: pre-wrap is implemented.
- HTMLPreElement& pre = *static_cast<HTMLPreElement*>(impl());
- if (token == PreWidth)
- return jsNumber(pre.width());
- if (token == PreWrap)
- return jsBoolean(pre.wrap());
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::brGetter(ExecState* exec, int token) const
-{
- HTMLBRElement& br = *static_cast<HTMLBRElement*>(impl());
- if (token == BRClear)
- return jsString(br.clear());
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::baseFontGetter(ExecState* exec, int token) const
-{
- HTMLBaseFontElement& baseFont = *static_cast<HTMLBaseFontElement*>(impl());
- switch (token) {
- case BaseFontColor: return jsString(baseFont.color());
- case BaseFontFace: return jsString(baseFont.face());
- case BaseFontSize: return jsString(baseFont.size());
- }
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::fontGetter(ExecState* exec, int token) const
-{
- HTMLFontElement& font = *static_cast<HTMLFontElement*>(impl());
- switch (token) {
- case FontColor: return jsString(font.color());
- case FontFace: return jsString(font.face());
- case FontSize: return jsString(font.size());
- }
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::hrGetter(ExecState* exec, int token) const
-{
- HTMLHRElement& hr = *static_cast<HTMLHRElement*>(impl());
- switch (token) {
- case HRAlign: return jsString(hr.align());
- case HRNoShade: return jsBoolean(hr.noShade());
- case HRSize: return jsString(hr.size());
- case HRWidth: return jsString(hr.width());
- }
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::modGetter(ExecState* exec, int token) const
-{
- HTMLModElement& mod = *static_cast<HTMLModElement*>(impl());
- switch (token) {
- case ModCite: return jsString(mod.cite());
- case ModDateTime: return jsString(mod.dateTime());
- }
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::imageGetter(ExecState* exec, int token) const
-{
- HTMLImageElement& image = *static_cast<HTMLImageElement*>(impl());
- switch (token) {
- case ImageName: return jsString(image.name());
- case ImageAlign: return jsString(image.align());
- case ImageAlt: return jsString(image.alt());
- case ImageBorder: return jsNumber(image.border());
- case ImageComplete: return jsBoolean(image.complete());
- case ImageHeight: return jsNumber(image.height(true));
- case ImageHspace: return jsNumber(image.hspace());
- case ImageIsMap: return jsBoolean(image.isMap());
- case ImageLongDesc: return jsString(image.longDesc());
- case ImageSrc: return jsString(image.src());
- case ImageUseMap: return jsString(image.useMap());
- case ImageVspace: return jsNumber(image.vspace());
- case ImageWidth: return jsNumber(image.width(true));
- case ImageX: return jsNumber(image.x());
- case ImageY: return jsNumber(image.y());
- }
- return jsUndefined();
-}
-
JSValue *JSHTMLElement::objectGetter(ExecState* exec, int token) const
{
HTMLObjectElement& object = *static_cast<HTMLObjectElement*>(impl());
return jsUndefined();
}
-JSValue *JSHTMLElement::paramGetter(ExecState* exec, int token) const
-{
- HTMLParamElement& param = *static_cast<HTMLParamElement*>(impl());
- switch (token) {
- case ParamName: return jsString(param.name());
- case ParamType: return jsString(param.type());
- case ParamValue: return jsString(param.value());
- case ParamValueType: return jsString(param.valueType());
- }
- return jsUndefined();
-}
-
JSValue *JSHTMLElement::embedGetter(ExecState* exec, int token) const
{
HTMLEmbedElement& embed = *static_cast<HTMLEmbedElement*>(impl());
return jsUndefined();
}
-JSValue *JSHTMLElement::mapGetter(ExecState* exec, int token) const
-{
- HTMLMapElement& map = *static_cast<HTMLMapElement*>(impl());
- switch (token) {
- case MapAreas: return getHTMLCollection(exec, map.areas().get()); // type JSHTMLCollection
- case MapName: return jsString(map.name());
- }
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::areaGetter(ExecState* exec, int token) const
-{
+#ifdef FIXME
HTMLAreaElement& area = *static_cast<HTMLAreaElement*>(impl());
switch (token) {
case AreaAccessKey: return jsString(area.accessKey());
case AreaTabIndex: return jsNumber(area.tabIndex());
case AreaTarget: return jsString(area.target());
}
- return jsUndefined();
-}
-
-JSValue *JSHTMLElement::scriptGetter(ExecState* exec, int token) const
-{
- HTMLScriptElement& script = *static_cast<HTMLScriptElement*>(impl());
- switch (token) {
- case ScriptText: return jsString(script.text());
- case ScriptHtmlFor: return jsString(script.htmlFor());
- case ScriptEvent: return jsString(script.event());
- case ScriptCharset: return jsString(script.charset());
- case ScriptDefer: return jsBoolean(script.defer());
- case ScriptSrc: return jsString(script.src());
- case ScriptType: return jsString(script.type());
- }
- return jsUndefined();
-}
+#endif
JSValue *JSHTMLElement::tableGetter(ExecState* exec, int token) const
{
return jsUndefined();
}
}
- else if (element.hasLocalName(labelTag)) {
- HTMLLabelElement &label = static_cast<HTMLLabelElement &>(element);
- if (id == JSHTMLElement::LabelFocus) {
- label.focus();
- return jsUndefined();
- }
- }
- else if (element.hasLocalName(legendTag)) {
- HTMLLegendElement &legend = static_cast<HTMLLegendElement &>(element);
- if (id == JSHTMLElement::LegendFocus) {
- legend.focus();
- return jsUndefined();
- }
- }
else if (element.hasLocalName(tableTag)) {
HTMLTableElement &table = static_cast<HTMLTableElement &>(element);
if (id == JSHTMLElement::TableCreateTHead)
lookupPut<JSHTMLElement, JSElement>(exec, propertyName, value, attr, &HTMLElementTable, this);
}
-void JSHTMLElement::isIndexSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLIsIndexElement& isindex = *static_cast<HTMLIsIndexElement*>(impl());
- if (token == IsIndexPrompt)
- isindex.setPrompt(str);
-}
-
-void JSHTMLElement::bodySetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLBodyElement& body = *static_cast<HTMLBodyElement*>(impl());
- switch (token) {
- case BodyALink: { body.setALink(str); return; }
- case BodyBackground: { body.setBackground(str); return; }
- case BodyBgColor: { body.setBgColor(str); return; }
- case BodyLink: { body.setLink(str); return; }
- case BodyText: { body.setText(str); return; }
- case BodyVLink: { body.setVLink(str); return; }
- case BodyScrollLeft:
- case BodyScrollTop: {
- FrameView* sview = body.ownerDocument()->view();
- if (sview) {
- // Update the document's layout before we compute these attributes.
- body.document()->updateLayoutIgnorePendingStylesheets();
- if (token == BodyScrollLeft)
- sview->setContentsPos(value->toInt32(exec), sview->contentsY());
- else
- sview->setContentsPos(sview->contentsX(), value->toInt32(exec));
- }
- return;
- }
- }
-}
-
void JSHTMLElement::formSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
{
HTMLFormElement& form = *static_cast<HTMLFormElement*>(impl());
}
}
-void JSHTMLElement::labelSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLLabelElement& label = *static_cast<HTMLLabelElement*>(impl());
- switch (token) {
- // read-only: form
- case LabelAccessKey: { label.setAccessKey(str); return; }
- case LabelHtmlFor: { label.setHtmlFor(str); return; }
- }
-}
-
-void JSHTMLElement::fieldSetSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
-}
-
-void JSHTMLElement::legendSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLLegendElement& legend = *static_cast<HTMLLegendElement*>(impl());
- switch (token) {
- // read-only: form
- case LegendAccessKey: { legend.setAccessKey(str); return; }
- case LegendAlign: { legend.setAlign(str); return; }
- }
-}
-
-void JSHTMLElement::menuSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLMenuElement& menu = *static_cast<HTMLMenuElement*>(impl());
- if (token == MenuCompact)
- menu.setCompact(value->toBoolean(exec));
-}
-
-void JSHTMLElement::liSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLLIElement& li = *static_cast<HTMLLIElement*>(impl());
- switch (token) {
- case LIType: { li.setType(str); return; }
- case LIValue: { li.setValue(value->toInt32(exec)); return; }
- }
-}
-
-void JSHTMLElement::paragraphSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLParagraphElement& paragraph = *static_cast<HTMLParagraphElement*>(impl());
- if (token == ParagraphAlign)
- paragraph.setAlign(str);
-}
-
-void JSHTMLElement::headingSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLHeadingElement& heading = *static_cast<HTMLHeadingElement*>(impl());
- if (token == HeadingAlign)
- heading.setAlign(str);
-}
-
-void JSHTMLElement::blockQuoteSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLBlockquoteElement& blockQuote = *static_cast<HTMLBlockquoteElement*>(impl());
- if (token == BlockQuoteCite)
- blockQuote.setCite(str);
-}
-
-void JSHTMLElement::quoteSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLQuoteElement& quote = *static_cast<HTMLQuoteElement*>(impl());
- if (token == QuoteCite)
- quote.setCite(str);
-}
-
-void JSHTMLElement::preSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLPreElement& pre = *static_cast<HTMLPreElement*>(impl());
- if (token == PreWidth)
- pre.setWidth(value->toInt32(exec));
- else if (token == PreWrap)
- pre.setWrap(value->toBoolean(exec));
-}
-
-void JSHTMLElement::brSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLBRElement& br = *static_cast<HTMLBRElement*>(impl());
- if (token == BRClear)
- br.setClear(str);
-}
-
-void JSHTMLElement::baseFontSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLBaseFontElement& baseFont = *static_cast<HTMLBaseFontElement*>(impl());
- switch (token) {
- case BaseFontColor: { baseFont.setColor(str); return; }
- case BaseFontFace: { baseFont.setFace(str); return; }
- case BaseFontSize: { baseFont.setSize(str); return; }
- }
-}
-
-void JSHTMLElement::fontSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLFontElement& font = *static_cast<HTMLFontElement*>(impl());
- switch (token) {
- case FontColor: { font.setColor(str); return; }
- case FontFace: { font.setFace(str); return; }
- case FontSize: { font.setSize(str); return; }
- }
-}
-
-void JSHTMLElement::hrSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLHRElement& hr = *static_cast<HTMLHRElement*>(impl());
- switch (token) {
- case HRAlign: { hr.setAlign(str); return; }
- case HRNoShade: { hr.setNoShade(value->toBoolean(exec)); return; }
- case HRSize: { hr.setSize(str); return; }
- case HRWidth: { hr.setWidth(str); return; }
- }
-}
-
-void JSHTMLElement::modSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLModElement& mod = *static_cast<HTMLModElement*>(impl());
- switch (token) {
- case ModCite: { mod.setCite(str); return; }
- case ModDateTime: { mod.setDateTime(str); return; }
- }
-}
-
-void JSHTMLElement::imageSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLImageElement& image = *static_cast<HTMLImageElement*>(impl());
- switch (token) {
- case ImageName: { image.setName(str); return; }
- case ImageAlign: { image.setAlign(str); return; }
- case ImageAlt: { image.setAlt(str); return; }
- case ImageBorder: { image.setBorder(value->toInt32(exec)); return; }
- case ImageHeight: { image.setHeight(value->toInt32(exec)); return; }
- case ImageHspace: { image.setHspace(value->toInt32(exec)); return; }
- case ImageIsMap: { image.setIsMap(value->toBoolean(exec)); return; }
- case ImageLongDesc: { image.setLongDesc(str); return; }
- case ImageSrc: { image.setSrc(str); return; }
- case ImageUseMap: { image.setUseMap(str); return; }
- case ImageVspace: { image.setVspace(value->toInt32(exec)); return; }
- case ImageWidth: { image.setWidth(value->toInt32(exec)); return; }
- }
-}
-
void JSHTMLElement::objectSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
{
HTMLObjectElement& object = *static_cast<HTMLObjectElement*>(impl());
}
}
-void JSHTMLElement::paramSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLParamElement& param = *static_cast<HTMLParamElement*>(impl());
- switch (token) {
- case ParamName: { param.setName(str); return; }
- case ParamType: { param.setType(str); return; }
- case ParamValue: { param.setValue(str); return; }
- case ParamValueType: { param.setValueType(str); return; }
- }
-}
-
void JSHTMLElement::embedSetter(ExecState*, int token, JSValue*, const WebCore::String& str)
{
HTMLEmbedElement& embed = *static_cast<HTMLEmbedElement*>(impl());
}
}
-void JSHTMLElement::mapSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLMapElement& map = *static_cast<HTMLMapElement*>(impl());
- if (token == MapName)
- // read-only: areas
- map.setName(str);
-}
-
-void JSHTMLElement::areaSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLAreaElement& area = *static_cast<HTMLAreaElement*>(impl());
- switch (token) {
- case AreaAccessKey: { area.setAccessKey(str); return; }
- case AreaAlt: { area.setAlt(str); return; }
- case AreaCoords: { area.setCoords(str); return; }
- case AreaHref: { area.setHref(str); return; }
- case AreaNoHref: { area.setNoHref(value->toBoolean(exec)); return; }
- case AreaShape: { area.setShape(str); return; }
- case AreaTabIndex: { area.setTabIndex(value->toInt32(exec)); return; }
- case AreaTarget: { area.setTarget(str); return; }
- }
-}
-
-void JSHTMLElement::scriptSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
-{
- HTMLScriptElement& script = *static_cast<HTMLScriptElement*>(impl());
- switch (token) {
- case ScriptText: { script.setText(str); return; }
- case ScriptHtmlFor: { script.setHtmlFor(str); return; }
- case ScriptEvent: { script.setEvent(str); return; }
- case ScriptCharset: { script.setCharset(str); return; }
- case ScriptDefer: { script.setDefer(value->toBoolean(exec)); return; }
- case ScriptSrc: { script.setSrc(str); return; }
- case ScriptType: { script.setType(str); return; }
- }
-}
-
void JSHTMLElement::tableSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str)
{
HTMLTableElement& table = *static_cast<HTMLTableElement*>(impl());
virtual const ClassInfo* classInfo() const;
static const ClassInfo info;
- static const ClassInfo isIndex_info, body_info, form_info,
- select_info, optGroup_info, option_info, input_info, textArea_info,
- button_info, label_info, fieldSet_info, legend_info,
- menu_info, li_info, p_info, heading_info,
- blockQuote_info, q_info, pre_info, br_info, baseFont_info, font_info,
- hr_info, mod_info, img_info, object_info, param_info,
- embed_info, map_info, area_info, script_info, table_info,
- caption_info, col_info, tablesection_info, tr_info,
+ static const ClassInfo form_info,
+ select_info, option_info, input_info, object_info,
+ embed_info, table_info, caption_info, col_info, tablesection_info, tr_info,
tablecell_info, frameSet_info, frame_info, iFrame_info, marquee_info;
// FIXME: Might make sense to combine this with ClassInfo some day.
typedef void (JSHTMLElement::*SetterFunction)(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
struct Accessors { GetterFunction m_getter; SetterFunction m_setter; };
const Accessors* accessors() const;
- static const Accessors isIndex_accessors, body_accessors, form_accessors,
- select_accessors, optGroup_accessors, option_accessors, input_accessors, textArea_accessors,
- button_accessors, label_accessors, fieldSet_accessors, legend_accessors,
- menu_accessors, li_accessors, p_accessors, heading_accessors,
- blockQuote_accessors, q_accessors, pre_accessors, br_accessors, baseFont_accessors, font_accessors,
- hr_accessors, mod_accessors, img_accessors, object_accessors, param_accessors,
- embed_accessors, map_accessors, area_accessors, script_accessors, table_accessors,
+ static const Accessors form_accessors,
+ select_accessors, option_accessors, input_accessors, object_accessors, embed_accessors, table_accessors,
caption_accessors, col_accessors, tablesection_accessors, tr_accessors,
tablecell_accessors, frameSet_accessors, frame_accessors, iFrame_accessors, marquee_accessors;
- JSValue *isIndexGetter(ExecState* exec, int token) const;
- void isIndexSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *bodyGetter(ExecState* exec, int token) const;
- void bodySetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
JSValue *formGetter(ExecState* exec, int token) const;
void formSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
JSValue *selectGetter(ExecState* exec, int token) const;
void selectSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *labelGetter(ExecState* exec, int token) const;
- void labelSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *fieldSetGetter(ExecState* exec, int token) const;
- void fieldSetSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *legendGetter(ExecState* exec, int token) const;
- void legendSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *menuGetter(ExecState* exec, int token) const;
- void menuSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *liGetter(ExecState* exec, int token) const;
- void liSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *paragraphGetter(ExecState* exec, int token) const;
- void paragraphSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *headingGetter(ExecState* exec, int token) const;
- void headingSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *blockQuoteGetter(ExecState* exec, int token) const;
- void blockQuoteSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *quoteGetter(ExecState* exec, int token) const;
- void quoteSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *preGetter(ExecState* exec, int token) const;
- void preSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *brGetter(ExecState* exec, int token) const;
- void brSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *baseFontGetter(ExecState* exec, int token) const;
- void baseFontSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *fontGetter(ExecState* exec, int token) const;
- void fontSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *hrGetter(ExecState* exec, int token) const;
- void hrSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *modGetter(ExecState* exec, int token) const;
- void modSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *imageGetter(ExecState* exec, int token) const;
- void imageSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
JSValue *objectGetter(ExecState* exec, int token) const;
void objectSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *paramGetter(ExecState* exec, int token) const;
- void paramSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
JSValue *embedGetter(ExecState*, int token) const;
void embedSetter(ExecState*, int token, JSValue*, const WebCore::String&);
- JSValue *mapGetter(ExecState* exec, int token) const;
- void mapSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *areaGetter(ExecState* exec, int token) const;
- void areaSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- JSValue *scriptGetter(ExecState* exec, int token) const;
- void scriptSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
JSValue *tableGetter(ExecState* exec, int token) const;
void tableSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
JSValue *tableCaptionGetter(ExecState* exec, int token) const;
JSValue *marqueeGetter(ExecState* exec, int token) const;
void marqueeSetter(ExecState *exec, int token, JSValue *value, const WebCore::String& str);
- enum { IsIndexForm, IsIndexPrompt, BodyBackground, BodyVLink, BodyText,
- BodyLink, BodyALink, BodyBgColor, BodyScrollLeft, BodyScrollTop, BodyScrollHeight, BodyScrollWidth,
+ enum {
FormAction, FormEncType, FormElements, FormLength, FormAcceptCharset,
FormReset, FormTarget, FormName, FormMethod, FormSubmit, SelectAdd,
SelectTabIndex, SelectValue, SelectSelectedIndex, SelectLength,
SelectRemove, SelectForm, SelectBlur, SelectType, SelectOptions,
SelectDisabled, SelectMultiple, SelectName, SelectSize, SelectFocus,
- LabelHtmlFor,
- LabelForm, LabelFocus, LabelAccessKey, FieldSetForm, LegendForm, LegendAccessKey,
- LegendAlign, LegendFocus, MenuCompact, LIType,
- LIValue, ParagraphAlign, HeadingAlign, BlockQuoteCite,
- QuoteCite, PreWidth, PreWrap, BRClear, BaseFontColor, BaseFontSize,
- BaseFontFace, FontColor, FontSize, FontFace, HRWidth, HRNoShade,
- HRAlign, HRSize, ModCite, ModDateTime,
- ImageName, ImageAlign, ImageHspace, ImageVspace, ImageUseMap, ImageAlt,
- ImageLowSrc, ImageWidth, ImageIsMap, ImageBorder, ImageHeight, ImageComplete,
- ImageLongDesc, ImageSrc, ImageX, ImageY, ObjectHspace, ObjectHeight, ObjectAlign,
+ ObjectHspace, ObjectHeight, ObjectAlign,
ObjectBorder, ObjectCode, ObjectType, ObjectVspace, ObjectArchive,
ObjectDeclare, ObjectForm, ObjectCodeBase, ObjectCodeType, ObjectData,
ObjectName, ObjectStandby, ObjectTabIndex, ObjectUseMap, ObjectWidth, ObjectContentDocument,
- ParamName, ParamType, ParamValueType, ParamValue,
EmbedAlign, EmbedHeight, EmbedName, EmbedSrc, EmbedType, EmbedWidth,
- MapAreas, MapName, AreaHash, AreaHref, AreaTarget, AreaPort, AreaShape,
- AreaCoords, AreaAlt, AreaAccessKey, AreaNoHref, AreaHost, AreaProtocol,
- AreaHostName, AreaPathName, AreaSearch, AreaTabIndex, ScriptEvent,
- ScriptType, ScriptHtmlFor, ScriptText, ScriptSrc, ScriptCharset,
- ScriptDefer, TableSummary, TableTBodies, TableTHead, TableCellPadding,
+ TableSummary, TableTBodies, TableTHead, TableCellPadding,
TableDeleteCaption, TableCreateCaption, TableCaption, TableWidth,
TableCreateTFoot, TableAlign, TableTFoot, TableDeleteRow,
TableCellSpacing, TableRows, TableBgColor, TableBorder, TableFrame,
$implIncludes{"kjs_html.h"} = 1;
$implIncludes{"HTMLFormElement.h"} = 1;
return "toJS(exec, $value)";
+ } elsif ($type eq "HTMLCollection") {
+ $implIncludes{"kjs_html.h"} = 1;
+ $implIncludes{"HTMLCollection.h"} = 1;
+ return "getHTMLCollection(exec, $value.get())";
} else {
$implIncludes{"JS$type.h"} = 1;
return "toJS(exec, $value)";
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLAreaElement : HTMLElement {
+ attribute DOMString accessKey;
+ attribute DOMString alt;
+ attribute DOMString coords;
+ attribute DOMString href;
+ attribute boolean noHref;
+ attribute DOMString shape;
+ attribute long tabIndex;
+ attribute DOMString target;
+
+ // IE Extensions
+ readonly attribute DOMString hash;
+ readonly attribute DOMString host;
+ readonly attribute DOMString hostname;
+ readonly attribute DOMString pathname;
+ readonly attribute DOMString port;
+ readonly attribute DOMString protocol;
+ readonly attribute DOMString search;
+ };
+
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLBRElement : HTMLElement {
+ attribute DOMString clear;
+ };
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLBaseFontElement : HTMLElement {
+ attribute DOMString color;
+ attribute DOMString face;
+
+ // FIXME: According to the DOM spec, this should be long instead of DOMString
+ // see http://bugzilla.opendarwin.org/show_bug.cgi?id=8992
+ attribute DOMString size;
+ };
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLBlockquoteElement : HTMLElement {
+ attribute DOMString cite;
+ };
+}
setAttribute(vlinkAttr, value);
}
+int HTMLBodyElement::scrollLeft() const
+{
+ // Update the document's layout.
+ Document* doc = document();
+ doc->updateLayoutIgnorePendingStylesheets();
+ FrameView* view = doc->view();
+
+ return view ? view->contentsX() : 0;
+}
+
+void HTMLBodyElement::setScrollLeft(int scrollLeft)
+{
+ FrameView* sview = ownerDocument()->view();
+ if (sview) {
+ // Update the document's layout
+ document()->updateLayoutIgnorePendingStylesheets();
+ sview->setContentsPos(scrollLeft, sview->contentsY());
+ }
+}
+
+int HTMLBodyElement::scrollTop() const
+{
+ // Update the document's layout.
+ Document* doc = document();
+ doc->updateLayoutIgnorePendingStylesheets();
+ FrameView* view = doc->view();
+
+ return view ? view->contentsY() : 0;
+}
+
+void HTMLBodyElement::setScrollTop(int scrollTop)
+{
+ FrameView* sview = ownerDocument()->view();
+ if (sview) {
+ // Update the document's layout
+ document()->updateLayoutIgnorePendingStylesheets();
+ sview->setContentsPos(sview->contentsX(), scrollTop);
+ }
+}
+
+int HTMLBodyElement::scrollHeight() const
+{
+ // Update the document's layout.
+ Document* doc = document();
+ doc->updateLayoutIgnorePendingStylesheets();
+ FrameView* view = doc->view();
+
+ return view ? view->contentsHeight() : 0;
+}
+
+int HTMLBodyElement::scrollWidth() const
+{
+ // Update the document's layout.
+ Document* doc = document();
+ doc->updateLayoutIgnorePendingStylesheets();
+ FrameView* view = doc->view();
+
+ return view ? view->contentsWidth() : 0;
+}
+
}
String vLink() const;
void setVLink(const String&);
+ int scrollLeft() const;
+ void setScrollLeft(int scrollLeft);
+
+ int scrollTop() const;
+ void setScrollTop(int scrollTop);
+
+ int scrollHeight() const;
+ int scrollWidth() const;
+
protected:
RefPtr<CSSMutableStyleDeclaration> m_linkDecl;
};
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLBodyElement : HTMLElement {
+ attribute DOMString aLink;
+ attribute DOMString background;
+ attribute DOMString bgColor;
+ attribute DOMString link;
+ attribute DOMString text;
+ attribute DOMString vLink;
+
+ // IE Extensions
+ attribute long scrollLeft;
+ attribute long scrollTop;
+ readonly attribute long scrollWidth;
+ readonly attribute long scrollHeight;
+ };
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLFieldSetElement : HTMLElement {
+ readonly attribute HTMLFormElement form;
+ };
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLFontElement : HTMLElement {
+ attribute DOMString color;
+ attribute DOMString face;
+ attribute DOMString size;
+ };
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLHRElement : HTMLElement {
+ attribute DOMString align;
+ attribute boolean noShade;
+ attribute DOMString size;
+ attribute DOMString width;
+ };
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLHeadingElement : HTMLElement {
+ attribute DOMString align;
+ };
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLImageElement : HTMLElement {
+ attribute DOMString name;
+ attribute DOMString align;
+ attribute DOMString alt;
+ // FIXME: According to the DOM spec border should be of type DOMString
+ // see http://bugzilla.opendarwin.org/show_bug.cgi?id=8992
+ attribute long border;
+ attribute long height;
+ attribute long hspace;
+ attribute boolean isMap;
+ attribute DOMString longDesc;
+ attribute DOMString src;
+ attribute DOMString useMap;
+ attribute long vspace;
+ attribute long width;
+
+ // Extensions
+ readonly attribute boolean complete;
+ readonly attribute long x;
+ readonly attribute long y;
+ };
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLIsIndexElement : HTMLElement {
+ readonly attribute HTMLFormElement form;
+ attribute DOMString prompt;
+ };
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLLIElement : HTMLElement {
+ attribute DOMString type;
+ attribute long value;
+ };
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLLabelElement : HTMLElement {
+ readonly attribute HTMLFormElement form;
+ attribute DOMString accessKey;
+ attribute DOMString htmlFor;
+ void focus();
+ };
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLLegendElement : HTMLElement {
+ readonly attribute HTMLFormElement form;
+ attribute DOMString accessKey;
+ attribute DOMString align;
+ void focus();
+ };
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLMapElement : HTMLElement {
+ readonly attribute HTMLCollection areas;
+ attribute DOMString name;
+ };
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLMenuElement : HTMLElement {
+ attribute boolean compact;
+ };
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLModElement : HTMLElement {
+ attribute DOMString cite;
+ attribute DOMString dateTime;
+ };
+
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLParagraphElement : HTMLElement {
+ attribute DOMString align;
+ };
+
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLParamElement : HTMLElement {
+ attribute DOMString name;
+ attribute DOMString type;
+ attribute DOMString value;
+ attribute DOMString valueType;
+ };
+
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLPreElement : HTMLElement {
+ // FIXME: DOM spec says that width should be of type DOMString
+ // see http://bugzilla.opendarwin.org/show_bug.cgi?id=8992
+ attribute long width;
+
+ // Extensions
+ attribute boolean wrap;
+ };
+
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLQuoteElement : HTMLElement {
+ attribute DOMString cite;
+ };
+}
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+module html {
+
+ interface [LegacyParent=KJS::JSHTMLElement] HTMLScriptElement : HTMLElement {
+ attribute DOMString text;
+ attribute DOMString htmlFor;
+ attribute DOMString event;
+ attribute DOMString charset;
+ attribute boolean defer;
+ attribute DOMString src;
+ attribute DOMString type;
+ };
+}