Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

WebKit DOM Reference

The WebKit Document Object Model is an interface for accessing and modifying the elements within a webpage. WebKit DOM Reference documents the DOM classes that WebKit implements. This document contains classes from the WebKit Open Source Project.

Some of the DOM classes referenced in this document are not present in the WebKit framework in Mac OS X v10.5. To try the latest DOM features, download a nightly build from http://nightly.webkit.org/.

Important: This is a preliminary document for an API in development. Although this document has been reviewed for technical accuracy, it is not final. Apple is supplying this information to help you plan for the adoption of the technologies and programming interfaces described herein. This information is subject to change, and software implemented according to this document should be tested with final operating system software and final documentation. Newer versions of this document may be provided with future seeds of the API. For information about updates to this and other developer documentation, view the New & Updated sidebars in subsequent seeds of the Reference Library.


core  |  css  |  events  |  html  |  ranges  |  storage  |  stylesheets  |  svg  |  traversal  |  views  |  window  |  xml  |  xpath

Headers

A | B | C | D | E | H-HI | HT-HZ | I-IG | IW-IZ | K | M | N | O | P | R | S-ST | SV-SZ | T | U | V | W | X
AbstractView.idl
Attr.idl
BarInfo.idl
CanvasGradient.idl
CanvasPattern.idl
CanvasRenderingContext2D.idl
CDATASection.idl
CharacterData.idl
Comment.idl
Console.idl
Counter.idl
CSSCharsetRule.idl
CSSFontFaceRule.idl
CSSImportRule.idl
CSSMediaRule.idl
CSSPageRule.idl
CSSPrimitiveValue.idl
CSSRule.idl
CSSRuleList.idl
CSSStyleDeclaration.idl
CSSStyleRule.idl
CSSStyleSheet.idl
CSSUnknownRule.idl
CSSValue.idl
CSSValueList.idl
Database.idl
Document.idl
DocumentFragment.idl
DocumentType.idl
DOMCore.idl
DOMCoreException.idl
DOMCSS.idl
DOMEvents.idl
DOMExtensions.idl
DOMHTML.idl
DOMImplementation.idl
DOMParser.idl
DOMPrivate.idl
DOMRange.idl
DOMSelection.idl
DOMWindow.idl
Element.idl
Entity.idl
EntityReference.idl
Event.idl
EventException.idl
EventListener.idl
EventTarget.idl
History.idl
HTMLAnchorElement.idl
HTMLAppletElement.idl
HTMLAreaElement.idl
HTMLAudioElement.idl
HTMLBaseElement.idl
HTMLBaseFontElement.idl
HTMLBlockquoteElement.idl
HTMLBodyElement.idl
HTMLBRElement.idl
HTMLButtonElement.idl
HTMLCanvasElement.idl
HTMLCollection.idl
HTMLDirectoryElement.idl
HTMLDivElement.idl
HTMLDListElement.idl
HTMLDocument.idl
HTMLElement.idl
HTMLEmbedElement.idl
HTMLFieldSetElement.idl
HTMLFontElement.idl
HTMLFormElement.idl
HTMLFrameElement.idl
HTMLFrameSetElement.idl
HTMLHeadElement.idl
HTMLHeadingElement.idl
HTMLHRElement.idl
HTMLHtmlElement.idl
HTMLIFrameElement.idl
HTMLImageElement.idl
HTMLInputElement.idl
HTMLIsIndexElement.idl
HTMLLabelElement.idl
HTMLLegendElement.idl
HTMLLIElement.idl
HTMLLinkElement.idl
HTMLMapElement.idl
HTMLMarqueeElement.idl
HTMLMediaElement.idl
HTMLMenuElement.idl
HTMLMetaElement.idl
HTMLModElement.idl
HTMLObjectElement.idl
HTMLOListElement.idl
HTMLOptGroupElement.idl
HTMLOptionElement.idl
HTMLOptionsCollection.idl
HTMLParagraphElement.idl
HTMLParamElement.idl
HTMLPreElement.idl
HTMLQuoteElement.idl
HTMLScriptElement.idl
HTMLSelectElement.idl
HTMLSourceElement.idl
HTMLStyleElement.idl
HTMLTableCaptionElement.idl
HTMLTableCellElement.idl
HTMLTableColElement.idl
HTMLTableElement.idl
HTMLTableRowElement.idl
HTMLTableSectionElement.idl
HTMLTextAreaElement.idl
HTMLTitleElement.idl
HTMLUListElement.idl
HTMLVideoElement.idl
IGEN_DOMObject.idl
IWebArchive.idl
IWebBackForwardList.idl
IWebBackForwardListPrivate.idl
IWebCache.idl
IWebDatabaseManager.idl
IWebDataSource.idl
IWebDocument.idl
IWebDownload.idl
IWebEditingDelegate.idl
IWebError.idl
IWebErrorPrivate.idl
IWebFormDelegate.idl
IWebFrame.idl
IWebFrameLoadDelegate.idl
IWebFrameLoadDelegatePrivate.idl
IWebFramePrivate.idl
IWebFrameView.idl
IWebHistory.idl
IWebHistoryItem.idl
IWebHistoryItemPrivate.idl
IWebHTMLRepresentation.idl
IWebHTTPURLResponse.idl
IWebIconDatabase.idl
IWebInspector.idl
IWebJavaScriptCollector.idl
IWebKitStatistics.idl
IWebMutableURLRequest.idl
IWebMutableURLRequestPrivate.idl
IWebNotification.idl
IWebNotificationCenter.idl
IWebNotificationObserver.idl
IWebPolicyDelegate.idl
IWebPreferences.idl
IWebPreferencesPrivate.idl
IWebResource.idl
IWebResourceLoadDelegate.idl
IWebResourceLoadDelegatePrivate.idl
IWebScriptCallFrame.idl
IWebScriptDebugListener.idl
IWebScriptDebugServer.idl
IWebScriptObject.idl
IWebScriptScope.idl
IWebScrollBarDelegatePrivate.idl
IWebScrollBarPrivate.idl
IWebSecurityOrigin.idl
IWebTextRenderer.idl
IWebUIDelegate.idl
IWebUIDelegatePrivate.idl
IWebUndoManager.idl
IWebUndoTarget.idl
IWebURLAuthenticationChallenge.idl
IWebURLRequest.idl
IWebURLResponse.idl
IWebURLResponsePrivate.idl
IWebView.idl
IWebViewPrivate.idl
KeyboardEvent.idl
MediaError.idl
MediaList.idl
MessageEvent.idl
MouseEvent.idl
MutationEvent.idl
NamedNodeMap.idl
Node.idl
NodeFilter.idl
NodeIterator.idl
NodeList.idl
Notation.idl
OverflowEvent.idl
ProcessingInstruction.idl
ProgressEvent.idl
Range.idl
RangeException.idl
Rect.idl
RGBColor.idl
Screen.idl
SQLError.idl
SQLResultSet.idl
SQLResultSetRowList.idl
SQLStatementCallback.idl
SQLStatementErrorCallback.idl
SQLTransaction.idl
SQLTransactionCallback.idl
SQLTransactionErrorCallback.idl
StyleSheet.idl
StyleSheetList.idl
SVGAElement.idl
SVGAngle.idl
SVGAnimateColorElement.idl
SVGAnimatedAngle.idl
SVGAnimatedBoolean.idl
SVGAnimatedEnumeration.idl
SVGAnimatedInteger.idl
SVGAnimatedLength.idl
SVGAnimatedLengthList.idl
SVGAnimatedNumber.idl
SVGAnimatedNumberList.idl
SVGAnimatedPathData.idl
SVGAnimatedPoints.idl
SVGAnimatedPreserveAspectRatio.idl
SVGAnimatedRect.idl
SVGAnimatedString.idl
SVGAnimatedTransformList.idl
SVGAnimateElement.idl
SVGAnimateTransformElement.idl
SVGAnimationElement.idl
SVGCircleElement.idl
SVGClipPathElement.idl
SVGColor.idl
SVGComponentTransferFunctionElement.idl
SVGCursorElement.idl
SVGDefinitionSrcElement.idl
SVGDefsElement.idl
SVGDescElement.idl
SVGDocument.idl
SVGElement.idl
SVGElementInstance.idl
SVGElementInstanceList.idl
SVGEllipseElement.idl
SVGException.idl
SVGExternalResourcesRequired.idl
SVGFEBlendElement.idl
SVGFEColorMatrixElement.idl
SVGFEComponentTransferElement.idl
SVGFECompositeElement.idl
SVGFEDiffuseLightingElement.idl
SVGFEDisplacementMapElement.idl
SVGFEDistantLightElement.idl
SVGFEFloodElement.idl
SVGFEFuncAElement.idl
SVGFEFuncBElement.idl
SVGFEFuncGElement.idl
SVGFEFuncRElement.idl
SVGFEGaussianBlurElement.idl
SVGFEImageElement.idl
SVGFEMergeElement.idl
SVGFEMergeNodeElement.idl
SVGFEOffsetElement.idl
SVGFEPointLightElement.idl
SVGFESpecularLightingElement.idl
SVGFESpotLightElement.idl
SVGFETileElement.idl
SVGFETurbulenceElement.idl
SVGFilterElement.idl
SVGFilterPrimitiveStandardAttributes.idl
SVGFitToViewBox.idl
SVGFontElement.idl
SVGFontFaceElement.idl
SVGFontFaceFormatElement.idl
SVGFontFaceNameElement.idl
SVGFontFaceSrcElement.idl
SVGFontFaceUriElement.idl
SVGForeignObjectElement.idl
SVGGElement.idl
SVGGlyphElement.idl
SVGGradientElement.idl
SVGImageElement.idl
SVGLangSpace.idl
SVGLength.idl
SVGLengthList.idl
SVGLinearGradientElement.idl
SVGLineElement.idl
SVGLocatable.idl
SVGMarkerElement.idl
SVGMaskElement.idl
SVGMatrix.idl
SVGMetadataElement.idl
SVGMissingGlyphElement.idl
SVGNumber.idl
SVGNumberList.idl
SVGPaint.idl
SVGPathElement.idl
SVGPathSeg.idl
SVGPathSegArcAbs.idl
SVGPathSegArcRel.idl
SVGPathSegClosePath.idl
SVGPathSegCurvetoCubicAbs.idl
SVGPathSegCurvetoCubicRel.idl
SVGPathSegCurvetoCubicSmoothAbs.idl
SVGPathSegCurvetoCubicSmoothRel.idl
SVGPathSegCurvetoQuadraticAbs.idl
SVGPathSegCurvetoQuadraticRel.idl
SVGPathSegCurvetoQuadraticSmoothAbs.idl
SVGPathSegCurvetoQuadraticSmoothRel.idl
SVGPathSegLinetoAbs.idl
SVGPathSegLinetoHorizontalAbs.idl
SVGPathSegLinetoHorizontalRel.idl
SVGPathSegLinetoRel.idl
SVGPathSegLinetoVerticalAbs.idl
SVGPathSegLinetoVerticalRel.idl
SVGPathSegList.idl
SVGPathSegMovetoAbs.idl
SVGPathSegMovetoRel.idl
SVGPatternElement.idl
SVGPoint.idl
SVGPointList.idl
SVGPolygonElement.idl
SVGPolylineElement.idl
SVGPreserveAspectRatio.idl
SVGRadialGradientElement.idl
SVGRect.idl
SVGRectElement.idl
SVGRenderingIntent.idl
SVGScriptElement.idl
SVGSetElement.idl
SVGStopElement.idl
SVGStringList.idl
SVGStylable.idl
SVGStyleElement.idl
SVGSVGElement.idl
SVGSwitchElement.idl
SVGSymbolElement.idl
SVGTests.idl
SVGTextContentElement.idl
SVGTextElement.idl
SVGTextPathElement.idl
SVGTextPositioningElement.idl
SVGTitleElement.idl
SVGTransform.idl
SVGTransformable.idl
SVGTransformList.idl
SVGTRefElement.idl
SVGTSpanElement.idl
SVGUnitTypes.idl
SVGURIReference.idl
SVGUseElement.idl
SVGViewElement.idl
SVGViewSpec.idl
SVGZoomAndPan.idl
SVGZoomEvent.idl
Text.idl
TextEvent.idl
TimeRanges.idl
TreeWalker.idl
UIEvent.idl
VoidCallback.idl
WheelEvent.idl
XMLHttpRequestException.idl
XMLSerializer.idl
XPathEvaluator.idl
XPathException.idl
XPathExpression.idl
XPathNSResolver.idl
XPathResult.idl

