From 8f547c7bd349e0dc905e0dc5f32edbf1e01061ce Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 30 Jul 2009 11:06:01 +0000 Subject: Merge DOMTS tests -- they're causing havoc with review diffs. svn path=/trunk/dom/; revision=8910 --- test/testcases/tests/level2/html/.cvsignore | 2 + test/testcases/tests/level2/html/CVS/Entries | 65 ++ test/testcases/tests/level2/html/CVS/Repository | 1 + test/testcases/tests/level2/html/CVS/Root | 1 + test/testcases/tests/level2/html/CVS/Template | 0 .../tests/level2/html/HTMLAppletElement07.xml | 42 ++ .../tests/level2/html/HTMLAppletElement09.xml | 42 ++ .../tests/level2/html/HTMLBaseFontElement03.xml | 41 ++ .../tests/level2/html/HTMLBodyElement07.xml | 38 ++ .../tests/level2/html/HTMLBodyElement08.xml | 38 ++ .../tests/level2/html/HTMLBodyElement09.xml | 40 ++ .../tests/level2/html/HTMLBodyElement10.xml | 40 ++ .../tests/level2/html/HTMLBodyElement11.xml | 38 ++ .../tests/level2/html/HTMLBodyElement12.xml | 38 ++ .../testcases/tests/level2/html/HTMLDocument22.xml | 36 ++ .../testcases/tests/level2/html/HTMLDocument23.xml | 36 ++ .../testcases/tests/level2/html/HTMLDocument24.xml | 38 ++ .../testcases/tests/level2/html/HTMLDocument25.xml | 38 ++ .../testcases/tests/level2/html/HTMLDocument26.xml | 36 ++ .../testcases/tests/level2/html/HTMLDocument27.xml | 36 ++ .../tests/level2/html/HTMLFrameElement09.xml | 42 ++ .../tests/level2/html/HTMLIFrameElement11.xml | 39 ++ .../tests/level2/html/HTMLImageElement05.xml | 41 ++ .../tests/level2/html/HTMLImageElement06.xml | 42 ++ .../tests/level2/html/HTMLImageElement11.xml | 42 ++ .../tests/level2/html/HTMLImageElement12.xml | 41 ++ .../tests/level2/html/HTMLInputElement13.xml | 43 ++ .../tests/level2/html/HTMLObjectElement11.xml | 43 ++ .../tests/level2/html/HTMLObjectElement16.xml | 43 ++ .../tests/level2/html/HTMLObjectElement20.xml | 40 ++ .../tests/level2/html/HTMLOptionsCollection01.xml | 46 ++ .../tests/level2/html/HTMLOptionsCollection02.xml | 54 ++ .../tests/level2/html/HTMLOptionsCollection03.xml | 54 ++ .../tests/level2/html/HTMLOptionsCollection04.xml | 54 ++ .../tests/level2/html/HTMLOptionsCollection05.xml | 55 ++ .../tests/level2/html/HTMLOptionsCollection06.xml | 52 ++ .../tests/level2/html/HTMLOptionsCollection07.xml | 54 ++ .../tests/level2/html/HTMLSelectElement20.xml | 56 ++ .../tests/level2/html/HTMLTableElement34.xml | 48 ++ .../tests/level2/html/HTMLTableElement35.xml | 48 ++ .../tests/level2/html/HTMLTableElement36.xml | 47 ++ .../tests/level2/html/HTMLTableElement37.xml | 48 ++ .../tests/level2/html/HTMLTableElement38.xml | 47 ++ .../tests/level2/html/HTMLTableElement39.xml | 62 ++ .../tests/level2/html/HTMLTableElement40.xml | 50 ++ .../tests/level2/html/HTMLTableRowElement15.xml | 48 ++ .../tests/level2/html/HTMLTableRowElement16.xml | 48 ++ .../tests/level2/html/HTMLTableRowElement17.xml | 47 ++ .../tests/level2/html/HTMLTableRowElement18.xml | 47 ++ .../tests/level2/html/HTMLTableRowElement19.xml | 47 ++ .../tests/level2/html/HTMLTableRowElement20.xml | 68 ++ .../tests/level2/html/HTMLTableRowElement21.xml | 67 ++ .../level2/html/HTMLTableSectionElement25.xml | 48 ++ .../level2/html/HTMLTableSectionElement26.xml | 48 ++ .../level2/html/HTMLTableSectionElement27.xml | 48 ++ .../level2/html/HTMLTableSectionElement28.xml | 48 ++ .../level2/html/HTMLTableSectionElement29.xml | 47 ++ .../level2/html/HTMLTableSectionElement30.xml | 55 ++ .../level2/html/HTMLTableSectionElement31.xml | 53 ++ test/testcases/tests/level2/html/alltests.xml | 707 +++++++++++++++++++++ test/testcases/tests/level2/html/files/.cvsignore | 6 + test/testcases/tests/level2/html/files/CVS/Entries | 11 + .../tests/level2/html/files/CVS/Repository | 1 + test/testcases/tests/level2/html/files/CVS/Root | 1 + .../testcases/tests/level2/html/files/CVS/Template | 0 test/testcases/tests/level2/html/files/frame2.html | 16 + .../testcases/tests/level2/html/files/frame2.xhtml | 17 + test/testcases/tests/level2/html/files/frame2.xml | 16 + .../testcases/tests/level2/html/files/iframe2.html | 13 + .../tests/level2/html/files/iframe2.xhtml | 15 + test/testcases/tests/level2/html/files/iframe2.xml | 15 + .../tests/level2/html/files/optionscollection.html | 36 ++ .../level2/html/files/optionscollection.xhtml | 33 + .../tests/level2/html/files/optionscollection.xml | 33 + test/testcases/tests/level2/html/hasFeature02.xml | 31 + test/testcases/tests/level2/html/hasFeature03.xml | 33 + test/testcases/tests/level2/html/hasFeature04.xml | 33 + test/testcases/tests/level2/html/hasFeature05.xml | 31 + test/testcases/tests/level2/html/hasFeature06.xml | 31 + test/testcases/tests/level2/html/metadata.xml | 15 + test/testcases/tests/level2/html/object08.xml | 40 ++ test/testcases/tests/level2/html/object13.xml | 40 ++ 82 files changed, 3730 insertions(+) create mode 100644 test/testcases/tests/level2/html/.cvsignore create mode 100644 test/testcases/tests/level2/html/CVS/Entries create mode 100644 test/testcases/tests/level2/html/CVS/Repository create mode 100644 test/testcases/tests/level2/html/CVS/Root create mode 100644 test/testcases/tests/level2/html/CVS/Template create mode 100644 test/testcases/tests/level2/html/HTMLAppletElement07.xml create mode 100644 test/testcases/tests/level2/html/HTMLAppletElement09.xml create mode 100644 test/testcases/tests/level2/html/HTMLBaseFontElement03.xml create mode 100644 test/testcases/tests/level2/html/HTMLBodyElement07.xml create mode 100644 test/testcases/tests/level2/html/HTMLBodyElement08.xml create mode 100644 test/testcases/tests/level2/html/HTMLBodyElement09.xml create mode 100644 test/testcases/tests/level2/html/HTMLBodyElement10.xml create mode 100644 test/testcases/tests/level2/html/HTMLBodyElement11.xml create mode 100644 test/testcases/tests/level2/html/HTMLBodyElement12.xml create mode 100644 test/testcases/tests/level2/html/HTMLDocument22.xml create mode 100644 test/testcases/tests/level2/html/HTMLDocument23.xml create mode 100644 test/testcases/tests/level2/html/HTMLDocument24.xml create mode 100644 test/testcases/tests/level2/html/HTMLDocument25.xml create mode 100644 test/testcases/tests/level2/html/HTMLDocument26.xml create mode 100644 test/testcases/tests/level2/html/HTMLDocument27.xml create mode 100644 test/testcases/tests/level2/html/HTMLFrameElement09.xml create mode 100644 test/testcases/tests/level2/html/HTMLIFrameElement11.xml create mode 100644 test/testcases/tests/level2/html/HTMLImageElement05.xml create mode 100644 test/testcases/tests/level2/html/HTMLImageElement06.xml create mode 100644 test/testcases/tests/level2/html/HTMLImageElement11.xml create mode 100644 test/testcases/tests/level2/html/HTMLImageElement12.xml create mode 100644 test/testcases/tests/level2/html/HTMLInputElement13.xml create mode 100644 test/testcases/tests/level2/html/HTMLObjectElement11.xml create mode 100644 test/testcases/tests/level2/html/HTMLObjectElement16.xml create mode 100644 test/testcases/tests/level2/html/HTMLObjectElement20.xml create mode 100644 test/testcases/tests/level2/html/HTMLOptionsCollection01.xml create mode 100644 test/testcases/tests/level2/html/HTMLOptionsCollection02.xml create mode 100644 test/testcases/tests/level2/html/HTMLOptionsCollection03.xml create mode 100644 test/testcases/tests/level2/html/HTMLOptionsCollection04.xml create mode 100644 test/testcases/tests/level2/html/HTMLOptionsCollection05.xml create mode 100644 test/testcases/tests/level2/html/HTMLOptionsCollection06.xml create mode 100644 test/testcases/tests/level2/html/HTMLOptionsCollection07.xml create mode 100644 test/testcases/tests/level2/html/HTMLSelectElement20.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableElement34.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableElement35.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableElement36.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableElement37.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableElement38.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableElement39.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableElement40.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableRowElement15.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableRowElement16.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableRowElement17.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableRowElement18.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableRowElement19.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableRowElement20.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableRowElement21.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement25.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement26.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement27.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement28.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement29.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement30.xml create mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement31.xml create mode 100644 test/testcases/tests/level2/html/alltests.xml create mode 100644 test/testcases/tests/level2/html/files/.cvsignore create mode 100644 test/testcases/tests/level2/html/files/CVS/Entries create mode 100644 test/testcases/tests/level2/html/files/CVS/Repository create mode 100644 test/testcases/tests/level2/html/files/CVS/Root create mode 100644 test/testcases/tests/level2/html/files/CVS/Template create mode 100644 test/testcases/tests/level2/html/files/frame2.html create mode 100644 test/testcases/tests/level2/html/files/frame2.xhtml create mode 100644 test/testcases/tests/level2/html/files/frame2.xml create mode 100644 test/testcases/tests/level2/html/files/iframe2.html create mode 100644 test/testcases/tests/level2/html/files/iframe2.xhtml create mode 100644 test/testcases/tests/level2/html/files/iframe2.xml create mode 100644 test/testcases/tests/level2/html/files/optionscollection.html create mode 100644 test/testcases/tests/level2/html/files/optionscollection.xhtml create mode 100644 test/testcases/tests/level2/html/files/optionscollection.xml create mode 100644 test/testcases/tests/level2/html/hasFeature02.xml create mode 100644 test/testcases/tests/level2/html/hasFeature03.xml create mode 100644 test/testcases/tests/level2/html/hasFeature04.xml create mode 100644 test/testcases/tests/level2/html/hasFeature05.xml create mode 100644 test/testcases/tests/level2/html/hasFeature06.xml create mode 100644 test/testcases/tests/level2/html/metadata.xml create mode 100644 test/testcases/tests/level2/html/object08.xml create mode 100644 test/testcases/tests/level2/html/object13.xml (limited to 'test/testcases/tests/level2/html') diff --git a/test/testcases/tests/level2/html/.cvsignore b/test/testcases/tests/level2/html/.cvsignore new file mode 100644 index 0000000..cc87140 --- /dev/null +++ b/test/testcases/tests/level2/html/.cvsignore @@ -0,0 +1,2 @@ +dom2.dtd +dom2.xsd diff --git a/test/testcases/tests/level2/html/CVS/Entries b/test/testcases/tests/level2/html/CVS/Entries new file mode 100644 index 0000000..2a070d9 --- /dev/null +++ b/test/testcases/tests/level2/html/CVS/Entries @@ -0,0 +1,65 @@ +D/files//// +/.cvsignore/1.2/Fri Apr 3 02:47:56 2009// +/HTMLAppletElement07.xml/1.4/Fri Apr 3 02:47:56 2009// +/HTMLAppletElement09.xml/1.5/Fri Apr 3 02:47:56 2009// +/HTMLBaseFontElement03.xml/1.6/Fri Apr 3 02:47:56 2009// +/HTMLBodyElement07.xml/1.2/Fri Apr 3 02:47:56 2009// +/HTMLBodyElement08.xml/1.2/Fri Apr 3 02:47:55 2009// +/HTMLBodyElement09.xml/1.2/Fri Apr 3 02:47:56 2009// +/HTMLBodyElement10.xml/1.2/Fri Apr 3 02:47:56 2009// +/HTMLBodyElement11.xml/1.2/Fri Apr 3 02:47:56 2009// +/HTMLBodyElement12.xml/1.2/Fri Apr 3 02:47:56 2009// +/HTMLDocument22.xml/1.2/Fri Apr 3 02:47:56 2009// +/HTMLDocument23.xml/1.2/Fri Apr 3 02:47:56 2009// +/HTMLDocument24.xml/1.2/Fri Apr 3 02:47:56 2009// +/HTMLDocument25.xml/1.2/Fri Apr 3 02:47:56 2009// +/HTMLDocument26.xml/1.2/Fri Apr 3 02:47:56 2009// +/HTMLDocument27.xml/1.2/Fri Apr 3 02:47:56 2009// +/HTMLFrameElement09.xml/1.2/Fri Apr 3 02:47:56 2009// +/HTMLIFrameElement11.xml/1.3/Fri Apr 3 02:47:56 2009// +/HTMLImageElement05.xml/1.3/Fri Apr 3 02:47:56 2009// +/HTMLImageElement06.xml/1.3/Fri Apr 3 02:47:56 2009// +/HTMLImageElement11.xml/1.3/Fri Apr 3 02:47:56 2009// +/HTMLImageElement12.xml/1.3/Fri Apr 3 02:47:55 2009// +/HTMLInputElement13.xml/1.4/Fri Apr 3 02:47:56 2009// +/HTMLObjectElement11.xml/1.4/Fri Apr 3 02:47:56 2009// +/HTMLObjectElement16.xml/1.4/Fri Apr 3 02:47:56 2009// +/HTMLObjectElement20.xml/1.1/Fri Apr 3 02:47:55 2009// +/HTMLOptionsCollection01.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLOptionsCollection02.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLOptionsCollection03.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLOptionsCollection04.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLOptionsCollection05.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLOptionsCollection06.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLOptionsCollection07.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLSelectElement20.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLTableElement34.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLTableElement35.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLTableElement36.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLTableElement37.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLTableElement38.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLTableElement39.xml/1.1/Fri Apr 3 02:47:55 2009// +/HTMLTableElement40.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLTableRowElement15.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLTableRowElement16.xml/1.2/Fri Apr 3 02:47:56 2009// +/HTMLTableRowElement17.xml/1.2/Fri Apr 3 02:47:56 2009// +/HTMLTableRowElement18.xml/1.2/Fri Apr 3 02:47:56 2009// +/HTMLTableRowElement19.xml/1.2/Fri Apr 3 02:47:56 2009// +/HTMLTableRowElement20.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLTableRowElement21.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLTableSectionElement25.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLTableSectionElement26.xml/1.1/Fri Apr 3 02:47:55 2009// +/HTMLTableSectionElement27.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLTableSectionElement28.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLTableSectionElement29.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLTableSectionElement30.xml/1.1/Fri Apr 3 02:47:56 2009// +/HTMLTableSectionElement31.xml/1.1/Fri Apr 3 02:47:56 2009// +/alltests.xml/1.19/Fri Apr 3 02:47:56 2009// +/hasFeature02.xml/1.1/Fri Apr 3 02:47:56 2009// +/hasFeature03.xml/1.1/Fri Apr 3 02:47:56 2009// +/hasFeature04.xml/1.1/Fri Apr 3 02:47:56 2009// +/hasFeature05.xml/1.1/Fri Apr 3 02:47:56 2009// +/hasFeature06.xml/1.1/Fri Apr 3 02:47:56 2009// +/metadata.xml/1.1/Fri Apr 3 02:47:55 2009// +/object08.xml/1.2/Fri Apr 3 02:47:56 2009// +/object13.xml/1.2/Fri Apr 3 02:47:56 2009// diff --git a/test/testcases/tests/level2/html/CVS/Repository b/test/testcases/tests/level2/html/CVS/Repository new file mode 100644 index 0000000..8bf1363 --- /dev/null +++ b/test/testcases/tests/level2/html/CVS/Repository @@ -0,0 +1 @@ +2001/DOM-Test-Suite/tests/level2/html diff --git a/test/testcases/tests/level2/html/CVS/Root b/test/testcases/tests/level2/html/CVS/Root new file mode 100644 index 0000000..3c7177e --- /dev/null +++ b/test/testcases/tests/level2/html/CVS/Root @@ -0,0 +1 @@ +:pserver:anonymous@dev.w3.org:/sources/public diff --git a/test/testcases/tests/level2/html/CVS/Template b/test/testcases/tests/level2/html/CVS/Template new file mode 100644 index 0000000..e69de29 diff --git a/test/testcases/tests/level2/html/HTMLAppletElement07.xml b/test/testcases/tests/level2/html/HTMLAppletElement07.xml new file mode 100644 index 0000000..07a6c0d --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLAppletElement07.xml @@ -0,0 +1,42 @@ + + + + + + +HTMLAppletElement07 +NIST + + 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. + +Mary Brady +2001-12-03 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLAppletElement09.xml b/test/testcases/tests/level2/html/HTMLAppletElement09.xml new file mode 100644 index 0000000..b602397 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLAppletElement09.xml @@ -0,0 +1,42 @@ + + + + + + +HTMLAppletElement09 +NIST + + The vspace attribute specifies the vertical space above and below + this image, applet or object. + + Retrieve the vspace attribute and examine it's value. + +Mary Brady +2001-12-03 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLBaseFontElement03.xml b/test/testcases/tests/level2/html/HTMLBaseFontElement03.xml new file mode 100644 index 0000000..b743fb0 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLBaseFontElement03.xml @@ -0,0 +1,41 @@ + + + + + + +HTMLBaseFontElement03 +NIST + + The size attribute specifies the base font's size. + + Retrieve the size attribute and examine it's value. + +Mary Brady +2001-12-03 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLBodyElement07.xml b/test/testcases/tests/level2/html/HTMLBodyElement07.xml new file mode 100644 index 0000000..2c759f8 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLBodyElement07.xml @@ -0,0 +1,38 @@ + + + + + + + +HTMLBodyElement07 +Curt Arnold + +Checks that Node.isSupported("hTmL", null) returns true. + +2002-03-18 + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLBodyElement08.xml b/test/testcases/tests/level2/html/HTMLBodyElement08.xml new file mode 100644 index 0000000..50b411d --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLBodyElement08.xml @@ -0,0 +1,38 @@ + + + + + + + +HTMLBodyElement08 +Curt Arnold + +Checks that Node.isSupported("hTmL", "2.0") returns true. + +2002-03-18 + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLBodyElement09.xml b/test/testcases/tests/level2/html/HTMLBodyElement09.xml new file mode 100644 index 0000000..150b4a8 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLBodyElement09.xml @@ -0,0 +1,40 @@ + + + + + + + +HTMLBodyElement09 +Curt Arnold + +Checks that Node.isSupported("xhTmL", null) returns true if hasFeature("XML", null) is true. + +2002-03-18 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLBodyElement10.xml b/test/testcases/tests/level2/html/HTMLBodyElement10.xml new file mode 100644 index 0000000..691739e --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLBodyElement10.xml @@ -0,0 +1,40 @@ + + + + + + + +HTMLBodyElement10 +Curt Arnold + +Checks that Node.isSupported("xhTmL", "2.0") returns true if hasFeature("XML", "2.0") is true. + +2002-03-18 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLBodyElement11.xml b/test/testcases/tests/level2/html/HTMLBodyElement11.xml new file mode 100644 index 0000000..3c83437 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLBodyElement11.xml @@ -0,0 +1,38 @@ + + + + + + + +HTMLBodyElement11 +Curt Arnold + +Checks that Node.isSupported("cOrE", null) returns true. + +2002-03-18 + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLBodyElement12.xml b/test/testcases/tests/level2/html/HTMLBodyElement12.xml new file mode 100644 index 0000000..6255dbb --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLBodyElement12.xml @@ -0,0 +1,38 @@ + + + + + + + +HTMLBodyElement12 +Curt Arnold + +Checks that Node.isSupported("cOrE", "2.0") returns true. + +2002-03-18 + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLDocument22.xml b/test/testcases/tests/level2/html/HTMLDocument22.xml new file mode 100644 index 0000000..414f065 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLDocument22.xml @@ -0,0 +1,36 @@ + + + + + + + +HTMLDocument22 +Curt Arnold + +Checks that Node.isSupported("hTmL", null) returns true. + +2002-03-18 + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLDocument23.xml b/test/testcases/tests/level2/html/HTMLDocument23.xml new file mode 100644 index 0000000..7896dbd --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLDocument23.xml @@ -0,0 +1,36 @@ + + + + + + + +HTMLDocument23 +Curt Arnold + +Checks that Node.isSupported("hTmL", "2.0") returns true. + +2002-03-18 + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLDocument24.xml b/test/testcases/tests/level2/html/HTMLDocument24.xml new file mode 100644 index 0000000..186062d --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLDocument24.xml @@ -0,0 +1,38 @@ + + + + + + + +HTMLDocument24 +Curt Arnold + +Checks that Node.isSupported("xhTmL", null) returns true if hasFeature("XML", null) is true. + +2002-03-18 + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLDocument25.xml b/test/testcases/tests/level2/html/HTMLDocument25.xml new file mode 100644 index 0000000..42a1996 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLDocument25.xml @@ -0,0 +1,38 @@ + + + + + + + +HTMLDocument25 +Curt Arnold + +Checks that Node.isSupported("xhTmL", "2.0") returns true if hasFeature("XML", "2.0") is true. + +2002-03-18 + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLDocument26.xml b/test/testcases/tests/level2/html/HTMLDocument26.xml new file mode 100644 index 0000000..032cead --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLDocument26.xml @@ -0,0 +1,36 @@ + + + + + + + +HTMLDocument26 +Curt Arnold + +Checks that Node.isSupported("cOrE", null) returns true. + +2002-03-18 + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLDocument27.xml b/test/testcases/tests/level2/html/HTMLDocument27.xml new file mode 100644 index 0000000..fa2b184 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLDocument27.xml @@ -0,0 +1,36 @@ + + + + + + + +HTMLDocument27 +Curt Arnold + +Checks that Node.isSupported("cOrE", "2.0") returns true. + +2002-03-18 + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLFrameElement09.xml b/test/testcases/tests/level2/html/HTMLFrameElement09.xml new file mode 100644 index 0000000..d6fc5cc --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLFrameElement09.xml @@ -0,0 +1,42 @@ + + + + + + +HTMLFrameElement09 +NIST + + 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 FRAME element + and examine its TITLE value. + +Rick Rivello +2002-07-03 + + + + + + + + + + +<assertEquals actual="vtitle" expected='"NIST DOM HTML Test - FRAMESET"' id="titleLink" ignoreCase="false" /> +</test> diff --git a/test/testcases/tests/level2/html/HTMLIFrameElement11.xml b/test/testcases/tests/level2/html/HTMLIFrameElement11.xml new file mode 100644 index 0000000..c77d2f4 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLIFrameElement11.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom2.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2" name="HTMLIFrameElement11"> +<metadata> +<title>HTMLIFrameElement11 +NIST + + Retrieve the contentDocument attribute of the second IFRAME element + and examine its title. + +Rick Rivello +2002-07-03 + + + + + + + + + + +<assertEquals actual="vtitle" expected='"NIST DOM HTML Test - FRAME"' id="titleLink" ignoreCase="false" /> +</test> diff --git a/test/testcases/tests/level2/html/HTMLImageElement05.xml b/test/testcases/tests/level2/html/HTMLImageElement05.xml new file mode 100644 index 0000000..92e536b --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLImageElement05.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom2.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2" name="HTMLImageElement05"> +<metadata> +<title>HTMLImageElement05 +NIST + + The height attribute overrides the natural "height" of the image. + + Retrieve the height attribute and examine it's value. + +Mary Brady +2001-12-26 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLImageElement06.xml b/test/testcases/tests/level2/html/HTMLImageElement06.xml new file mode 100644 index 0000000..19fb7b0 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLImageElement06.xml @@ -0,0 +1,42 @@ + + + + + + +HTMLImageElement06 +NIST + + The hspace attribute specifies the horizontal space to the left and + right of this image. + + Retrieve the hspace attribute and examine it's value. + +Mary Brady +2001-12-26 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLImageElement11.xml b/test/testcases/tests/level2/html/HTMLImageElement11.xml new file mode 100644 index 0000000..10f3608 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLImageElement11.xml @@ -0,0 +1,42 @@ + + + + + + +HTMLImageElement11 +NIST + + The vspace attribute specifies the vertical space above and below this + image. + + Retrieve the vspace attribute and examine it's value. + +Mary Brady +2001-12-26 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLImageElement12.xml b/test/testcases/tests/level2/html/HTMLImageElement12.xml new file mode 100644 index 0000000..738f1c3 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLImageElement12.xml @@ -0,0 +1,41 @@ + + + + + + +HTMLImageElement12 +NIST + + The width attribute overrides the natural "width" of the image. + + Retrieve the width attribute and examine it's value. + +Mary Brady +2001-12-07 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLInputElement13.xml b/test/testcases/tests/level2/html/HTMLInputElement13.xml new file mode 100644 index 0000000..e243035 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLInputElement13.xml @@ -0,0 +1,43 @@ + + + + + + +HTMLInputElement13 +NIST + + 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. + +Mary Brady +2001-12-26 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLObjectElement11.xml b/test/testcases/tests/level2/html/HTMLObjectElement11.xml new file mode 100644 index 0000000..b4f172b --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLObjectElement11.xml @@ -0,0 +1,43 @@ + + + + + + +HTMLObjectElement11 +NIST + + 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. + +Mary Brady +2002-01-02 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLObjectElement16.xml b/test/testcases/tests/level2/html/HTMLObjectElement16.xml new file mode 100644 index 0000000..e849620 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLObjectElement16.xml @@ -0,0 +1,43 @@ + + + + + + +HTMLObjectElement16 +NIST + + 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. + +Mary Brady +2002-01-02 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLObjectElement20.xml b/test/testcases/tests/level2/html/HTMLObjectElement20.xml new file mode 100644 index 0000000..5694760 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLObjectElement20.xml @@ -0,0 +1,40 @@ + + + + + + +HTMLObjectElement20 +NIST + + The contentDocument attribute specifies the document this object contains, + if there is any and it is available, or null otherwise. + +Rick Rivello +2002-07-03 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLOptionsCollection01.xml b/test/testcases/tests/level2/html/HTMLOptionsCollection01.xml new file mode 100644 index 0000000..80df1a3 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLOptionsCollection01.xml @@ -0,0 +1,46 @@ + + + + + + +HTMLOptionsCollection01 +NIST + + An HTMLOptionsCollection is a list of nodes representing HTML option + element. + The length attribute specifies the length or size of the list. + + Retrieve the first SELECT element and create a HTMLOptionsCollection + of the OPTION elements. Check the size of the length of OPTION elements. + +Rick Rivello +2002-08-01 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLOptionsCollection02.xml b/test/testcases/tests/level2/html/HTMLOptionsCollection02.xml new file mode 100644 index 0000000..44b5431 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLOptionsCollection02.xml @@ -0,0 +1,54 @@ + + + + + + +HTMLOptionsCollection02 +NIST + + An HTMLOptionsCollection is a list of nodes representing HTML option + element. + An individual node may be accessed by either ordinal index, the node's + name or id attributes. (Test ordinal index=3). + The item() method retrieves a node specified by ordinal index. + Nodes are numbered in tree order. The index origin is 0. + + Retrieve the first SELECT element. Create a HTMLOptionsCollection. + Retrieve the fourth item in the list and examine its firstChild's + nodeValue. + +Rick Rivello +2002-08-01 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLOptionsCollection03.xml b/test/testcases/tests/level2/html/HTMLOptionsCollection03.xml new file mode 100644 index 0000000..280b2bf --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLOptionsCollection03.xml @@ -0,0 +1,54 @@ + + + + + + +HTMLOptionsCollection03 +NIST + + An HTMLOptionsCollection is a list of nodes representing HTML option + element. + An individual node may be accessed by either ordinal index, the node's + name or id attributes. (Test node name). + The namedItem method retrieves a Node using a name. It first searches + for a node with a matching id attribute. If it doesn't find one, it + then searches for a Node with a matching name attribute, but only + those elements that are allowed a name attribute. + + Retrieve the first FORM element. Create a HTMLCollection of the elements. + Search for an element that has select1 as the value for the name attribute. + Get the nodeName of that element. + +Rick Rivello +2002-08-01 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLOptionsCollection04.xml b/test/testcases/tests/level2/html/HTMLOptionsCollection04.xml new file mode 100644 index 0000000..83e59d3 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLOptionsCollection04.xml @@ -0,0 +1,54 @@ + + + + + + +HTMLOptionsCollection04 +NIST + + An HTMLOptionsCollection is a list of nodes representing HTML option + element. + An individual node may be accessed by either ordinal index, the node's + name or id attributes. (Test node name). + The namedItem method retrieves a Node using a name. It first searches + for a node with a matching id attribute. If it doesn't find one, it + then searches for a Node with a matching name attribute, but only + those elements that are allowed a name attribute. + + Retrieve the first FORM element. Create a HTMLCollection of the elements. + Search for an element that has selectId as the value for the id attribute. + Get the nodeName of that element. + +Rick Rivello +2002-08-01 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLOptionsCollection05.xml b/test/testcases/tests/level2/html/HTMLOptionsCollection05.xml new file mode 100644 index 0000000..d2f44d7 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLOptionsCollection05.xml @@ -0,0 +1,55 @@ + + + + + + +HTMLOptionsCollection05 +NIST + + An HTMLOptionsCollection is a list of nodes representing HTML option + element. + An individual node may be accessed by either ordinal index, the node's + name or id attributes. (Test node name). + The namedItem method retrieves a Node using a name. It first searches + for a node with a matching id attribute. If it doesn't find one, it + then searches for a Node with a matching name attribute, but only + those elements that are allowed a name attribute. Upon failure(e.q., no + node with this name exists), returns null. + + Retrieve the first FORM element. Create a HTMLCollection of the elements. + Search for an element that has select9 as the value for the name attribute. + Null should be returned since there is not any name or id attribute with + select9 as a value. + +Rick Rivello +2002-08-01 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLOptionsCollection06.xml b/test/testcases/tests/level2/html/HTMLOptionsCollection06.xml new file mode 100644 index 0000000..fbde429 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLOptionsCollection06.xml @@ -0,0 +1,52 @@ + + + + + + +HTMLOptionsCollection06 +NIST + + An HTMLOptionsCollection is a list of nodes representing HTML option + element. + An individual node may be accessed by either ordinal index, the node's + name or id attributes. (Test ordinal index). + The item() method retrieves a node specified by ordinal index. + A value of null is returned if the index is out of range. + + Retrieve the first SELECT element. Create a HTMLOptionsCollection. + Retrieve the tenth item in the list - null should be returned since + there are not 10 items in the list. + +Rick Rivello +2002-08-01 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLOptionsCollection07.xml b/test/testcases/tests/level2/html/HTMLOptionsCollection07.xml new file mode 100644 index 0000000..a2731e5 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLOptionsCollection07.xml @@ -0,0 +1,54 @@ + + + + + + +HTMLOptionsCollection07 +NIST + + An HTMLOptionsCollection is a list of nodes representing HTML option + element. + An individual node may be accessed by either ordinal index, the node's + name or id attributes. (Test ordinal index=0). + The item() method retrieves a node specified by ordinal index. Nodes + are numbered in tree order. The index origin is 0. + + Retrieve the first SELECT element. Create a HTMLOptionsCollection. + Retrieve the first item in the list and examine its firstChild's + nodeValue. + +Rick Rivello +2002-08-01 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLSelectElement20.xml b/test/testcases/tests/level2/html/HTMLSelectElement20.xml new file mode 100644 index 0000000..ddbe2f7 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLSelectElement20.xml @@ -0,0 +1,56 @@ + + + + + + + +HTMLSelectElement20 +Curt Arnold + +Attempting to add an new option using HTMLSelectElement.add before a node that is not a child of the select +element should raise a NOT_FOUND_ERR. + +2004-03-18 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableElement34.xml b/test/testcases/tests/level2/html/HTMLTableElement34.xml new file mode 100644 index 0000000..d774498 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableElement34.xml @@ -0,0 +1,48 @@ + + + + + + +HTMLTableElement34 +NIST + + 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. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableElement35.xml b/test/testcases/tests/level2/html/HTMLTableElement35.xml new file mode 100644 index 0000000..6410e89 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableElement35.xml @@ -0,0 +1,48 @@ + + + + + + +HTMLTableElement35 +NIST + + 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. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableElement36.xml b/test/testcases/tests/level2/html/HTMLTableElement36.xml new file mode 100644 index 0000000..7a514e5 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableElement36.xml @@ -0,0 +1,47 @@ + + + + + + +HTMLTableElement36 +NIST + + 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. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableElement37.xml b/test/testcases/tests/level2/html/HTMLTableElement37.xml new file mode 100644 index 0000000..097deb1 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableElement37.xml @@ -0,0 +1,48 @@ + + + + + + +HTMLTableElement37 +NIST + + 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. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableElement38.xml b/test/testcases/tests/level2/html/HTMLTableElement38.xml new file mode 100644 index 0000000..0f5bccd --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableElement38.xml @@ -0,0 +1,47 @@ + + + + + + +HTMLTableElement38 +NIST + + 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. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableElement39.xml b/test/testcases/tests/level2/html/HTMLTableElement39.xml new file mode 100644 index 0000000..6631584 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableElement39.xml @@ -0,0 +1,62 @@ + + + + + + +HTMLTableElement39 +NIST + + 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. + +Rick Rivello +2002-11-07 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableElement40.xml b/test/testcases/tests/level2/html/HTMLTableElement40.xml new file mode 100644 index 0000000..154b348 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableElement40.xml @@ -0,0 +1,50 @@ + + + + + + +HTMLTableElement40 +NIST + + 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. + +Rick Rivello +2002-11-02 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableRowElement15.xml b/test/testcases/tests/level2/html/HTMLTableRowElement15.xml new file mode 100644 index 0000000..9e89674 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableRowElement15.xml @@ -0,0 +1,48 @@ + + + + + + +HTMLTableRowElement15 +NIST + + 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. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableRowElement16.xml b/test/testcases/tests/level2/html/HTMLTableRowElement16.xml new file mode 100644 index 0000000..8471a2b --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableRowElement16.xml @@ -0,0 +1,48 @@ + + + + + + +HTMLTableRowElement16 +NIST + + 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. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableRowElement17.xml b/test/testcases/tests/level2/html/HTMLTableRowElement17.xml new file mode 100644 index 0000000..b469470 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableRowElement17.xml @@ -0,0 +1,47 @@ + + + + + + +HTMLTableRowElement17 +NIST + + 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. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableRowElement18.xml b/test/testcases/tests/level2/html/HTMLTableRowElement18.xml new file mode 100644 index 0000000..f296086 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableRowElement18.xml @@ -0,0 +1,47 @@ + + + + + + +HTMLTableRowElement18 +NIST + + 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. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableRowElement19.xml b/test/testcases/tests/level2/html/HTMLTableRowElement19.xml new file mode 100644 index 0000000..9a111f3 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableRowElement19.xml @@ -0,0 +1,47 @@ + + + + + + +HTMLTableRowElement19 +NIST + + 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. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableRowElement20.xml b/test/testcases/tests/level2/html/HTMLTableRowElement20.xml new file mode 100644 index 0000000..a879e13 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableRowElement20.xml @@ -0,0 +1,68 @@ + + + + + + +HTMLTableRowElement20 +NIST + + 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. + +Rick Rivello +2002-11-07 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableRowElement21.xml b/test/testcases/tests/level2/html/HTMLTableRowElement21.xml new file mode 100644 index 0000000..9d5a598 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableRowElement21.xml @@ -0,0 +1,67 @@ + + + + + + +HTMLTableRowElement21 +NIST + + 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. + +Rick Rivello +2002-11-07 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement25.xml b/test/testcases/tests/level2/html/HTMLTableSectionElement25.xml new file mode 100644 index 0000000..8fbd1c2 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableSectionElement25.xml @@ -0,0 +1,48 @@ + + + + + + +HTMLTableSectionElement25 +NIST + + 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. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement26.xml b/test/testcases/tests/level2/html/HTMLTableSectionElement26.xml new file mode 100644 index 0000000..206d91f --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableSectionElement26.xml @@ -0,0 +1,48 @@ + + + + + + +HTMLTableSectionElement26 +NIST + + 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. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement27.xml b/test/testcases/tests/level2/html/HTMLTableSectionElement27.xml new file mode 100644 index 0000000..3ab35a5 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableSectionElement27.xml @@ -0,0 +1,48 @@ + + + + + + +HTMLTableSectionElement27 +NIST + + 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. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement28.xml b/test/testcases/tests/level2/html/HTMLTableSectionElement28.xml new file mode 100644 index 0000000..5578ba5 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableSectionElement28.xml @@ -0,0 +1,48 @@ + + + + + + +HTMLTableSectionElement28 +NIST + + 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. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement29.xml b/test/testcases/tests/level2/html/HTMLTableSectionElement29.xml new file mode 100644 index 0000000..0ddd852 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableSectionElement29.xml @@ -0,0 +1,47 @@ + + + + + + +HTMLTableSectionElement29 +NIST + + 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. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement30.xml b/test/testcases/tests/level2/html/HTMLTableSectionElement30.xml new file mode 100644 index 0000000..8fd17c2 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableSectionElement30.xml @@ -0,0 +1,55 @@ + + + + + + +HTMLTableSectionElement30 +NIST + + 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. + +Rick Rivello +2002-11-07 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement31.xml b/test/testcases/tests/level2/html/HTMLTableSectionElement31.xml new file mode 100644 index 0000000..55464e2 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableSectionElement31.xml @@ -0,0 +1,53 @@ + + + + + + +HTMLTableSectionElement31 +NIST + + 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. + +Rick Rivello +2002-11-07 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/alltests.xml b/test/testcases/tests/level2/html/alltests.xml new file mode 100644 index 0000000..db40cd4 --- /dev/null +++ b/test/testcases/tests/level2/html/alltests.xml @@ -0,0 +1,707 @@ + + + + + +DOM Level 2 HTML Test Suite +DOM Test Suite Project + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/files/.cvsignore b/test/testcases/tests/level2/html/files/.cvsignore new file mode 100644 index 0000000..30d6772 --- /dev/null +++ b/test/testcases/tests/level2/html/files/.cvsignore @@ -0,0 +1,6 @@ +xhtml1-frameset.dtd +xhtml1-strict.dtd +xhtml1-transitional.dtd +xhtml-lat1.ent +xhtml-special.ent +xhtml-symbol.ent diff --git a/test/testcases/tests/level2/html/files/CVS/Entries b/test/testcases/tests/level2/html/files/CVS/Entries new file mode 100644 index 0000000..b5780ce --- /dev/null +++ b/test/testcases/tests/level2/html/files/CVS/Entries @@ -0,0 +1,11 @@ +/.cvsignore/1.1/Fri Apr 3 02:47:56 2009// +/frame2.html/1.3/Fri Apr 3 02:47:56 2009// +/frame2.xhtml/1.4/Fri Apr 3 02:47:56 2009/-kb/ +/frame2.xml/1.4/Fri Apr 3 02:47:55 2009// +/iframe2.html/1.4/Fri Apr 3 02:47:56 2009// +/iframe2.xhtml/1.4/Fri Apr 3 02:47:56 2009/-kb/ +/iframe2.xml/1.4/Fri Apr 3 02:47:56 2009// +/optionscollection.html/1.2/Fri Apr 3 02:47:56 2009// +/optionscollection.xhtml/1.2/Fri Apr 3 02:47:56 2009/-kb/ +/optionscollection.xml/1.2/Fri Apr 3 02:47:56 2009// +D diff --git a/test/testcases/tests/level2/html/files/CVS/Repository b/test/testcases/tests/level2/html/files/CVS/Repository new file mode 100644 index 0000000..f200009 --- /dev/null +++ b/test/testcases/tests/level2/html/files/CVS/Repository @@ -0,0 +1 @@ +2001/DOM-Test-Suite/tests/level2/html/files diff --git a/test/testcases/tests/level2/html/files/CVS/Root b/test/testcases/tests/level2/html/files/CVS/Root new file mode 100644 index 0000000..3c7177e --- /dev/null +++ b/test/testcases/tests/level2/html/files/CVS/Root @@ -0,0 +1 @@ +:pserver:anonymous@dev.w3.org:/sources/public diff --git a/test/testcases/tests/level2/html/files/CVS/Template b/test/testcases/tests/level2/html/files/CVS/Template new file mode 100644 index 0000000..e69de29 diff --git a/test/testcases/tests/level2/html/files/frame2.html b/test/testcases/tests/level2/html/files/frame2.html new file mode 100644 index 0000000..6030ec5 --- /dev/null +++ b/test/testcases/tests/level2/html/files/frame2.html @@ -0,0 +1,16 @@ + + + + +NIST DOM HTML Test - FRAME2 + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/files/frame2.xhtml b/test/testcases/tests/level2/html/files/frame2.xhtml new file mode 100644 index 0000000..09008eb --- /dev/null +++ b/test/testcases/tests/level2/html/files/frame2.xhtml @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - FRAME2 + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/files/frame2.xml b/test/testcases/tests/level2/html/files/frame2.xml new file mode 100644 index 0000000..615f234 --- /dev/null +++ b/test/testcases/tests/level2/html/files/frame2.xml @@ -0,0 +1,16 @@ + + + + +NIST DOM HTML Test - FRAME2 + + + + + + + + + diff --git a/test/testcases/tests/level2/html/files/iframe2.html b/test/testcases/tests/level2/html/files/iframe2.html new file mode 100644 index 0000000..7f302b8 --- /dev/null +++ b/test/testcases/tests/level2/html/files/iframe2.html @@ -0,0 +1,13 @@ + + + + +NIST DOM HTML Test - IFRAME2 + + + + + + + + diff --git a/test/testcases/tests/level2/html/files/iframe2.xhtml b/test/testcases/tests/level2/html/files/iframe2.xhtml new file mode 100644 index 0000000..a1b1011 --- /dev/null +++ b/test/testcases/tests/level2/html/files/iframe2.xhtml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - IFRAME2 + + + + + + + + diff --git a/test/testcases/tests/level2/html/files/iframe2.xml b/test/testcases/tests/level2/html/files/iframe2.xml new file mode 100644 index 0000000..a1b1011 --- /dev/null +++ b/test/testcases/tests/level2/html/files/iframe2.xml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - IFRAME2 + + + + + + + + diff --git a/test/testcases/tests/level2/html/files/optionscollection.html b/test/testcases/tests/level2/html/files/optionscollection.html new file mode 100644 index 0000000..d1e8743 --- /dev/null +++ b/test/testcases/tests/level2/html/files/optionscollection.html @@ -0,0 +1,36 @@ + + + + +NIST DOM HTML Test - OPTIONSCOLLECTION + + +
+

