This document is a section of the web browser standards support document. It includes detailed information about DOM support in major web browsers.
DOM is a model that allows scripting languages to handle browser input and output and manipulate information on webpages. This is essential for high-end web applications.
DOM Level 3 Core defines the standard methods and attributes across all DOM implementations Levels 3 and below. The DOM Core is the most fundamental part of the DOM specification.
DOM Level 2 Events defines the event model for DOM implementations. It allows the user to actively interact with the contents of the document.
DOM Level 2 HTML defines methods and attributes that are specific to HTML implementations of the DOM. This makes common tasks for HTML elements easier and more straight-forward.
DOM Level 3 Load and Save defines a model for scripts to transfer information back and forth between XML documents and DOM structures.
| Feature | IE 7 |
|---|---|
| Interface DOMImplementationLS | |
| (General) | N |
| createLSInput() | N |
| createLSOutput() | N |
| createLSParser() | N |
| createLSSerializer() | N |
| Interface LSParser | |
| (General) | N |
| async | N |
| busy | N |
| domConfig | N |
| filter | N |
| abort() | N |
| parse() | N |
| parseURI() | N |
| parseWithContext() | N |
| Interface LSInput | |
| (General) | N |
| baseURI | N |
| byteStream | N |
| certifiedText | N |
| characterStream | N |
| encoding | N |
| publicId | N |
| stringData | N |
| systemId | N |
| Interface LSResourceResolver | |
| (General) | N |
| resolveResource() | N |
| Interface LSParserFilter | |
| (General) | N |
| whatToShow | N |
| acceptNode() | N |
| startElement() | N |
| Interface LSProgressEvent | |
| (General) | N |
| input | N |
| position | N |
| totalsize | N |
| Interface LSLoadEvent | |
| (General) | N |
| input | N |
| newDocument | N |
| Interface LSSerializer | |
| (General) | N |
| domConfig | N |
| filter | N |
| newLine | N |
| write() | N |
| writeToString() | N |
| writeToURI() | N |
| Interface LSOutput | |
| (General) | N |
| byteStream | N |
| characterStream | N |
| systemId | N |
| Interface LSSerializerFilter | |
| (General) | N |
| whatToShow | N |
DOM Level 2 Style defines the model for interacting with stylesheets and element style information.
| Feature | IE 7 |
|---|---|
| Interface StyleSheet | |
| (General) | I |
| disabled | Y |
| href | Y |
| media | I |
| ownerNode | N |
| parentStyleSheet | Y |
| title | Y |
| type | Y |
| Interface StyleSheetList | |
| (General) | I |
| length | Y |
| item() | Y |
| Interface MediaList | |
| (General) | N |
| length | N |
| mediaText | N |
| appendMedium() | N |
| deleteMedium() | N |
| item() | N |
| Interface LinkStyle | |
| (General) | N |
| sheet | N |
| Interface DocumentStyle | |
| (General) | I |
| styleSheets | Y |
| Interface CSSStyleSheet | |
| (General) | N |
| cssRules | N |
| ownerRule | N |
| deleteRule() | N |
| insertRule() | N |
| Interface CSSRuleList | |
| (General) | N |
| length | N |
| item() | N |
| Interface CSSRule | |
| (General) | N |
| cssText | N |
| parentRule | N |
| parentStyleSheet | N |
| type | N |
| Interface CSSStyleRule | |
| (General) | N |
| selectorText | N |
| style | N |
| Interface CSSMediaRule | |
| (General) | N |
| cssRules | N |
| media | N |
| deleteRule() | N |
| insertRule() | N |
| Interface CSSFontFaceRule | |
| (General) | N |
| style | N |
| Interface CSSPageRule | |
| (General) | N |
| selectorText | N |
| style | N |
| Interface CSSImportRule | |
| (General) | N |
| href | N |
| media | N |
| styleSheet | N |
| Interface CSSCharsetRule | |
| (General) | N |
| encoding | N |
| Interface CSSUnknownRule | |
| (General) | N |
| Interface CSSStyleDeclaration | |
| (General) | I |
| cssText | Y |
| length | N |
| parentRule | N |
| getPropertyCSSValue() | N |
| getPropertyPriority() | N |
| getPropertyValue() | N |
| item() | N |
| removeProperty() | N |
| setProperty() | N |
| Interface CSSValue | |
| (General) | N |
| cssText | N |
| cssValueType | N |
| Interface CSSPrimitiveValue | |
| (General) | N |
| primitiveType | N |
| getCounterValue() | N |
| getFloatValue() | N |
| getRGBColorValue() | N |
| getRectValue() | N |
| getStringValue() | N |
| setFloatValue() | N |
| setStringValue() | N |
| Interface CSSValueList | |
| (General) | N |
| length | N |
| item() | N |
| Interface RGBColor | |
| (General) | N |
| blue | N |
| green | N |
| red | N |
| Interface Rect | |
| (General) | N |
| bottom | N |
| left | N |
| right | N |
| top | N |
| Interface Counter | |
| (General) | N |
| identifier | N |
| listStyle | N |
| separator | N |
| Interface ViewCSS | |
| (General) | N |
| getComputedStyle() | N |
| Interface DocumentCSS | |
| (General) | N |
| getOverrideStyle() | N |
| Interface DOMImplementationCSS | |
| (General) | N |
| createCSSStyleSheet() | N |
| Interface ElementCSSInlineStyle | |
| (General) | I |
| style | Y |
| Interface CSS2Properties | |
| (General) | I |
| azimuth | N |
| background | I |
| backgroundAttachment | Y |
| backgroundColor | I |
| backgroundImage | Y |
| backgroundPosition | I |
| backgroundRepeat | Y |
| border | I |
| borderBottom | I |
| borderBottomColor | I |
| borderBottomStyle | Y |
| borderBottomWidth | I |
| borderCollapse | Y |
| borderColor | I |
| borderLeft | I |
| borderLeftColor | I |
| borderLeftStyle | Y |
| borderLeftWidth | I |
| borderRight | I |
| borderRightColor | I |
| borderRightStyle | Y |
| borderRightWidth | I |
| borderSpacing | N |
| borderStyle | Y |
| borderTop | I |
| borderTopColor | I |
| borderTopStyle | Y |
| borderTopWidth | I |
| borderWidth | I |
| bottom | I |
| captionSide | N |
| clear | Y |
| clip | I |
| color | I |
| content | N |
| counterIncrement | N |
| counterReset | N |
| cssFloat | N |
| cue | N |
| cueAfter | N |
| cueBefore | N |
| cursor | I |
| direction | Y |
| display | Y |
| elevation | N |
| emptyCells | N |
| font | I |
| fontFamily | Y |
| fontSize | I |
| fontSizeAdjust | N |
| fontStretch | N |
| fontStyle | Y |
| fontVariant | Y |
| fontWeight | Y |
| height | I |
| left | I |
| letterSpacing | I |
| lineHeight | Y |
| listStyle | I |
| listStyleImage | Y |
| listStylePosition | Y |
| listStyleType | Y |
| margin | I |
| marginBottom | I |
| marginLeft | I |
| marginRight | I |
| marginTop | I |
| markerOffset | N |
| marks | N |
| maxHeight | I |
| maxWidth | I |
| minHeight | I |
| minWidth | I |
| orphans | N |
| outline | N |
| outlineColor | N |
| outlineStyle | N |
| outlineWidth | N |
| overflow | Y |
| padding | I |
| paddingBottom | I |
| paddingLeft | I |
| paddingRight | I |
| paddingTop | I |
| page | N |
| pageBreakAfter | Y |
| pageBreakBefore | Y |
| pageBreakInside | N |
| pause | N |
| pauseAfter | N |
| pauseBefore | N |
| pitch | N |
| pitchRange | N |
| playDuring | N |
| position | Y |
| quotes | N |
| richness | N |
| right | I |
| size | N |
| speakHeader | N |
| speakNumeral | N |
| speakPunctuation | N |
| speechRate | N |
| stress | N |
| tableLayout | Y |
| textAlign | Y |
| textDecoration | Y |
| textIndent | I |
| textShadow | N |
| textTransform | Y |
| top | I |
| unicodeBidi | Y |
| verticalAlign | I |
| visibility | Y |
| voiceFamily | N |
| volume | N |
| whiteSpace | Y |
| widows | N |
| width | I |
| wordSpacing | I |
| zIndex | Y |
DOM Level 2 Traversal and Range defines a model for scripts to navigate through document contents and work with data positions.
| Feature | IE 7 |
|---|---|
| Interface NodeIterator | |
| (General) | N |
| expandEntityReferences | N |
| filter | N |
| root | N |
| whatToShow | N |
| detach() | N |
| nextNode() | N |
| previousNode() | N |
| Interface NodeFilter | |
| (General) | N |
| acceptNode() | N |
| Interface TreeWalker | |
| (General) | N |
| currentNode | N |
| expandEntityReference | N |
| filter | N |
| root | N |
| whatToShow | N |
| firstChild() | N |
| lastChild() | N |
| nextNode() | N |
| nextSibling() | N |
| parentNode() | N |
| previousNode() | N |
| previousSibling() | N |
| Interface DocumentTraversal | |
| (General) | N |
| createNodeIterator() | N |
| createTreeWalker() | N |
| Interface Range | |
| (General) | N |
| collapsed | N |
| commonAncestorContainer | N |
| endContainer | N |
| endOffset | N |
| startContainer | N |
| startOffset | N |
| cloneContents() | N |
| cloneRange() | N |
| collapse() | N |
| compareBoundaryPoints() | N |
| deleteContents() | N |
| detach() | N |
| extractContents() | N |
| insertNode() | N |
| selectNode() | N |
| selectNodeContents() | N |
| setEnd() | N |
| setEndAfter() | N |
| setEndBefore() | N |
| setStart() | N |
| setStartAfter() | N |
| startStartBefore() | N |
| surroundContents() | N |
| toString() | N |
| Interface DocumentRange | |
| (General) | N |
| createRange() | N |
DOM Level 3 Validation defines a model that aids scripts in maintaining valid documents while modifying their content.
| Feature | IE 7 |
|---|---|
| Interface DocumentEditVAL | |
| (General) | N |
| continuousValidityChecking | N |
| domConfig | N |
| getDefinedElements() | N |
| validateDocument() | N |
| Interface NodeEditVAL | |
| (General) | N |
| defaultValue | N |
| enumeratedValues | N |
| canAppendChild() | N |
| canInsertBefore() | N |
| canRemoveChild() | N |
| canReplaceChild() | N |
| nodeValidity() | N |
| Interface ElementEditVAL | |
| (General) | N |
| allowedAttributes | N |
| allowedChildren | N |
| allowedFirstChildren | N |
| allowedNextSiblings | N |
| allowedParents | N |
| allowedPreviousSiblings | N |
| contentType | N |
| requiredAttributes | N |
| canRemoveAttribute() | N |
| canRemoveAttributeNS() | N |
| canRemoveAttributeNode() | N |
| canSetAttribute() | N |
| canSetAttributeNS() | N |
| canSetAttributeNode() | N |
| canSetTextContent() | N |
| isElementDefined() | N |
| isElementDefinedNS() | N |
| Interface CharacterDataEditVAL | |
| (General) | N |
| canAppendData() | N |
| canDeleteData() | N |
| canInsertData() | N |
| canReplaceData() | N |
| canSetData() | N |
| isWhitespaceOnly() | N |
DOM Level 2 Views defines a model for scripts to handle different views of a document.
| Feature | IE 7 |
|---|---|
| Interface AbstractView | |
| (General) | I |
| document | Y |
| Interface DocumentView | |
| (General) | N |
| defaultView | N |