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 | Firefox 2 | Opera 9 | Konqueror 3.5 | Safari 2 |
---|---|---|---|---|---|
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 | ? | ? |
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 | ? | ? |
button | I | Y | Y | ? | ? |
clientX | Y | Y | Y | ? | I |
clientY | Y | Y | Y | ? | I |
ctrlKey | 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 | ? | ? |
initMouseEvent() | N | Y | Y | ? | ? |
Type click | Y | Y | Y | ? | ? |
Type mousedown | Y | Y | Y | ? | ? |
Type mouseup | Y | Y | Y | ? | ? |
Type mouseover | Y | Y | Y | ? | ? |
Type mousemove | Y | Y | Y | ? | ? |
Type mouseout | 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 | ? | ? |
Type unload | Y | I | Y | ? | ? |
Type abort | N | Y | Y | ? | ? |
Type error | Y | Y | Y | ? | ? |
Type select | Y | Y | Y | ? | ? |
Type change | Y | Y | Y | ? | ? |
Type submit | Y | Y | Y | ? | ? |
Type reset | Y | Y | Y | ? | ? |
Type focus | Y | Y | Y | ? | ? |
Type blur | Y | Y | Y | ? | ? |
Type resize | Y | Y | Y | ? | ? |
Type scroll | 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 | Firefox 2 | Opera 9 | Konqueror 3.5 | Safari 2 |
---|---|---|---|---|---|
Interface HTMLCollection | |||||
(General) | I | Y | Y | ? | ? |
length | Y | Y | Y | ? | ? |
item() | Y | Y | Y | ? | ? |
namedItem() | Y | Y | Y | ? | ? |
Interface HTMLOptionsCollection | |||||
(General) | I | Y | Y | ? | ? |
length | Y | Y | Y | ? | ? |
item() | Y | Y | Y | ? | ? |
namedItem() | Y | Y | Y | ? | ? |
Interface HTMLDocument | |||||
(General) | I | Y | Y | ? | ? |
URL | Y | Y | Y | ? | ? |
anchors | Y | Y | Y | ? | ? |
applets | Y | Y | Y | ? | ? |
body | Y | Y | Y | ? | ? |
cookie | Y | Y | Y | ? | ? |
domain | Y | Y | Y | ? | ? |
forms | Y | Y | Y | ? | ? |
images | Y | Y | Y | ? | ? |
links | Y | Y | Y | ? | ? |
referrer | Y | Y | Y | ? | ? |
title | Y | Y | Y | ? | ? |
close() | Y | Y | Y | ? | ? |
getElementsByName() | I | Y | I | ? | ? |
open() | Y | Y | Y | ? | ? |
write() | Y | Y | Y | ? | ? |
writeln() | Y | Y | Y | ? | ? |
Interface HTMLElement | |||||
(General) | I | Y | Y | ? | ? |
className | Y | Y | Y | ? | ? |
dir | Y | Y | Y | ? | ? |
id | Y | Y | Y | ? | ? |
lang | Y | Y | Y | ? | ? |
title | Y | Y | Y | ? | ? |
Interface HTMLHtmlElement | |||||
(General) | I | Y | Y | ? | ? |
version | Y | Y | Y | ? | ? |
Interface HTMLHeadElement | |||||
(General) | I | Y | Y | ? | ? |
profile | Y | Y | Y | ? | ? |
Interface HTMLLinkElement | |||||
(General) | I | Y | Y | ? | ? |
charset | Y | Y | Y | ? | ? |
disabled | I | Y | Y | ? | ? |
href | Y | Y | Y | ? | ? |
hreflang | Y | Y | Y | ? | ? |
media | Y | Y | Y | ? | ? |
rel | Y | Y | Y | ? | ? |
rev | Y | Y | Y | ? | ? |
target | Y | Y | Y | ? | ? |
type | Y | Y | Y | ? | ? |
Interface HTMLTitleElement | |||||
(General) | I | Y | Y | ? | ? |
text | Y | Y | Y | ? | ? |
Interface HTMLMetaElement | |||||
(General) | I | Y | Y | ? | ? |
content | Y | Y | Y | ? | ? |
httpEquiv | Y | Y | Y | ? | ? |
name | Y | Y | Y | ? | ? |
scheme | Y | Y | Y | ? | ? |
Interface HTMLBaseElement | |||||
(General) | I | Y | Y | ? | ? |
href | Y | Y | Y | ? | ? |
target | 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 | ? | ? |
media | Y | Y | Y | ? | ? |
type | Y | Y | Y | ? | ? |
Interface HTMLBodyElement | |||||
(General) | I | Y | Y | ? | ? |
aLink | Y | Y | Y | ? | ? |
background | Y | Y | Y | ? | ? |
bgColor | Y | Y | Y | ? | ? |
link | Y | Y | Y | ? | ? |
text | Y | Y | Y | ? | ? |
vLink | Y | Y | Y | ? | ? |
Interface HTMLFormElement | |||||
(General) | I | Y | Y | ? | ? |
acceptCharset | Y | Y | Y | ? | ? |
action | Y | Y | Y | ? | ? |
elements | Y | Y | Y | ? | ? |
enctype | Y | Y | Y | ? | ? |
length | Y | Y | Y | ? | ? |
method | Y | Y | Y | ? | ? |
name | Y | Y | Y | ? | ? |
target | Y | Y | Y | ? | ? |
reset() | Y | Y | Y | ? | ? |
submit() | Y | Y | Y | ? | ? |
Interface HTMLSelectElement | |||||
(General) | I | Y | Y | ? | ? |
disabled | Y | Y | Y | ? | ? |
form | Y | Y | Y | ? | ? |
length | Y | Y | Y | ? | ? |
multiple | Y | Y | Y | ? | ? |
name | Y | Y | Y | ? | ? |
options | Y | Y | Y | ? | ? |
selectedIndex | Y | Y | Y | ? | ? |
size | Y | Y | Y | ? | ? |
tabIndex | Y | Y | Y | ? | ? |
type | Y | Y | Y | ? | ? |
value | I | Y | Y | ? | ? |
add() | I | Y | Y | ? | ? |
blur() | Y | Y | Y | ? | ? |
focus() | Y | Y | Y | ? | ? |
remove() | Y | Y | Y | ? | ? |
Interface HTMLOptGroupElement | |||||
(General) | I | Y | Y | ? | ? |
disabled | Y | Y | Y | ? | ? |
label | Y | Y | Y | ? | ? |
Interface HTMLOptionElement | |||||
(General) | I | Y | Y | ? | ? |
defaultSelected | I | Y | Y | ? | ? |
disabled | Y | Y | Y | ? | ? |
form | Y | Y | Y | ? | ? |
index | Y | Y | Y | ? | ? |
label | Y | Y | Y | ? | ? |
selected | Y | Y | Y | ? | ? |
text | Y | Y | Y | ? | ? |
value | I | Y | Y | ? | ? |
Interface HTMLInputElement | |||||
(General) | I | Y | Y | ? | ? |
accept | Y | Y | Y | ? | ? |
accessKey | Y | Y | Y | ? | ? |
align | Y | Y | Y | ? | ? |
alt | Y | Y | Y | ? | ? |
checked | Y | Y | Y | ? | ? |
defaultChecked | Y | Y | Y | ? | ? |
defaultValue | Y | Y | Y | ? | ? |
disabled | Y | Y | Y | ? | ? |
form | Y | Y | Y | ? | ? |
maxLength | Y | Y | Y | ? | ? |
name | Y | Y | Y | ? | ? |
readOnly | Y | Y | Y | ? | ? |
size | Y | Y | Y | ? | ? |
src | Y | Y | Y | ? | ? |
tabIndex | Y | Y | Y | ? | ? |
type | Y | Y | Y | ? | ? |
useMap | Y | Y | Y | ? | ? |
value | Y | Y | Y | ? | ? |
blur() | Y | Y | Y | ? | ? |
click() | I | Y | Y | ? | ? |
focus() | Y | Y | Y | ? | ? |
select() | Y | Y | Y | ? | ? |
Interface HTMLTextAreaElement | |||||
(General) | I | Y | Y | ? | ? |
accessKey | Y | Y | Y | ? | ? |
cols | Y | Y | Y | ? | ? |
defaultValue | Y | Y | Y | ? | ? |
disabled | Y | Y | Y | ? | ? |
form | Y | Y | Y | ? | ? |
name | Y | Y | Y | ? | ? |
readOnly | Y | Y | Y | ? | ? |
rows | Y | Y | Y | ? | ? |
tabIndex | Y | Y | Y | ? | ? |
type | Y | Y | Y | ? | ? |
value | Y | Y | Y | ? | ? |
blur() | Y | Y | Y | ? | ? |
focus() | Y | Y | Y | ? | ? |
select() | Y | Y | Y | ? | ? |
Interface HTMLButtonElement | |||||
(General) | I | Y | Y | ? | ? |
accessKey | Y | Y | Y | ? | ? |
disabled | Y | Y | Y | ? | ? |
form | Y | Y | Y | ? | ? |
name | Y | Y | Y | ? | ? |
tabIndex | Y | Y | Y | ? | ? |
type | Y | Y | Y | ? | ? |
value | Y | Y | Y | ? | ? |
Interface HTMLLabelElement | |||||
(General) | I | Y | Y | ? | ? |
accessKey | Y | Y | Y | ? | ? |
form | Y | Y | Y | ? | ? |
htmlFor | Y | Y | Y | ? | ? |
Interface HTMLFieldSetElement | |||||
(General) | I | Y | Y | ? | ? |
form | Y | Y | Y | ? | ? |
Interface HTMLLegendElement | |||||
(General) | I | Y | Y | ? | ? |
accessKey | Y | Y | Y | ? | ? |
align | Y | Y | Y | ? | ? |
form | Y | Y | Y | ? | ? |
Interface HTMLUListElement | |||||
(General) | I | Y | Y | ? | ? |
compact | Y | Y | Y | ? | ? |
type | Y | Y | I | ? | ? |
Interface HTMLOListElement | |||||
(General) | I | Y | Y | ? | ? |
compact | Y | Y | Y | ? | ? |
start | Y | Y | Y | ? | ? |
type | Y | Y | Y | ? | ? |
Interface HTMLDListElement | |||||
(General) | I | Y | Y | ? | ? |
compact | Y | Y | Y | ? | ? |
Interface HTMLDirectoryElement | |||||
(General) | I | Y | Y | ? | ? |
compact | Y | Y | Y | ? | ? |
Interface HTMLMenuElement | |||||
(General) | I | Y | Y | ? | ? |
compact | Y | Y | Y | ? | ? |
Interface HTMLLIElement | |||||
(General) | I | Y | Y | ? | ? |
type | Y | Y | Y | ? | ? |
value | Y | Y | Y | ? | ? |
Interface HTMLDivElement | |||||
(General) | I | Y | Y | ? | ? |
align | Y | Y | Y | ? | ? |
Interface HTMLParagraphElement | |||||
(General) | I | Y | Y | ? | ? |
align | Y | Y | Y | ? | ? |
Interface HTMLHeadingElement | |||||
(General) | I | Y | Y | ? | ? |
align | Y | Y | Y | ? | ? |
Interface HTMLQuoteElement | |||||
(General) | I | Y | Y | ? | ? |
cite | Y | Y | Y | ? | ? |
Interface HTMLPreElement | |||||
(General) | I | Y | Y | ? | ? |
width | Y | Y | Y | ? | ? |
Interface HTMLBRElement | |||||
(General) | I | Y | Y | ? | ? |
clear | Y | Y | Y | ? | ? |
Interface HTMLBaseFontElement | |||||
(General) | I | Y | Y | ? | ? |
color | Y | Y | Y | ? | ? |
face | Y | Y | Y | ? | ? |
size | Y | Y | Y | ? | ? |
Interface HTMLFontElement | |||||
(General) | I | Y | Y | ? | ? |
color | Y | Y | Y | ? | ? |
face | Y | Y | Y | ? | ? |
size | Y | Y | Y | ? | ? |
Interface HTMLHRElement | |||||
(General) | I | Y | Y | ? | ? |
align | Y | Y | Y | ? | ? |
noShade | Y | Y | Y | ? | ? |
size | Y | Y | Y | ? | ? |
width | Y | Y | Y | ? | ? |
Interface HTMLModElement | |||||
(General) | I | Y | Y | ? | ? |
cite | Y | Y | Y | ? | ? |
dateTime | Y | Y | Y | ? | ? |
Interface HTMLAnchorElement | |||||
(General) | I | Y | Y | ? | ? |
accessKey | Y | Y | Y | ? | ? |
charset | Y | Y | Y | ? | ? |
coords | Y | Y | Y | ? | ? |
href | Y | Y | Y | ? | ? |
hreflang | Y | Y | Y | ? | ? |
name | Y | Y | Y | ? | ? |
rel | Y | Y | Y | ? | ? |
rev | Y | Y | Y | ? | ? |
shape | Y | Y | Y | ? | ? |
tabIndex | Y | Y | Y | ? | ? |
target | Y | Y | Y | ? | ? |
type | Y | Y | Y | ? | ? |
blur() | Y | Y | Y | ? | ? |
focus() | Y | Y | Y | ? | ? |
Interface HTMLImageElement | |||||
(General) | I | Y | Y | ? | ? |
align | Y | Y | Y | ? | ? |
alt | Y | Y | Y | ? | ? |
border | Y | Y | Y | ? | ? |
height | Y | Y | Y | ? | ? |
hspace | Y | Y | Y | ? | ? |
isMap | Y | Y | Y | ? | ? |
longDesc | Y | Y | Y | ? | ? |
name | Y | Y | Y | ? | ? |
src | Y | Y | Y | ? | ? |
useMap | Y | Y | Y | ? | ? |
vspace | Y | Y | Y | ? | ? |
width | Y | Y | Y | ? | ? |
Interface HTMLObjectElement | |||||
(General) | I | Y | Y | ? | ? |
align | Y | Y | Y | ? | ? |
archive | Y | Y | Y | ? | ? |
border | Y | Y | Y | ? | ? |
code | Y | Y | Y | ? | ? |
codeBase | Y | Y | Y | ? | ? |
codeType | Y | Y | Y | ? | ? |
contentDocument | N | Y | Y | ? | ? |
data | Y | Y | Y | ? | ? |
declare | Y | Y | Y | ? | ? |
form | Y | Y | Y | ? | ? |
height | Y | Y | Y | ? | ? |
hspace | Y | Y | Y | ? | ? |
name | Y | Y | Y | ? | ? |
standby | Y | Y | Y | ? | ? |
tabIndex | Y | Y | Y | ? | ? |
type | Y | Y | Y | ? | ? |
useMap | Y | Y | Y | ? | ? |
vspace | Y | Y | Y | ? | ? |
width | Y | Y | Y | ? | ? |
Interface HTMLParamElement | |||||
(General) | I | Y | Y | ? | ? |
name | Y | Y | Y | ? | ? |
type | Y | Y | Y | ? | ? |
value | Y | Y | Y | ? | ? |
valueType | N | Y | Y | ? | ? |
Interface HTMLAppletElement | |||||
(General) | I | Y | Y | ? | ? |
align | Y | Y | Y | ? | ? |
alt | Y | Y | Y | ? | ? |
archive | Y | Y | Y | ? | ? |
code | Y | Y | Y | ? | ? |
codeBase | Y | Y | Y | ? | ? |
height | Y | Y | Y | ? | ? |
hspace | Y | Y | Y | ? | ? |
name | Y | Y | Y | ? | ? |
object | I | Y | Y | ? | ? |
vspace | Y | Y | Y | ? | ? |
width | Y | Y | Y | ? | ? |
Interface HTMLMapElement | |||||
(General) | I | Y | Y | ? | ? |
areas | Y | Y | Y | ? | ? |
name | Y | Y | Y | ? | ? |
Interface HTMLAreaElement | |||||
(General) | I | Y | Y | ? | ? |
accessKey | Y | Y | Y | ? | ? |
alt | Y | Y | Y | ? | ? |
coords | Y | Y | Y | ? | ? |
href | Y | Y | Y | ? | ? |
noHref | I | Y | Y | ? | ? |
shape | Y | Y | Y | ? | ? |
tabIndex | Y | Y | Y | ? | ? |
target | Y | Y | Y | ? | ? |
Interface HTMLScriptElement | |||||
(General) | I | Y | Y | ? | ? |
charset | Y | Y | Y | ? | ? |
defer | Y | Y | Y | ? | ? |
event | Y | Y | Y | ? | ? |
htmlFor | Y | Y | Y | ? | ? |
src | Y | Y | Y | ? | ? |
text | Y | Y | Y | ? | ? |
type | Y | Y | Y | ? | ? |
Interface HTMLTableElement | |||||
(General) | I | Y | Y | ? | ? |
align | Y | Y | Y | ? | ? |
bgColor | Y | Y | Y | ? | ? |
border | Y | Y | Y | ? | ? |
caption | Y | Y | Y | ? | ? |
cellPadding | Y | Y | Y | ? | ? |
cellSpacing | Y | Y | Y | ? | ? |
frame | Y | Y | Y | ? | ? |
rows | Y | Y | Y | ? | Y |
rules | Y | Y | Y | ? | N |
summary | Y | Y | Y | ? | ? |
tBodies | Y | Y | Y | ? | ? |
tFoot | Y | Y | Y | ? | ? |
tHead | Y | Y | Y | ? | ? |
width | Y | Y | Y | ? | ? |
createCaption() | Y | Y | Y | ? | ? |
createTFoot() | Y | Y | Y | ? | ? |
createTHead() | Y | Y | Y | ? | ? |
deleteCaption() | Y | Y | Y | ? | ? |
deleteRow() | Y | Y | Y | ? | ? |
deleteTFoot() | Y | Y | Y | ? | ? |
deleteTHead() | Y | Y | Y | ? | ? |
insertRow() | I | Y | Y | ? | ? |
Interface HTMLTableCaptionElement | |||||
(General) | I | Y | Y | ? | ? |
align | Y | Y | Y | ? | ? |
Interface HTMLTableColElement | |||||
(General) | I | Y | Y | ? | ? |
align | Y | Y | Y | ? | ? |
ch | I | Y | Y | ? | ? |
chOff | I | Y | Y | ? | ? |
span | Y | Y | Y | ? | ? |
vAlign | Y | Y | Y | ? | ? |
width | Y | Y | Y | ? | ? |
Interface HTMLTableSectionElement | |||||
(General) | I | Y | Y | ? | ? |
align | Y | Y | Y | ? | ? |
ch | I | Y | Y | ? | ? |
chOff | I | Y | Y | ? | ? |
rows | Y | Y | Y | ? | ? |
vAlign | Y | Y | Y | ? | ? |
deleteRow() | Y | Y | Y | ? | ? |
insertRow() | Y | Y | Y | ? | ? |
Interface HTMLTableRowElement | |||||
(General) | I | Y | Y | ? | ? |
align | Y | Y | Y | ? | ? |
bgColor | Y | Y | Y | ? | ? |
cells | Y | Y | Y | ? | ? |
ch | I | Y | Y | ? | ? |
chOff | I | Y | Y | ? | ? |
rowIndex | Y | Y | Y | ? | ? |
sectionRowIndex | Y | Y | Y | ? | ? |
vAlign | Y | Y | Y | ? | ? |
deleteCell() | Y | Y | Y | ? | ? |
insertCell() | Y | Y | Y | ? | ? |
Interface HTMLTableCellElement | |||||
(General) | I | Y | Y | ? | ? |
abbr | Y | Y | Y | ? | ? |
align | Y | Y | Y | ? | ? |
axis | Y | Y | Y | ? | ? |
bgColor | Y | Y | Y | ? | ? |
cellIndex | Y | Y | Y | ? | ? |
ch | I | Y | Y | ? | ? |
chOff | I | Y | Y | ? | ? |
colSpan | Y | Y | Y | ? | ? |
headers | Y | Y | Y | ? | ? |
height | Y | Y | Y | ? | ? |
noWrap | Y | Y | Y | ? | ? |
rowSpan | I | Y | Y | ? | ? |
scope | Y | Y | Y | ? | ? |
vAlign | Y | Y | Y | ? | ? |
width | Y | Y | Y | ? | ? |
Interface HTMLFrameSetElement | |||||
(General) | I | Y | Y | ? | ? |
cols | Y | Y | Y | ? | ? |
rows | Y | Y | Y | ? | ? |
Interface HTMLFrameElement | |||||
(General) | I | Y | Y | ? | ? |
contentDocument | N | Y | Y | ? | ? |
frameBorder | Y | Y | Y | ? | ? |
longDesc | Y | Y | Y | ? | ? |
marginHeight | Y | Y | Y | ? | ? |
marginWidth | Y | Y | Y | ? | ? |
name | Y | Y | Y | ? | ? |
noResize | Y | Y | Y | ? | ? |
scrolling | Y | Y | Y | ? | ? |
src | Y | Y | Y | ? | ? |
Interface HTMLIFrameElement | |||||
(General) | I | Y | Y | ? | ? |
align | Y | Y | Y | ? | ? |
contentDocument | N | Y | Y | ? | ? |
frameBorder | Y | Y | Y | ? | ? |
height | Y | Y | Y | ? | ? |
longDesc | Y | Y | Y | ? | ? |
marginHeight | Y | Y | Y | ? | ? |
marginWidth | Y | Y | Y | ? | ? |
name | Y | Y | Y | ? | ? |
scrolling | Y | Y | Y | ? | ? |
src | Y | Y | Y | ? | ? |
width | 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.
Feature | IE 7 | Firefox 2 | Opera 9 | Konqueror 3.5 | Safari 2 |
---|---|---|---|---|---|
Interface DOMImplementationLS | |||||
(General) | N | N | Y | ? | ? |
createLSInput() | N | N | Y | ? | ? |
createLSOutput() | N | N | Y | ? | ? |
createLSParser() | N | N | Y | ? | ? |
createLSSerializer() | N | N | Y | ? | ? |
Interface LSParser | |||||
(General) | N | N | Y | ? | ? |
async | N | N | Y | ? | ? |
busy | N | N | Y | ? | ? |
domConfig | N | N | I | ? | ? |
filter | N | N | Y | ? | ? |
abort() | N | N | Y | ? | ? |
parse() | N | N | Y | ? | ? |
parseURI() | N | N | Y | ? | ? |
parseWithContext() | N | N | Y | ? | ? |
Interface LSInput | |||||
(General) | N | N | Y | ? | ? |
baseURI | N | N | Y | ? | ? |
byteStream | N | N | Y | ? | ? |
certifiedText | N | N | Y | ? | ? |
characterStream | N | N | Y | ? | ? |
encoding | N | N | Y | ? | ? |
publicId | N | N | Y | ? | ? |
stringData | N | N | Y | ? | ? |
systemId | N | N | Y | ? | ? |
Interface LSResourceResolver | |||||
(General) | N | N | N | ? | ? |
resolveResource() | N | N | N | ? | ? |
Interface LSParserFilter | |||||
(General) | N | N | Y | ? | ? |
whatToShow | N | N | N | ? | ? |
acceptNode() | N | N | N | ? | ? |
startElement() | N | N | N | ? | ? |
Interface LSProgressEvent | |||||
(General) | N | N | N | ? | ? |
input | N | N | N | ? | ? |
position | N | N | N | ? | ? |
totalsize | N | N | N | ? | ? |
Interface LSLoadEvent | |||||
(General) | N | N | N | ? | ? |
input | N | N | N | ? | ? |
newDocument | N | N | N | ? | ? |
Interface LSSerializer | |||||
(General) | N | N | Y | ? | ? |
domConfig | N | N | I | ? | ? |
filter | N | N | Y | ? | ? |
newLine | N | N | Y | ? | ? |
write() | N | N | Y | ? | ? |
writeToString() | N | N | Y | ? | ? |
writeToURI() | N | N | Y | ? | ? |
Interface LSOutput | |||||
(General) | N | N | Y | ? | ? |
byteStream | N | N | Y | ? | ? |
characterStream | N | N | Y | ? | ? |
systemId | N | N | Y | ? | ? |
Interface LSSerializerFilter | |||||
(General) | N | N | Y | ? | ? |
whatToShow | N | N | N | ? | ? |
DOM Level 2 Style defines the model for interacting with stylesheets and element style information.
Feature | IE 7 | Firefox 2 | Opera 9 | Konqueror 3.5 | Safari 2 |
---|---|---|---|---|---|
Interface StyleSheet | |||||
(General) | I | Y | Y | ? | ? |
disabled | Y | Y | I | ? | ? |
href | Y | Y | Y | ? | ? |
media | I | Y | Y | ? | ? |
ownerNode | N | Y | Y | ? | ? |
parentStyleSheet | Y | Y | Y | ? | ? |
title | Y | Y | Y | ? | ? |
type | Y | Y | Y | ? | ? |
Interface StyleSheetList | |||||
(General) | I | Y | Y | ? | ? |
length | Y | Y | Y | ? | ? |
item() | 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 | ? | ? |
Interface CSSStyleSheet | |||||
(General) | N | Y | Y | ? | ? |
cssRules | N | I | 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 | N | Y | ? | ? |
style | N | N | Y | ? | ? |
Interface CSSPageRule | |||||
(General) | N | N | Y | ? | ? |
selectorText | N | N | Y | ? | ? |
style | N | 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 | 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 | N | ? | ? |
cssText | N | N | N | ? | ? |
cssValueType | N | N | N | ? | ? |
Interface CSSPrimitiveValue | |||||
(General) | N | Y | N | ? | ? |
primitiveType | N | Y | N | ? | ? |
getCounterValue() | N | N | N | ? | ? |
getFloatValue() | N | Y | N | ? | ? |
getRGBColorValue() | N | Y | N | ? | ? |
getRectValue() | N | Y | N | ? | ? |
getStringValue() | N | N | N | ? | ? |
setFloatValue() | N | N | N | ? | ? |
setStringValue() | N | N | N | ? | ? |
Interface CSSValueList | |||||
(General) | N | N | N | ? | ? |
length | N | N | N | ? | ? |
item() | N | 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 | N | ? | ? |
identifier | N | N | N | ? | ? |
listStyle | N | N | N | ? | ? |
separator | N | N | N | ? | ? |
Interface ViewCSS | |||||
(General) | N | Y | Y | ? | ? |
getComputedStyle() | N | Y | Y | ? | ? |
Interface DocumentCSS | |||||
(General) | N | N | N | ? | ? |
getOverrideStyle() | N | N | N | ? | ? |
Interface DOMImplementationCSS | |||||
(General) | N | N | N | ? | ? |
createCSSStyleSheet() | N | N | N | ? | ? |
Interface ElementCSSInlineStyle | |||||
(General) | I | Y | Y | ? | ? |
style | Y | Y | Y | ? | ? |
Interface CSS2Properties | |||||
(General) | I | Y | Y | ? | ? |
azimuth | N | Y | N | ? | ? |
background | I | I | I | ? | ? |
backgroundAttachment | Y | Y | Y | ? | ? |
backgroundColor | I | Y | Y | ? | ? |
backgroundImage | Y | Y | Y | ? | ? |
backgroundPosition | I | Y | Y | ? | ? |
backgroundRepeat | Y | Y | Y | ? | ? |
border | I | I | I | ? | ? |
borderBottom | I | Y | I | ? | ? |
borderBottomColor | I | Y | Y | ? | ? |
borderBottomStyle | Y | Y | Y | ? | ? |
borderBottomWidth | I | Y | Y | ? | ? |
borderCollapse | Y | Y | Y | ? | ? |
borderColor | I | I | Y | ? | ? |
borderLeft | I | Y | I | ? | ? |
borderLeftColor | I | Y | Y | ? | ? |
borderLeftStyle | Y | Y | Y | ? | ? |
borderLeftWidth | I | Y | Y | ? | ? |
borderRight | I | Y | I | ? | ? |
borderRightColor | I | Y | Y | ? | ? |
borderRightStyle | Y | Y | Y | ? | ? |
borderRightWidth | I | Y | Y | ? | ? |
borderSpacing | N | Y | Y | ? | ? |
borderStyle | Y | I | Y | ? | ? |
borderTop | I | Y | I | ? | ? |
borderTopColor | I | Y | Y | ? | ? |
borderTopStyle | Y | Y | Y | ? | ? |
borderTopWidth | I | Y | Y | ? | ? |
borderWidth | I | I | Y | ? | ? |
bottom | I | Y | Y | ? | ? |
captionSide | N | Y | Y | ? | ? |
clear | 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 | ? | ? |
display | Y | Y | Y | ? | ? |
elevation | N | Y | N | ? | ? |
emptyCells | N | Y | Y | ? | ? |
font | I | Y | I | ? | ? |
fontFamily | Y | Y | Y | ? | ? |
fontSize | I | Y | Y | ? | ? |
fontSizeAdjust | N | Y | Y | ? | ? |
fontStretch | N | Y | Y | ? | ? |
fontStyle | Y | Y | Y | ? | ? |
fontVariant | Y | Y | Y | ? | ? |
fontWeight | Y | Y | Y | ? | ? |
height | I | Y | Y | ? | ? |
left | I | Y | Y | ? | ? |
letterSpacing | I | Y | Y | ? | ? |
lineHeight | Y | Y | Y | ? | ? |
listStyle | I | I | I | ? | ? |
listStyleImage | Y | Y | Y | ? | ? |
listStylePosition | Y | Y | Y | ? | ? |
listStyleType | Y | Y | Y | ? | ? |
margin | I | 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 | ? | ? |
padding | I | 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 | ? | ? |
pageBreakBefore | 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 | ? | ? |
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 | ? | ? |
textAlign | Y | Y | Y | ? | ? |
textDecoration | Y | Y | Y | ? | ? |
textIndent | I | Y | Y | ? | ? |
textShadow | N | Y | Y | ? | ? |
textTransform | Y | Y | Y | ? | ? |
top | I | Y | Y | ? | ? |
unicodeBidi | Y | Y | Y | ? | ? |
verticalAlign | I | Y | Y | ? | ? |
visibility | Y | Y | Y | ? | ? |
voiceFamily | N | Y | Y | ? | ? |
volume | N | Y | Y | ? | ? |
whiteSpace | Y | Y | Y | ? | ? |
widows | N | Y | Y | ? | ? |
width | I | Y | Y | ? | ? |
wordSpacing | I | Y | Y | ? | ? |
zIndex | 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 | Firefox 2 | Opera 9 | Konqueror 3.5 | Safari 2 |
---|---|---|---|---|---|
Interface NodeIterator | |||||
(General) | N | N | Y | ? | ? |
expandEntityReferences | N | N | Y | ? | ? |
filter | N | N | Y | ? | ? |
root | N | N | Y | ? | ? |
whatToShow | N | N | Y | ? | ? |
detach() | N | N | Y | ? | ? |
nextNode() | N | N | Y | ? | ? |
previousNode() | N | 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 | I | Y | ? | ? |
root | N | Y | Y | ? | ? |
whatToShow | N | Y | Y | ? | ? |
firstChild() | N | I | Y | ? | ? |
lastChild() | N | I | Y | ? | ? |
nextNode() | N | I | Y | ? | ? |
nextSibling() | N | I | Y | ? | ? |
parentNode() | N | I | Y | ? | ? |
previousNode() | N | I | Y | ? | ? |
previousSibling() | N | I | Y | ? | ? |
Interface DocumentTraversal | |||||
(General) | N | Y | Y | ? | ? |
createNodeIterator() | N | 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 | Firefox 2 | Opera 9 | Konqueror 3.5 | Safari 2 |
---|---|---|---|---|---|
Interface DocumentEditVAL | |||||
(General) | N | N | N | ? | ? |
continuousValidityChecking | N | N | N | ? | ? |
domConfig | N | N | N | ? | ? |
getDefinedElements() | N | N | N | ? | ? |
validateDocument() | N | N | N | ? | ? |
Interface NodeEditVAL | |||||
(General) | N | N | N | ? | ? |
defaultValue | N | N | N | ? | ? |
enumeratedValues | N | N | N | ? | ? |
canAppendChild() | N | N | N | ? | ? |
canInsertBefore() | N | N | N | ? | ? |
canRemoveChild() | N | N | N | ? | ? |
canReplaceChild() | N | N | N | ? | ? |
nodeValidity() | N | N | N | ? | ? |
Interface ElementEditVAL | |||||
(General) | N | N | N | ? | ? |
allowedAttributes | N | N | N | ? | ? |
allowedChildren | N | N | N | ? | ? |
allowedFirstChildren | N | N | N | ? | ? |
allowedNextSiblings | N | N | N | ? | ? |
allowedParents | N | N | N | ? | ? |
allowedPreviousSiblings | N | N | N | ? | ? |
contentType | N | N | N | ? | ? |
requiredAttributes | N | N | N | ? | ? |
canRemoveAttribute() | N | N | N | ? | ? |
canRemoveAttributeNS() | N | N | N | ? | ? |
canRemoveAttributeNode() | N | N | N | ? | ? |
canSetAttribute() | N | N | N | ? | ? |
canSetAttributeNS() | N | N | N | ? | ? |
canSetAttributeNode() | N | N | N | ? | ? |
canSetTextContent() | N | N | N | ? | ? |
isElementDefined() | N | N | N | ? | ? |
isElementDefinedNS() | N | N | N | ? | ? |
Interface CharacterDataEditVAL | |||||
(General) | N | N | N | ? | ? |
canAppendData() | N | N | N | ? | ? |
canDeleteData() | N | N | N | ? | ? |
canInsertData() | N | N | N | ? | ? |
canReplaceData() | N | N | N | ? | ? |
canSetData() | N | N | N | ? | ? |
isWhitespaceOnly() | N | N | N | ? | ? |
DOM Level 2 Views defines a model for scripts to handle different views of a document.
Feature | IE 7 | Firefox 2 | Opera 9 | Konqueror 3.5 | Safari 2 |
---|---|---|---|---|---|
Interface AbstractView | |||||
(General) | I | Y | Y | ? | ? |
document | Y | Y | Y | ? | ? |
Interface DocumentView | |||||
(General) | N | Y | Y | ? | ? |
defaultView | N | Y | Y | ? | ? |