Classes

I-ID | IE-IE | IF-IF | IG-IG | IW-IZ
IDOMAttr
IDOMCDATASection
IDOMCharacterData
IDOMComment
IDOMCSSRule
IDOMCSSRuleList
IDOMCSSStyleDeclaration
IDOMCSSStyleSheet
IDOMCSSValue
IDOMDocument
IDOMDocumentEvent
IDOMDocumentFragment
IDOMDocumentType
IDOMElement
IDOMElementCSSInlineStyle
IDOMElementExtensions
IDOMElementPrivate
IDOMEntityReference
IDOMEvent
IDOMEventListener
IDOMEventTarget
IDOMHTMLCollection
IDOMHTMLDocument
IDOMHTMLElement
IDOMHTMLFormElement
IDOMHTMLInputElement
IDOMHTMLOptionElement
IDOMHTMLOptionsCollection
IDOMHTMLSelectElement
IDOMHTMLTextAreaElement
IDOMImplementation
IDOMKeyboardEvent
IDOMMouseEvent
IDOMMutationEvent
IDOMNamedNodeMap
IDOMNode
IDOMNodeExtensions
IDOMNodeList
IDOMObject
IDOMOverflowEvent
IDOMProcessingInstruction
IDOMRange
IDOMText
IDOMUIEvent
IDOMViewCSS
IDOMWheelEvent
IDOMWindow
IEnumSpellingGuesses
IEnumTextMatches
IEnumWebGrammarDetails
IFormPromptAdditions
IFormsAutoFillTransition
IFormsAutoFillTransitionSelect
IGEN_DOMObject
IWebArchive
IWebBackForwardList
IWebBackForwardListPrivate
IWebCache
IWebDatabaseManager
IWebDataSource
IWebDataSourcePrivate
IWebDocumentRepresentation
IWebDocumentSearching
IWebDocumentText
IWebDocumentView
IWebDownload
IWebDownloadDelegate
IWebEditingDelegate
IWebError
IWebErrorPrivate
IWebFormDelegate
IWebFormDelegate
IWebFormSubmissionListener
IWebFormSubmissionListener
IWebFrame
IWebFrameLoadDelegate2
IWebFrameLoadDelegatePrivate
IWebFramePrivate
IWebFrameView
IWebGrammarDetail
IWebHistory
IWebHistory
IWebHistoryItem
IWebHistoryItem
IWebHistoryItemPrivate
IWebHTMLRepresentation
IWebHTMLRepresentation
IWebHTTPURLResponse
IWebIBActions
IWebIconDatabase
IWebIconDatabase
IWebInspector
IWebInvocation
IWebJavaScriptCollector
IWebKitStatistics
IWebMethodSignature
IWebMutableURLRequest
IWebMutableURLRequestPrivate
IWebNotification
IWebNotificationCenter
IWebNotificationObserver
IWebOpenPanelResultListener
IWebPolicyDecisionListener
IWebPolicyDecisionListener
IWebPreferences
IWebPreferencesPrivate
IWebResource
IWebResource
IWebScriptCallFrame
IWebScriptDebugListener
IWebScriptDebugServer
IWebScriptObject
IWebScriptObject
IWebScriptScope
IWebScrollBarDelegatePrivate
IWebScrollBarPrivate
IWebSecurityOrigin
IWebTextRenderer
IWebUIDelegatePrivate
IWebUIDelegatePrivate2
IWebUIDelegatePrivate3
IWebUndoManager
IWebUndoTarget
IWebURLAuthenticationChallenge
IWebURLAuthenticationChallengeSender
IWebURLCredential
IWebURLProtectionSpace
IWebURLRequest
IWebURLResponse
IWebURLResponsePrivate
IWebView
IWebViewCSS
IWebViewEditing
IWebViewEditingActions
IWebViewPrivate
IWebViewUndoableEditing