+ +

+
+

+ +

+ + + + + + + + + diff --git a/test/testcases/tests/level2/html/files/optionscollection.xhtml b/test/testcases/tests/level2/html/files/optionscollection.xhtml new file mode 100644 index 0000000..3f04194 --- /dev/null +++ b/test/testcases/tests/level2/html/files/optionscollection.xhtml @@ -0,0 +1,33 @@ + + + + +NIST DOM HTML Test - OPTIONSCOLLECTION + + +
+

+ +

+
+

+ +

+ + + + diff --git a/test/testcases/tests/level2/html/files/optionscollection.xml b/test/testcases/tests/level2/html/files/optionscollection.xml new file mode 100644 index 0000000..3f04194 --- /dev/null +++ b/test/testcases/tests/level2/html/files/optionscollection.xml @@ -0,0 +1,33 @@ + + + + +NIST DOM HTML Test - OPTIONSCOLLECTION + + +
+

+ +

+
+

+ +

+ + + + diff --git a/test/testcases/tests/level2/html/hasFeature02.xml b/test/testcases/tests/level2/html/hasFeature02.xml new file mode 100644 index 0000000..560a60c --- /dev/null +++ b/test/testcases/tests/level2/html/hasFeature02.xml @@ -0,0 +1,31 @@ + + + + + +hasFeature02 +Curt Arnold + +hasFeature("hTmL", "2.0") should return true. + +2004-03-18 + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/hasFeature03.xml b/test/testcases/tests/level2/html/hasFeature03.xml new file mode 100644 index 0000000..49fb3b5 --- /dev/null +++ b/test/testcases/tests/level2/html/hasFeature03.xml @@ -0,0 +1,33 @@ + + + + + +hasFeature03 +Curt Arnold + +hasFeature("xhTmL", null) should return true if hasFeature("XML", null) returns true. + +2004-03-18 + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/hasFeature04.xml b/test/testcases/tests/level2/html/hasFeature04.xml new file mode 100644 index 0000000..077b913 --- /dev/null +++ b/test/testcases/tests/level2/html/hasFeature04.xml @@ -0,0 +1,33 @@ + + + + + +hasFeature04 +Curt Arnold + +hasFeature("xhTmL", "2.0") should return true if hasFeature("XML", "2.0") returns true. + +2004-03-18 + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/hasFeature05.xml b/test/testcases/tests/level2/html/hasFeature05.xml new file mode 100644 index 0000000..c79f90b --- /dev/null +++ b/test/testcases/tests/level2/html/hasFeature05.xml @@ -0,0 +1,31 @@ + + + + + +hasFeature05 +Curt Arnold + +hasFeature("cOrE", null) should return true. + +2004-03-18 + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/hasFeature06.xml b/test/testcases/tests/level2/html/hasFeature06.xml new file mode 100644 index 0000000..162e5cf --- /dev/null +++ b/test/testcases/tests/level2/html/hasFeature06.xml @@ -0,0 +1,31 @@ + + + + + +hasFeature06 +Curt Arnold + +hasFeature("cOrE", "2.0") should return true. + +2004-03-18 + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/metadata.xml b/test/testcases/tests/level2/html/metadata.xml new file mode 100644 index 0000000..be6715a --- /dev/null +++ b/test/testcases/tests/level2/html/metadata.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/test/testcases/tests/level2/html/object08.xml b/test/testcases/tests/level2/html/object08.xml new file mode 100644 index 0000000..32d32cf --- /dev/null +++ b/test/testcases/tests/level2/html/object08.xml @@ -0,0 +1,40 @@ + + + + + + +object08 +Netscape + +Horizontal space to the left and right of this image, applet, or object. +The value of attribute hspace of the object element is read and checked against the expected value. + +Sivakiran Tummala +2002-02-15 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/object13.xml b/test/testcases/tests/level2/html/object13.xml new file mode 100644 index 0000000..a3a603a --- /dev/null +++ b/test/testcases/tests/level2/html/object13.xml @@ -0,0 +1,40 @@ + + + + + + +object13 +Netscape + +Vertical space above and below this image, applet, or object. +The value of attribute vspace of the object element is read and checked against the expected value. + +Sivakiran Tummala +2002-02-15 + + + + + + + + + + + + + -- cgit v1.2.3