Table of contents
- 1. Preface
- 2. Introduction
- 3. DOM Object References
- 3.1. DOM document Reference
- 3.2. DOM element Reference
- 3.3. DOM event Reference
- 3.4. DOM range Reference
- 3.5. DOM selection Reference
- 3.6. DOM style Reference
- 3.7. DOM window Reference
- 3.8. DOM Files
- 4. DOM - Other Objects
- 5. HTML interfaces
- 6. SVG interfaces
- 6.1. SVG element interfaces
- 6.2. SVG data type interfaces
- 6.2.1. Static type
- 6.2.2. Animated type
- 6.3. SVG Path segment interfaces
- 6.4. SMIL related interfaces
- 6.5. Other SVG interfaces
- 7. DOM Examples
This is the table of contents for the Gecko DOM reference.
DOM Object References
DOM event Reference
(with subclasses UIEvent, KeyboardEvent, MouseEvent, TouchEvent)
DOM Files
DOM - Other Objects
AttrCDATASectionCharacterDataCommentconsoleRequires Gecko 2.0DocumentFragmentDocumentTypeDomConfigurationUnimplementedDOMErrorDOMErrorHandlerUnimplementedDOMExceptionDOMImplementationDOMImplementationListDOMImplementationRegistryDOMImplementationSourceDOMLocatorUnimplementedDOMObjectDOMStringDOMStringListUnimplementedDOMTimeStampDOMUserDataEntityUnimplementedEntityReferenceUnimplementedMediaQueryListMediaQueryListListenerNameListUnimplementedNamedNodeMapNodeNodeFilterNodeIteratorRequires Gecko 1.9.1NodeListNotationUnimplementedPluginPluginArrayProcessingInstructionSharedWorkerUnimplementedTextTimeRangesRequires Gecko 2.0TreewalkerTypeInfoUnimplementedUserDataHandlerWorkerNew in Firefox 3.5WorkerGlobalScopeNew in Firefox 3.5
HTML interfaces
HTMLDocument
(see also document
)
HTML element interfaces
HTMLElement, directly implemented by:<dd>,<dt>,<tt>,<i>,<b>,<u>,<s>,<strike>,<big>,<small>,<em>,<strong>,<dfn>,<code>,<samp>,<kbd>,<var>,<cite>,<acronym>,<abbr>,<sub>,<sup>,<bdo>,<center>,<address>,<noframes>,<wbr>,<noscript>,<noembed>,<header>,<footer>,<article>,<aside>,<section>,<nav>,<figure>,<figcaption>,<mark>,<ruby>,<rt>,<rp>HTMLAnchorElement, implemented by:<a>HTMLAppletElement, implemented by:<applet>HTMLAudioElement, implemented by:<audio>HTMLAreaElement, implemented by:<area>HTMLBaseElement, implemented by:<base>HTMLBaseFontElement, implemented by:<basefont>HTMLBodyElement, implemented by:<body>HTMLBRElement, implemented by:<br>HTMLButtonElement, implemented by:<button>HTMLCanvasElement, implemented by:<canvas>HTMLDirectoryElement, implemented by:<dir>HTMLDivElement, implemented by:<div>HTMLDListElement, implemented by:<dl>HTMLEmbedElement, implemented by:<embed>HTMLFieldSetElement, implemented by:<fieldset>HTMLFontElement, implemented by:<font>HTMLFormElement, implemented by:<form>HTMLFrameElement, implemented by:<frame>HTMLFrameSetElement, implemented by:<frameset>HTMLHeadElement, implemented by:<head>HTMLHeadingElement, implemented by:<h1>,<h2>,<h3>,<h4>,<h5>,<h6>HTMLHtmlElement, implemented by:<html>HTMLHRElement, implemented by:<hr>HTMLIFrameElement, implemented by:<iframe>HTMLImageElement, implemented by:<img>HTMLInputElement, implemented by:<input>HTMLKeygenElement, implemented by:<keygen>HTMLLabelElement, implemented by:<label>HTMLLIElement, implemented by:<li>HTMLLinkElement, implemented by:<link>HTMLMapElement, implemented by:<map>HTMLMenuElement, implemented by:<menu>HTMLMetaElement, implemented by:<meta>HTMLModElement, implemented by:<del>,<ins>HTMLObjectElement, implemented by:<object>HTMLOListElement, implemented by:<ol>HTMLOptGroupElement, implemented by:<optgroup>HTMLOptionElement, implemented by:<option>HTMLOutputElement, implemented by:<output>HTMLParagraphElement, implemented by:<p>HTMLParamElement, implemented by:<param>HTMLPreElement, implemented by:<pre>,<plaintext>HTMLQuoteElement, implemented by:<q>,<blockquote>HTMLScriptElement, implemented by:<script>HTMLSelectElement, implemented by:<select>HTMLSourceElement, implemented by:<source>HTMLSpanElement, implemented by:<span>HTMLStyleElement, implemented by:<style>HTMLTableElement, implemented by:<table>HTMLTableCaptionElement, implemented by:<caption>HTMLTableCellElement,HTMLTableDataCellElement, implemented by:<td>HTMLTableHeaderCellElement, implemented by:<th>
HTMLTableColElement, implemented by:<col>,<colgroup>HTMLTableRowElement, implemented by:<tr>HTMLTableSectionElement, implemented by:<tfoot>,<thead>,<tbody>HTMLTextAreaElement, implemented by:<textarea>HTMLTimeElement, implemented by:<time>HTMLTitleElement, implemented by:<title>HTMLTrackElement, implemented by:<track>HTMLUListElement, implemented by:<ul>HTMLUnknownElement, implemented by:<bgsound>,<isindex>,<bq>,<nextid>,<multicol>,<spacer>,<noframes>HTMLVideoElement, implemented by:<video>
Canvas interfaces
HTMLCanvasElement, implemented by the<canvas>element.CanvasRenderingContext2DCanvasGradientCanvasPatternTextMetricsImageDataCanvasPixelArray
Media related interfaces
These interfaces are used for audio and video media related tasks.
HTMLAudioElement, implemented by the HTML5<audio>element.HTMLVideoElement, implemented by the HTML5<video>element.NotifyAudioAvailableEvent, describing an event delivered to allow scripts to have access to the audio stream's raw sample data.
Collection interfaces
HTMLCollection
, HTMLAllCollection
, HTMLFormControlsCollection
, HTMLOptionsCollection
, HTMLPropertiesCollection
Other HTML interfaces
DOMTokenList
, DOMSettableTokenList
, DOMStringMap
, RadioNodeList
SVG interfaces
SVGDocument
(see also document
)
SVG element interfaces
SVGElement: All SVG elements implement this interfaceSVGAElement, implemented by:<a>SVGAltGlyphElement, implemented by:<altGlyph>SVGAltGlyphDefElement, implemented by:<altGlyphDef>SVGAltGlyphItemElement, implemented by:<altGlyphItem>SVGAnimationElementSVGAnimateElement, implemented by:<animate>SVGAnimateColorElement, implemented by:<animateColor>SVGAnimateMotionElement, implemented by:<animateMotion>SVGAnimateTransformElement, implemented by:<animateTransform>SVGSetElement, implemented by:<set>
SVGCircleElement, implemented by:<circle>SVGClipPathElement, implemented by:<path>SVGColorProfileElement, implemented by:<color-profile>SVGCursorElement, implemented by:<cursor>SVGDefsElement, implemented by:<defs>SVGDescElement, implemented by:<desc>SVGEllipseElement, implemented by:<ellipse>SVGFilterElement, implemented by:<filter>SVGFilterPrimitiveStandardAttributesSVGFEBlendElement, implemented by:<feBlend>SVGFEColorMatrixElement, implemented by:<feColorMatrix>SVGFEComponentTransferElement, implemented by:<feComponentTransfer>SVGFECompositeElement, implemented by:<feComposite>SVGFEConvolveMatrixElement, implemented by:<feConvolveMatrix>SVGFEDiffuseLightingElement, implemented by:<feDiffuseLighting>SVGFEDisplacementMapElement, implemented by:<feDisplacementMap>SVGFEDistantLightElement, implemented by:<feDistantLight>SVGFEFloodElement, implemented by:<feFlood>SVGFEGaussianBlurElement, implemented by:<feGaussianBlur>SVGFEImageElement, implemented by:<feImage>SVGFEMergeElement, implemented by:<feMerge>SVGFEMergeNodeElement, implemented by:<feMergeNode>SVGFEMorphologyElement, implemented by:<feMorphology>SVGFEOffsetElement, implemented by:<feOffset>SVGFEPointLightElement, implemented by:<fePointLight>SVGFESpecularLightingElement, implemented by:<feSpecularLighting>SVGFESpotLightElement, implemented by:<feSpotLight>SVGFETileElement, implemented by:<feTile>SVGFETurbulenceElement, implemented by:<feTurbulence>
SVGComponentTransferFunctionElementSVGFEFuncRElement, implemented by:<feFuncR>SVGFEFuncGElement, implemented by:<feFuncG>SVGFEFuncBElement, implemented by:<feFuncB>SVGFEFuncAElement, implemented by:<feFuncA>
SVGFontElement, implemented by:<font>SVGFontFaceElement, implemented by:<font-face>SVGFontFaceFormatElement, implemented by:<font-face-format>SVGFontFaceNameElement, implemented by:<font-face-name>SVGFontFaceSrcElement, implemented by:<font-face-src>SVGFontFaceUriElement, implemented by:<font-face-uri>SVGForeignObjectElement, implemented by:<foreignObject>SVGGElement, implemented by:<g>SVGGlyphElement, implemented by:<glyph>SVGGlyphRefElement, implemented by:<glyphRef>SVGGradientElementSVGLinearGradientElement, implemented by:<linearGradient>SVGRadialGradientElement, implemented by:<radialGradient>
SVGHKernElement, implemented by:<hkern>SVGImageElement, implemented by:<image>SVGLineElement, implemented by:<line>SVGMarkerElement, implemented by:<marker>SVGMaskElement, implemented by:<mask>SVGMetadataElement, implemented by:<metadata>SVGMissingGlyphElement, implemented by:<missing-glyph>SVGMPathElement, implemented by:<mpath>SVGPathElement, implemented by:<path>SVGPatternElement, implemented by:<pattern>SVGPolylineElement, implemented by:<polyline>SVGPolygonElement, implemented by:<polygon>SVGRectElement, implemented by:<rect>SVGScriptElement, implemented by:<script>SVGStopElement, implemented by:<stop>SVGStyleElement, implemented by:<style>SVGSVGElement, implemented by:<svg>SVGSwitchElement, implemented by:<switch>SVGSymbolElement, implemented by:<symbol>SVGTextElement, implemented by:<text>SVGTextPathElement, implemented by:<textPath>SVGTitleElement, implemented by:<title>SVGTRefElement, implemented by:<tref>SVGTSpanElement, implemented by:<tspan>SVGUseElement, implemented by:<use>SVGViewElement, implemented by:<view>SVGVKernElement, implemented by:<vkern>
SVG data type interfaces
Here are the DOM API for data types used in the definitions of SVG properties and attributes.
Starting in Gecko 5.0 (Firefox 5.0 / Thunderbird 5.0 / SeaMonkey 2.2)
,the following SVG-related DOM interfaces representing lists of objects are now indexable and can be accessed like arrays; in addition, they have a length property indicating the number of items in the lists: SVGLengthList
, SVGNumberList
, SVGPathSegList
, and SVGPointList
.
Static type
SVG Path segment interfaces
SVGPathSegListSVGPathSegSVGPathSegArcAbsSVGPathSegArcRelSVGPathSegClosePathSVGPathSegCurvetoCubicAbsSVGPathSegCurvetoCubicRelSVGPathSegCurvetoCubicSmoothAbsSVGPathSegCurvetoCubicSmoothRelSVGPathSegCurvetoQuadraticAbsSVGPathSegCurvetoQuadraticRelSVGPathSegCurvetoQuadraticSmoothAbsSVGPathSegCurvetoQuadraticSmoothRelSVGPathSegLinetoAbsSVGPathSegLinetoHorizontalAbsSVGPathSegLinetoHorizontalRelSVGPathSegLinetoRelSVGPathSegLinetoVerticalAbsSVGPathSegLinetoVerticalRelSVGPathSegMovetoAbsSVGPathSegMovetoRel
SMIL related interfaces
Other SVG interfaces
SVGAnimatedPathData
, SVGAnimatedPoints
, SVGColorProfileRule
, SVGCSSRule
, SVGExternalResourcesRequired
, SVGFitToViewBox
, SVGLangSpace
, SVGLocatable
, SVGRenderingIntent
, SVGStylable
, SVGTests
, SVGTextContentElement
, SVGTextPositioningElement
, SVGTransformable
, SVGUnitTypes
, SVGURIReference
, SVGViewSpec
, SVGZoomAndPan
Mozilla Developer Network