Below you will find a description of and pointer to each test in the DOM TS categorized under interface, attribute and method,
sorted alphabetically.
| Attribute | Tests |
|---|
| accessKey | | HTMLAnchorElement01 (XML)
The accessKey attribute is a single character access key to give
access to the form control.
Retrieve the accessKey attribute and examine it's value.
|
|
| charset | | HTMLAnchorElement02 (XML)
The charset attribute indicates the character encoding of the linked
resource.
Retrieve the charset attribute and examine it's value.
|
|
| coords | | HTMLAnchorElement03 (XML)
The coords attribute is a comma-seperated list of lengths, defining
an active region geometry.
Retrieve the coords attribute and examine it's value.
|
|
| href | | HTMLAnchorElement04 (XML)
The href attribute contains the URL of the linked resource.
Retrieve the href attribute and examine its value.
|
|
| hreflang | | HTMLAnchorElement05 (XML)
The hreflang attribute contains the language code of the linked resource.
Retrieve the hreflang attribute and examine it's value.
|
|
| name | | HTMLAnchorElement06 (XML)
The name attribute contains the anchor name.
Retrieve the name attribute and examine it's value.
|
|
| rel | | HTMLAnchorElement07 (XML)
The rel attribute contains the forward link type.
Retrieve the rel attribute and examine it's value.
|
|
| rev | | HTMLAnchorElement08 (XML)
The rev attribute contains the reverse link type
Retrieve the rev attribute and examine it's value.
|
|
| shape | | HTMLAnchorElement09 (XML)
The shape attribute contains the shape of the active area.
Retrieve the shape attribute and examine it's value.
|
|
| tabIndex | | HTMLAnchorElement10 (XML)
The tabIndex attribute contains an index that represents the elements
position in the tabbing order.
Retrieve the tabIndex attribute and examine it's value.
|
|
| target | | HTMLAnchorElement11 (XML)
The target attribute specifies the frame to render the source in.
Retrieve the target attribute and examine it's value.
|
|
| type | | HTMLAnchorElement12 (XML)
The type attribute contains the advisory content model.
Retrieve the type attribute and examine it's value.
|
|
| Method | Tests |
|---|
| blur | |
| focus | |
| Attribute | Tests |
|---|
| align | | HTMLAppletElement01 (XML)
The align attribute specifies the alignment of the object(Vertically
or Horizontally) with respect to its surrounding text.
Retrieve the align attribute and examine it's value.
|
|
| alt | | HTMLAppletElement02 (XML)
The alt attribute specifies the alternate text for user agents not
rendering the normal context of this element.
Retrieve the alt attribute and examine it's value.
|
|
| archive | | HTMLAppletElement03 (XML)
The archive attribute specifies a comma-seperated archive list.
Retrieve the archive attribute and examine it's value.
|
|
| code | | HTMLAppletElement04 (XML)
The code attribute specifies the applet class file.
Retrieve the code attribute and examine it's value.
|
|
| codeBase | | HTMLAppletElement05 (XML)
The codeBase attribute specifies an optional base URI for the applet.
Retrieve the codeBase attribute and examine it's value.
|
|
| height | | HTMLAppletElement06 (XML)
The height attribute overrides the height.
Retrieve the height attribute and examine it's value.
|
|
| hspace | | HTMLAppletElement07 (XML)
The hspace attribute specifies the horizontal space to the left
and right of this image, applet, or object.
Retrieve the hspace attribute and examine it's value.
|
|
| name | | HTMLAppletElement08 (XML)
The name attribute specifies the name of the applet.
Retrieve the name attribute and examine it's value.
|
|
| object | | HTMLAppletElement11 (XML)
The object attribute specifies the serialized applet file.
Retrieve the object attribute and examine its value.
|
|
| vspace | | HTMLAppletElement09 (XML)
The vspace attribute specifies the vertical space above and below
this image, applet or object.
Retrieve the vspace attribute and examine it's value.
|
|
| width | | HTMLAppletElement10 (XML)
The width attribute overrides the regular width.
Retrieve the width attribute and examine it's value.
|
|
| Attribute | Tests |
|---|
| anchors | | HTMLDocument11 (XML)
The anchors attribute returns a collection of all A elements with values
for the name attribute.
Retrieve the anchors attribute from the document and examine its value.
|
|
| applets | | HTMLDocument08 (XML)
The applets attribute returns a collection of all OBJECT elements that
include applets abd APPLET elements in a document.
Retrieve the applets attribute from the document and examine its value.
|
|
| body | | HTMLDocument05 (XML)
The body attribute is the element that contains the content for the
document.
Retrieve the body attribute and examine its value for the id attribute.
|
|
| cookie | | HTMLDocument02 (XML)
The cookie attribute returns the cookies associated with this document.
Retrieve the cookie attribute and examine its value.
|
|
| domain | | HTMLDocument03 (XML)
The domain attribute specifies the domain name of the server that served
the document, or null if the server cannot be identified by a domain name.
Retrieve the domain attribute and examine its value.
|
|
| forms | | HTMLDocument10 (XML)
The forms attribute returns a collection of all the forms in a document.
Retrieve the forms attribute from the document and examine its value.
|
|
| images | | HTMLDocument07 (XML)
The images attribute returns a collection of all IMG elements in a document.
Retrieve the images attribute from the document and examine its value.
|
|
| links | | HTMLDocument09 (XML)
The links attribute returns a collection of all AREA and A elements
in a document with a value for the href attribute.
Retrieve the links attribute from the document and examine its value.
|
|
| referrer | | HTMLDocument02 (XML)
The referrer attribute returns the URI of the page that linked to this
page.
Retrieve the referrer attribute and examine its value.
|
|
| title | | HTMLDocument01 (XML)
The title attribute is the specified title as a string.
Retrieve the title attribute and examine its value.
|
|
| URL | | HTMLDocument04 (XML)
The URL attribute specifies the absolute URI of the document.
Retrieve the URL attribute and examine its value.
|
|
| Method | Tests |
|---|
| close | |
| getElementsByName | | HTMLDocument13 (XML)
The getElementsByName method returns the (possibly empty) collection
of elements whose name value is given by the elementName. The method
is case sensitive.
Retrieve all the elements whose name attribute is "mapid".
Check the length of the nodelist. It should be 1.
| | HTMLDocument14 (XML)
The getElementsByName method returns the (possibly empty) collection
of elements whose name value is given by the elementName. The method
is case sensitive.
Retrieve all the elements whose name attribute is "noid".
Check the length of the nodelist. It should be 0 since
the id "noid" does not exist.
|
|
| open | |
| write | |
| writeln | |
| Attribute | Tests |
|---|
| align | | HTMLIFrameElement01 (XML)
The align attribute aligns this object(vertically or horizontally with
respect to its surrounding text.
Retrieve the align attribute of the first IFRAME element and examine
it's value.
|
|
| contentDocument | | HTMLIFrameElement11 (XML)
The contentDocument attribute specifies the document this frame contains,
if there is any and it is available, or null otherwise.
Retrieve the contentDocument attribute of the first IFRAME element
and examine it's value.
|
|
| frameBorder | | HTMLIFrameElement02 (XML)
The frameBorder attribute specifies the request for frame borders.
(frameBorder=1 A border is drawn)
(FrameBorder=0 A border is not drawn)
Retrieve the frameBorder attribute of the first IFRAME element and examine
it's value.
|
|
| height | | HTMLIFrameElement03 (XML)
The height attribute specifies the frame height.
Retrieve the height attribute of the first IFRAME element and examine
it's value.
|
|
| longDesc | | HTMLIFrameElement04 (XML)
The longDesc attribute specifies a URI designating a long description
of this image or frame.
Retrieve the longDesc attribute of the first IFRAME element and examine
it's value.
|
|
| marginHeight | | HTMLIFrameElement06 (XML)
The marginHeight attribute specifies the frame margin height, in pixels.
Retrieve the marginHeight attribute of the first IFRAME element and examine
it's value.
|
|
| marginWidth | | HTMLIFrameElement05 (XML)
The marginWidth attribute specifies the frame margin width, in pixels.
Retrieve the marginWidth attribute of the first FRAME element and examine
it's value.
|
|
| name | | HTMLIFrameElement07 (XML)
The name attribute specifies the frame name(object of the target
attribute).
Retrieve the name attribute of the first IFRAME element and examine
it's value.
|
|
| scrolling | | HTMLIFrameElement08 (XML)
The scrolling attribute specifies whether or not the frame should have
scrollbars.
Retrieve the scrolling attribute of the first FRAME element and examine
it's value.
|
|
| src | | HTMLIFrameElement09 (XML)
The src attribute specifies a URI designating the initial frame contents.
Retrieve the src attribute of the first FRAME element and examine
it's value.
|
|
| width | | HTMLIFrameElement10 (XML)
The width attribute specifies the frame width.
Retrieve the width attribute of the first IFRAME element and examine
it's value.
|
|
| Attribute | Tests |
|---|
| align | | HTMLImageElement02 (XML)
The align attribute aligns this object with respect to its surrounding
text.
Retrieve the align attribute and examine it's value.
|
|
| alt | | HTMLImageElement03 (XML)
The alt attribute specifies an alternative text for user agenst not
rendering the normal content of this element.
Retrieve the alt attribute and examine it's value.
|
|
| border | | HTMLImageElement04 (XML)
The border attribute specifies the width of the border around the image.
Retrieve the border attribute and examine it's value.
|
|
| height | | HTMLImageElement05 (XML)
The height attribute overrides the natural "height" of the image.
Retrieve the height attribute and examine it's value.
|
|
| hspace | | HTMLImageElement06 (XML)
The hspace attribute specifies the horizontal space to the left and
right of this image.
Retrieve the hspace attribute and examine it's value.
|
|
| isMap | | HTMLImageElement07 (XML)
The isMap attribute indicates the use of server-side image map.
Retrieve the isMap attribute and examine it's value.
|
|
| longDesc | | HTMLImageElement08 (XML)
The longDesc attribute contains an URI designating a long description
of this image or frame.
Retrieve the longDesc attribute and examine it's value.
|
|
| name | | HTMLImageElement01 (XML)
The name attribute specifies the name of the element.
Retrieve the name attribute and examine it's value.
|
|
| src | | HTMLImageElement09 (XML)
The src attribute contains an URI designating the source of this image.
Retrieve the src attribute and examine it's value.
|
|
| useMap | | HTMLImageElement10 (XML)
The useMap attribute specifies to use the client-side image map.
Retrieve the useMap attribute and examine it's value.
|
|
| vspace | | HTMLImageElement11 (XML)
The vspace attribute specifies the vertical space above and below this
image.
Retrieve the vspace attribute and examine it's value.
|
|
| width | | HTMLImageElement12 (XML)
The width attribute overrides the natural "width" of the image.
Retrieve the width attribute and examine it's value.
|
|
| Attribute | Tests |
|---|
| accept | | HTMLInputElement04 (XML)
The accept attribute is a comma-seperated list of content types that
a server processing this form will handle correctly.
Retrieve the accept attribute of the 9th INPUT element and examine
its value.
|
|
| accessKey | | HTMLInputElement05 (XML)
The accessKey attribute is a single character access key to give access
to the form control.
Retrieve the accessKey attribute of the 2nd INPUT element and examine
its value.
|
|
| align | | HTMLInputElement06 (XML)
The align attribute aligns this object(vertically or horizontally)
with respect to the surrounding text.
Retrieve the align attribute of the 4th INPUT element and examine
its value.
|
|
| alt | | HTMLInputElement07 (XML)
The alt attribute alternates text for user agents not rendering the
normal content of this element.
Retrieve the alt attribute of the 1st INPUT element and examine
its value.
|
|
| checked | | HTMLInputElement08 (XML)
The checked attribute represents the current state of the corresponding
form control when type has the value Radio or Checkbox.
Retrieve the accept attribute of the 3rd INPUT element and examine
its value.
|
|
| defaultChecked | | HTMLInputElement02 (XML)
The defaultChecked attribute represents the HTML checked attribute of
the element when the type attribute has the value checkbox or radio.
Retrieve the defaultValue attribute of the 4th INPUT element and
examine its value.
|
|
| defaultValue | | HTMLInputElement01 (XML)
The defaultValue attribute represents the HTML value of the attribute
when the type attribute has the value of "Text", "File" or "Password".
Retrieve the defaultValue attribute of the 1st INPUT element and examine
its value.
|
|
| disabled | | HTMLInputElement09 (XML)
The disabled attribute has a TRUE value if it is explicitly set.
Retrieve the disabled attribute of the 7th INPUT element and examine
its value.
|
|
| form | | HTMLInputElement03 (XML)
The form attribute returns the FORM element containing this control.
Retrieve the form attribute of the 1st INPUT element and examine it's value.
|
|
| maxLength | | HTMLInputElement10 (XML)
The maxLength attribute is the maximum number of text characters for text
fields, when type has the value of Text or Password.
Retrieve the maxLenght attribute of the 1st INPUT element and examine
its value.
|
|
| name | | HTMLInputElement11 (XML)
The name attribute is the form control or object name when submitted with
a form.
Retrieve the name attribute of the 1st INPUT element and examine
its value.
|
|
| readOnly | | HTMLInputElement12 (XML)
The readOnly attribute indicates that this control is read-only when
type has a value of text or password only.
Retrieve the readOnly attribute of the 1st INPUT element and examine
its value.
|
|
| size | | HTMLInputElement13 (XML)
The size attribute contains the size information. Its precise meaning
is specific to each type of field.
Retrieve the size attribute of the 1st INPUT element and examine
its value.
|
|
| src | | HTMLInputElement14 (XML)
The src attribute specifies the location of the image to decorate the
graphical submit button when the type has the value Image.
Retrieve the src attribute of the 8th INPUT element and examine
its value.
|
|
| tabIndex | | HTMLInputElement15 (XML)
The tabIndex attribute is an index that represents the elements position
in the tabbing order.
Retrieve the tabIndex attribute of the 3rd INPUT element and examine
its value.
|
|
| type | | HTMLInputElement16 (XML)
The type attribute is the type of control created.
Retrieve the type attribute of the 1st INPUT element and examine
its value.
|
|
| useMap | | HTMLInputElement17 (XML)
The useMap attribute specifies the use of the client-side image map.
Retrieve the useMap attribute of the 8th INPUT element and examine
its value.
|
|
| value | | HTMLInputElement18 (XML)
The value attribute is the current content of the corresponding form
control when the type attribute has the value Text, File or Password.
Retrieve the value attribute of the 2nd INPUT element and examine
its value.
|
|
| Method | Tests |
|---|
| blur | |
| click | |
| focus | |
| select | |
| Attribute | Tests |
|---|
| align | | HTMLObjectElement03 (XML)
The align attribute specifies the alignment of this object with respect
to its surrounding text.
Retrieve the align attribute of the first OBJECT element and examine
it's value.
|
|
| archive | | HTMLObjectElement04 (XML)
The archive attribute specifies a space-separated list of archives.
Retrieve the archive attribute of the first OBJECT element and examine
it's value.
|
|
| border | | HTMLObjectElement05 (XML)
The border attribute specifies the widht of the border around the object.
Retrieve the border attribute of the first OBJECT element and examine
it's value.
|
|
| code | | HTMLObjectElement02 (XML)
The code attribute specifies an Applet class file.
Retrieve the code attribute of the second OBJECT element and examine
it's value. Should be "" since CODE is not a valid attribute for OBJECT.
|
|
| codeBase | | HTMLObjectElement06 (XML)
The codeBase attribute specifies the base URI for the classid, data and
archive attributes.
Retrieve the codeBase attribute of the first OBJECT element and examine
it's value.
|
|
| codeType | | HTMLObjectElement07 (XML)
The codeType attribute specifies the data downloaded via the classid
attribute.
Retrieve the codeType attribute of the second OBJECT element and examine
it's value.
|
|
| contentDocument | | HTMLObjectElement19 (XML)
The contentDocument attribute specifies the document this object contains,
if there is any and it is available, or null otherwise.
Retrieve the contentDocument attribute of the first OBJECT element
and examine it's TITLE value.
|
|
| data | | HTMLObjectElement08 (XML)
The data attribute specifies the URI of the location of the objects data.
Retrieve the data attribute of the first OBJECT element and examine
it's value.
|
|
| declare | | HTMLObjectElement09 (XML)
The declare attribute specifies this object should be declared only and
no instance of it should be created.
Retrieve the declare attribute of the second OBJECT element and examine
it's value.
|
|
| form | |
| height | | HTMLObjectElement10 (XML)
The height attribute overrides the value of the actual height of the
object.
Retrieve the height attribute of the first OBJECT element and examine
it's value.
|
|
| hspace | | HTMLObjectElement11 (XML)
The hspace attribute specifies the horizontal space to the left and right
of this image, applet or object.
Retrieve the hspace attribute of the first OBJECT element and examine
it's value.
|
|
| name | | HTMLObjectElement18 (XML)
The name attribute specifies form control or object name when submitted
with a form.
Retrieve the name attribute of the second OBJECT element and examine
it's value.
|
|
| standby | | HTMLObjectElement12 (XML)
The standby attribute specifies a message to render while loading the
object.
Retrieve the standby attribute of the first OBJECT element and examine
it's value.
|
|
| tabIndex | | HTMLObjectElement13 (XML)
The tabIndex attribute specifies the elements position in the tabbing
order.
Retrieve the tabIndex attribute of the first OBJECT element and examine
it's value.
|
|
| type | | HTMLObjectElement14 (XML)
The type attribute specifies the content type for data downloaded via
the data attribute.
Retrieve the type attribute of the first OBJECT element and examine
it's value.
|
|
| useMap | | HTMLObjectElement15 (XML)
The useMap attribute specifies the used client-side image map.
Retrieve the useMap attribute of the first OBJECT element and examine
it's value.
|
|
| vspace | | HTMLObjectElement16 (XML)
The vspace attribute specifies the vertical space above or below this
image, applet or object.
Retrieve the vspace attribute of the first OBJECT element and examine
it's value.
|
|
| width | | HTMLObjectElement17 (XML)
The width attribute overrides the original width value.
Retrieve the width attribute of the first OBJECT element and examine
it's value.
|
|
| Attribute | Tests |
|---|
| disabled | | HTMLSelectElement09 (XML)
The disabled attribute indicates that this control is not available
within this context.
Retrieve the disabled attribute from the third SELECT element
and examine its value.
|
|
| form | | HTMLSelectElement06 (XML)
The form attribute returns the FORM element containing this control.
Retrieve the form attribute from the first SELECT element
and examine it's value.
| | HTMLSelectElement07 (XML)
The form attribute returns null if control in not within the context of
a form.
Retrieve the second SELECT element and
examine its form element.
|
|
| length | | HTMLSelectElement05 (XML)
The length attribute specifies the number of options in this select.
Retrieve the length attribute from the first SELECT element and
examine it's value.
|
|
| multiple | | HTMLSelectElement10 (XML)
The multiple attribute(if true) indicates that multiple OPTION elements
may be selected
Retrieve the multiple attribute from the first SELECT element
and examine its value.
|
|
| name | | HTMLSelectElement11 (XML)
The name attribute specifies the form control or object name when
submitted with a form.
Retrieve the name attribute from the first SELECT element and
examine it's value.
|
|
| options | | HTMLSelectElement08 (XML)
The options attribute returns a collection of OPTION elements contained
by this element.
Retrieve the options attribute from the first SELECT element and
examine the items of the returned collection.
|
|
| selectedIndex | | HTMLSelectElement02 (XML)
The selectedIndex attribute specifies the ordinal index of the selected
option.
Retrieve the selectedIndex attribute from the first SELECT element and
examine it's value.
| | HTMLSelectElement03 (XML)
The selectedIndex attribute specifies the ordinal index of the selected
option. If no element is selected -1 is returned.
Retrieve the selectedIndex attribute from the second SELECT element and
examine it's value.
Per http://www.w3.org/TR/html401/interact/forms.html#h-17.6.1,
without an explicit selected attribute, user agent behavior is
undefined. There is no way to coerce no option to be selected.
|
|
| size | | HTMLSelectElement12 (XML)
The size attribute specifies the number of visible rows.
Retrieve the size attribute from the first SELECT element and
examine it's value.
|
|
| tabIndex | | HTMLSelectElement13 (XML)
The tabIndex attribute specifies an index that represents the elements
position in the tabbing order.
Retrieve the tabIndex attribute from the first SELECT element and
examine it's value.
|
|
| type | | HTMLSelectElement01 (XML)
The type attribute is the string "select-multiple" when multiple
attribute is true.
Retrieve the type attribute from the first SELECT element and
examine it's value.
|
|
| value | | HTMLSelectElement04 (XML)
The value attribute specifies the current form control value.
Retrieve the value attribute from the first SELECT element and
examine it's value.
|
|
| Method | Tests |
|---|
| add | |
| blur | |
| focus | |
| remove | |
| Attribute | Tests |
|---|
| abbr | | HTMLTableCellElement03 (XML)
The abbr attribute specifies the abbreviation for table header cells(TH).
Retrieve the abbr attribute from the second TH element and examine
its value.
| | HTMLTableCellElement04 (XML)
The abbr attribute specifies the abbreviation for table data cells(TD).
Retrieve the abbr attribute from the second TD element and examine
its value.
|
|
| align | | HTMLTableCellElement05 (XML)
The align attribute specifies the horizontal alignment for table
header cells(TH).
Retrieve the align attribute from the second TH element and examine
its value.
| | HTMLTableCellElement06 (XML)
The align attribute specifies the horizontal alignment for table
data cells(TD).
Retrieve the align attribute from the second TD element and examine
its value.
|
|
| axis | | HTMLTableCellElement07 (XML)
The axis attribute specifies the names group of related headers for table
header cells(TH).
Retrieve the align attribute from the second TH element and examine
its value.
| | HTMLTableCellElement08 (XML)
The axis attribute specifies the names group of related headers for table
data cells(TD).
Retrieve the axis attribute from the second TD element and examine
its value.
|
|
| bgColor | | HTMLTableCellElement09 (XML)
The bgColor attribute specifies the cells background color for
table header cells(TH).
Retrieve the bgColor attribute from the second TH element and examine
its value.
| | HTMLTableCellElement10 (XML)
The bgColor attribute specifies the cells background color for table
data cells(TD).
Retrieve the bgColor attribute from the second TD element and examine
its value.
|
|
| cellIndex | | HTMLTableCellElement01 (XML)
The cellIndex attribute specifies the index of this cell in the row(TH).
Retrieve the cellIndex attribute of the first TH element and examine its
value.
| | HTMLTableCellElement02 (XML)
The cellIndex attribute specifies the index of this cell in the row(TD).
Retrieve the cellIndex attribute of the first TD element and examine its
value.
|
|
| ch | | HTMLTableCellElement11 (XML)
The char attribute specifies the alignment character for cells in a column
of table header cells(TH).
Retrieve the char attribute from the second TH element and examine
its value.
| | HTMLTableCellElement12 (XML)
The char attribute specifies the alignment character for cells in a column
of table data cells(TD).
Retrieve the char attribute from the second TD element and examine
its value.
|
|
| chOff | | HTMLTableCellElement13 (XML)
The charoff attribute specifies the offset of alignment characacter
of table header cells(TH).
Retrieve the charoff attribute from the second TH element and examine
its value.
| | HTMLTableCellElement14 (XML)
The charoff attribute specifies the offset of alignment character
of table data cells(TD).
Retrieve the charoff attribute from the second TD element and examine
its value.
|
|
| colSpan | | HTMLTableCellElement15 (XML)
The colSpan attribute specifies the number of columns spanned by a table
header(TH) cell.
Retrieve the colspan attribute of the second TH element and examine its
value.
| | HTMLTableCellElement16 (XML)
The colSpan attribute specifies the number of columns spanned by a
table data(TD) cell.
Retrieve the colSpan attribute of the second TD element and examine its
value.
|
|
| headers | | HTMLTableCellElement17 (XML)
The headers attribute specifies a list of id attribute values for
table header cells(TH).
Retrieve the headers attribute from the second TH element and examine
its value.
| | HTMLTableCellElement18 (XML)
The headers attribute specifies a list of id attribute values for
table data cells(TD).
Retrieve the headers attribute from the second TD element and examine
its value.
|
|
| height | | HTMLTableCellElement19 (XML)
The height attribute specifies the cell height.
Retrieve the height attribute from the second TH element and examine
its value.
| | HTMLTableCellElement20 (XML)
The height attribute specifies the cell height.
Retrieve the height attribute from the second TD element and examine
its value.
|
|
| noWrap | | HTMLTableCellElement21 (XML)
The noWrap attribute supresses word wrapping.
Retrieve the noWrap attribute of the second TH Element and
examine it's value.
| | HTMLTableCellElement22 (XML)
The noWrap attribute supresses word wrapping.
Retrieve the noWrap attribute of the second TD Element and
examine it's value.
|
|
| rowSpan | | HTMLTableCellElement23 (XML)
The rowSpan attribute specifies the number of rows spanned by a table
header(TH) cell.
Retrieve the rowSpan attribute of the second TH element and examine its
value.
| | HTMLTableCellElement24 (XML)
The rowSpan attribute specifies the number of rows spanned by a
table data(TD) cell.
Retrieve the rowSpan attribute of the second TD element and examine its
value.
|
|
| scope | | HTMLTableCellElement25 (XML)
The scope attribute specifies the scope covered by header cells.
Retrieve the scope attribute from the second TH element and examine
its value.
| | HTMLTableCellElement26 (XML)
The scope attribute specifies the scope covered by data cells.
Retrieve the scope attribute from the second TD element and examine
its value.
|
|
| vAlign | | HTMLTableCellElement27 (XML)
The vAlign attribute specifies the vertical alignment of data in cell.
Retrieve the vAlign attribute from the second TH element and examine
its value.
| | HTMLTableCellElement28 (XML)
The vAlign attribute specifies the vertical alignment of data in cell.
Retrieve the vAlign attribute from the second TD element and examine
its value.
|
|
| width | | HTMLTableCellElement29 (XML)
The width attribute specifies the cells width.
Retrieve the width attribute from the second TH element and examine
its value.
| | HTMLTableCellElement30 (XML)
The width attribute specifies the cells width.
Retrieve the width attribute from the second TD element and examine
its value.
|
|
| Attribute | Tests |
|---|
| align | | HTMLTableElement10 (XML)
The align attribute specifies the table's position with respect to the
rest of the document.
Retrieve the align attribute of the first TABLE element and examine
it's value.
|
|
| bgColor | | HTMLTableElement11 (XML)
The bgColor attribute specifies cell background color.
Retrieve the bgColor attribute of the first TABLE element and examine
it's value.
|
|
| border | | HTMLTableElement12 (XML)
The border attribute specifies the width of the border around the table.
Retrieve the border attribute of the first TABLE element and examine
it's value.
|
|
| caption | | HTMLTableElement01 (XML)
The caption attribute returns the tables CAPTION.
Retrieve the align attribute of the CAPTION element from the second
TABLE element and examine its value.
| | HTMLTableElement02 (XML)
The caption attribute returns the tables CAPTION or void if it does not
exist.
Retrieve the CAPTION element from within the first TABLE element.
Since one does not exist it should be void.
|
|
| cellPadding | | HTMLTableElement13 (XML)
The cellpadding attribute specifies the horizontal and vertical space
between cell content and cell borders.
Retrieve the cellpadding attribute of the first TABLE element and examine
it's value.
|
|
| cellSpacing | | HTMLTableElement14 (XML)
The cellSpacing attribute specifies the horizontal and vertical separation
between cells.
Retrieve the cellSpacing attribute of the first TABLE element and examine
it's value.
|
|
| frame | | HTMLTableElement15 (XML)
The frame attribute specifies which external table borders to render.
Retrieve the frame attribute of the first TABLE element and examine
it's value.
|
|
| rows | | HTMLTableElement07 (XML)
The rows attribute returns a collection of all the rows in the table,
including al in THEAD, TFOOT, all TBODY elements.
Retrieve the rows attribute from the second TABLE element and
examine the items of the returned collection.
|
|
| rules | | HTMLTableElement16 (XML)
The rules attribute specifies which internal table borders to render.
Retrieve the rules attribute of the first TABLE element and examine
it's value.
|
|
| summary | | HTMLTableElement17 (XML)
The summary attribute is a description about the purpose or structure
of a table.
Retrieve the summary attribute of the first TABLE element and examine
it's value.
|
|
| tBodies | | HTMLTableElement08 (XML)
The tBodies attribute returns a collection of all the defined
table bodies.
Retrieve the tBodies attribute from the second TABLE element and
examine the items of the returned collection.
| | HTMLTableElement09 (XML)
The tBodies attribute returns a collection of all the defined
table bodies.
Retrieve the tBodies attribute from the third TABLE element and
examine the items of the returned collection. Tests multiple TBODY
elements.
|
|
| tFoot | | HTMLTableElement05 (XML)
The tFoot attribute returns the tables TFOOT.
Retrieve the align attribute of the TFOOT element from the second
TABLE element and examine its value.
| | HTMLTableElement06 (XML)
The tFoot attribute returns the tables TFOOT or null if it does not
exist.
Retrieve the TFOOT element from within the first TABLE element.
Since one does not exist it should be null.
|
|
| tHead | | HTMLTableElement03 (XML)
The tHead attribute returns the tables THEAD.
Retrieve the align attribute of the THEAD element from the second
TABLE element and examine its value.
| | HTMLTableElement04 (XML)
The tHead attribute returns the tables THEAD or null if it does not
exist.
Retrieve the THEAD element from within the first TABLE element.
Since one does not exist it should be null.
|
|
| width | | HTMLTableElement18 (XML)
The width attribute specifies the desired table width.
Retrieve the width attribute of the first TABLE element and examine
it's value.
|
|
| Method | Tests |
|---|
| createCaption | | HTMLTableElement25 (XML)
The createCaption() method creates a new table caption object or returns
an existing one.
Create a new CAPTION element on the first TABLE element. Since
one does not currently exist the CAPTION element is created.
| | HTMLTableElement26 (XML)
The createCaption() method creates a new table caption object or returns
an existing one.
Create a new CAPTION element on the first TABLE element. Since
one currently exists the CAPTION element is not created and you
can get the align attribute from the CAPTION element that exists.
|
|
| createTFoot | | HTMLTableElement22 (XML)
The createTFoot() method creates a table footer row or returns
an existing one.
Create a new TFOOT element on the first TABLE element. The first
TABLE element should return null to make sure one doesn't exist.
After creation of the TFOOT element the value is once again
checked and should not be null.
| | HTMLTableElement23 (XML)
The createTFoot() method creates a table footer row or returns
an existing one.
Try to create a new TFOOT element on the second TABLE element.
Since a TFOOT element already exists in the TABLE element a new
TFOOT element is not created and information from the already
existing TFOOT element is returned.
|
|
| createTHead | | HTMLTableElement19 (XML)
The createTHead() method creates a table header row or returns
an existing one.
Create a new THEAD element on the first TABLE element. The first
TABLE element should return null to make sure one doesn't exist.
After creation of the THEAD element the value is once again
checked and should not be null.
| | HTMLTableElement20 (XML)
The createTHead() method creates a table header row or returns
an existing one.
Try to create a new THEAD element on the second TABLE element.
Since a THEAD element already exists in the TABLE element a new
THEAD element is not created and information from the already
existing THEAD element is returned.
|
|
| deleteCaption | | HTMLTableElement27 (XML)
The deleteCaption() method deletes the table caption.
Delete the CAPTION element on the second TABLE element.
|
|
| deleteRow | | HTMLTableElement32 (XML)
The deleteRow() method deletes a table row.
Retrieve the second TABLE element and invoke the deleteRow() method
with an index of 0(first row). Currently there are four rows in the
table. After the deleteRow() method is called there should be
three rows in the table.
| | HTMLTableElement33 (XML)
The deleteRow() method deletes a table row.
Retrieve the second TABLE element and invoke the deleteRow() method
with an index of 3(last row). Currently there are four rows in the
table. The deleteRow() method is called and now there should be three.
| | HTMLTableElement36 (XML)
The deleteRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is greater than the number of rows.
Retrieve the second TABLE element which has four rows. Try
to delete a new row using an index of five. This should throw
a INDEX_SIZE_ERR DOMException since there are only four rows.
| | HTMLTableElement37 (XML)
The deleteRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is equal the number of rows.
Retrieve the second TABLE element which has four rows. Try
to delete a new row using an index of four. This should throw
a INDEX_SIZE_ERR DOMException since the index is equal to the
number of rows.
| | HTMLTableElement38 (XML)
The deleteRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is negative.
Retrieve the second TABLE element which has four rows. Try
to delete a new row using an index of negative five. This should throw
a INDEX_SIZE_ERR DOMException since the index is negative.
| | HTMLTableElement40 (XML)
The deleteRow() method deletes a table row. If the index is -1
the last row of the table is deleted.
Retrieve the second TABLE element and invoke the deleteRow() method
with an index of negative one. Currently there are four rows in the
table. The deleteRow() method is called and now there should be three.
|
|
| deleteTFoot | | HTMLTableElement24 (XML)
The deleteTFoot() method deletes the footer from the table.
The deleteTFoot() method will delete the TFOOT Element from the
second TABLE element. First make sure that the TFOOT element exists
and then count the number of rows. After the TFOOT element is
deleted there should be one less row.
|
|
| deleteTHead | | HTMLTableElement21 (XML)
The deleteTHead() method deletes the header from the table.
The deleteTHead() method will delete the THEAD Element from the
second TABLE element. First make sure that the THEAD element exists
and then count the number of rows. After the THEAD element is
deleted there should be one less row.
|
|
| insertRow | | HTMLTableElement28 (XML)
The insertRow() method inserts a new empty table row.
Retrieve the second TABLE element and invoke the insertRow() method
with an index of 0. Currently the zero indexed row is in the THEAD
section of the TABLE. The number of rows in the THEAD section before
insertion of the new row is one. After the new row is inserted the number
of rows in the THEAD section is two.
| | HTMLTableElement29 (XML)
The insertRow() method inserts a new empty table row.
Retrieve the second TABLE element and invoke the insertRow() method
with an index of two. Currently the 2nd indexed row is in the TBODY
section of the TABLE. The number of rows in the TBODY section before
insertion of the new row is two. After the new row is inserted the number
of rows in the TBODY section is three.
| | HTMLTableElement30 (XML)
The insertRow() method inserts a new empty table row.
Retrieve the second TABLE element and invoke the insertRow() method
with an index of four. After the new row is inserted the number of rows
in the table should be five.
Also the number of rows in the TFOOT section before
insertion of the new row is one. After the new row is inserted the number
of rows in the TFOOT section is two.
| | HTMLTableElement31 (XML)
The insertRow() method inserts a new empty table row. In addition, when
the table is empty the row is inserted into a TBODY which is created
and inserted into the table.
Load the table1 file which has a non-empty table element.
Create an empty TABLE element and append to the document.
Check to make sure that the empty TABLE element doesn't
have a TBODY element. Insert a new row into the empty
TABLE element. Check for existence of the a TBODY element
in the table.
| | HTMLTableElement34 (XML)
The insertRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is greater than the number of rows.
Retrieve the second TABLE element which has four rows. Try
to insert a new row using an index of five. This should throw
a INDEX_SIZE_ERR DOMException since there are only four rows.
| | HTMLTableElement35 (XML)
The insertRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is negative.
Retrieve the second TABLE element which has four rows. Try
to insert a new row using an index of negative five. This should throw
a INDEX_SIZE_ERR DOMException since the index is negative.
| | HTMLTableElement39 (XML)
The insertRow() method inserts a new empty table row.
If index is -1 or equal to the number of rows, the new row
is appended.
Retrieve the second TABLE element and invoke the insertRow() method
with an index of negative one.
The number of rows in the TBODY section before insertion with an index
of negative one is two. After the new row is inserted the number
of rows in the TBODY section is three.
|
|
| Attribute | Tests |
|---|
| align | | HTMLTableRowElement06 (XML)
The align attribute specifies the horizontal alignment of data within
cells of this row.
Retrieve the align attribute of the second TR element and examine
it's value.
|
|
| bgColor | | HTMLTableRowElement07 (XML)
The bgColor attribute specifies the background color of rows.
Retrieve the bgColor attribute of the second TR element and examine
it's value.
|
|
| cells | | HTMLTableRowElement05 (XML)
The cells attribute specifies the collection of cells in this row.
Retrieve the fourth TR element and examine the value of
the cells length attribute.
|
|
| ch | | HTMLTableRowElement08 (XML)
The ch attribute specifies the alignment character for cells in a column.
Retrieve the char attribute of the second TR element and examine
it's value.
|
|
| chOff | | HTMLTableRowElement09 (XML)
The chOff attribute specifies the offset of alignment character.
Retrieve the charoff attribute of the second TR element and examine
it's value.
|
|
| rowIndex | | HTMLTableRowElement01 (XML)
The rowIndex attribute specifies the index of the row, relative to the
entire table, starting from 0. This is in document tree order and
not display order. The rowIndex does not take into account sections
(THEAD, TFOOT, or TBODY) within the table.
Retrieve the third TR element within the document and examine
it's rowIndex value.
|
|
| sectionRowIndex | | HTMLTableRowElement02 (XML)
The sectionRowIndex attribute specifies the index of this row, relative
to the current section(THEAD, TFOOT, or TBODY),starting from 0.
Retrieve the second TR(1st In THEAD) element within the document and
examine it's sectionRowIndex value.
| | HTMLTableRowElement03 (XML)
The sectionRowIndex attribute specifies the index of this row, relative
to the current section(THEAD, TFOOT, or TBODY),starting from 0.
Retrieve the third TR(1st In TFOOT) element within the document and
examine it's sectionRowIndex value.
| | HTMLTableRowElement04 (XML)
The sectionRowIndex attribute specifies the index of this row, relative
to the current section(THEAD, TFOOT, or TBODY),starting from 0.
Retrieve the fifth TR(2nd In TBODY) element within the document and
examine it's sectionRowIndex value.
|
|
| vAlign | | HTMLTableRowElement10 (XML)
The vAlign attribute specifies the vertical alignment of data within
cells of this row.
Retrieve the vAlign attribute of the second TR element and examine
it's value.
|
|
| Method | Tests |
|---|
| deleteCell | | HTMLTableRowElement13 (XML)
The deleteCell() method deletes a cell from the current row.
Retrieve the fourth TR element and examine the value of
the cells length attribute which should be set to six.
Check the value of the first TD element. Invoke the
deleteCell() method which will delete a cell from the current row.
Check the value of the cell at the zero index and also check
the number of cells which should now be five.
| | HTMLTableRowElement14 (XML)
The deleteCell() method deletes a cell from the current row.
Retrieve the fourth TR element and examine the value of
the cells length attribute which should be set to six.
Check the value of the third(index 2) TD element. Invoke the
deleteCell() method which will delete a cell from the current row.
Check the value of the third cell(index 2) and also check
the number of cells which should now be five.
| | HTMLTableRowElement17 (XML)
The deleteCell() method throws a INDEX_SIZE_ERR DOMException
if the specified index is greater than the number of cells.
Retrieve the fourth TR element which has six cells. Try
to delete a cell using an index of seven. This should throw
a INDEX_SIZE_ERR DOMException since there are only six cells.
| | HTMLTableRowElement18 (XML)
The deleteCell() method throws a INDEX_SIZE_ERR DOMException
if the specified index is equal to the number of cells.
Retrieve the fourth TR element which has six cells. Try
to delete a cell using an index of six. This should throw
a INDEX_SIZE_ERR DOMException since there are only six cells.
| | HTMLTableRowElement19 (XML)
The deleteCell() method throws a INDEX_SIZE_ERR DOMException
if the specified index is negative.
Retrieve the fourth TR element which has six cells. Try
to delete a cell using an index of negative six. This should throw
a INDEX_SIZE_ERR DOMException since the index is negative.
| | HTMLTableRowElement21 (XML)
The deleteCell() method deletes a cell from the currtent row. If
the index is -1 the last cell in the row is deleted.
Retrieve the fourth TR element and examine the value of
the cells length attribute which should be set to six.
Check the value of the last TD element. Invoke the
deleteCell() with an index of negative one
which will delete the last cell in the row.
Check the value of the of the last cell
and also the numbers of cells should now be five.
|
|
| insertCell | | HTMLTableRowElement11 (XML)
The insertCell() method inserts an empty TD cell into this row.
Retrieve the fourth TR element and examine the value of
the cells length attribute which should be set to six.
Check the value of the first TD element. Invoke the
insertCell() which will create an empty TD cell at the
zero index position. Check the value of the newly created
cell and make sure it is null and also the numbers of cells
should now be seven.
| | HTMLTableRowElement12 (XML)
The insertCell() method inserts an empty TD cell into this row.
Retrieve the fourth TR element and examine the value of
the cells length attribute which should be set to six.
Check the value of the last TD element. Invoke the
insertCell() which will append the empty cell to the end of the list.
Check the value of the newly created cell and make sure it is null
and also the numbers of cells should now be seven.
| | HTMLTableRowElement15 (XML)
The insertCell() method throws a INDEX_SIZE_ERR DOMException
if the specified index is greater than the number of cells.
Retrieve the fourth TR element which has six cells. Try
to insert a cell using an index of seven. This should throw
a INDEX_SIZE_ERR DOMException since there are only six cells.
| | HTMLTableRowElement16 (XML)
The insertCell() method throws a INDEX_SIZE_ERR DOMException
if the specified index is negative.
Retrieve the fourth TR element which has six cells. Try
to insert a cell using an index of negative seven. This should throw
a INDEX_SIZE_ERR DOMException since the index is negative.
| | HTMLTableRowElement20 (XML)
The insertCell() method inserts an empty TD cell into this row.
If index is -1 or equal to the number of cells, the new cell is
appended.
Retrieve the fourth TR element and examine the value of
the cells length attribute which should be set to six.
Check the value of the last TD element. Invoke the
insertCell() with an index of negative one
which will append the empty cell to the end of the list.
Check the value of the newly created cell and make sure it is null
and also the numbers of cells should now be seven.
|
|
| Attribute | Tests |
|---|
| align | | HTMLTableSectionElement01 (XML)
The align attribute specifies the horizontal alignment of data within
cells.
Retrieve the align attribute of the first THEAD element and examine
it's value.
| | HTMLTableSectionElement02 (XML)
The align attribute specifies the horizontal alignment of data within
cells.
Retrieve the align attribute of the first TFOOT element and examine
it's value.
| | HTMLTableSectionElement03 (XML)
The align attribute specifies the horizontal alignment of data within
cells.
Retrieve the align attribute of the second TBODY element and examine
it's value.
|
|
| ch | | HTMLTableSectionElement04 (XML)
The ch attribute specifies the alignment character for cells in a
column.
Retrieve the char attribute of the first THEAD element and examine
it's value.
| | HTMLTableSectionElement05 (XML)
The ch attribute specifies the alignment character for cells in a
column.
Retrieve the char attribute of the first TFOOT element and examine
it's value.
| | HTMLTableSectionElement06 (XML)
The ch attribute specifies the alignment character for cells in a
column.
Retrieve the char attribute of the second TBODY element and examine
it's value.
|
|
| chOff | | HTMLTableSectionElement07 (XML)
The chOff attribute specifies the offset of alignment character.
Retrieve the charoff attribute of the first THEAD element and examine
it's value.
| | HTMLTableSectionElement08 (XML)
The chOff attribute specifies the offset of alignment character.
Retrieve the charoff attribute of the first TFOOT element and examine
it's value.
| | HTMLTableSectionElement09 (XML)
The chOff attribute specifies the offset of alignment character.
Retrieve the charoff attribute of the second TBODY element and examine
it's value.
|
|
| rows | | HTMLTableSectionElement13 (XML)
The rows attribute specifies the collection of rows in this table section.
Retrieve the first THEAD element and examine the value of
the rows length attribute.
| | HTMLTableSectionElement14 (XML)
The rows attribute specifies the collection of rows in this table section.
Retrieve the first TFOOT element and examine the value of
the rows length attribute.
| | HTMLTableSectionElement15 (XML)
The rows attribute specifies the collection of rows in this table section.
Retrieve the second TBODY element and examine the value of
the rows length attribute.
|
|
| vAlign | | HTMLTableSectionElement10 (XML)
The vAlign attribute specifies the vertical alignment of cell data in
column.
Retrieve the vAlign attribute of the first THEAD element and examine
it's value.
| | HTMLTableSectionElement11 (XML)
The vAlign attribute specifies the vertical alignment of cell data in
column.
Retrieve the vAlign attribute of the first TFOOT element and examine
it's value.
| | HTMLTableSectionElement12 (XML)
The vAlign attribute specifies the vertical alignment of cell data in
column.
Retrieve the vAlign attribute of the second TBODY element and examine
it's value.
|
|
| Method | Tests |
|---|
| deleteRow | | HTMLTableSectionElement22 (XML)
The deleteRow() method deletes a row from this section. The index
starts from 0 and is relative only to the rows contained inside
this section, not all the rows in the table.
Retrieve the first THEAD element and invoke the deleteRow() method
with an index of 0. The nuber of rows in the THEAD section before
the deletion of the row is one. After the row is deleted the number
of rows in the THEAD section is zero.
| | HTMLTableSectionElement23 (XML)
The deleteRow() method deletes a row from this section. The index
starts from 0 and is relative only to the rows contained inside
this section, not all the rows in the table.
Retrieve the first TFOOT element and invoke the deleteRow() method
with an index of 0. The nuber of rows in the TFOOT section before
the deletion of the row is one. After the row is deleted the number
of rows in the TFOOT section is zero.
| | HTMLTableSectionElement24 (XML)
The deleteRow() method deletes a row from this section. The index
starts from 0 and is relative only to the rows contained inside
this section, not all the rows in the table.
Retrieve the second TBODY element and invoke the deleteRow() method
with an index of 0. The nuber of rows in the TBODY section before
the deletion of the row is two. After the row is deleted the number
of rows in the TBODY section is one.
| | HTMLTableSectionElement27 (XML)
The deleteRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is greater than the number of rows.
Retrieve the first THEAD element which has one row. Try
to delete a row using an index of two. This should throw
a INDEX_SIZE_ERR DOMException since the index is greater than the
number of rows.
| | HTMLTableSectionElement28 (XML)
The deleteRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is equal to the number of rows.
Retrieve the first THEAD element which has one row. Try
to delete a row using an index of 1. This should throw
a INDEX_SIZE_ERR DOMException since the index is equal to the
number of rows.
| | HTMLTableSectionElement29 (XML)
The deleteRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is negative.
Retrieve the first THEAD element which has one row. Try
to delete a row using an index of negative two. This should throw
a INDEX_SIZE_ERR DOMException since the index is negative.
| | HTMLTableSectionElement31 (XML)
The deleteRow() method deletes a row from this section. The index
starts from 0 and is relative only to the rows contained inside
this section, not all the rows in the table. If the index is -1
the last row will be deleted.
Retrieve the second TBODY element and invoke the deleteRow() method
with an index of -1. The nuber of rows in the THEAD section before
the deletion of the row is two. After the row is deleted the number
of rows in the TBODY section is one.
|
|
| insertRow | | HTMLTableSectionElement16 (XML)
The insertRow() method inserts a new empty table row. The new
row is inserted immediately before the current indexth row in this
section. If index is equal to the number of rows in the section,
the new row is appended.
Retrieve the first THEAD element and invoke the insertRow() method
with an index of 0. The nuber of rows in the THEAD section before
insertion of the new row is one. After the new row is inserted the number
of rows in the THEAD section is two.
| | HTMLTableSectionElement17 (XML)
The insertRow() method inserts a new empty table row. The new
row is inserted immediately before the current indexth row in this
section. If index is equal to the number of rows in the section,
the new row is appended.
Retrieve the first TFOOT element and invoke the insertRow() method
with an index of 0. The nuber of rows in the TFOOT section before
insertion of the new row is one. After the new row is inserted the number
of rows in the TFOOT section is two.
| | HTMLTableSectionElement18 (XML)
The insertRow() method inserts a new empty table row. The new
row is inserted immediately before the current indexth row in this
section. If index is equal to the number of rows in the section,
the new row is appended.
Retrieve the second TBODY element and invoke the insertRow() method
with an index of 0. The nuber of rows in the TBODY section before
insertion of the new row is two. After the new row is inserted the number
of rows in the TBODY section is three.
| | HTMLTableSectionElement19 (XML)
The insertRow() method inserts a new empty table row. The new
row is inserted immediately before the current indexth row in this
section. If index is equal to the number of rows in the section,
the new row is appended.
Retrieve the first THEAD element and invoke the insertRow() method
with an index of 1. The nuber of rows in the THEAD section before
insertion of the new row is one therefore the new row is appended.
After the new row is inserted the number of rows in the THEAD
section is two.
| | HTMLTableSectionElement20 (XML)
The insertRow() method inserts a new empty table row. The new
row is inserted immediately before the current indexth row in this
section. If index is equal to the number of rows in the section,
the new row is appended.
Retrieve the first TFOOT element and invoke the insertRow() method
with an index of one. The nuber of rows in the TFOOT section before
insertion of the new row is one therefore the new row is appended.
After the new row is inserted the number of rows in the TFOOT section
is two.
| | HTMLTableSectionElement21 (XML)
The insertRow() method inserts a new empty table row. The new
row is inserted immediately before the current indexth row in this
section. If index is equal to the number of rows in the section,
the new row is appended.
Retrieve the second TBODY element and invoke the insertRow() method
with an index of two. The number of rows in the TBODY section before
insertion of the new row is two therefore the row is appended.
After the new row is inserted the number of rows in the TBODY section is
three.
| | HTMLTableSectionElement25 (XML)
The insertRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is greater than the number of rows.
Retrieve the first THEAD element which has one row. Try
to insert a new row using an index of two. This should throw
a INDEX_SIZE_ERR DOMException since there is only one row.
| | HTMLTableSectionElement26 (XML)
The insertRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is negative.
Retrieve the first THEAD element which has one row. Try
to insert a new row using an index of negative two. This should throw
a INDEX_SIZE_ERR DOMException since the index is negative.
| | HTMLTableSectionElement30 (XML)
The insertRow() method inserts a new empty table row. The new
row is inserted immediately before the current indexth row in this
section. If index is -1 or equal to the number of rows in this section,
the new row is appended.
Retrieve the first THEAD element and invoke the insertRow() method
with an index of negative one. Since the index is negative one the
new row is appended.
After the new row is appended the number of rows in the THEAD
section is two.
|
|
| Attribute | Tests |
|---|
| accessKey | | HTMLTextAreaElement04 (XML)
The accessKey attribute specifies a single character access key to
give access to the form control.
Retrieve the accessKey attribute of the 1st TEXTAREA element and examine
its value.
|
|
| cols | | HTMLTextAreaElement05 (XML)
The cols attribute specifies the width of control(in characters).
Retrieve the cols attribute of the 1st TEXTAREA element and examine
its value.
|
|
| defaultValue | | HTMLTextAreaElement01 (XML)
The defaultValue attribute represents the HTML value of the attribute
when the type attribute has the value of "Text", "File" or "Password".
Retrieve the defaultValue attribute of the 2nd TEXTAREA element and examine
its value.
|
|
| disabled | | HTMLTextAreaElement06 (XML)
The disabled attribute specifies the control is unavailable in this
context.
Retrieve the disabled attribute from the 2nd TEXTAREA element and
examine its value.
|
|
| form | | HTMLTextAreaElement02 (XML)
The form attribute returns the FORM element containing this control.
Retrieve the form attribute from the first TEXTAREA element
and examine it's value.
| | HTMLTextAreaElement03 (XML)
The form attribute returns null if control in not within the context of
a form.
Retrieve the second TEXTAREA element and
examine its form element.
|
|
| name | | HTMLTextAreaElement07 (XML)
The name attribute specifies the form control or object name when
submitted with a form.
Retrieve the name attribute of the 1st TEXTAREA element and examine
its value.
|
|
| readOnly | | HTMLTextAreaElement08 (XML)
The readOnly attribute specifies this control is read-only.
Retrieve the readOnly attribute from the 3rd TEXTAREA element and
examine its value.
|
|
| rows | | HTMLTextAreaElement09 (XML)
The rows attribute specifies the number of text rowns.
Retrieve the rows attribute of the 1st TEXTAREA element and examine
its value.
|
|
| tabIndex | | HTMLTextAreaElement10 (XML)
The tabIndex attribute is an index that represents the element's position
in the tabbing order.
Retrieve the tabIndex attribute of the 1st TEXTAREA element and examine
its value.
|
|
| type | | HTMLTextAreaElement11 (XML)
The type attribute specifies the type of this form control.
Retrieve the type attribute of the 1st TEXTAREA element and examine
its value.
|
|
| value | | HTMLTextAreaElement12 (XML)
The value attribute represents the current contents of the corresponding
form control, in an interactive user agent.
Retrieve the value attribute of the 1st TEXTAREA element and examine
its value.
|
|
| Method | Tests |
|---|
| blur | |
| focus | |
| select | |
| Test | Subjects | | |
|---|
| http://www.w3.org/2001/DOM-Test-Suite/level2/html/alltests (XML) | No subjects defined for test |
| http://www.w3.org/2001/DOM-Test-Suite/level2/html/ (XML) | No subjects defined for test |
| HTMLAnchorElement01 (XML) | |
| HTMLAnchorElement02 (XML) | |
| HTMLAnchorElement03 (XML) | |
| HTMLAnchorElement04 (XML) | |
| HTMLAnchorElement05 (XML) | |
| HTMLAnchorElement06 (XML) | |
| HTMLAnchorElement07 (XML) | |
| HTMLAnchorElement08 (XML) | |
| HTMLAnchorElement09 (XML) | |
| HTMLAnchorElement10 (XML) | |
| HTMLAnchorElement11 (XML) | |
| HTMLAnchorElement12 (XML) | |
| HTMLAppletElement01 (XML) | |
| HTMLAppletElement02 (XML) | |
| HTMLAppletElement03 (XML) | |
| HTMLAppletElement04 (XML) | |
| HTMLAppletElement05 (XML) | |
| HTMLAppletElement06 (XML) | |
| HTMLAppletElement07 (XML) | |
| HTMLAppletElement08 (XML) | |
| HTMLAppletElement09 (XML) | |
| HTMLAppletElement10 (XML) | |
| HTMLAppletElement11 (XML) | |
| HTMLAreaElement01 (XML) | |
| HTMLAreaElement02 (XML) | |
| HTMLAreaElement03 (XML) | |
| HTMLAreaElement04 (XML) | |
| HTMLAreaElement05 (XML) | |
| HTMLAreaElement06 (XML) | |
| HTMLAreaElement07 (XML) | |
| HTMLAreaElement08 (XML) | |
| HTMLBaseElement01 (XML) | |
| HTMLBaseElement02 (XML) | |
| HTMLBaseFontElement01 (XML) | |
| HTMLBaseFontElement02 (XML) | |
| HTMLBaseFontElement03 (XML) | |
| HTMLBodyElement01 (XML) | |
| HTMLBodyElement02 (XML) | |
| HTMLBodyElement03 (XML) | |
| HTMLBodyElement04 (XML) | |
| HTMLBodyElement05 (XML) | |
| HTMLBodyElement06 (XML) | |
| HTMLBRElement01 (XML) | |
| HTMLButtonElement01 (XML) | |
| HTMLButtonElement02 (XML) | |
| HTMLButtonElement03 (XML) | |
| HTMLButtonElement04 (XML) | |
| HTMLButtonElement05 (XML) | |
| HTMLButtonElement06 (XML) | |
| HTMLButtonElement07 (XML) | |
| HTMLButtonElement08 (XML) | |
| HTMLCollection01 (XML) | |
| HTMLCollection02 (XML) | |
| HTMLCollection03 (XML) | |
| HTMLCollection04 (XML) | |
| HTMLCollection05 (XML) | |
| HTMLCollection06 (XML) | |
| HTMLCollection07 (XML) | |
| HTMLCollection08 (XML) | |
| HTMLCollection09 (XML) | |
| HTMLCollection10 (XML) | |
| HTMLCollection11 (XML) | |
| HTMLCollection12 (XML) | |
| HTMLDirectoryElement01 (XML) | |
| HTMLDivElement01 (XML) | |
| HTMLDListElement01 (XML) | |
| HTMLDocument01 (XML) | |
| HTMLDocument02 (XML) | |
| HTMLDocument02 (XML) | |
| HTMLDocument03 (XML) | |
| HTMLDocument04 (XML) | |
| HTMLDocument05 (XML) | |
| HTMLDocument07 (XML) | |
| HTMLDocument08 (XML) | |
| HTMLDocument09 (XML) | |
| HTMLDocument10 (XML) | |
| HTMLDocument11 (XML) | |
| HTMLDocument13 (XML) | |
| HTMLDocument14 (XML) | |
| HTMLElement01 (XML) | |
| HTMLElement02 (XML) | |
| HTMLElement03 (XML) | |
| HTMLElement04 (XML) | |
| HTMLElement05 (XML) | |
| HTMLElement06 (XML) | |
| HTMLElement07 (XML) | |
| HTMLElement08 (XML) | |
| HTMLElement09 (XML) | |
| HTMLElement10 (XML) | |
| HTMLElement100 (XML) | |
| HTMLElement101 (XML) | |
| HTMLElement102 (XML) | |
| HTMLElement103 (XML) | |
| HTMLElement104 (XML) | |
| HTMLElement105 (XML) | |
| HTMLElement106 (XML) | |
| HTMLElement107 (XML) | |
| HTMLElement108 (XML) | |
| HTMLElement109 (XML) | |
| HTMLElement11 (XML) | |
| HTMLElement110 (XML) | |
| HTMLElement111 (XML) | |
| HTMLElement112 (XML) | |
| HTMLElement113 (XML) | |
| HTMLElement114 (XML) | |
| HTMLElement115 (XML) | |
| HTMLElement116 (XML) | |
| HTMLElement117 (XML) | |
| HTMLElement118 (XML) | |
| HTMLElement119 (XML) | |
| HTMLElement12 (XML) | |
| HTMLElement120 (XML) | |
| HTMLElement121 (XML) | |
| HTMLElement122 (XML) | |
| HTMLElement123 (XML) | |
| HTMLElement124 (XML) | |
| HTMLElement125 (XML) | |
| HTMLElement126 (XML) | |
| HTMLElement127 (XML) | |
| HTMLElement128 (XML) | |
| HTMLElement129 (XML) | |
| HTMLElement13 (XML) | |
| HTMLElement130 (XML) | |
| HTMLElement131 (XML) | |
| HTMLElement132 (XML) | |
| HTMLElement133 (XML) | |
| HTMLElement134 (XML) | |
| HTMLElement135 (XML) | |
| HTMLElement136 (XML) | |
| HTMLElement137 (XML) | |
| HTMLElement138 (XML) | |
| HTMLElement139 (XML) | |
| HTMLElement14 (XML) | |
| HTMLElement140 (XML) | |
| HTMLElement141 (XML) | |
| HTMLElement142 (XML) | |
| HTMLElement143 (XML) | |
| HTMLElement144 (XML) | |
| HTMLElement145 (XML) | |
| HTMLElement15 (XML) | |
| HTMLElement16 (XML) | |
| HTMLElement17 (XML) | |
| HTMLElement18 (XML) | |
| HTMLElement19 (XML) | |
| HTMLElement20 (XML) | |
| HTMLElement21 (XML) | |
| HTMLElement22 (XML) | |
| HTMLElement23 (XML) | |
| HTMLElement24 (XML) | |
| HTMLElement25 (XML) | |
| HTMLElement26 (XML) | |
| HTMLElement27 (XML) | |
| HTMLElement28 (XML) | |
| HTMLElement29 (XML) | |
| HTMLElement30 (XML) | |
| HTMLElement31 (XML) | |
| HTMLElement32 (XML) | |
| HTMLElement33 (XML) | |
| HTMLElement34 (XML) | |
| HTMLElement35 (XML) | |
| HTMLElement36 (XML) | |
| HTMLElement37 (XML) | |
| HTMLElement38 (XML) | |
| HTMLElement39 (XML) | |
| HTMLElement40 (XML) | |
| HTMLElement41 (XML) | |
| HTMLElement42 (XML) | |
| HTMLElement43 (XML) | |
| HTMLElement44 (XML) | |
| HTMLElement45 (XML) | |
| HTMLElement46 (XML) | |
| HTMLElement47 (XML) | |
| HTMLElement48 (XML) | |
| HTMLElement49 (XML) | |
| HTMLElement50 (XML) | |
| HTMLElement51 (XML) | |
| HTMLElement52 (XML) | |
| HTMLElement53 (XML) | |
| HTMLElement54 (XML) | |
| HTMLElement55 (XML) | |
| HTMLElement56 (XML) | |
| HTMLElement57 (XML) | |
| HTMLElement58 (XML) | |
| HTMLElement59 (XML) | |
| HTMLElement60 (XML) | |
| HTMLElement61 (XML) | |
| HTMLElement62 (XML) | |
| HTMLElement63 (XML) | |
| HTMLElement64 (XML) | |
| HTMLElement65 (XML) | |
| HTMLElement66 (XML) | |
| HTMLElement67 (XML) | |
| HTMLElement68 (XML) | |
| HTMLElement69 (XML) | |
| HTMLElement70 (XML) | |
| HTMLElement71 (XML) | |
| HTMLElement72 (XML) | |
| HTMLElement73 (XML) | |
| HTMLElement74 (XML) | |
| HTMLElement75 (XML) | |
| HTMLElement76 (XML) | |
| HTMLElement77 (XML) | |
| HTMLElement78 (XML) | |
| HTMLElement79 (XML) | |
| HTMLElement80 (XML) | |
| HTMLElement81 (XML) | |
| HTMLElement82 (XML) | |
| HTMLElement83 (XML) | |
| HTMLElement84 (XML) | |
| HTMLElement85 (XML) | |
| HTMLElement86 (XML) | |
| HTMLElement87 (XML) | |
| HTMLElement88 (XML) | |
| HTMLElement89 (XML) | |
| HTMLElement90 (XML) | |
| HTMLElement91 (XML) | |
| HTMLElement92 (XML) | |
| HTMLElement93 (XML) | |
| HTMLElement94 (XML) | |
| HTMLElement95 (XML) | |
| HTMLElement96 (XML) | |
| HTMLElement97 (XML) | |
| HTMLElement98 ( |