core

Attr
CDATASection
CharacterData
Comment
Document
DocumentFragment
DocumentType
DOMCoreException
DOMImplementation
Element
Entity
EntityReference
NamedNodeMap
Node
NodeList
Notation
ProcessingInstruction
Text

css

Counter
CSSCharsetRule
CSSFontFaceRule
CSSImportRule
CSSMediaRule
CSSPageRule
CSSPrimitiveValue
CSSRule
CSSRuleList
CSSStyleDeclaration
CSSStyleRule
CSSStyleSheet
CSSUnknownRule
CSSValue
CSSValueList
Rect
RGBColor

events

Event
EventException
EventListener
EventTarget
KeyboardEvent
MessageEvent
MouseEvent
MutationEvent
OverflowEvent
ProgressEvent
TextEvent
UIEvent
WheelEvent

html

CanvasGradient
CanvasPattern
CanvasRenderingContext2D
HTMLAnchorElement
HTMLAppletElement
HTMLAreaElement
HTMLAudioElement
HTMLBaseElement
HTMLBaseFontElement
HTMLBlockquoteElement
HTMLBodyElement
HTMLBRElement
HTMLButtonElement
HTMLCanvasElement
HTMLCollection
HTMLDirectoryElement
HTMLDivElement
HTMLDListElement
HTMLDocument
HTMLElement
HTMLEmbedElement
HTMLFieldSetElement
HTMLFontElement
HTMLFormElement
HTMLFrameElement
HTMLFrameSetElement
HTMLHeadElement
HTMLHeadingElement
HTMLHRElement
HTMLHtmlElement
HTMLIFrameElement
HTMLImageElement
HTMLInputElement
HTMLIsIndexElement
HTMLLabelElement
HTMLLegendElement
HTMLLIElement
HTMLLinkElement
HTMLMapElement
HTMLMarqueeElement
HTMLMediaElement
HTMLMenuElement
HTMLMetaElement
HTMLModElement
HTMLObjectElement
HTMLOListElement
HTMLOptGroupElement
HTMLOptionElement
HTMLOptionsCollection
HTMLParagraphElement
HTMLParamElement
HTMLPreElement
HTMLQuoteElement
HTMLScriptElement
HTMLSelectElement
HTMLSourceElement
HTMLStyleElement
HTMLTableCaptionElement
HTMLTableCellElement
HTMLTableColElement
HTMLTableElement
HTMLTableRowElement
HTMLTableSectionElement
HTMLTextAreaElement
HTMLTitleElement
HTMLUListElement
HTMLVideoElement
MediaError
TimeRanges
VoidCallback

