Below you will find a description of each test in the DOM TS categorized under interface, attribute and method, sorted alphabetically.
| ElementEditVAL.canSetTextContent |
| ElementEditVAL.isElementDefinedNS |
| CharacterDataEditVAL.isWhitespaceOnly |
| DocumentEditVAL.continuousValidityChecking |
| DocumentEditVAL.config |
| ElementEditVAL.allowedFirstChildren |
| Method | Tests |
|---|---|
| canAppendData |
This method checks if given characters can be appended |
| canDeleteData |
This method checks if given characters can be deleted from
existing text. should return |
| canInsertData |
This method checks if given characters can be inserted into
existing text at given position. should return
|
| canReplaceData |
|
| canSetData |
This method checks if given characters can be set as the
content of element 'edition'. should return
|
| isWhitespaceOnly |
| Attribute | Tests |
|---|---|
| config | |
| continuousValidityChecking | |
| Method | Tests |
| getDefinedElements |
This method retrieves all element declarations defined by schema. should return a NameList of length 8. |
| validateDocument |
validate the document, should return |
| Attribute | Tests | ||
|---|---|---|---|
| allowedAttributes |
The method getAllowedAttributes returns the NameList of allowed attributes for the element. |
||
| allowedChildren |
The method getAllowedChildren returns the NameList of allowed child elements. should return NameList of length 7 |
||
| allowedFirstChildren | |||
| allowedNextSiblings |
The method getAllowedNextSiblings return the NameList of elements that may be the following siblings. should return NameList containing name 'ISBN'. |
||
| allowedParents |
The method getAllowedParents returns the NameList of elements that may be the the parent of current node. should return NameList containing name 'book'. |
||
| allowedPreviousSiblings |
The method getAllowedPreviousSiblings return the NameList of elements that may be the previous siblings should return NameList containing name 'title'. |
||
| contentType |
get the content type of element, should return
|
||
| requiredAttributes |
The method requiredAttributes returns the NameList of required attributes for the element. |
||
| Method | Tests | ||
| canRemoveAttribute |
|
||
| canRemoveAttributeNode |
|
||
| canRemoveAttributeNS |
|
||
| canSetAttribute |
|
||
| canSetAttributeNode |
|
||
| canSetAttributeNS |
|
||
| canSetTextContent | |||
| isElementDefined |
|
||
| isElementDefinedNS |
| Attribute | Tests | ||
|---|---|---|---|
| defaultValue |
This method returns the default value of the element. Should return null |
||
| enumeratedValues |
The method enumeratedValues returns a DOMStringList of enumerated values for the element. |
||
| Method | Tests | ||
| canAppendChild |
|
||
| canInsertBefore |
|
||
| canRemoveChild |
|
||
| canReplaceChild |
|
||
| nodeValidity |
|
Tests in this table are released under the W3C Software License
Copyright © 1997-2003 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.