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.
| Feature | IE 7 | IE 8 | Firefox 3 | Opera 9 |
|---|---|---|---|---|
| Interface EventTarget | ||||
| (General) | N | ? | Y | Y |
| addEventListener() | N | ? | Y | Y |
| dispatchEvent() | N | ? | Y | Y |
| removeEventListener() | N | ? | Y | Y |
| Interface EventListener | ||||
| (General) | I | ? | Y | Y |
| handleEvent() | Y | ? | Y | Y |
| Interface Event | ||||
| (General) | I | ? | Y | Y |
| bubbles | N | ? | Y | Y |
| cancelable | N | ? | Y | Y |
| currentTarget | N | ? | Y | Y |
| eventPhase | N | ? | Y | Y |
| target | N | ? | Y | Y |
| timeStamp | N | ? | Y | Y |
| type | Y | Y | Y | Y |
| initEvent() | N | ? | Y | Y |
| preventDefault() | N | ? | Y | Y |
| stopPropagation() | N | ? | Y | Y |
| Interface DocumentEvent | ||||
| (General) | N | ? | Y | Y |
| createEvent | N | ? | Y | Y |
| Interface UIEvent | ||||
| (General) | N | ? | Y | Y |
| detail | N | ? | Y | Y |
| view | N | ? | Y | Y |
| initUIEvent() | N | ? | Y | Y |
| Interface MouseEvent | ||||
| (General) | I | ? | Y | Y |
| altKey | Y | Y | Y | Y |
| button | I | ? | Y | Y |
| clientX | Y | Y | Y | Y |
| clientY | Y | Y | Y | Y |
| ctrlKey | Y | Y | Y | Y |
| metaKey | N | ? | Y | Y |
| relatedTarget | N | ? | Y | Y |
| screenX | Y | Y | Y | Y |
| screenY | Y | Y | Y | Y |
| shiftKey | Y | Y | Y | Y |
| initMouseEvent() | N | ? | Y | Y |
| Type click | Y | Y | Y | Y |
| Type mousedown | Y | Y | Y | Y |
| Type mouseup | Y | Y | Y | Y |
| Type mouseover | Y | Y | Y | Y |
| Type mousemove | Y | Y | Y | Y |
| Type mouseout | Y | Y | Y | Y |
| Interface MutationEvent | ||||
| (General) | N | ? | Y | Y |
| attrChange | N | ? | Y | Y |
| attrName | N | ? | Y | Y |
| newValue | N | ? | Y | Y |
| prevValue | N | ? | Y | Y |
| relatedNode | N | ? | Y | Y |
| initMutationEvent() | N | ? | Y | Y |
| HTML event types | ||||
| Type load | Y | Y | Y | Y |
| Type unload | Y | Y | ? | Y |
| Type abort | N | ? | Y | Y |
| Type error | Y | Y | Y | Y |
| Type select | Y | Y | Y | Y |
| Type change | Y | Y | Y | Y |
| Type submit | Y | Y | Y | Y |
| Type reset | Y | Y | Y | Y |
| Type focus | Y | Y | Y | Y |
| Type blur | Y | Y | Y | Y |
| Type resize | Y | Y | Y | Y |
| Type scroll | Y | Y | Y | Y |
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.
| Feature | IE 7 | IE 8 | Firefox 3 | Opera 9 |
|---|---|---|---|---|
| Interface HTMLCollection | ||||
| (General) | I | ? | Y | Y |
| length | Y | Y | Y | Y |
| item() | Y | Y | Y | Y |
| namedItem() | Y | Y | Y | Y |
| Interface HTMLOptionsCollection | ||||
| (General) | I | ? | Y | Y |
| length | Y | Y | Y | Y |
| item() | Y | Y | Y | Y |
| namedItem() | Y | Y | Y | Y |
| Interface HTMLDocument | ||||
| (General) | I | ? | Y | Y |
| URL | Y | Y | Y | Y |
| anchors | Y | Y | Y | Y |
| applets | Y | Y | Y | Y |
| body | Y | Y | Y | Y |
| cookie | Y | Y | Y | Y |
| domain | Y | Y | Y | Y |
| forms | Y | Y | Y | Y |
| images | Y | Y | Y | Y |
| links | Y | Y | Y | Y |
| referrer | Y | Y | Y | Y |
| title | Y | Y | Y | Y |
| close() | Y | Y | Y | Y |
| getElementsByName() | I | ? | Y | I |
| open() | Y | ? | Y | Y |
| write() | Y | Y | Y | Y |
| writeln() | Y | Y | Y | Y |
| Interface HTMLElement | ||||
| (General) | I | ? | Y | Y |
| className | Y | Y | Y | Y |
| dir | Y | Y | Y | Y |
| id | Y | Y | Y | Y |
| lang | Y | Y | Y | Y |
| title | Y | Y | Y | Y |
| Interface HTMLHtmlElement | ||||
| (General) | I | ? | Y | Y |
| version | Y | Y | Y | Y |
| Interface HTMLHeadElement | ||||
| (General) | I | ? | Y | Y |
| profile | Y | ? | Y | Y |
| Interface HTMLLinkElement | ||||
| (General) | I | ? | Y | Y |
| charset | Y | Y | Y | Y |
| disabled | I | ? | Y | Y |
| href | Y | ? | Y | Y |
| hreflang | Y | Y | Y | Y |
| media | Y | Y | Y | Y |
| rel | Y | Y | Y | Y |
| rev | Y | Y | Y | Y |
| target | Y | Y | Y | Y |
| type | Y | Y | Y | Y |
| Interface HTMLTitleElement | ||||
| (General) | I | ? | Y | Y |
| text | Y | Y | Y | Y |
| Interface HTMLMetaElement | ||||
| (General) | I | ? | Y | Y |
| content | Y | Y | Y | Y |
| httpEquiv | Y | Y | Y | Y |
| name | Y | Y | Y | Y |
| scheme | Y | Y | Y | Y |
| Interface HTMLBaseElement | ||||
| (General) | I | ? | Y | Y |
| href | Y | ? | Y | Y |
| target | Y | Y | Y | Y |
| Interface HTMLIsIndexElement | ||||
| (General) | N | ? | Y | Y |
| form | N | ? | Y | Y |
| prompt | N | ? | Y | Y |
| Interface HTMLStyleElement | ||||
| (General) | I | ? | Y | Y |
| disabled | Y | Y | Y | Y |
| media | Y | Y | Y | Y |
| type | Y | Y | Y | Y |
| Interface HTMLBodyElement | ||||
| (General) | I | ? | Y | Y |
| aLink | Y | Y | Y | Y |
| background | Y | ? | Y | Y |
| bgColor | Y | Y | Y | Y |
| link | Y | Y | Y | Y |
| text | Y | Y | Y | Y |
| vLink | Y | Y | Y | Y |
| Interface HTMLFormElement | ||||
| (General) | I | ? | Y | Y |
| acceptCharset | Y | Y | Y | Y |
| action | Y | ? | Y | Y |
| elements | Y | Y | Y | Y |
| enctype | Y | Y | Y | Y |
| length | Y | Y | Y | Y |
| method | Y | Y | Y | Y |
| name | Y | Y | Y | Y |
| target | Y | Y | Y | Y |
| reset() | Y | Y | Y | Y |
| submit() | Y | Y | Y | Y |
| Interface HTMLSelectElement | ||||
| (General) | I | ? | Y | Y |
| disabled | Y | Y | Y | Y |
| form | Y | Y | Y | Y |
| length | Y | Y | Y | Y |
| multiple | Y | Y | Y | Y |
| name | Y | Y | Y | Y |
| options | Y | Y | Y | Y |
| selectedIndex | Y | Y | Y | Y |
| size | Y | Y | Y | Y |
| tabIndex | Y | Y | Y | Y |
| type | Y | Y | Y | Y |
| value | I | ? | Y | Y |
| add() | I | ? | Y | Y |
| blur() | Y | Y | Y | Y |
| focus() | Y | Y | Y | Y |
| remove() | Y | Y | Y | Y |
| Interface HTMLOptGroupElement | ||||
| (General) | I | ? | Y | Y |
| disabled | Y | Y | Y | Y |
| label | Y | Y | Y | Y |
| Interface HTMLOptionElement | ||||
| (General) | I | ? | Y | Y |
| defaultSelected | I | ? | Y | Y |
| disabled | Y | Y | Y | Y |
| form | Y | Y | Y | Y |
| index | Y | Y | Y | Y |
| label | Y | Y | Y | Y |
| selected | Y | Y | Y | Y |
| text | Y | Y | Y | Y |
| value | I | ? | Y | Y |
| Interface HTMLInputElement | ||||
| (General) | I | ? | Y | Y |
| accept | Y | Y | Y | Y |
| accessKey | Y | Y | Y | Y |
| align | Y | Y | Y | Y |
| alt | Y | Y | Y | Y |
| checked | Y | Y | Y | Y |
| defaultChecked | Y | Y | Y | Y |
| defaultValue | Y | Y | Y | Y |
| disabled | Y | Y | Y | Y |
| form | Y | Y | Y | Y |
| maxLength | Y | Y | Y | Y |
| name | Y | Y | Y | Y |
| readOnly | Y | Y | Y | Y |
| size | Y | Y | Y | Y |
| src | Y | Y | Y | Y |
| tabIndex | Y | Y | Y | Y |
| type | Y | Y | Y | Y |
| useMap | Y | ? | Y | Y |
| value | Y | Y | Y | Y |
| blur() | Y | Y | Y | Y |
| click() | I | ? | Y | Y |
| focus() | Y | Y | Y | Y |
| select() | Y | Y | Y | Y |
| Interface HTMLTextAreaElement | ||||
| (General) | I | ? | Y | Y |
| accessKey | Y | Y | Y | Y |
| cols | Y | Y | Y | Y |
| defaultValue | Y | Y | Y | Y |
| disabled | Y | Y | Y | Y |
| form | Y | Y | Y | Y |
| name | Y | Y | Y | Y |
| readOnly | Y | Y | Y | Y |
| rows | Y | Y | Y | Y |
| tabIndex | Y | Y | Y | Y |
| type | Y | Y | Y | Y |
| value | Y | Y | Y | Y |
| blur() | Y | Y | Y | Y |
| focus() | Y | Y | Y | Y |
| select() | Y | Y | Y | Y |
| Interface HTMLButtonElement | ||||
| (General) | I | ? | Y | Y |
| accessKey | Y | Y | Y | Y |
| disabled | Y | Y | Y | Y |
| form | Y | Y | Y | Y |
| name | Y | Y | Y | Y |
| tabIndex | Y | Y | Y | Y |
| type | Y | Y | Y | Y |
| value | Y | Y | Y | Y |
| Interface HTMLLabelElement | ||||
| (General) | I | ? | Y | Y |
| accessKey | Y | Y | Y | Y |
| form | Y | Y | Y | Y |
| htmlFor | Y | Y | Y | Y |
| Interface HTMLFieldSetElement | ||||
| (General) | I | ? | Y | Y |
| form | Y | Y | Y | Y |
| Interface HTMLLegendElement | ||||
| (General) | I | ? | Y | Y |
| accessKey | Y | Y | Y | Y |
| align | Y | Y | Y | Y |
| form | Y | Y | Y | Y |
| Interface HTMLUListElement | ||||
| (General) | I | ? | Y | Y |
| compact | Y | Y | Y | Y |
| type | Y | Y | Y | I |
| Interface HTMLOListElement | ||||
| (General) | I | ? | Y | Y |
| compact | Y | Y | Y | Y |
| start | Y | Y | Y | Y |
| type | Y | Y | Y | Y |
| Interface HTMLDListElement | ||||
| (General) | I | ? | Y | Y |
| compact | Y | Y | Y | Y |
| Interface HTMLDirectoryElement | ||||
| (General) | I | ? | Y | Y |
| compact | Y | Y | Y | Y |
| Interface HTMLMenuElement | ||||
| (General) | I | ? | Y | Y |
| compact | Y | Y | Y | Y |
| Interface HTMLLIElement | ||||
| (General) | I | ? | Y | Y |
| type | Y | Y | Y | Y |
| value | Y | Y | Y | Y |
| Interface HTMLDivElement | ||||
| (General) | I | ? | Y | Y |
| align | Y | Y | Y | Y |
| Interface HTMLParagraphElement | ||||
| (General) | I | ? | Y | Y |
| align | Y | Y | Y | Y |
| Interface HTMLHeadingElement | ||||
| (General) | I | ? | Y | Y |
| align | Y | Y | Y | Y |
| Interface HTMLQuoteElement | ||||
| (General) | I | ? | Y | Y |
| cite | Y | ? | Y | Y |
| Interface HTMLPreElement | ||||
| (General) | I | ? | Y | Y |
| width | Y | Y | Y | Y |
| Interface HTMLBRElement | ||||
| (General) | I | ? | Y | Y |
| clear | Y | Y | Y | Y |
| Interface HTMLBaseFontElement | ||||
| (General) | I | ? | Y | Y |
| color | Y | Y | Y | Y |
| face | Y | Y | Y | Y |
| size | Y | Y | Y | Y |
| Interface HTMLFontElement | ||||
| (General) | I | ? | Y | Y |
| color | Y | Y | Y | Y |
| face | Y | Y | Y | Y |
| size | Y | Y | Y | Y |
| Interface HTMLHRElement | ||||
| (General) | I | ? | Y | Y |
| align | Y | Y | Y | Y |
| noShade | Y | Y | Y | Y |
| size | Y | Y | Y | Y |
| width | Y | Y | Y | Y |
| Interface HTMLModElement | ||||
| (General) | I | ? | Y | Y |
| cite | Y | ? | Y | Y |
| dateTime | Y | Y | Y | Y |
| Interface HTMLAnchorElement | ||||
| (General) | I | ? | Y | Y |
| accessKey | Y | Y | Y | Y |
| charset | Y | Y | Y | Y |
| coords | Y | Y | Y | Y |
| href | Y | Y | Y | Y |
| hreflang | Y | Y | Y | Y |
| name | Y | Y | Y | Y |
| rel | Y | Y | Y | Y |
| rev | Y | Y | Y | Y |
| shape | Y | ? | Y | Y |
| tabIndex | Y | Y | Y | Y |
| target | Y | Y | Y | Y |
| type | Y | Y | Y | Y |
| blur() | Y | Y | Y | Y |
| focus() | Y | Y | Y | Y |
| Interface HTMLImageElement | ||||
| (General) | I | ? | Y | Y |
| align | Y | Y | Y | Y |
| alt | Y | Y | Y | Y |
| border | Y | Y | Y | Y |
| height | Y | Y | Y | Y |
| hspace | Y | Y | Y | Y |
| isMap | Y | Y | Y | Y |
| longDesc | Y | ? | Y | Y |
| name | Y | Y | Y | Y |
| src | Y | Y | Y | Y |
| useMap | Y | ? | Y | Y |
| vspace | Y | Y | Y | Y |
| width | Y | Y | Y | Y |
| Interface HTMLObjectElement | ||||
| (General) | I | ? | Y | Y |
| align | Y | Y | Y | Y |
| archive | Y | Y | Y | Y |
| border | Y | Y | Y | Y |
| code | Y | Y | Y | Y |
| codeBase | Y | ? | Y | Y |
| codeType | Y | Y | Y | Y |
| contentDocument | N | ? | Y | Y |
| data | Y | ? | Y | Y |
| declare | Y | Y | Y | Y |
| form | Y | Y | Y | Y |
| height | Y | Y | Y | Y |
| hspace | Y | Y | Y | Y |
| name | Y | Y | Y | Y |
| standby | Y | Y | Y | Y |
| tabIndex | Y | Y | Y | Y |
| type | Y | Y | Y | Y |
| useMap | Y | ? | Y | Y |
| vspace | Y | Y | Y | Y |
| width | Y | Y | Y | Y |
| Interface HTMLParamElement | ||||
| (General) | I | ? | Y | Y |
| name | Y | Y | Y | Y |
| type | Y | Y | Y | Y |
| value | Y | Y | Y | Y |
| valueType | N | ? | Y | Y |
| Interface HTMLAppletElement | ||||
| (General) | I | ? | Y | Y |
| align | Y | Y | Y | Y |
| alt | Y | Y | Y | Y |
| archive | Y | Y | Y | Y |
| code | Y | Y | Y | Y |
| codeBase | Y | ? | Y | Y |
| height | Y | Y | Y | Y |
| hspace | Y | Y | Y | Y |
| name | Y | Y | Y | Y |
| object | I | ? | Y | Y |
| vspace | Y | Y | Y | Y |
| width | Y | Y | Y | Y |
| Interface HTMLMapElement | ||||
| (General) | I | ? | Y | Y |
| areas | Y | Y | Y | Y |
| name | Y | Y | Y | Y |
| Interface HTMLAreaElement | ||||
| (General) | I | ? | Y | Y |
| accessKey | Y | Y | Y | Y |
| alt | Y | Y | Y | Y |
| coords | Y | Y | Y | Y |
| href | Y | Y | Y | Y |
| noHref | I | ? | Y | Y |
| shape | Y | ? | Y | Y |
| tabIndex | Y | Y | Y | Y |
| target | Y | Y | Y | Y |
| Interface HTMLScriptElement | ||||
| (General) | I | ? | Y | Y |
| charset | Y | Y | Y | Y |
| defer | Y | Y | Y | Y |
| event | Y | ? | Y | Y |
| htmlFor | Y | ? | Y | Y |
| src | Y | ? | Y | Y |
| text | Y | Y | Y | Y |
| type | Y | Y | Y | Y |
| Interface HTMLTableElement | ||||
| (General) | I | ? | Y | Y |
| align | Y | Y | Y | Y |
| bgColor | Y | Y | Y | Y |
| border | Y | Y | Y | Y |
| caption | Y | Y | Y | Y |
| cellPadding | Y | Y | Y | Y |
| cellSpacing | Y | Y | Y | Y |
| frame | Y | Y | Y | Y |
| rows | Y | ? | Y | Y |
| rules | Y | Y | Y | Y |
| summary | Y | Y | Y | Y |
| tBodies | Y | Y | Y | Y |
| tFoot | Y | Y | Y | Y |
| tHead | Y | Y | Y | Y |
| width | Y | Y | Y | Y |
| createCaption() | Y | Y | Y | Y |
| createTFoot() | Y | Y | Y | Y |
| createTHead() | Y | Y | Y | Y |
| deleteCaption() | Y | Y | Y | Y |
| deleteRow() | Y | Y | Y | Y |
| deleteTFoot() | Y | Y | Y | Y |
| deleteTHead() | Y | Y | Y | Y |
| insertRow() | I | ? | Y | Y |
| Interface HTMLTableCaptionElement | ||||
| (General) | I | ? | Y | Y |
| align | Y | Y | Y | Y |
| Interface HTMLTableColElement | ||||
| (General) | I | ? | Y | Y |
| align | Y | Y | Y | Y |
| ch | I | ? | Y | Y |
| chOff | I | ? | Y | Y |
| span | Y | Y | Y | Y |
| vAlign | Y | Y | Y | Y |
| width | Y | Y | Y | Y |
| Interface HTMLTableSectionElement | ||||
| (General) | I | ? | Y | Y |
| align | Y | Y | Y | Y |
| ch | I | ? | Y | Y |
| chOff | I | ? | Y | Y |
| rows | Y | Y | Y | Y |
| vAlign | Y | Y | Y | Y |
| deleteRow() | Y | Y | Y | Y |
| insertRow() | Y | Y | Y | Y |
| Interface HTMLTableRowElement | ||||
| (General) | I | ? | Y | Y |
| align | Y | Y | Y | Y |
| bgColor | Y | Y | Y | Y |
| cells | Y | Y | Y | Y |
| ch | I | ? | Y | Y |
| chOff | I | ? | Y | Y |
| rowIndex | Y | Y | Y | Y |
| sectionRowIndex | Y | Y | Y | Y |
| vAlign | Y | Y | Y | Y |
| deleteCell() | Y | Y | Y | Y |
| insertCell() | Y | Y | Y | Y |
| Interface HTMLTableCellElement | ||||
| (General) | I | ? | Y | Y |
| abbr | Y | Y | Y | Y |
| align | Y | Y | Y | Y |
| axis | Y | Y | Y | Y |
| bgColor | Y | Y | Y | Y |
| cellIndex | Y | Y | Y | Y |
| ch | I | ? | Y | Y |
| chOff | I | ? | Y | Y |
| colSpan | Y | Y | Y | Y |
| headers | Y | Y | Y | Y |
| height | Y | Y | Y | Y |
| noWrap | Y | Y | Y | Y |
| rowSpan | I | ? | Y | Y |
| scope | Y | Y | Y | Y |
| vAlign | Y | Y | Y | Y |
| width | Y | Y | Y | Y |
| Interface HTMLFrameSetElement | ||||
| (General) | I | ? | Y | Y |
| cols | Y | Y | Y | Y |
| rows | Y | Y | Y | Y |
| Interface HTMLFrameElement | ||||
| (General) | I | ? | Y | Y |
| contentDocument | N | ? | Y | Y |
| frameBorder | Y | Y | Y | Y |
| longDesc | Y | ? | Y | Y |
| marginHeight | Y | Y | Y | Y |
| marginWidth | Y | Y | Y | Y |
| name | Y | Y | Y | Y |
| noResize | Y | Y | Y | Y |
| scrolling | Y | Y | Y | Y |
| src | Y | ? | Y | Y |
| Interface HTMLIFrameElement | ||||
| (General) | I | ? | Y | Y |
| align | Y | Y | Y | Y |
| contentDocument | N | ? | Y | Y |
| frameBorder | Y | Y | Y | Y |
| height | Y | Y | Y | Y |
| longDesc | Y | ? | Y | Y |
| marginHeight | Y | Y | Y | Y |
| marginWidth | Y | Y | Y | Y |
| name | Y | Y | Y | Y |
| scrolling | Y | Y | Y | Y |
| src | Y | ? | Y | Y |
| width | Y | Y | Y | Y |
DOM Level 3 Load and Save defines a model for scripts to transfer information back and forth between XML documents and DOM structures.
DOM Level 2 Style defines the model for interacting with stylesheets and element style information.
| Feature | IE 7 | IE 8 | Firefox 3 | Opera 9 |
|---|---|---|---|---|
| Interface StyleSheet | ||||
| (General) | I | ? | Y | Y |
| disabled | Y | Y | Y | I |
| href | Y | ? | Y | Y |
| media | I | ? | Y | Y |
| ownerNode | N | ? | Y | Y |
| parentStyleSheet | Y | Y | Y | Y |
| title | Y | Y | Y | Y |
| type | Y | Y | Y | Y |
| Interface StyleSheetList | ||||
| (General) | I | ? | Y | Y |
| length | Y | Y | Y | Y |
| item() | Y | Y | Y | Y |
| Interface MediaList | ||||
| (General) | N | ? | Y | I |
| length | N | ? | Y | Y |
| mediaText | N | ? | Y | Y |
| appendMedium() | N | ? | Y | Y |
| deleteMedium() | N | ? | Y | Y |
| item() | N | ? | Y | Y |
| Interface LinkStyle | ||||
| (General) | N | ? | Y | Y |
| sheet | N | ? | Y | Y |
| Interface DocumentStyle | ||||
| (General) | I | ? | Y | Y |
| styleSheets | Y | Y | Y | Y |
| Interface CSSStyleSheet | ||||
| (General) | N | ? | Y | Y |
| cssRules | N | ? | ? | Y |
| ownerRule | N | ? | Y | Y |
| deleteRule() | N | ? | Y | Y |
| insertRule() | N | ? | Y | Y |
| Interface CSSRuleList | ||||
| (General) | N | ? | Y | Y |
| length | N | ? | Y | Y |
| item() | N | ? | Y | Y |
| Interface CSSRule | ||||
| (General) | N | ? | Y | Y |
| cssText | N | ? | Y | Y |
| parentRule | N | ? | Y | Y |
| parentStyleSheet | N | ? | Y | Y |
| type | N | ? | Y | Y |
| Interface CSSStyleRule | ||||
| (General) | N | ? | Y | Y |
| selectorText | N | ? | Y | Y |
| style | N | ? | Y | Y |
| Interface CSSMediaRule | ||||
| (General) | N | ? | Y | Y |
| cssRules | N | ? | Y | Y |
| media | N | ? | Y | Y |
| deleteRule() | N | ? | Y | Y |
| insertRule() | N | ? | Y | Y |
| Interface CSSFontFaceRule | ||||
| (General) | N | ? | ? | Y |
| style | N | ? | ? | Y |
| Interface CSSPageRule | ||||
| (General) | N | ? | ? | Y |
| selectorText | N | ? | ? | Y |
| style | N | ? | ? | Y |
| Interface CSSImportRule | ||||
| (General) | N | ? | Y | Y |
| href | N | ? | Y | Y |
| media | N | ? | Y | Y |
| styleSheet | N | ? | Y | Y |
| Interface CSSCharsetRule | ||||
| (General) | N | ? | Y | Y |
| encoding | N | ? | Y | Y |
| Interface CSSUnknownRule | ||||
| (General) | N | ? | ? | Y |
| Interface CSSStyleDeclaration | ||||
| (General) | I | ? | Y | Y |
| cssText | Y | ? | Y | Y |
| length | N | ? | Y | Y |
| parentRule | N | ? | Y | N |
| getPropertyCSSValue() | N | ? | Y | N |
| getPropertyPriority() | N | ? | Y | Y |
| getPropertyValue() | N | ? | Y | Y |
| item() | N | ? | Y | Y |
| removeProperty() | N | ? | Y | Y |
| setProperty() | N | ? | Y | Y |
| Interface CSSValue | ||||
| (General) | N | ? | ? | N |
| cssText | N | ? | ? | N |
| cssValueType | N | ? | ? | N |
| Interface CSSPrimitiveValue | ||||
| (General) | N | ? | Y | N |
| primitiveType | N | ? | Y | N |
| getCounterValue() | N | ? | ? | N |
| getFloatValue() | N | ? | Y | N |
| getRGBColorValue() | N | ? | Y | N |
| getRectValue() | N | ? | Y | N |
| getStringValue() | N | ? | ? | N |
| setFloatValue() | N | ? | ? | N |
| setStringValue() | N | ? | ? | N |
| Interface CSSValueList | ||||
| (General) | N | ? | ? | N |
| length | N | ? | ? | N |
| item() | N | ? | ? | N |
| Interface RGBColor | ||||
| (General) | N | ? | Y | N |
| blue | N | ? | Y | N |
| green | N | ? | Y | N |
| red | N | ? | Y | N |
| Interface Rect | ||||
| (General) | N | ? | Y | N |
| bottom | N | ? | Y | N |
| left | N | ? | Y | N |
| right | N | ? | Y | N |
| top | N | ? | Y | N |
| Interface Counter | ||||
| (General) | N | ? | ? | N |
| identifier | N | ? | ? | N |
| listStyle | N | ? | ? | N |
| separator | N | ? | ? | N |
| Interface ViewCSS | ||||
| (General) | N | ? | Y | Y |
| getComputedStyle() | N | ? | Y | Y |
| Interface DocumentCSS | ||||
| (General) | N | ? | ? | N |
| getOverrideStyle() | N | ? | ? | N |
| Interface DOMImplementationCSS | ||||
| (General) | N | ? | ? | N |
| createCSSStyleSheet() | N | ? | ? | N |
| Interface ElementCSSInlineStyle | ||||
| (General) | I | ? | Y | Y |
| style | Y | Y | Y | Y |
| Interface CSS2Properties | ||||
| (General) | I | ? | Y | Y |
| azimuth | N | ? | Y | N |
| background | I | ? | ? | I |
| backgroundAttachment | Y | Y | Y | Y |
| backgroundColor | I | ? | Y | Y |
| backgroundImage | Y | Y | Y | Y |
| backgroundPosition | I | ? | Y | Y |
| backgroundRepeat | Y | Y | Y | Y |
| border | I | ? | ? | I |
| borderBottom | I | ? | Y | I |
| borderBottomColor | I | ? | Y | Y |
| borderBottomStyle | Y | Y | Y | Y |
| borderBottomWidth | I | ? | Y | Y |
| borderCollapse | Y | Y | Y | Y |
| borderColor | I | ? | ? | Y |
| borderLeft | I | ? | Y | I |
| borderLeftColor | I | ? | Y | Y |
| borderLeftStyle | Y | Y | Y | Y |
| borderLeftWidth | I | ? | Y | Y |
| borderRight | I | ? | Y | I |
| borderRightColor | I | ? | Y | Y |
| borderRightStyle | Y | Y | Y | Y |
| borderRightWidth | I | ? | Y | Y |
| borderSpacing | N | ? | Y | Y |
| borderStyle | Y | Y | ? | Y |
| borderTop | I | ? | Y | I |
| borderTopColor | I | ? | Y | Y |
| borderTopStyle | Y | Y | Y | Y |
| borderTopWidth | I | ? | Y | Y |
| borderWidth | I | ? | ? | Y |
| bottom | I | ? | Y | Y |
| captionSide | N | ? | Y | Y |
| clear | Y | Y | Y | Y |
| clip | I | ? | Y | Y |
| color | I | ? | Y | Y |
| content | N | ? | Y | Y |
| counterIncrement | N | ? | Y | Y |
| counterReset | N | ? | Y | Y |
| cssFloat | N | ? | Y | Y |
| cue | N | ? | Y | N |
| cueAfter | N | ? | Y | N |
| cueBefore | N | ? | Y | N |
| cursor | I | ? | Y | Y |
| direction | Y | Y | Y | Y |
| display | Y | Y | Y | Y |
| elevation | N | ? | Y | N |
| emptyCells | N | ? | Y | Y |
| font | I | ? | Y | I |
| fontFamily | Y | Y | Y | Y |
| fontSize | I | ? | Y | Y |
| fontSizeAdjust | N | ? | Y | Y |
| fontStretch | N | ? | Y | Y |
| fontStyle | Y | Y | Y | Y |
| fontVariant | Y | Y | Y | Y |
| fontWeight | Y | Y | Y | Y |
| height | I | ? | Y | Y |
| left | I | ? | Y | Y |
| letterSpacing | I | ? | Y | Y |
| lineHeight | Y | Y | Y | Y |
| listStyle | I | ? | ? | I |
| listStyleImage | Y | Y | Y | Y |
| listStylePosition | Y | Y | Y | Y |
| listStyleType | Y | Y | Y | Y |
| margin | I | ? | ? | Y |
| marginBottom | I | ? | Y | Y |
| marginLeft | I | ? | Y | Y |
| marginRight | I | ? | Y | Y |
| marginTop | I | ? | Y | Y |
| markerOffset | N | ? | Y | Y |
| marks | N | ? | Y | Y |
| maxHeight | I | ? | Y | Y |
| maxWidth | I | ? | Y | Y |
| minHeight | I | ? | Y | Y |
| minWidth | I | ? | Y | Y |
| orphans | N | ? | Y | Y |
| outline | N | ? | Y | I |
| outlineColor | N | ? | Y | Y |
| outlineStyle | N | ? | Y | Y |
| outlineWidth | N | ? | Y | Y |
| overflow | Y | Y | Y | Y |
| padding | I | ? | ? | Y |
| paddingBottom | I | ? | Y | Y |
| paddingLeft | I | ? | Y | Y |
| paddingRight | I | ? | Y | Y |
| paddingTop | I | ? | Y | Y |
| page | N | ? | Y | Y |
| pageBreakAfter | Y | Y | Y | Y |
| pageBreakBefore | Y | Y | Y | Y |
| pageBreakInside | N | ? | Y | Y |
| pause | N | ? | Y | Y |
| pauseAfter | N | ? | Y | Y |
| pauseBefore | N | ? | Y | Y |
| pitch | N | ? | Y | N |
| pitchRange | N | ? | Y | Y |
| playDuring | N | ? | Y | N |
| position | Y | Y | Y | Y |
| quotes | N | ? | Y | Y |
| richness | N | ? | Y | N |
| right | I | ? | Y | Y |
| size | N | ? | Y | Y |
| speakHeader | N | ? | Y | N |
| speakNumeral | N | ? | Y | N |
| speakPunctuation | N | ? | Y | N |
| speechRate | N | ? | Y | Y |
| stress | N | ? | Y | N |
| tableLayout | Y | Y | Y | Y |
| textAlign | Y | Y | Y | Y |
| textDecoration | Y | Y | Y | Y |
| textIndent | I | ? | Y | Y |
| textShadow | N | ? | Y | Y |
| textTransform | Y | Y | Y | Y |
| top | I | ? | Y | Y |
| unicodeBidi | Y | Y | Y | Y |
| verticalAlign | I | ? | Y | Y |
| visibility | Y | Y | Y | Y |
| voiceFamily | N | ? | Y | Y |
| volume | N | ? | Y | Y |
| whiteSpace | Y | Y | Y | Y |
| widows | N | ? | Y | Y |
| width | I | ? | Y | Y |
| wordSpacing | I | ? | Y | Y |
| zIndex | Y | Y | Y | 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 | IE 8 | Firefox 3 | Opera 9 |
|---|---|---|---|---|
| Interface NodeIterator | ||||
| (General) | N | ? | ? | Y |
| expandEntityReferences | N | ? | ? | Y |
| filter | N | ? | ? | Y |
| root | N | ? | ? | Y |
| whatToShow | N | ? | ? | Y |
| detach() | N | ? | ? | Y |
| nextNode() | N | ? | ? | Y |
| previousNode() | N | ? | ? | Y |
| Interface NodeFilter | ||||
| (General) | N | ? | Y | Y |
| acceptNode() | N | ? | Y | Y |
| Interface TreeWalker | ||||
| (General) | N | ? | Y | Y |
| currentNode | N | ? | Y | Y |
| expandEntityReference | N | ? | Y | Y |
| filter | N | ? | ? | Y |
| root | N | ? | Y | Y |
| whatToShow | N | ? | Y | Y |
| firstChild() | N | ? | ? | Y |
| lastChild() | N | ? | ? | Y |
| nextNode() | N | ? | ? | Y |
| nextSibling() | N | ? | ? | Y |
| parentNode() | N | ? | ? | Y |
| previousNode() | N | ? | ? | Y |
| previousSibling() | N | ? | ? | Y |
| Interface DocumentTraversal | ||||
| (General) | N | ? | Y | Y |
| createNodeIterator() | N | ? | ? | Y |
| createTreeWalker() | N | ? | Y | Y |
| Interface Range | ||||
| (General) | N | ? | Y | Y |
| collapsed | N | ? | Y | Y |
| commonAncestorContainer | N | ? | Y | Y |
| endContainer | N | ? | Y | Y |
| endOffset | N | ? | Y | Y |
| startContainer | N | ? | Y | Y |
| startOffset | N | ? | Y | Y |
| cloneContents() | N | ? | Y | Y |
| cloneRange() | N | ? | Y | Y |
| collapse() | N | ? | Y | Y |
| compareBoundaryPoints() | N | ? | Y | Y |
| deleteContents() | N | ? | Y | Y |
| detach() | N | ? | Y | Y |
| extractContents() | N | ? | Y | Y |
| insertNode() | N | ? | Y | Y |
| selectNode() | N | ? | Y | Y |
| selectNodeContents() | N | ? | Y | Y |
| setEnd() | N | ? | Y | Y |
| setEndAfter() | N | ? | Y | Y |
| setEndBefore() | N | ? | Y | Y |
| setStart() | N | ? | Y | Y |
| setStartAfter() | N | ? | Y | Y |
| startStartBefore() | N | ? | Y | Y |
| surroundContents() | N | ? | Y | Y |
| toString() | N | ? | Y | Y |
| Interface DocumentRange | ||||
| (General) | N | ? | Y | Y |
| createRange() | N | ? | Y | Y |
DOM Level 3 Validation defines a model that aids scripts in maintaining valid documents while modifying their content.
| Feature | IE 7 | IE 8 | Firefox 3 | Opera 9 |
|---|---|---|---|---|
| Interface DocumentEditVAL | ||||
| (General) | N | ? | ? | N |
| continuousValidityChecking | N | ? | ? | N |
| domConfig | N | ? | ? | N |
| getDefinedElements() | N | ? | ? | N |
| validateDocument() | N | ? | ? | N |
| Interface NodeEditVAL | ||||
| (General) | N | ? | ? | N |
| defaultValue | N | ? | ? | N |
| enumeratedValues | N | ? | ? | N |
| canAppendChild() | N | ? | ? | N |
| canInsertBefore() | N | ? | ? | N |
| canRemoveChild() | N | ? | ? | N |
| canReplaceChild() | N | ? | ? | N |
| nodeValidity() | N | ? | ? | N |
| Interface ElementEditVAL | ||||
| (General) | N | ? | ? | N |
| allowedAttributes | N | ? | ? | N |
| allowedChildren | N | ? | ? | N |
| allowedFirstChildren | N | ? | ? | N |
| allowedNextSiblings | N | ? | ? | N |
| allowedParents | N | ? | ? | N |
| allowedPreviousSiblings | N | ? | ? | N |
| contentType | N | ? | ? | N |
| requiredAttributes | N | ? | ? | N |
| canRemoveAttribute() | N | ? | ? | N |
| canRemoveAttributeNS() | N | ? | ? | N |
| canRemoveAttributeNode() | N | ? | ? | N |
| canSetAttribute() | N | ? | ? | N |
| canSetAttributeNS() | N | ? | ? | N |
| canSetAttributeNode() | N | ? | ? | N |
| canSetTextContent() | N | ? | ? | N |
| isElementDefined() | N | ? | ? | N |
| isElementDefinedNS() | N | ? | ? | N |
| Interface CharacterDataEditVAL | ||||
| (General) | N | ? | ? | N |
| canAppendData() | N | ? | ? | N |
| canDeleteData() | N | ? | ? | N |
| canInsertData() | N | ? | ? | N |
| canReplaceData() | N | ? | ? | N |
| canSetData() | N | ? | ? | N |
| isWhitespaceOnly() | N | ? | ? | N |
DOM Level 2 Views defines a model for scripts to handle different views of a document.
| Feature | IE 7 | IE 8 | Firefox 3 | Opera 9 |
|---|---|---|---|---|
| Interface AbstractView | ||||
| (General) | I | ? | Y | Y |
| document | Y | Y | Y | Y |
| Interface DocumentView | ||||
| (General) | N | ? | Y | Y |
| defaultView | N | ? | Y | Y |