ranges

Range
RangeException

storage

Database
SQLError
SQLResultSet
SQLResultSetRowList
SQLStatementCallback
SQLStatementErrorCallback
SQLTransaction
SQLTransactionCallback
SQLTransactionErrorCallback

stylesheets

MediaList
StyleSheet
StyleSheetList

svg

SVGAElement
SVGAngle
SVGAnimateColorElement
SVGAnimatedAngle
SVGAnimatedBoolean
SVGAnimatedEnumeration
SVGAnimatedInteger
SVGAnimatedLength
SVGAnimatedLengthList
SVGAnimatedNumber
SVGAnimatedNumberList
SVGAnimatedPathData
SVGAnimatedPoints
SVGAnimatedPreserveAspectRatio
SVGAnimatedRect
SVGAnimatedString
SVGAnimatedTransformList
SVGAnimateElement
SVGAnimateTransformElement
SVGAnimationElement
SVGCircleElement
SVGClipPathElement
SVGColor
SVGComponentTransferFunctionElement
SVGCursorElement
SVGDefinitionSrcElement
SVGDefsElement
SVGDescElement
SVGDocument
SVGElement
SVGElementInstance
SVGElementInstanceList
SVGEllipseElement
SVGException
SVGExternalResourcesRequired
SVGFEBlendElement
SVGFEColorMatrixElement
SVGFEComponentTransferElement
SVGFECompositeElement
SVGFEDiffuseLightingElement
SVGFEDisplacementMapElement
SVGFEDistantLightElement
SVGFEFloodElement
SVGFEFuncAElement
SVGFEFuncBElement
SVGFEFuncGElement
SVGFEFuncRElement
SVGFEGaussianBlurElement
SVGFEImageElement
SVGFEMergeElement
SVGFEMergeNodeElement
SVGFEOffsetElement
SVGFEPointLightElement
SVGFESpecularLightingElement
SVGFESpotLightElement
SVGFETileElement
SVGFETurbulenceElement
SVGFilterElement
SVGFilterPrimitiveStandardAttributes
SVGFitToViewBox
SVGFontElement
SVGFontFaceElement
SVGFontFaceFormatElement
SVGFontFaceNameElement
SVGFontFaceSrcElement
SVGFontFaceUriElement
SVGForeignObjectElement
SVGGElement
SVGGlyphElement
SVGGradientElement
SVGImageElement
SVGLangSpace
SVGLength
SVGLengthList
SVGLinearGradientElement
SVGLineElement
SVGLocatable
SVGMarkerElement
SVGMaskElement
SVGMatrix
SVGMetadataElement
SVGMissingGlyphElement
SVGNumber
SVGNumberList
SVGPaint
SVGPathElement
SVGPathSeg
SVGPathSegArcAbs
SVGPathSegArcRel
SVGPathSegClosePath
SVGPathSegCurvetoCubicAbs
SVGPathSegCurvetoCubicRel
SVGPathSegCurvetoCubicSmoothAbs