diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-30 11:06:01 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-30 11:06:01 +0000 |
commit | bb0bf3763647fbdc63509f065db473fe7bd8a60c (patch) | |
tree | 0ba575c11b1875b638324194e16ebda4586baec8 /test/testcases/tests/level1/html | |
parent | 3000cbd4a8096292eb56edce79e5f55cb127e405 (diff) | |
download | libdom-bb0bf3763647fbdc63509f065db473fe7bd8a60c.tar.gz libdom-bb0bf3763647fbdc63509f065db473fe7bd8a60c.tar.bz2 |
Merge DOMTS tests -- they're causing havoc with review diffs.
svn path=/trunk/dom/; revision=8910
Diffstat (limited to 'test/testcases/tests/level1/html')
844 files changed, 33872 insertions, 0 deletions
diff --git a/test/testcases/tests/level1/html/.cvsignore b/test/testcases/tests/level1/html/.cvsignore new file mode 100644 index 0000000..46fbb92 --- /dev/null +++ b/test/testcases/tests/level1/html/.cvsignore @@ -0,0 +1,2 @@ +dom1.dtd +dom1.xsd diff --git a/test/testcases/tests/level1/html/CVS/Entries b/test/testcases/tests/level1/html/CVS/Entries new file mode 100644 index 0000000..2365a0f --- /dev/null +++ b/test/testcases/tests/level1/html/CVS/Entries @@ -0,0 +1,642 @@ +D/files//// +/.cvsignore/1.1/Fri Apr 3 02:48:02 2009// +/HTMLAnchorElement01.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLAnchorElement02.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLAnchorElement03.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLAnchorElement04.xml/1.2/Fri Apr 3 02:48:01 2009// +/HTMLAnchorElement05.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLAnchorElement06.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLAnchorElement07.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLAnchorElement08.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLAnchorElement09.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLAnchorElement10.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLAnchorElement11.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLAnchorElement12.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLAnchorElement13.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLAnchorElement14.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLAppletElement01.xml/1.5/Fri Apr 3 02:48:03 2009// +/HTMLAppletElement02.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLAppletElement03.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLAppletElement04.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLAppletElement05.xml/1.6/Fri Apr 3 02:48:01 2009// +/HTMLAppletElement06.xml/1.4/Fri Apr 3 02:48:03 2009// +/HTMLAppletElement07.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLAppletElement08.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLAppletElement09.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLAppletElement10.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLAppletElement11.xml/1.2/Fri Apr 3 02:48:02 2009// +/HTMLAreaElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLAreaElement02.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLAreaElement03.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLAreaElement04.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLAreaElement05.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLAreaElement06.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLAreaElement07.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLAreaElement08.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLBRElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLBaseElement01.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLBaseElement02.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLBaseFontElement01.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLBaseFontElement02.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLBaseFontElement03.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLBodyElement01.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLBodyElement02.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLBodyElement03.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLBodyElement04.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLBodyElement05.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLBodyElement06.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLButtonElement01.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLButtonElement02.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLButtonElement03.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLButtonElement04.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLButtonElement05.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLButtonElement06.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLButtonElement07.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLButtonElement08.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLCollection01.xml/1.2/Fri Apr 3 02:48:02 2009// +/HTMLCollection02.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLCollection03.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLCollection04.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLCollection05.xml/1.2/Fri Apr 3 02:48:01 2009// +/HTMLCollection06.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLCollection07.xml/1.2/Fri Apr 3 02:48:02 2009// +/HTMLCollection08.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLCollection09.xml/1.2/Fri Apr 3 02:48:01 2009// +/HTMLCollection10.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLCollection11.xml/1.4/Fri Apr 3 02:48:03 2009// +/HTMLCollection12.xml/1.2/Fri Apr 3 02:48:02 2009// +/HTMLDirectoryElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLDivElement01.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLDlistElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLDocument01.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLDocument02.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLDocument03.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLDocument04.xml/1.2/Fri Apr 3 02:48:03 2009// +/HTMLDocument05.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLDocument07.xml/1.1/Fri Apr 3 02:48:03 2009// +/HTMLDocument08.xml/1.2/Fri Apr 3 02:48:03 2009// +/HTMLDocument09.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLDocument10.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLDocument11.xml/1.1/Fri Apr 3 02:48:03 2009// +/HTMLDocument12.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLDocument13.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLDocument14.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLDocument15.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLDocument16.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLDocument17.xml/1.1/Fri Apr 3 02:48:03 2009// +/HTMLDocument18.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLDocument19.xml/1.1/Fri Apr 3 02:48:03 2009// +/HTMLDocument20.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLDocument21.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement02.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement03.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement04.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement05.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement06.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement07.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement08.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement09.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLElement10.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement100.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement101.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement102.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLElement103.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement104.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement105.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement106.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement107.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement108.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement109.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement11.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement110.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement111.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement112.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement113.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement114.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement115.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement116.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement117.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement118.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement119.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement12.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLElement120.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement121.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement122.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement123.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement124.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement125.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement126.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement127.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement128.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement129.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement13.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement130.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement131.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement132.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement133.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement134.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement135.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement136.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement137.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement138.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLElement139.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement14.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement140.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement141.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement142.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement143.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement144.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement145.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement15.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement16.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement17.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement18.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement19.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement20.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement21.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLElement22.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement23.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement24.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement25.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement26.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement27.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement28.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement29.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement30.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement31.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement32.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement33.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement34.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement35.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement36.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement37.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement38.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement39.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement40.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement41.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement42.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLElement43.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement44.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement45.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement46.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement47.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement48.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement49.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement50.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement51.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement52.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement53.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement54.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement55.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLElement56.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement57.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement58.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement59.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement60.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement61.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement62.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement63.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement64.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement65.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement66.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement67.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLElement68.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement69.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement70.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement71.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement72.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement73.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement74.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement75.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement76.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement77.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement78.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement79.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement80.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement81.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement82.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement83.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement84.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement85.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement86.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement87.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement88.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement89.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement90.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLElement91.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement92.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement93.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement94.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLElement95.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement96.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLElement97.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement98.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLElement99.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLFieldSetElement01.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLFieldSetElement02.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLFontElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLFontElement02.xml/1.5/Fri Apr 3 02:48:02 2009// +/HTMLFontElement03.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLFormElement01.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLFormElement02.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLFormElement03.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLFormElement04.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLFormElement05.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLFormElement06.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLFormElement07.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLFormElement08.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLFormElement09.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLFormElement10.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLFrameElement01.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLFrameElement02.xml/1.2/Fri Apr 3 02:48:02 2009// +/HTMLFrameElement03.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLFrameElement04.xml/1.1/Fri Apr 3 02:48:03 2009// +/HTMLFrameElement05.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLFrameElement06.xml/1.2/Fri Apr 3 02:48:03 2009// +/HTMLFrameElement07.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLFrameElement08.xml/1.2/Fri Apr 3 02:48:01 2009// +/HTMLFrameSetElement01.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLFrameSetElement02.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLHRElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLHRElement02.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLHRElement03.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLHRElement04.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLHeadElement01.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLHeadingElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLHeadingElement02.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLHeadingElement03.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLHeadingElement04.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLHeadingElement05.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLHeadingElement06.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLHtmlElement01.xml/1.5/Fri Apr 3 02:48:02 2009// +/HTMLIFrameElement01.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLIFrameElement02.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLIFrameElement03.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLIFrameElement04.xml/1.2/Fri Apr 3 02:48:01 2009// +/HTMLIFrameElement05.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLIFrameElement06.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLIFrameElement07.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLIFrameElement08.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLIFrameElement09.xml/1.2/Fri Apr 3 02:48:02 2009// +/HTMLIFrameElement10.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLImageElement01.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLImageElement02.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLImageElement03.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLImageElement04.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLImageElement05.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLImageElement06.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLImageElement07.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLImageElement08.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLImageElement09.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLImageElement10.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLImageElement11.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLImageElement12.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLImageElement14.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLInputElement01.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLInputElement02.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLInputElement03.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLInputElement04.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLInputElement05.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLInputElement06.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLInputElement07.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLInputElement08.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLInputElement09.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLInputElement10.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLInputElement11.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLInputElement12.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLInputElement13.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLInputElement14.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLInputElement15.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLInputElement16.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLInputElement17.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLInputElement18.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLInputElement19.xml/1.1/Fri Apr 3 02:48:03 2009// +/HTMLInputElement20.xml/1.2/Fri Apr 3 02:48:03 2009// +/HTMLInputElement21.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLInputElement22.xml/1.1/Fri Apr 3 02:48:03 2009// +/HTMLIsIndexElement01.xml/1.6/Fri Apr 3 02:48:02 2009// +/HTMLIsIndexElement02.xml/1.5/Fri Apr 3 02:48:01 2009// +/HTMLIsIndexElement03.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLLIElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLLIElement02.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLLabelElement01.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLLabelElement02.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLLabelElement03.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLLabelElement04.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLLegendElement01.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLLegendElement02.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLLegendElement03.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLLegendElement04.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLLinkElement01.xml/1.4/Fri Apr 3 02:48:03 2009// +/HTMLLinkElement02.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLLinkElement03.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLLinkElement04.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLLinkElement05.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLLinkElement06.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLLinkElement07.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLLinkElement08.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLLinkElement09.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLMapElement01.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLMapElement02.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLMenuElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLMetaElement01.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLMetaElement02.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLMetaElement03.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLMetaElement04.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLModElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLModElement02.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLModElement03.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLModElement04.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLOListElement01.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLOListElement02.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLOListElement03.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLObjectElement01.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLObjectElement02.xml/1.4/Fri Apr 3 02:48:03 2009// +/HTMLObjectElement03.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLObjectElement04.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLObjectElement05.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLObjectElement06.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLObjectElement07.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLObjectElement08.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLObjectElement09.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLObjectElement10.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLObjectElement11.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLObjectElement12.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLObjectElement13.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLObjectElement14.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLObjectElement15.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLObjectElement16.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLObjectElement17.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLObjectElement18.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLObjectElement19.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLOptGroupElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLOptGroupElement02.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLOptionElement01.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLOptionElement02.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLOptionElement03.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLOptionElement04.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLOptionElement05.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLOptionElement06.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLOptionElement07.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLOptionElement08.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLOptionElement09.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLParagraphElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLParamElement01.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLParamElement02.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLParamElement03.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLParamElement04.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLPreElement01.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLQuoteElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLQuoteElement02.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLScriptElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLScriptElement02.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLScriptElement03.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLScriptElement04.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLScriptElement05.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLScriptElement06.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLScriptElement07.xml/1.2/Fri Apr 3 02:48:01 2009// +/HTMLSelectElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLSelectElement02.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLSelectElement03.xml/1.5/Fri Apr 3 02:48:01 2009// +/HTMLSelectElement04.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLSelectElement05.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLSelectElement06.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLSelectElement07.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLSelectElement08.xml/1.6/Fri Apr 3 02:48:03 2009// +/HTMLSelectElement09.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLSelectElement10.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLSelectElement11.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLSelectElement12.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLSelectElement13.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLSelectElement14.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLSelectElement15.xml/1.1/Fri Apr 3 02:48:03 2009// +/HTMLSelectElement16.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLSelectElement17.xml/1.1/Fri Apr 3 02:48:03 2009// +/HTMLSelectElement18.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLSelectElement19.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLStyleElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLStyleElement02.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLStyleElement03.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableCaptionElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableCellElement01.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableCellElement02.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableCellElement03.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableCellElement04.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableCellElement05.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableCellElement06.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLTableCellElement07.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableCellElement08.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableCellElement09.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLTableCellElement10.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLTableCellElement11.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableCellElement12.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableCellElement13.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableCellElement14.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableCellElement15.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableCellElement16.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLTableCellElement17.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableCellElement18.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableCellElement19.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableCellElement20.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableCellElement21.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLTableCellElement22.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableCellElement23.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableCellElement24.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLTableCellElement25.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLTableCellElement26.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableCellElement27.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableCellElement28.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableCellElement29.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableCellElement30.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableColElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableColElement02.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLTableColElement03.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableColElement04.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableColElement05.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableColElement06.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableColElement07.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableColElement08.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableColElement09.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableColElement10.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableColElement11.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableColElement12.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableElement02.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableElement03.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableElement04.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLTableElement05.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableElement06.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLTableElement07.xml/1.5/Fri Apr 3 02:48:03 2009// +/HTMLTableElement08.xml/1.5/Fri Apr 3 02:48:01 2009// +/HTMLTableElement09.xml/1.5/Fri Apr 3 02:48:01 2009// +/HTMLTableElement10.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableElement11.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableElement12.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableElement13.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableElement14.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableElement15.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableElement16.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableElement17.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableElement18.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableElement19.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLTableElement20.xml/1.1/Fri Apr 3 02:48:03 2009// +/HTMLTableElement21.xml/1.2/Fri Apr 3 02:48:01 2009// +/HTMLTableElement22.xml/1.1/Fri Apr 3 02:48:03 2009// +/HTMLTableElement23.xml/1.1/Fri Apr 3 02:48:03 2009// +/HTMLTableElement24.xml/1.2/Fri Apr 3 02:48:01 2009// +/HTMLTableElement25.xml/1.2/Fri Apr 3 02:48:02 2009// +/HTMLTableElement26.xml/1.2/Fri Apr 3 02:48:01 2009// +/HTMLTableElement27.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLTableElement28.xml/1.2/Fri Apr 3 02:48:03 2009// +/HTMLTableElement29.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableElement30.xml/1.2/Fri Apr 3 02:48:01 2009// +/HTMLTableElement31.xml/1.7/Fri Apr 3 02:48:02 2009// +/HTMLTableElement32.xml/1.2/Fri Apr 3 02:48:03 2009// +/HTMLTableElement33.xml/1.2/Fri Apr 3 02:48:02 2009// +/HTMLTableRowElement01.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableRowElement02.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableRowElement03.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableRowElement04.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableRowElement05.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableRowElement06.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableRowElement07.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLTableRowElement08.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableRowElement09.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableRowElement10.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableRowElement11.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableRowElement12.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLTableRowElement13.xml/1.4/Fri Apr 3 02:48:03 2009// +/HTMLTableRowElement14.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLTableSectionElement01.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableSectionElement02.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableSectionElement03.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLTableSectionElement04.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableSectionElement05.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableSectionElement06.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLTableSectionElement07.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableSectionElement08.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableSectionElement09.xml/1.4/Fri Apr 3 02:48:02 2009// +/HTMLTableSectionElement10.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableSectionElement11.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTableSectionElement12.xml/1.4/Fri Apr 3 02:48:03 2009// +/HTMLTableSectionElement13.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableSectionElement14.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLTableSectionElement15.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLTableSectionElement16.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLTableSectionElement17.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLTableSectionElement18.xml/1.2/Fri Apr 3 02:48:03 2009// +/HTMLTableSectionElement19.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLTableSectionElement20.xml/1.1/Fri Apr 3 02:48:02 2009// +/HTMLTableSectionElement21.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTableSectionElement22.xml/1.1/Fri Apr 3 02:48:03 2009// +/HTMLTableSectionElement23.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLTableSectionElement24.xml/1.2/Fri Apr 3 02:48:02 2009// +/HTMLTextAreaElement01.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLTextAreaElement02.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLTextAreaElement03.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTextAreaElement04.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTextAreaElement05.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTextAreaElement06.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTextAreaElement07.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTextAreaElement08.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLTextAreaElement09.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTextAreaElement10.xml/1.3/Fri Apr 3 02:48:03 2009// +/HTMLTextAreaElement11.xml/1.4/Fri Apr 3 02:48:01 2009// +/HTMLTextAreaElement12.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLTextAreaElement13.xml/1.1/Fri Apr 3 02:48:03 2009// +/HTMLTextAreaElement14.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLTextAreaElement15.xml/1.1/Fri Apr 3 02:48:01 2009// +/HTMLTitleElement01.xml/1.3/Fri Apr 3 02:48:01 2009// +/HTMLUListElement01.xml/1.3/Fri Apr 3 02:48:02 2009// +/HTMLUListElement02.xml/1.3/Fri Apr 3 02:48:01 2009// +/alltests.xml/1.10/Fri Apr 3 02:48:01 2009// +/anchor01.xml/1.1/Fri Apr 3 02:48:01 2009// +/anchor02.xml/1.1/Fri Apr 3 02:48:02 2009// +/anchor03.xml/1.1/Fri Apr 3 02:48:02 2009// +/anchor04.xml/1.1/Fri Apr 3 02:48:02 2009// +/anchor05.xml/1.1/Fri Apr 3 02:48:01 2009// +/anchor06.xml/1.1/Fri Apr 3 02:48:03 2009// +/area01.xml/1.1/Fri Apr 3 02:48:02 2009// +/area02.xml/1.1/Fri Apr 3 02:48:02 2009// +/area03.xml/1.1/Fri Apr 3 02:48:02 2009// +/area04.xml/1.1/Fri Apr 3 02:48:01 2009// +/basefont01.xml/1.1/Fri Apr 3 02:48:02 2009// +/body01.xml/1.1/Fri Apr 3 02:48:01 2009// +/button01.xml/1.1/Fri Apr 3 02:48:01 2009// +/button02.xml/1.1/Fri Apr 3 02:48:01 2009// +/button03.xml/1.1/Fri Apr 3 02:48:02 2009// +/button04.xml/1.1/Fri Apr 3 02:48:03 2009// +/button05.xml/1.1/Fri Apr 3 02:48:01 2009// +/button06.xml/1.1/Fri Apr 3 02:48:01 2009// +/button07.xml/1.1/Fri Apr 3 02:48:02 2009// +/button08.xml/1.1/Fri Apr 3 02:48:02 2009// +/button09.xml/1.1/Fri Apr 3 02:48:02 2009// +/dlist01.xml/1.1/Fri Apr 3 02:48:01 2009// +/doc01.xml/1.1/Fri Apr 3 02:48:01 2009// +/hasFeature01.xml/1.1/Fri Apr 3 02:48:03 2009// +/index.htm/1.1/Fri Apr 3 02:48:01 2009// +/metadata.xml/1.1/Fri Apr 3 02:48:01 2009// +/object01.xml/1.2/Fri Apr 3 02:48:02 2009// +/object02.xml/1.2/Fri Apr 3 02:48:02 2009// +/object03.xml/1.2/Fri Apr 3 02:48:02 2009// +/object04.xml/1.2/Fri Apr 3 02:48:01 2009// +/object05.xml/1.2/Fri Apr 3 02:48:01 2009// +/object06.xml/1.2/Fri Apr 3 02:48:02 2009// +/object07.xml/1.2/Fri Apr 3 02:48:02 2009// +/object08.xml/1.4/Fri Apr 3 02:48:02 2009// +/object09.xml/1.2/Fri Apr 3 02:48:02 2009// +/object10.xml/1.2/Fri Apr 3 02:48:02 2009// +/object11.xml/1.2/Fri Apr 3 02:48:02 2009// +/object12.xml/1.2/Fri Apr 3 02:48:03 2009// +/object13.xml/1.4/Fri Apr 3 02:48:02 2009// +/object14.xml/1.2/Fri Apr 3 02:48:01 2009// +/object15.xml/1.2/Fri Apr 3 02:48:02 2009// +/table01.xml/1.2/Fri Apr 3 02:48:02 2009// +/table02.xml/1.2/Fri Apr 3 02:48:02 2009// +/table03.xml/1.2/Fri Apr 3 02:48:03 2009// +/table04.xml/1.2/Fri Apr 3 02:48:03 2009// +/table06.xml/1.2/Fri Apr 3 02:48:01 2009// +/table07.xml/1.2/Fri Apr 3 02:48:03 2009// +/table08.xml/1.2/Fri Apr 3 02:48:03 2009// +/table09.xml/1.2/Fri Apr 3 02:48:01 2009// +/table10.xml/1.2/Fri Apr 3 02:48:02 2009// +/table12.xml/1.2/Fri Apr 3 02:48:02 2009// +/table15.xml/1.2/Fri Apr 3 02:48:02 2009// +/table17.xml/1.2/Fri Apr 3 02:48:02 2009// +/table18.xml/1.2/Fri Apr 3 02:48:02 2009// +/table19.xml/1.2/Fri Apr 3 02:48:01 2009// +/table20.xml/1.2/Fri Apr 3 02:48:02 2009// +/table21.xml/1.2/Fri Apr 3 02:48:01 2009// +/table22.xml/1.2/Fri Apr 3 02:48:02 2009// +/table23.xml/1.2/Fri Apr 3 02:48:01 2009// +/table24.xml/1.2/Fri Apr 3 02:48:02 2009// +/table25.xml/1.2/Fri Apr 3 02:48:02 2009// +/table26.xml/1.2/Fri Apr 3 02:48:01 2009// +/table27.xml/1.2/Fri Apr 3 02:48:02 2009// +/table28.xml/1.2/Fri Apr 3 02:48:01 2009// +/table29.xml/1.2/Fri Apr 3 02:48:02 2009// +/table30.xml/1.2/Fri Apr 3 02:48:02 2009// +/table31.xml/1.2/Fri Apr 3 02:48:03 2009// +/table32.xml/1.2/Fri Apr 3 02:48:03 2009// +/table33.xml/1.2/Fri Apr 3 02:48:01 2009// +/table34.xml/1.2/Fri Apr 3 02:48:02 2009// +/table35.xml/1.2/Fri Apr 3 02:48:02 2009// +/table36.xml/1.2/Fri Apr 3 02:48:02 2009// +/table37.xml/1.2/Fri Apr 3 02:48:01 2009// +/table38.xml/1.2/Fri Apr 3 02:48:02 2009// +/table39.xml/1.2/Fri Apr 3 02:48:02 2009// +/table40.xml/1.2/Fri Apr 3 02:48:02 2009// +/table41.xml/1.2/Fri Apr 3 02:48:01 2009// +/table42.xml/1.2/Fri Apr 3 02:48:02 2009// +/table43.xml/1.2/Fri Apr 3 02:48:01 2009// +/table44.xml/1.2/Fri Apr 3 02:48:02 2009// +/table45.xml/1.2/Fri Apr 3 02:48:03 2009// +/table46.xml/1.2/Fri Apr 3 02:48:03 2009// +/table47.xml/1.2/Fri Apr 3 02:48:03 2009// +/table48.xml/1.2/Fri Apr 3 02:48:01 2009// +/table49.xml/1.2/Fri Apr 3 02:48:01 2009// +/table50.xml/1.2/Fri Apr 3 02:48:02 2009// +/table51.xml/1.2/Fri Apr 3 02:48:01 2009// +/table52.xml/1.2/Fri Apr 3 02:48:02 2009// +/table53.xml/1.2/Fri Apr 3 02:48:01 2009// diff --git a/test/testcases/tests/level1/html/CVS/Repository b/test/testcases/tests/level1/html/CVS/Repository new file mode 100644 index 0000000..87e193a --- /dev/null +++ b/test/testcases/tests/level1/html/CVS/Repository @@ -0,0 +1 @@ +2001/DOM-Test-Suite/tests/level1/html diff --git a/test/testcases/tests/level1/html/CVS/Root b/test/testcases/tests/level1/html/CVS/Root new file mode 100644 index 0000000..3c7177e --- /dev/null +++ b/test/testcases/tests/level1/html/CVS/Root @@ -0,0 +1 @@ +:pserver:anonymous@dev.w3.org:/sources/public diff --git a/test/testcases/tests/level1/html/CVS/Template b/test/testcases/tests/level1/html/CVS/Template new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/testcases/tests/level1/html/CVS/Template diff --git a/test/testcases/tests/level1/html/HTMLAnchorElement01.xml b/test/testcases/tests/level1/html/HTMLAnchorElement01.xml new file mode 100644 index 0000000..a076a18 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAnchorElement01.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAnchorElement01"> +<metadata> +<title>HTMLAnchorElement01</title> +<creator>NIST</creator> +<description> + The accessKey attribute is a single character access key to give + access to the form control. + + Retrieve the accessKey attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-89647724"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="HTMLAnchorElement"/> +<var name="vaccesskey" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="anchor" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"a"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<accessKey interface="HTMLAnchorElement" obj="testNode" var="vaccesskey"/> +<assertEquals actual="vaccesskey" expected='"g"' id="accessKeyLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAnchorElement02.xml b/test/testcases/tests/level1/html/HTMLAnchorElement02.xml new file mode 100644 index 0000000..247a8cb --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAnchorElement02.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAnchorElement02"> +<metadata> +<title>HTMLAnchorElement02</title> +<creator>NIST</creator> +<description> + The charset attribute indicates the character encoding of the linked + resource. + + Retrieve the charset attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-67619266"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="HTMLAnchorElement"/> +<var name="vcharset" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="anchor" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"a"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<charset interface="HTMLAnchorElement" obj="testNode" var="vcharset"/> +<assertEquals actual="vcharset" expected='"US-ASCII"' id="charsetLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAnchorElement03.xml b/test/testcases/tests/level1/html/HTMLAnchorElement03.xml new file mode 100644 index 0000000..07a421c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAnchorElement03.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAnchorElement03"> +<metadata> +<title>HTMLAnchorElement03</title> +<creator>NIST</creator> +<description> + The coords attribute is a comma-seperated list of lengths, defining + an active region geometry. + + Retrieve the coords attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-92079539"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="HTMLAnchorElement"/> +<var name="vcoords" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="anchor" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"a"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<coords interface="HTMLAnchorElement" obj="testNode" var="vcoords"/> +<assertEquals actual="vcoords" expected='"0,0,100,100"' id="coordsLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAnchorElement04.xml b/test/testcases/tests/level1/html/HTMLAnchorElement04.xml new file mode 100644 index 0000000..7b961c4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAnchorElement04.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAnchorElement04"> + <metadata> + <title>HTMLAnchorElement04</title> + <creator>NIST</creator> + <description> + The href attribute contains the URL of the linked resource. + + Retrieve the href attribute and examine its value. +</description> + <contributor>Mary Brady</contributor> + <date qualifier="created">2002-02-22</date> + <subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-88517319"/> + </metadata> + <var name="nodeList" type="NodeList" /> + <var name="testNode" type="HTMLAnchorElement" /> + <var name="vhref" type="DOMString" /> + <var name="doc" type="Document" /> + <load var="doc" href="anchor" willBeModified="false" /> + <getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"a"' /> + <assertSize collection="nodeList" size="1" id="Asize" /> + <item interface="NodeList" obj="nodeList" var="testNode" index="0" /> + <href interface="HTMLAnchorElement" obj="testNode" var="vhref" /> + <assertURIEquals actual="vhref" file='"submit.gif"' id="hrefLink"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAnchorElement05.xml b/test/testcases/tests/level1/html/HTMLAnchorElement05.xml new file mode 100644 index 0000000..0329515 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAnchorElement05.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAnchorElement05"> +<metadata> +<title>HTMLAnchorElement05</title> +<creator>NIST</creator> +<description> + The hreflang attribute contains the language code of the linked resource. + + Retrieve the hreflang attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-87358513"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="HTMLAnchorElement"/> +<var name="vhreflink" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="anchor" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"a"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<hreflang interface="HTMLAnchorElement" obj="testNode" var="vhreflink"/> +<assertEquals actual="vhreflink" expected='"en"' id="hreflangLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAnchorElement06.xml b/test/testcases/tests/level1/html/HTMLAnchorElement06.xml new file mode 100644 index 0000000..ad768fa --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAnchorElement06.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAnchorElement06"> +<metadata> +<title>HTMLAnchorElement06</title> +<creator>NIST</creator> +<description> + The name attribute contains the anchor name. + + Retrieve the name attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-32783304"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="HTMLAnchorElement"/> +<var name="vname" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="anchor" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"a"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<name interface="HTMLAnchorElement" obj="testNode" var="vname"/> +<assertEquals actual="vname" expected='"Anchor"' id="nameLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAnchorElement07.xml b/test/testcases/tests/level1/html/HTMLAnchorElement07.xml new file mode 100644 index 0000000..a70cc36 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAnchorElement07.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAnchorElement07"> +<metadata> +<title>HTMLAnchorElement07</title> +<creator>NIST</creator> +<description> + The rel attribute contains the forward link type. + + Retrieve the rel attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-3815891"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="HTMLAnchorElement"/> +<var name="vrel" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="anchor" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"a"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<rel interface="HTMLAnchorElement" obj="testNode" var="vrel"/> +<assertEquals actual="vrel" expected='"GLOSSARY"' id="relLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAnchorElement08.xml b/test/testcases/tests/level1/html/HTMLAnchorElement08.xml new file mode 100644 index 0000000..bb76341 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAnchorElement08.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAnchorElement08"> +<metadata> +<title>HTMLAnchorElement08</title> +<creator>NIST</creator> +<description> + The rev attribute contains the reverse link type + + Retrieve the rev attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-58259771"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="HTMLAnchorElement"/> +<var name="vrev" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="anchor" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"a"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<rev interface="HTMLAnchorElement" obj="testNode" var="vrev"/> +<assertEquals actual="vrev" expected='"STYLESHEET"' id="revLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAnchorElement09.xml b/test/testcases/tests/level1/html/HTMLAnchorElement09.xml new file mode 100644 index 0000000..7da6d18 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAnchorElement09.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAnchorElement09"> +<metadata> +<title>HTMLAnchorElement09</title> +<creator>NIST</creator> +<description> + The shape attribute contains the shape of the active area. + + Retrieve the shape attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-49899808"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="HTMLAnchorElement"/> +<var name="vshape" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="anchor" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"a"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<shape interface="HTMLAnchorElement" obj="testNode" var="vshape"/> +<assertEquals actual="vshape" expected='"rect"' id="shapeLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAnchorElement10.xml b/test/testcases/tests/level1/html/HTMLAnchorElement10.xml new file mode 100644 index 0000000..201c113 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAnchorElement10.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAnchorElement10"> +<metadata> +<title>HTMLAnchorElement10</title> +<creator>NIST</creator> +<description> + The tabIndex attribute contains an index that represents the elements + position in the tabbing order. + + Retrieve the tabIndex attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-41586466"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="HTMLAnchorElement"/> +<var name="vtabindex" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="anchor" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"a"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<tabIndex interface="HTMLAnchorElement" obj="testNode" var="vtabindex"/> +<assertEquals actual="vtabindex" expected="22" id="tabIndexLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAnchorElement11.xml b/test/testcases/tests/level1/html/HTMLAnchorElement11.xml new file mode 100644 index 0000000..00c2bb9 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAnchorElement11.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAnchorElement11"> +<metadata> +<title>HTMLAnchorElement11</title> +<creator>NIST</creator> +<description> + The target attribute specifies the frame to render the source in. + + Retrieve the target attribute and examine it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-09</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-6414197"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vtarget" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="anchor2" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"a"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<target interface="HTMLAnchorElement" obj="testNode" var="vtarget"/> +<assertEquals actual="vtarget" expected='"dynamic"' id="targetLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAnchorElement12.xml b/test/testcases/tests/level1/html/HTMLAnchorElement12.xml new file mode 100644 index 0000000..3b22328 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAnchorElement12.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAnchorElement12"> +<metadata> +<title>HTMLAnchorElement12</title> +<creator>NIST</creator> +<description> + The type attribute contains the advisory content model. + + Retrieve the type attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63938221"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="HTMLAnchorElement"/> +<var name="vtype" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="anchor" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"a"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<type interface="HTMLAnchorElement" obj="testNode" var="vtype"/> +<assertEquals actual="vtype" expected='"image/gif"' id="typeLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAnchorElement13.xml b/test/testcases/tests/level1/html/HTMLAnchorElement13.xml new file mode 100644 index 0000000..555985d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAnchorElement13.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +Copyright (c) 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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAnchorElement13"> +<metadata> +<title>HTMLAnchorElement13</title> +<creator>Curt Arnold</creator> +<description> +HTMLAnchorElement.blur should surrender input focus. +</description> +<date qualifier="created">2004-03-18</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-65068939"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="HTMLAnchorElement"/> +<var name="doc" type="Document"/> +<load var="doc" href="anchor" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"a"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<blur interface="HTMLAnchorElement" obj="testNode"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAnchorElement14.xml b/test/testcases/tests/level1/html/HTMLAnchorElement14.xml new file mode 100644 index 0000000..7d3d0c6 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAnchorElement14.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +Copyright (c) 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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAnchorElement14"> +<metadata> +<title>HTMLAnchorElement14</title> +<creator>Curt Arnold</creator> +<description> +HTMLAnchorElement.focus should capture input focus. +</description> +<date qualifier="created">2004-03-18</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-47150313"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="HTMLAnchorElement"/> +<var name="doc" type="Document"/> +<load var="doc" href="anchor" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"a"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<focus interface="HTMLAnchorElement" obj="testNode"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAppletElement01.xml b/test/testcases/tests/level1/html/HTMLAppletElement01.xml new file mode 100644 index 0000000..7be4ac6 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement01.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAppletElement01"> +<metadata> +<title>HTMLAppletElement01</title> +<creator>NIST</creator> +<description> + The align attribute specifies the alignment of the object(Vertically + or Horizontally) with respect to its surrounding text. + + Retrieve the align attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-8049912"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="valign" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="applet" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"applet"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<align interface="HTMLAppletElement" obj="testNode" var="valign"/> +<assertEquals actual="valign" expected='"bottom"' id="alignLink" ignoreCase="true"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAppletElement02.xml b/test/testcases/tests/level1/html/HTMLAppletElement02.xml new file mode 100644 index 0000000..2042f0a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement02.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAppletElement02">
+<metadata>
+<title>HTMLAppletElement02</title>
+<creator>NIST</creator>
+<description>
+ The alt attribute specifies the alternate text for user agents not
+ rendering the normal context of this element.
+
+ Retrieve the alt attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-58610064"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="valt" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="applet" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"applet"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<alt interface="HTMLAppletElement" obj="testNode" var="valt"/>
+<assertEquals actual="valt" expected='"Applet Number 1"' id="altLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLAppletElement03.xml b/test/testcases/tests/level1/html/HTMLAppletElement03.xml new file mode 100644 index 0000000..a68e3e0 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement03.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAppletElement03">
+<metadata>
+<title>HTMLAppletElement03</title>
+<creator>NIST</creator>
+<description>
+ The archive attribute specifies a comma-seperated archive list.
+
+ Retrieve the archive attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-14476360"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="varchive" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="applet" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"applet"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<archive interface="HTMLAppletElement" obj="testNode" var="varchive"/>
+<assertEquals actual="varchive" expected='""' id="archiveLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLAppletElement04.xml b/test/testcases/tests/level1/html/HTMLAppletElement04.xml new file mode 100644 index 0000000..23e8bb6 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement04.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAppletElement04"> +<metadata> +<title>HTMLAppletElement04</title> +<creator>NIST</creator> +<description> + The code attribute specifies the applet class file. + + Retrieve the code attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-61509645"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vcode" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="applet" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"applet"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<code interface="HTMLAppletElement" obj="testNode" var="vcode"/> +<assertEquals actual="vcode" expected='"org/w3c/domts/DOMTSApplet.class"' id="codeLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAppletElement05.xml b/test/testcases/tests/level1/html/HTMLAppletElement05.xml new file mode 100644 index 0000000..81076d1 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement05.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAppletElement05"> +<metadata> +<title>HTMLAppletElement05</title> +<creator>NIST</creator> +<description> + The codeBase attribute specifies an optional base URI for the applet. + + Retrieve the codeBase attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-6581160"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vcodebase" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="applet" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"applet"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<codeBase interface="HTMLAppletElement" obj="testNode" var="vcodebase"/> +<assertEquals actual="vcodebase" expected='"applets"' id="codebase" ignoreCase="false" /> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAppletElement06.xml b/test/testcases/tests/level1/html/HTMLAppletElement06.xml new file mode 100644 index 0000000..1d280da --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement06.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAppletElement06"> +<metadata> +<title>HTMLAppletElement06</title> +<creator>NIST</creator> +<description> + The height attribute overrides the height. + + Retrieve the height attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-90184867"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vheight" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="applet" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"applet"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<height interface="HTMLAppletElement" obj="testNode" var="vheight"/> +<assertEquals actual="vheight" expected='"306"' id="heightLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAppletElement07.xml b/test/testcases/tests/level1/html/HTMLAppletElement07.xml new file mode 100644 index 0000000..d3b4858 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement07.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAppletElement07"> +<metadata> +<title>HTMLAppletElement07</title> +<creator>NIST</creator> +<description> + The hspace attribute specifies the horizontal space to the left + and right of this image, applet, or object. Retrieve the hspace attribute and examine its value. + + This test is incompatible with L2 HTML implementations due to a change in the type of the attribute. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-1567197"/> +<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=504"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vhspace" type="DOMString" /> +<var name="doc" type="Document"/> +<var name="domImpl" type="DOMImplementation"/> +<var name="hasHTML2" type="boolean"/> +<load var="doc" href="applet" willBeModified="false"/> +<implementation var="domImpl" obj="doc"/> +<hasFeature var="hasHTML2" obj="domImpl" feature='"HTML"' version='"2.0"'/> +<if><isFalse value="hasHTML2"/> +<!-- this test is incompatible with L2 HTML implementations --> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"applet"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<hspace interface="HTMLAppletElement" obj="testNode" var="vhspace"/> +<assertEquals actual="vhspace" expected='"0"' id="hspaceLink" ignoreCase="false"/> +</if> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAppletElement08.xml b/test/testcases/tests/level1/html/HTMLAppletElement08.xml new file mode 100644 index 0000000..a473f23 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement08.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAppletElement08">
+<metadata>
+<title>HTMLAppletElement08</title>
+<creator>NIST</creator>
+<description>
+ The name attribute specifies the name of the applet.
+
+ Retrieve the name attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-39843695"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vname" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="applet" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"applet"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<name interface="HTMLAppletElement" obj="testNode" var="vname"/>
+<assertEquals actual="vname" expected='"applet1"' id="nameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLAppletElement09.xml b/test/testcases/tests/level1/html/HTMLAppletElement09.xml new file mode 100644 index 0000000..98d2413 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement09.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAppletElement09"> +<metadata> +<title>HTMLAppletElement09</title> +<creator>NIST</creator> +<description> + The vspace attribute specifies the vertical space above and below + this image, applet or object. Retrieve the vspace attribute and examine its value. + + This test is incompatible with L2 HTML implementations due to a change in the type of the attribute. + +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-22637173"/> +<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=504"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vvspace" type="DOMString" /> +<var name="doc" type="Document"/> +<var name="domImpl" type="DOMImplementation"/> +<var name="hasHTML2" type="boolean"/> +<load var="doc" href="applet" willBeModified="false"/> +<implementation var="domImpl" obj="doc"/> +<hasFeature var="hasHTML2" obj="domImpl" feature='"HTML"' version='"2.0"'/> +<if><isFalse value="hasHTML2"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"applet"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<vspace interface="HTMLAppletElement" obj="testNode" var="vvspace"/> +<assertEquals actual="vvspace" expected='"0"' id="vspaceLink" ignoreCase="false"/> +</if> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAppletElement10.xml b/test/testcases/tests/level1/html/HTMLAppletElement10.xml new file mode 100644 index 0000000..2cf1b6a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement10.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAppletElement10">
+<metadata>
+<title>HTMLAppletElement10</title>
+<creator>NIST</creator>
+<description>
+ The width attribute overrides the regular width.
+
+ Retrieve the width attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-16526327"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vwidth" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="applet" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"applet"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<width interface="HTMLAppletElement" obj="testNode" var="vwidth"/>
+<assertEquals actual="vwidth" expected='"301"' id="widthLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLAppletElement11.xml b/test/testcases/tests/level1/html/HTMLAppletElement11.xml new file mode 100644 index 0000000..91cba8b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAppletElement11.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAppletElement11"> +<metadata> +<title>HTMLAppletElement11</title> +<creator>NIST</creator> +<description> + The object attribute specifies the serialized applet file. + + Retrieve the object attribute and examine its value. +</description> +<contributor>Rick Rivello</contributor> +<contributor>Curt Arnold</contributor> +<date qualifier="created">2002-07-19</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-93681523"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vobject" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="applet2" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"applet"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<object interface="HTMLAppletElement" obj="testNode" var="vobject"/> +<assertEquals actual="vobject" expected='"DOMTSApplet.dat"' id="object" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAreaElement01.xml b/test/testcases/tests/level1/html/HTMLAreaElement01.xml new file mode 100644 index 0000000..58db920 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAreaElement01.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAreaElement01">
+<metadata>
+<title>HTMLAreaElement01</title>
+<creator>NIST</creator>
+<description>
+ The accessKey attribute specifies a single character access key to
+ give access to the control form.
+
+ Retrieve the accessKey attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-57944457"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vaccesskey" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="area" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"area"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<accessKey interface="HTMLAreaElement" obj="testNode" var="vaccesskey"/>
+<assertEquals actual="vaccesskey" expected='"a"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLAreaElement02.xml b/test/testcases/tests/level1/html/HTMLAreaElement02.xml new file mode 100644 index 0000000..e90e643 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAreaElement02.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAreaElement02">
+<metadata>
+<title>HTMLAreaElement02</title>
+<creator>NIST</creator>
+<description>
+ The alt attribute specifies an alternate text for user agents not
+ rendering the normal content of this element.
+
+ Retrieve the alt attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-39775416"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="valt" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="area" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"area"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<alt interface="HTMLAreaElement" obj="testNode" var="valt"/>
+<assertEquals actual="valt" expected='"Domain"' id="altLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLAreaElement03.xml b/test/testcases/tests/level1/html/HTMLAreaElement03.xml new file mode 100644 index 0000000..e0d2114 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAreaElement03.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAreaElement03">
+<metadata>
+<title>HTMLAreaElement03</title>
+<creator>NIST</creator>
+<description>
+ The coords attribute specifies a comma-seperated list of lengths,
+ defining an active region geometry.
+
+ Retrieve the coords attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-66021476"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcoords" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="area" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"area"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<coords interface="HTMLAreaElement" obj="testNode" var="vcoords"/>
+<assertEquals actual="vcoords" expected='"0,2,45,45"' id="coordsLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLAreaElement04.xml b/test/testcases/tests/level1/html/HTMLAreaElement04.xml new file mode 100644 index 0000000..c464ae0 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAreaElement04.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAreaElement04">
+<metadata>
+<title>HTMLAreaElement04</title>
+<creator>NIST</creator>
+<description>
+ The href attribute specifies the URI of the linked resource.
+
+ Retrieve the href attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-34672936"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vhref" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="area" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"area"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<href interface="HTMLAreaElement" obj="testNode" var="vhref"/>
+<assertURIEquals actual="vhref" file='"dletter.html"' id="hrefLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLAreaElement05.xml b/test/testcases/tests/level1/html/HTMLAreaElement05.xml new file mode 100644 index 0000000..31bff76 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAreaElement05.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAreaElement05">
+<metadata>
+<title>HTMLAreaElement05</title>
+<creator>NIST</creator>
+<description>
+ The noHref attribute specifies that this area is inactive.
+
+ Retrieve the noHref attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-61826871"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vnohref" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="area" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"area"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<noHref interface="HTMLAreaElement" obj="testNode" var="vnohref"/>
+<assertFalse actual="vnohref" id="noHrefLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLAreaElement06.xml b/test/testcases/tests/level1/html/HTMLAreaElement06.xml new file mode 100644 index 0000000..407f72a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAreaElement06.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAreaElement06"> +<metadata> +<title>HTMLAreaElement06</title> +<creator>NIST</creator> +<description> + The shape attribute specifies the shape of the active area. + + Retrieve the shape attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-85683271"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vshape" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="area" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"area"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<shape interface="HTMLAreaElement" obj="testNode" var="vshape"/> +<assertEquals actual="vshape" expected='"rect"' id="shapeLink" ignoreCase="true"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLAreaElement07.xml b/test/testcases/tests/level1/html/HTMLAreaElement07.xml new file mode 100644 index 0000000..c03b07d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAreaElement07.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAreaElement07">
+<metadata>
+<title>HTMLAreaElement07</title>
+<creator>NIST</creator>
+<description>
+ The tabIndex attribute specifies an index that represents the element's
+ position in the tabbing order.
+
+ Retrieve the tabIndex attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-8722121"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vtabindex" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="area" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"area"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<tabIndex interface="HTMLAreaElement" obj="testNode" var="vtabindex"/>
+<assertEquals actual="vtabindex" expected="10" id="tabIndexLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLAreaElement08.xml b/test/testcases/tests/level1/html/HTMLAreaElement08.xml new file mode 100644 index 0000000..9d485fe --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLAreaElement08.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLAreaElement08"> +<metadata> +<title>HTMLAreaElement08</title> +<creator>NIST</creator> +<description> + The target specifies the frame to render the resource in. + + Retrieve the target attribute and examine it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-09</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-46054682"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vtarget" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="area2" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"area"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<target interface="HTMLAreaElement" obj="testNode" var="vtarget"/> +<assertEquals actual="vtarget" expected='"dynamic"' id="targetLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLBRElement01.xml b/test/testcases/tests/level1/html/HTMLBRElement01.xml new file mode 100644 index 0000000..cc4d17a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLBRElement01.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLBRElement01">
+<metadata>
+<title>HTMLBRElement01</title>
+<creator>NIST</creator>
+<description>
+ The clear attribute specifies control flow of text around floats.
+
+ Retrieve the clear attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-82703081"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclear" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="br" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"br"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<clear interface="HTMLBRElement" obj="testNode" var="vclear"/>
+<assertEquals actual="vclear" expected='"none"' id="clearLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLBaseElement01.xml b/test/testcases/tests/level1/html/HTMLBaseElement01.xml new file mode 100644 index 0000000..fa6eacc --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLBaseElement01.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLBaseElement01"> +<metadata> +<title>HTMLBaseElement01</title> +<creator>NIST</creator> +<description> + The href attribute specifies the base URI. + + Retrieve the href attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-65382887"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vhref" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="base" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"base"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<href interface="HTMLBaseElement" obj="testNode" var="vhref"/> +<assertEquals actual="vhref" expected='"about:blank"' id="hrefLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLBaseElement02.xml b/test/testcases/tests/level1/html/HTMLBaseElement02.xml new file mode 100644 index 0000000..d2a20a5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLBaseElement02.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLBaseElement02">
+<metadata>
+<title>HTMLBaseElement02</title>
+<creator>NIST</creator>
+<description>
+ The target attribute specifies the default target frame. +
+ Retrieve the target attribute and examine its value.
+</description>
+<contributor>Rick Rivello</contributor>
+<date qualifier="created">2002-07-18</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-73844298"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vtarget" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="base2" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"base"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<target interface="HTMLBaseElement" obj="testNode" var="vtarget"/>
+<assertEquals actual="vtarget" expected='"Frame1"' id="targetLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLBaseFontElement01.xml b/test/testcases/tests/level1/html/HTMLBaseFontElement01.xml new file mode 100644 index 0000000..525438f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLBaseFontElement01.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLBaseFontElement01">
+<metadata>
+<title>HTMLBaseFontElement01</title>
+<creator>NIST</creator>
+<description>
+ The color attribute specifies the base font's color.
+
+ Retrieve the color attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-87502302"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcolor" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="basefont" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"basefont"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<color interface="HTMLBaseFontElement" obj="testNode" var="vcolor"/>
+<assertEquals actual="vcolor" expected='"#000000"' id="colorLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLBaseFontElement02.xml b/test/testcases/tests/level1/html/HTMLBaseFontElement02.xml new file mode 100644 index 0000000..94894d6 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLBaseFontElement02.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLBaseFontElement02">
+<metadata>
+<title>HTMLBaseFontElement02</title>
+<creator>NIST</creator>
+<description>
+ The face attribute specifies the base font's face identifier.
+
+ Retrieve the face attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-88128969"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vface" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="basefont" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"basefont"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<face interface="HTMLBaseFontElement" obj="testNode" var="vface"/>
+<assertEquals actual="vface" expected='"arial,helvitica"' id="faceLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLBaseFontElement03.xml b/test/testcases/tests/level1/html/HTMLBaseFontElement03.xml new file mode 100644 index 0000000..e63b16f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLBaseFontElement03.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLBaseFontElement03"> +<metadata> +<title>HTMLBaseFontElement03</title> +<creator>NIST</creator> +<description> + The size attribute specifies the base font's size. Retrieve the size attribute and examine its value. + + This test is incompatible with L2 HTML implementations due to a change in the type of the attribute. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-38930424"/> +<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=504"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsize" type="DOMString" /> +<var name="doc" type="Document"/> +<var name="domImpl" type="DOMImplementation"/> +<var name="hasHTML2" type="boolean"/> +<load var="doc" href="basefont" willBeModified="false"/> +<implementation var="domImpl" obj="doc"/> +<hasFeature var="hasHTML2" obj="domImpl" feature='"HTML"' version='"2.0"'/> +<if><isFalse value="hasHTML2"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"basefont"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<size interface="HTMLBaseFontElement" obj="testNode" var="vsize"/> +<assertEquals actual="vsize" expected='"4"' id="sizeLink" ignoreCase="false"/> +</if> +</test> diff --git a/test/testcases/tests/level1/html/HTMLBodyElement01.xml b/test/testcases/tests/level1/html/HTMLBodyElement01.xml new file mode 100644 index 0000000..95438c6 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLBodyElement01.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLBodyElement01">
+<metadata>
+<title>HTMLBodyElement01</title>
+<creator>NIST</creator>
+<description>
+ The aLink attribute specifies the color of active links.
+
+ Retrieve the aLink attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-59424581"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="valink" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="body" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"body"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<aLink interface="HTMLBodyElement" obj="testNode" var="valink"/>
+<assertEquals actual="valink" expected='"#0000ff"' id="aLinkLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLBodyElement02.xml b/test/testcases/tests/level1/html/HTMLBodyElement02.xml new file mode 100644 index 0000000..e5e7d34 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLBodyElement02.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLBodyElement02">
+<metadata>
+<title>HTMLBodyElement02</title>
+<creator>NIST</creator>
+<description>
+ The background attribute specifies the URI fo the background texture
+ tile image.
+
+ Retrieve the background attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-37574810"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vbackground" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="body" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"body"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<background interface="HTMLBodyElement" obj="testNode" var="vbackground"/>
+<assertEquals actual="vbackground" expected='"./pix/back1.gif"' id="backgroundLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLBodyElement03.xml b/test/testcases/tests/level1/html/HTMLBodyElement03.xml new file mode 100644 index 0000000..3f0d492 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLBodyElement03.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLBodyElement03">
+<metadata>
+<title>HTMLBodyElement03</title>
+<creator>NIST</creator>
+<description>
+ The bgColor attribute specifies the document background color.
+
+ Retrieve the bgColor attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-24940084"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vbgcolor" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="body" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"body"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<bgColor interface="HTMLBodyElement" obj="testNode" var="vbgcolor"/>
+<assertEquals actual="vbgcolor" expected='"#ffff00"' id="bgColorLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLBodyElement04.xml b/test/testcases/tests/level1/html/HTMLBodyElement04.xml new file mode 100644 index 0000000..0bbab8c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLBodyElement04.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLBodyElement04">
+<metadata>
+<title>HTMLBodyElement04</title>
+<creator>NIST</creator>
+<description>
+ The link attribute specifies the color of links that are not active
+ and unvisited.
+
+ Retrieve the link attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-7662206"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlink" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="body" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"body"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<link interface="HTMLBodyElement" obj="testNode" var="vlink"/>
+<assertEquals actual="vlink" expected='"#ff0000"' id="linkLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLBodyElement05.xml b/test/testcases/tests/level1/html/HTMLBodyElement05.xml new file mode 100644 index 0000000..b9b1596 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLBodyElement05.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLBodyElement05">
+<metadata>
+<title>HTMLBodyElement05</title>
+<creator>NIST</creator>
+<description>
+ The text attribute specifies the document text color.
+
+ Retrieve the text attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-73714763"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vtext" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="body" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"body"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<text interface="HTMLBodyElement" obj="testNode" var="vtext"/>
+<assertEquals actual="vtext" expected='"#000000"' id="textLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLBodyElement06.xml b/test/testcases/tests/level1/html/HTMLBodyElement06.xml new file mode 100644 index 0000000..e2adef5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLBodyElement06.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLBodyElement06">
+<metadata>
+<title>HTMLBodyElement06</title>
+<creator>NIST</creator>
+<description>
+ The vLink attribute specifies the color of links that have been
+ visited by the user.
+
+ Retrieve the vLink attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-83224305"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vvlink" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="body" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"body"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<vLink interface="HTMLBodyElement" obj="testNode" var="vvlink"/>
+<assertEquals actual="vvlink" expected='"#00ffff"' id="vLinkLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLButtonElement01.xml b/test/testcases/tests/level1/html/HTMLButtonElement01.xml new file mode 100644 index 0000000..d212307 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLButtonElement01.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLButtonElement01">
+<metadata>
+<title>HTMLButtonElement01</title>
+<creator>NIST</creator>
+<description>
+ The form attribute returns the FORM element containing this control.
+
+ Retrieve the form attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-71254493"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="fNode" type="HTMLFormElement"/>
+<var name="vform" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="button" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"button"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<form interface="HTMLButtonElement" obj="testNode" var="fNode"/>
+<id obj="fNode" var="vform"/>
+<assertEquals actual="vform" expected='"form2"' id="formLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLButtonElement02.xml b/test/testcases/tests/level1/html/HTMLButtonElement02.xml new file mode 100644 index 0000000..3271a29 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLButtonElement02.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLButtonElement02">
+<metadata>
+<title>HTMLButtonElement02</title>
+<creator>NIST</creator>
+<description>
+ The form attribute returns null if control in not within the context of
+ form.
+
+ Retrieve the form attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-71254493"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vform" type="HTMLFormElement" />
+<var name="doc" type="Document"/>
+<load var="doc" href="button" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"button"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<form interface="HTMLButtonElement" obj="testNode" var="vform"/>
+<assertNull actual="vform" id="formNullLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLButtonElement03.xml b/test/testcases/tests/level1/html/HTMLButtonElement03.xml new file mode 100644 index 0000000..50b9ce8 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLButtonElement03.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLButtonElement03">
+<metadata>
+<title>HTMLButtonElement03</title>
+<creator>NIST</creator>
+<description>
+ The accessKey attribute returns a single character access key to
+ give access to the form control.
+
+ Retrieve the accessKey attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-73169431"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vaccesskey" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="button" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"button"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<accessKey interface="HTMLButtonElement" obj="testNode" var="vaccesskey"/>
+<assertEquals actual="vaccesskey" expected='"f"' id="accessKeyLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLButtonElement04.xml b/test/testcases/tests/level1/html/HTMLButtonElement04.xml new file mode 100644 index 0000000..648c9e5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLButtonElement04.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLButtonElement04">
+<metadata>
+<title>HTMLButtonElement04</title>
+<creator>NIST</creator>
+<description>
+ The disabled attribute specifies whether the control is unavailable
+ in this context.
+
+ Retrieve the disabled attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-92757155"/>
+</metadata> +<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdisabled" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="button" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"button"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<disabled interface="HTMLButtonElement" obj="testNode" var="vdisabled"/>
+<assertTrue actual="vdisabled" id="disabledLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLButtonElement05.xml b/test/testcases/tests/level1/html/HTMLButtonElement05.xml new file mode 100644 index 0000000..53fa764 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLButtonElement05.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLButtonElement05">
+<metadata>
+<title>HTMLButtonElement05</title>
+<creator>NIST</creator>
+<description>
+ The name attribute is the form control or object name when submitted
+ with a form.
+
+ Retrieve the name attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-11029910"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vname" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="button" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"button"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<name interface="HTMLButtonElement" obj="testNode" var="vname"/>
+<assertEquals actual="vname" expected='"disabledButton"' id="nameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLButtonElement06.xml b/test/testcases/tests/level1/html/HTMLButtonElement06.xml new file mode 100644 index 0000000..2243456 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLButtonElement06.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLButtonElement06">
+<metadata>
+<title>HTMLButtonElement06</title>
+<creator>NIST</creator>
+<description>
+ The tabIndex attribute specifies an index that represents the element's
+ position in the tabbing order.
+
+ Retrieve the tabIndex attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-39190908"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vtabindex" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="button" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"button"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<tabIndex interface="HTMLButtonElement" obj="testNode" var="vtabindex"/>
+<assertEquals actual="vtabindex" expected="20" id="tabIndexLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLButtonElement07.xml b/test/testcases/tests/level1/html/HTMLButtonElement07.xml new file mode 100644 index 0000000..f4c5461 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLButtonElement07.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLButtonElement07">
+<metadata>
+<title>HTMLButtonElement07</title>
+<creator>NIST</creator>
+<description>
+ The type attribute specifies the type of button.
+
+ Retrieve the type attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-27430092"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vtype" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="button" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"button"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<type interface="HTMLButtonElement" obj="testNode" var="vtype"/>
+<assertEquals actual="vtype" expected='"reset"' id="typeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLButtonElement08.xml b/test/testcases/tests/level1/html/HTMLButtonElement08.xml new file mode 100644 index 0000000..cd3a04d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLButtonElement08.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLButtonElement08">
+<metadata>
+<title>HTMLButtonElement08</title>
+<creator>NIST</creator>
+<description>
+ The value attribute specifies the current control value.
+
+ Retrieve the value attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-72856782"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vvalue" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="button" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"button"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<value interface="HTMLButtonElement" obj="testNode" var="vvalue"/>
+<assertEquals actual="vvalue" expected='"Reset Disabled Button"' id="valueLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLCollection01.xml b/test/testcases/tests/level1/html/HTMLCollection01.xml new file mode 100644 index 0000000..fd2cfe4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection01.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLCollection01"> +<metadata> +<title>HTMLCollection01</title> +<creator>NIST</creator> +<description> + An individual node may be accessed by either ordinal index, the node's + name or id attributes. (Test ordinal index). + + Retrieve the first TABLE element and create a HTMLCollection by invoking + the "rows" attribute. The item located at ordinal index 0 is further + retrieved and its "rowIndex" attribute is examined. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-01</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-33262535"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="rowNode" type="Node"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vrowindex" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="collection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<rows interface="HTMLTableElement" obj="testNode" var="rowsnodeList"/> +<item interface="HTMLCollection" obj="rowsnodeList" var="rowNode" index="0"/> +<rowIndex interface="HTMLTableRowElement" obj="rowNode" var="vrowindex"/> +<assertEquals actual="vrowindex" expected="0" id="rowIndexLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLCollection02.xml b/test/testcases/tests/level1/html/HTMLCollection02.xml new file mode 100644 index 0000000..521d5ae --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection02.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLCollection02"> +<metadata> +<title>HTMLCollection02</title> +<creator>NIST</creator> +<description> + An individual node may be accessed by either ordinal index, the node's + name or id attributes. (Test node name). + + Retrieve the first FORM element and create a HTMLCollection by invoking + the elements attribute. The first SELECT element is further retrieved + using the elements name attribute. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-01</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-76728479"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="formNode" type="Node"/> +<var name="formsnodeList" type="HTMLCollection"/> +<var name="vname" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="collection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"form"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<elements interface="HTMLFormElement" obj="testNode" var="formsnodeList"/> +<namedItem obj="formsnodeList" var="formNode" name='"select1"'/> +<nodeName obj="formNode" var="vname"/> +<assertEquals actual="vname" expected='"SELECT"' id="nameIndexLink" ignoreCase="auto"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLCollection03.xml b/test/testcases/tests/level1/html/HTMLCollection03.xml new file mode 100644 index 0000000..36d489e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection03.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLCollection03"> +<metadata> +<title>HTMLCollection03</title> +<creator>NIST</creator> +<description> + An individual node may be accessed by either ordinal index, the node's + name or id attributes. (Test id attribute). + + Retrieve the first FORM element and create a HTMLCollection by invoking + the "element" attribute. The first SELECT element is further retrieved + using the elements id. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-01</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-21069976"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="formNode" type="Node"/> +<var name="formsnodeList" type="HTMLCollection"/> +<var name="vname" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="collection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"form"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<elements interface="HTMLFormElement" obj="testNode" var="formsnodeList"/> +<namedItem obj="formsnodeList" var="formNode" name='"selectId"'/> +<nodeName obj="formNode" var="vname"/> +<assertEquals actual="vname" expected='"select"' id="nameIndexLink" ignoreCase="auto"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLCollection04.xml b/test/testcases/tests/level1/html/HTMLCollection04.xml new file mode 100644 index 0000000..5d78405 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection04.xml @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLCollection04"> +<metadata> +<title>HTMLCollection04</title> +<creator>NIST</creator> +<description> + HTMLCollections are live, they are automatically updated when the + underlying document is changed. + + Create a HTMLCollection object by invoking the rows attribute of the + first TABLE element and examine its length, then add a new row and + re-examine the length. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-01</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-40057551"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="rowLength1" type="int"/> +<var name="rowLength2" type="int"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="newRow" type="HTMLElement"/> +<var name="vrowindex" type="int" /> +<var name="doc" type="Document"/> +<var name="result" type="List"/> +<var name="expectedResult" type="List"> +<member>4</member> +<member>5</member> +</var> +<load var="doc" href="collection" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<rows interface="HTMLTableElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="rowLength1"/> +<append collection="result" item="rowLength1"/> +<insertRow interface="HTMLTableElement" obj="testNode" var="newRow" index="4"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="rowLength2"/> +<append collection="result" item="rowLength2"/> +<assertEquals actual="result" expected="expectedResult" id="rowIndexLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLCollection05.xml b/test/testcases/tests/level1/html/HTMLCollection05.xml new file mode 100644 index 0000000..ffb7d13 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection05.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLCollection05"> +<metadata> +<title>HTMLCollection05</title> +<creator>NIST</creator> +<description> + The length attribute specifies the length or size of the list. + + Retrieve the first TABLE element and create a HTMLCollection by invoking + the "rows" attribute. Retrieve the length attribute of the HTMLCollection + object. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-01</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-40057551"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="rowLength" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="collection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<rows interface="HTMLTableElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="rowLength"/> +<assertEquals actual="rowLength" expected="4" id="rowIndexLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLCollection06.xml b/test/testcases/tests/level1/html/HTMLCollection06.xml new file mode 100644 index 0000000..1026310 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection06.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLCollection06"> +<metadata> +<title>HTMLCollection06</title> +<creator>NIST</creator> +<description> + An item(index) method retrieves an item specified by ordinal index + (Test for index=0). + + Retrieve the first TABLE element and create a HTMLCollection by invoking + the "rows" attribute. The item located at ordinal index 0 is further + retrieved and its "rowIndex" attribute is examined. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-01</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-6156016"/> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-33262535"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="rowNode" type="Node"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vrowindex" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="collection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<rows interface="HTMLTableElement" obj="testNode" var="rowsnodeList"/> +<item interface="HTMLCollection" obj="rowsnodeList" var="rowNode" index="0"/> +<rowIndex interface="HTMLTableRowElement" obj="rowNode" var="vrowindex"/> +<assertEquals actual="vrowindex" expected="0" id="rowIndexLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLCollection07.xml b/test/testcases/tests/level1/html/HTMLCollection07.xml new file mode 100644 index 0000000..e0a21a2 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection07.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLCollection07"> +<metadata> +<title>HTMLCollection07</title> +<creator>NIST</creator> +<description> + An item(index) method retrieves an item specified by ordinal index + (Test for index=3). + + Retrieve the first TABLE element and create a HTMLCollection by invoking + the "rows" attribute. The item located at ordinal index 3 is further + retrieved and its "rowIndex" attribute is examined. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-01</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-33262535"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="rowNode" type="Node"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vrowindex" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="collection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<rows interface="HTMLTableElement" obj="testNode" var="rowsnodeList"/> +<item interface="HTMLCollection" obj="rowsnodeList" var="rowNode" index="3"/> +<rowIndex interface="HTMLTableRowElement" obj="rowNode" var="vrowindex"/> +<assertEquals actual="vrowindex" expected="3" id="rowIndexLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLCollection08.xml b/test/testcases/tests/level1/html/HTMLCollection08.xml new file mode 100644 index 0000000..dfc2e10 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection08.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLCollection08"> +<metadata> +<title>HTMLCollection08</title> +<creator>NIST</creator> +<description> + Nodes in a HTMLCollection object are numbered in tree order. + (Depth-first traversal order). + + Retrieve the first TABLE element and create a HTMLCollection by invoking + the "rows" attribute. Access the item in the third ordinal index. The + resulting rowIndex attribute is examined and should be two. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-01</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-33262535"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="rowNode" type="Node"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vrowindex" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="collection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<rows interface="HTMLTableElement" obj="testNode" var="rowsnodeList"/> +<item interface="HTMLCollection" obj="rowsnodeList" var="rowNode" index="2"/> +<rowIndex interface="HTMLTableRowElement" obj="rowNode" var="vrowindex"/> +<assertEquals actual="vrowindex" expected="2" id="rowIndexLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLCollection09.xml b/test/testcases/tests/level1/html/HTMLCollection09.xml new file mode 100644 index 0000000..f81e7af --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection09.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLCollection09"> +<metadata> +<title>HTMLCollection09</title> +<creator>NIST</creator> +<description> + The item(index) method returns null if the index is out of range. + + Retrieve the first TABLE element and create a HTMLCollection by invoking + the "rows" attribute. Invoke the item(index) method with an index + of 5. This index is out of range and should return null. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-01</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-33262535"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="rowNode" type="Node"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vrowindex" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="collection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<rows interface="HTMLTableElement" obj="testNode" var="rowsnodeList"/> +<item interface="HTMLCollection" obj="rowsnodeList" var="rowNode" index="5"/> +<assertNull actual="rowNode" id="rowIndexLink"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLCollection10.xml b/test/testcases/tests/level1/html/HTMLCollection10.xml new file mode 100644 index 0000000..78f4c9a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection10.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLCollection10"> +<metadata> +<title>HTMLCollection10</title> +<creator>NIST</creator> +<description> + The namedItem(name) 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 + on those elements that are allowed a name attribute. + + Retrieve the first FORM element and create a HTMLCollection by invoking + the elements attribute. The first SELECT element is further retrieved + using the elements name attribute since the id attribute doesn't match. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-01</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-21069976"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="formNode" type="Node"/> +<var name="formsnodeList" type="HTMLCollection"/> +<var name="vname" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="collection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"form"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<elements interface="HTMLFormElement" obj="testNode" var="formsnodeList"/> +<namedItem obj="formsnodeList" var="formNode" name='"select1"'/> +<nodeName obj="formNode" var="vname"/> +<assertEquals actual="vname" expected='"SELECT"' id="nameIndexLink" ignoreCase="auto"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLCollection11.xml b/test/testcases/tests/level1/html/HTMLCollection11.xml new file mode 100644 index 0000000..ebf217f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection11.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLCollection11"> +<metadata> +<title>HTMLCollection11</title> +<creator>NIST</creator> +<description> + The namedItem(name) 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 + on those elements that are allowed a name attribute. + + Retrieve the first FORM element and create a HTMLCollection by invoking + the elements attribute. The first SELECT element is further retrieved + using the elements id attribute. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-01</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-76728479"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="formNode" type="Node"/> +<var name="formsnodeList" type="HTMLCollection"/> +<var name="vname" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="collection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"form"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<elements interface="HTMLFormElement" obj="testNode" var="formsnodeList"/> +<namedItem obj="formsnodeList" var="formNode" name='"selectId"'/> +<nodeName obj="formNode" var="vname"/> +<assertEquals actual="vname" expected='"select"' id="nameIndexLink" ignoreCase="auto"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLCollection12.xml b/test/testcases/tests/level1/html/HTMLCollection12.xml new file mode 100644 index 0000000..d7feb3d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection12.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLCollection12"> +<metadata> +<title>HTMLCollection12</title> +<creator>NIST</creator> +<description> + The namedItem(name) 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 + on those elements that are allowed a name attribute. If there isn't + a matching node the method returns null. + + Retrieve the first FORM element and create a HTMLCollection by invoking + the elements attribute. The method returns null since there is not a + match of the name or id attribute. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-01</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-21069976"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="formNode" type="Node"/> +<var name="formsnodeList" type="HTMLCollection"/> +<var name="doc" type="Document"/> +<load var="doc" href="collection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"form"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<elements interface="HTMLFormElement" obj="testNode" var="formsnodeList"/> +<namedItem obj="formsnodeList" var="formNode" name='"select9"'/> +<assertNull actual="formNode" id="nameIndexLink" /> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDirectoryElement01.xml b/test/testcases/tests/level1/html/HTMLDirectoryElement01.xml new file mode 100644 index 0000000..4b1b402 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDirectoryElement01.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDirectoryElement01">
+<metadata>
+<title>HTMLDirectoryElement01</title>
+<creator>NIST</creator>
+<description>
+ The compact attribute specifies a boolean value on whether to display
+ the list more compactly.
+
+ Retrieve the compact attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-75317739"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcompact" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="directory" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"dir"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<compact interface="HTMLDirectoryElement" obj="testNode" var="vcompact"/>
+<assertTrue actual="vcompact" id="compactLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLDivElement01.xml b/test/testcases/tests/level1/html/HTMLDivElement01.xml new file mode 100644 index 0000000..c658eb2 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDivElement01.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDivElement01">
+<metadata>
+<title>HTMLDivElement01</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the horizontal text alignment.
+
+ Retrieve the align attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-70908791"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="valign" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="div" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"div"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLDivElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLDlistElement01.xml b/test/testcases/tests/level1/html/HTMLDlistElement01.xml new file mode 100644 index 0000000..727c189 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDlistElement01.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDlistElement01">
+<metadata>
+<title>HTMLDListElement01</title>
+<creator>NIST</creator>
+<description>
+ The compact attribute specifies a boolean value on whether to display
+ the list more compactly.
+
+ Retrieve the compact attribute and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-21738539"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcompact" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="dl" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"dl"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<compact interface="HTMLDListElement" obj="testNode" var="vcompact"/>
+<assertTrue actual="vcompact" id="compactLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLDocument01.xml b/test/testcases/tests/level1/html/HTMLDocument01.xml new file mode 100644 index 0000000..2e528d5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument01.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument01"> +<metadata> +<title>HTMLDocument01</title> +<creator>NIST</creator> +<description> + The title attribute is the specified title as a string. + + Retrieve the title attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-01-18</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-18446827"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="vtitle" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="document" willBeModified="false"/> +<title interface="HTMLDocument" obj="doc" var="vtitle"/> +<assertEquals actual="vtitle" expected='"NIST DOM HTML Test - DOCUMENT"' id="titleLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument02.xml b/test/testcases/tests/level1/html/HTMLDocument02.xml new file mode 100644 index 0000000..24bd58f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument02.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument02"> +<metadata> +<title>HTMLDocument02</title> +<creator>NIST</creator> +<description> + The referrer attribute returns the URI of the page that linked to this + page. + + Retrieve the referrer attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-01-18</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95229140"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vreferrer" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="document" willBeModified="false"/> +<referrer interface="HTMLDocument" obj="doc" var="vreferrer"/> +<assertEquals actual="vreferrer" expected='""' id="referrerLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument03.xml b/test/testcases/tests/level1/html/HTMLDocument03.xml new file mode 100644 index 0000000..97e291d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument03.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument03"> +<metadata> +<title>HTMLDocument03</title> +<creator>NIST</creator> +<description> + 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. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-01-18</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-2250147"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vdomain" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="document" willBeModified="false"/> +<domain interface="HTMLDocument" obj="doc" var="vdomain"/> +<assertEquals actual="vdomain" expected='""' id="domainLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument04.xml b/test/testcases/tests/level1/html/HTMLDocument04.xml new file mode 100644 index 0000000..223d426 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument04.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument04"> +<metadata> +<title>HTMLDocument04</title> +<creator>NIST</creator> +<description> + The URL attribute specifies the absolute URI of the document. + + Retrieve the URL attribute and examine its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-01-18</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-46183437"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vurl" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="document" willBeModified="false"/> +<URL interface="HTMLDocument" obj="doc" var="vurl"/> +<assertURIEquals actual="vurl" name='"document"' id="URLLink" isAbsolute="true"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument05.xml b/test/testcases/tests/level1/html/HTMLDocument05.xml new file mode 100644 index 0000000..a764b35 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument05.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument05"> +<metadata> +<title>HTMLDocument05</title> +<creator>NIST</creator> +<description> + 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. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-01-18</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-56360201"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vbody" type="HTMLElement" /> +<var name="vid" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="document" willBeModified="false"/> +<body interface="HTMLDocument" obj="doc" var="vbody"/> +<id interface="HTMLElement" obj="vbody" var="vid"/> +<assertEquals actual="vid" expected='"TEST-BODY"' id="idLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument07.xml b/test/testcases/tests/level1/html/HTMLDocument07.xml new file mode 100644 index 0000000..a08972f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument07.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument07"> +<metadata> +<title>HTMLDocument07</title> +<creator>NIST</creator> +<description> + The images attribute returns a collection of all IMG elements in a document. + + Retrieve the images attribute from the document and examine its value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-04-30</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-90379117"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vimages" type="HTMLCollection" /> +<var name="vlength" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="document" willBeModified="false"/> +<images interface="HTMLDocument" obj="doc" var="vimages" /> +<length interface="HTMLCollection" obj="vimages" var="vlength" /> +<assertEquals actual="vlength" expected='1' id="lengthLink" ignoreCase="false" /> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument08.xml b/test/testcases/tests/level1/html/HTMLDocument08.xml new file mode 100644 index 0000000..fcc8147 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument08.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument08"> +<metadata> +<title>HTMLDocument08</title> +<creator>NIST</creator> +<description> + 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. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-04-30</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-85113862"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vapplets" type="HTMLCollection" /> +<var name="vlength" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="document" willBeModified="false"/> +<applets interface="HTMLDocument" obj="doc" var="vapplets" /> +<length interface="HTMLCollection" obj="vapplets" var="vlength" /> +<assertEquals actual="vlength" expected='4' id="length" ignoreCase="false" /> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument09.xml b/test/testcases/tests/level1/html/HTMLDocument09.xml new file mode 100644 index 0000000..037811f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument09.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument09"> +<metadata> +<title>HTMLDocument09</title> +<creator>NIST</creator> +<description> + 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. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-04-30</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-7068919"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vlinks" type="HTMLCollection"/> +<var name="vlength" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="document" willBeModified="false"/> +<links interface="HTMLDocument" obj="doc" var="vlinks" /> +<length interface="HTMLCollection" obj="vlinks" var="vlength" /> +<assertEquals actual="vlength" expected='3' id="lengthLink" ignoreCase="false" /> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument10.xml b/test/testcases/tests/level1/html/HTMLDocument10.xml new file mode 100644 index 0000000..700cebd --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument10.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument10"> +<metadata> +<title>HTMLDocument10</title> +<creator>NIST</creator> +<description> + The forms attribute returns a collection of all the forms in a document. + + Retrieve the forms attribute from the document and examine its value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-04-30</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-1689064"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vforms" type="HTMLCollection"/> +<var name="vlength" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="document" willBeModified="false"/> +<forms interface="HTMLDocument" obj="doc" var="vforms" /> +<length interface="HTMLCollection" obj="vforms" var="vlength" /> +<assertEquals actual="vlength" expected='1' id="lengthLink" ignoreCase="false" /> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument11.xml b/test/testcases/tests/level1/html/HTMLDocument11.xml new file mode 100644 index 0000000..308131f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument11.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument11"> +<metadata> +<title>HTMLDocument11</title> +<creator>NIST</creator> +<description> + 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. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-04-30</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-7577272"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vanchors" type="HTMLCollection"/> +<var name="vlength" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="document" willBeModified="false"/> +<anchors interface="HTMLDocument" obj="doc" var="vanchors" /> +<length interface="HTMLCollection" obj="vanchors" var="vlength" /> +<assertEquals actual="vlength" expected='1' id="lengthLink" ignoreCase="false" /> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument12.xml b/test/testcases/tests/level1/html/HTMLDocument12.xml new file mode 100644 index 0000000..964e70c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument12.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument12"> +<metadata> +<title>HTMLDocument02</title> +<creator>NIST</creator> +<description> + The cookie attribute returns the cookies associated with this document. + + Retrieve the cookie attribute and examine its value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-04-30</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-8747038"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="vcookie" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="document" willBeModified="false"/> +<cookie interface="HTMLDocument" obj="doc" var="vcookie"/> +<assertEquals actual="vcookie" expected='""' id="cookieLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument13.xml b/test/testcases/tests/level1/html/HTMLDocument13.xml new file mode 100644 index 0000000..fc7244b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument13.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument13"> +<metadata> +<title>HTMLDocument13</title> +<creator>NIST</creator> +<description> + The getElementsByName method returns the (possibly empty) collection + of elements whose name value is given by the elementName. + + Retrieve all the elements whose name attribute is "mapid". + Check the length of the nodelist. It should be 1. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-07-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-71555259"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="doc" type="Document"/> +<load var="doc" href="document" willBeModified="false"/> +<getElementsByName interface="HTMLDocument" var="nodeList" obj="doc" elementName='"mapid"' id="getElementsNameId"/> +<assertSize collection="nodeList" size="1" id="Asize"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument14.xml b/test/testcases/tests/level1/html/HTMLDocument14.xml new file mode 100644 index 0000000..c41fe14 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument14.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument14"> +<metadata> +<title>HTMLDocument14</title> +<creator>NIST</creator> +<description> + The getElementsByName method returns the (possibly empty) collection + of elements whose name value is given by the elementName. + + 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. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-07-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-71555259"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="doc" type="Document"/> +<load var="doc" href="document" willBeModified="false"/> +<getElementsByName interface="HTMLDocument" var="nodeList" obj="doc" elementName='"noid"' id="getElementsNameId"/> +<assertSize collection="nodeList" size="0" id="Asize"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument15.xml b/test/testcases/tests/level1/html/HTMLDocument15.xml new file mode 100644 index 0000000..e01d4ca --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument15.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument15"> +<metadata> +<title>HTMLDocument15</title> +<creator>NIST</creator> +<description> + The getElementById method returns the Element whose id is given by + elementId. If no such element exists, returns null. + + Retrieve the element whose id is "mapid". + Check the value of the element. + +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-07-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-36113835"/> +<subject resource="http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-26809268"/> +<subject resource="http://www.w3.org/TR/DOM-Level-2-Core/core#ID-getElBId"/> +</metadata> +<var name="elementNode" type="Element"/> +<var name="elementValue" type="DOMString"/> +<var name="doc" type="Document"/> +<load var="doc" href="document" willBeModified="false"/> +<getElementById var="elementNode" obj="doc" elementId='"mapid"' id="getElementsId"/> +<nodeName obj="elementNode" var="elementValue"/> +<assertEquals actual="elementValue" expected='"map"' id="elementId" ignoreCase="auto"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument16.xml b/test/testcases/tests/level1/html/HTMLDocument16.xml new file mode 100644 index 0000000..1bb1fa7 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument16.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument16"> +<metadata> +<title>HTMLDocument16</title> +<creator>NIST</creator> +<description> + The getElementById method returns the Element whose id is given by + elementId. If no such element exists, returns null. + + Retrieve the element whose id is "noid". + The value returned should be null since there are not any elements with + an id of "noid". + +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-07-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-36113835"/> +<subject resource="http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-26809268"/> +<subject resource="http://www.w3.org/TR/DOM-Level-2-Core/core#ID-getElBId"/> +</metadata> +<var name="elementNode" type="Element"/> +<var name="elementValue" type="DOMString"/> +<var name="doc" type="Document"/> +<load var="doc" href="document" willBeModified="false"/> +<getElementById var="elementNode" obj="doc" elementId='"noid"' id="getElementsId"/> +<assertNull actual="elementNode" id="elementId"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument17.xml b/test/testcases/tests/level1/html/HTMLDocument17.xml new file mode 100644 index 0000000..6c89504 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument17.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +Copyright (c) 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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument17"> +<metadata> +<title>HTMLDocument17</title> +<creator>Curt Arnold</creator> +<description> +Clears the current document using HTMLDocument.open immediately followed by close. +</description> +<date qualifier="created">2002-03-18</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-72161170"/> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-98948567"/> +</metadata> +<var name="doc" type="Document"/> +<var name="bodyElem" type="Element"/> +<var name="bodyChild" type="Node"/> +<load var="doc" href="document" willBeModified="true"/> +<open obj="doc"/> +<close obj="doc"/> +<body var="bodyElem" obj="doc"/> +<if><notNull obj="bodyElem"/> + <firstChild interface="Node" var="bodyChild" obj="bodyElem"/> + <assertNull actual="bodyChild" id="bodyContainsChildren"/> +</if> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument18.xml b/test/testcases/tests/level1/html/HTMLDocument18.xml new file mode 100644 index 0000000..7454a15 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument18.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +Copyright (c) 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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument18"> +<metadata> +<title>HTMLDocument18</title> +<creator>Curt Arnold</creator> +<description> +Calls HTMLDocument.close on a document that has not been opened for modification. +</description> +<date qualifier="created">2002-03-18</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-98948567"/> +</metadata> +<var name="doc" type="Document"/> +<load var="doc" href="document" willBeModified="true"/> +<close obj="doc"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument19.xml b/test/testcases/tests/level1/html/HTMLDocument19.xml new file mode 100644 index 0000000..3fa1a81 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument19.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +Copyright (c) 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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument19"> +<metadata> +<title>HTMLDocument19</title> +<creator>Curt Arnold</creator> +<description> +Replaces the current document with a valid HTML document using HTMLDocument.open, write and close. +</description> +<date qualifier="created">2002-03-18</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-72161170"/> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-98948567"/> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-75233634"/> +</metadata> +<var name="doc" type="Document"/> +<var name="docElem" type="Element"/> +<var name="title" type="DOMString"/> +<load var="doc" href="document" willBeModified="true"/> +<open obj="doc"/> +<if><contentType type="text/html"/> + <write obj="doc" text='"<html>"'/> + <else> + <write obj="doc" text='"<html xmlns='http://www.w3.org/1999/xhtml'>"'/> + </else> +</if> +<write obj="doc" text='"<body>"'/> +<write obj="doc" text='"<title>Replacement</title>"'/> +<write obj="doc" text='"</body>"'/> +<write obj="doc" text='"<p>"'/> +<write obj="doc" text='"Hello, World."'/> +<write obj="doc" text='"</p>"'/> +<write obj="doc" text='"</body>"'/> +<write obj="doc" text='"</html>"'/> +<close obj="doc"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument20.xml b/test/testcases/tests/level1/html/HTMLDocument20.xml new file mode 100644 index 0000000..0b03356 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument20.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +Copyright (c) 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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument20"> +<metadata> +<title>HTMLDocument20</title> +<creator>Curt Arnold</creator> +<description> +Replaces the current document with a valid HTML document using HTMLDocument.open, writeln and close. +</description> +<date qualifier="created">2002-03-18</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-72161170"/> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-98948567"/> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-35318390"/> +</metadata> +<var name="doc" type="Document"/> +<var name="docElem" type="Element"/> +<var name="title" type="DOMString"/> +<load var="doc" href="document" willBeModified="true"/> +<open obj="doc"/> +<if><contentType type="text/html"/> + <writeln obj="doc" text='"<html>"'/> + <else> + <writeln obj="doc" text='"<html xmlns='http://www.w3.org/1999/xhtml'>"'/> + </else> +</if> +<writeln obj="doc" text='"<body>"'/> +<writeln obj="doc" text='"<title>Replacement</title>"'/> +<writeln obj="doc" text='"</body>"'/> +<writeln obj="doc" text='"<p>"'/> +<writeln obj="doc" text='"Hello, World."'/> +<writeln obj="doc" text='"</p>"'/> +<writeln obj="doc" text='"</body>"'/> +<writeln obj="doc" text='"</html>"'/> +<close obj="doc"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLDocument21.xml b/test/testcases/tests/level1/html/HTMLDocument21.xml new file mode 100644 index 0000000..4942f45 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLDocument21.xml @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" type="text/xml"?> + +<!-- + +Copyright (c) 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 "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLDocument21"> +<metadata> +<title>HTMLDocument21</title> +<creator>Curt Arnold</creator> +<description> +Replaces the current document checks that writeln adds a new line. +</description> +<date qualifier="created">2002-03-18</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-72161170"/> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-98948567"/> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-75233634"/> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-35318390"/> +</metadata> +<var name="doc" type="Document"/> +<var name="docElem" type="Element"/> +<var name="preElems" type="NodeList"/> +<var name="preElem" type="Element"/> +<var name="preText" type="Text"/> +<var name="preValue" type="DOMString"/> +<load var="doc" href="document" willBeModified="true"/> +<open obj="doc"/> +<if><contentType type="text/html"/> + <writeln obj="doc" text='"<html>"'/> + <else> + <writeln obj="doc" text='"<html xmlns='http://www.w3.org/1999/xhtml'>"'/> + </else> +</if> +<writeln obj="doc" text='"<body>"'/> +<writeln obj="doc" text='"<title>Replacement</title>"'/> +<writeln obj="doc" text='"</body>"'/> +<write obj="doc" text='"<pre>"'/> +<writeln obj="doc" text='"Hello, World."'/> +<writeln obj="doc" text='"Hello, World."'/> +<writeln obj="doc" text='"</pre>"'/> +<write obj="doc" text='"<pre>"'/> +<write obj="doc" text='"Hello, World."'/> +<write obj="doc" text='"Hello, World."'/> +<writeln obj="doc" text='"</pre>"'/> +<writeln obj="doc" text='"</body>"'/> +<writeln obj="doc" text='"</html>"'/> +<close obj="doc"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLElement01.xml b/test/testcases/tests/level1/html/HTMLElement01.xml new file mode 100644 index 0000000..b139ae6 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement01.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement01">
+<metadata>
+<title>HTMLElement01</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the HEAD element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"head"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-HEAD"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement02.xml b/test/testcases/tests/level1/html/HTMLElement02.xml new file mode 100644 index 0000000..adfd033 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement02.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement02">
+<metadata>
+<title>HTMLElement02</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the SUB element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"sub"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-SUB"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement03.xml b/test/testcases/tests/level1/html/HTMLElement03.xml new file mode 100644 index 0000000..db2929d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement03.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement03">
+<metadata>
+<title>HTMLElement03</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the SUP element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"sup"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-SUP"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement04.xml b/test/testcases/tests/level1/html/HTMLElement04.xml new file mode 100644 index 0000000..44c4aad --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement04.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement04">
+<metadata>
+<title>HTMLElement04</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the SPAN element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"span"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-SPAN"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement05.xml b/test/testcases/tests/level1/html/HTMLElement05.xml new file mode 100644 index 0000000..a353781 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement05.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement05">
+<metadata>
+<title>HTMLElement05</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the BDO element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"bdo"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-BDO"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement06.xml b/test/testcases/tests/level1/html/HTMLElement06.xml new file mode 100644 index 0000000..212d2aa --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement06.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement06">
+<metadata>
+<title>HTMLElement06</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the TT element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tt"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-TT"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement07.xml b/test/testcases/tests/level1/html/HTMLElement07.xml new file mode 100644 index 0000000..365b84d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement07.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement07">
+<metadata>
+<title>HTMLElement07</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the I element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"i"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-I"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement08.xml b/test/testcases/tests/level1/html/HTMLElement08.xml new file mode 100644 index 0000000..1db5576 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement08.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement08">
+<metadata>
+<title>HTMLElement08</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the B element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"b"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-B"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement09.xml b/test/testcases/tests/level1/html/HTMLElement09.xml new file mode 100644 index 0000000..17180d9 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement09.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement09">
+<metadata>
+<title>HTMLElement09</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the U element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"u"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-U"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement10.xml b/test/testcases/tests/level1/html/HTMLElement10.xml new file mode 100644 index 0000000..fa18238 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement10.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement10">
+<metadata>
+<title>HTMLElement10</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the S element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"s"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-S"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement100.xml b/test/testcases/tests/level1/html/HTMLElement100.xml new file mode 100644 index 0000000..64cbda7 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement100.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement100">
+<metadata>
+<title>HTMLElement100</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the SMALL element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"small"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement101.xml b/test/testcases/tests/level1/html/HTMLElement101.xml new file mode 100644 index 0000000..3d9cef5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement101.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement101">
+<metadata>
+<title>HTMLElement101</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the EM element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"em"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement102.xml b/test/testcases/tests/level1/html/HTMLElement102.xml new file mode 100644 index 0000000..3a5c6f5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement102.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement102">
+<metadata>
+<title>HTMLElement102</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the STRONG element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"strong"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement103.xml b/test/testcases/tests/level1/html/HTMLElement103.xml new file mode 100644 index 0000000..5deb562 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement103.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement103">
+<metadata>
+<title>HTMLElement103</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the DFN element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"dfn"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement104.xml b/test/testcases/tests/level1/html/HTMLElement104.xml new file mode 100644 index 0000000..19dbe69 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement104.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement104">
+<metadata>
+<title>HTMLElement104</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the CODE element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"code"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement105.xml b/test/testcases/tests/level1/html/HTMLElement105.xml new file mode 100644 index 0000000..352c97c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement105.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement105">
+<metadata>
+<title>HTMLElement105</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the SAMP element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"samp"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement106.xml b/test/testcases/tests/level1/html/HTMLElement106.xml new file mode 100644 index 0000000..3075b6c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement106.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement106">
+<metadata>
+<title>HTMLElement106</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the KBD element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"kbd"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement107.xml b/test/testcases/tests/level1/html/HTMLElement107.xml new file mode 100644 index 0000000..75f90b9 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement107.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement107">
+<metadata>
+<title>HTMLElement107</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the VAR element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"var"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement108.xml b/test/testcases/tests/level1/html/HTMLElement108.xml new file mode 100644 index 0000000..080a2c7 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement108.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement108">
+<metadata>
+<title>HTMLElement108</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the CITE element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"cite"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement109.xml b/test/testcases/tests/level1/html/HTMLElement109.xml new file mode 100644 index 0000000..16a6b5f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement109.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement109">
+<metadata>
+<title>HTMLElement109</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the ACRONYM element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"acronym"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement11.xml b/test/testcases/tests/level1/html/HTMLElement11.xml new file mode 100644 index 0000000..8dab5be --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement11.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement11">
+<metadata>
+<title>HTMLElement11</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the STRIKE element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"strike"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-STRIKE"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement110.xml b/test/testcases/tests/level1/html/HTMLElement110.xml new file mode 100644 index 0000000..cf6ccf0 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement110.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement110">
+<metadata>
+<title>HTMLElement110</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the ABBR element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"abbr"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement111.xml b/test/testcases/tests/level1/html/HTMLElement111.xml new file mode 100644 index 0000000..d5639da --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement111.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement111">
+<metadata>
+<title>HTMLElement111</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the DD element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"dd"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement112.xml b/test/testcases/tests/level1/html/HTMLElement112.xml new file mode 100644 index 0000000..215125a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement112.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement112">
+<metadata>
+<title>HTMLElement112</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the DT element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"dt"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement113.xml b/test/testcases/tests/level1/html/HTMLElement113.xml new file mode 100644 index 0000000..a639ca2 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement113.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement113">
+<metadata>
+<title>HTMLElement113</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the NOFRAMES element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"noframes"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement114.xml b/test/testcases/tests/level1/html/HTMLElement114.xml new file mode 100644 index 0000000..d231396 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement114.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement114">
+<metadata>
+<title>HTMLElement114</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the NOSCRIPT element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"noscript"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement115.xml b/test/testcases/tests/level1/html/HTMLElement115.xml new file mode 100644 index 0000000..1e38b03 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement115.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement115">
+<metadata>
+<title>HTMLElement115</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the ADDRESS element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"address"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement116.xml b/test/testcases/tests/level1/html/HTMLElement116.xml new file mode 100644 index 0000000..7338e78 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement116.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement116">
+<metadata>
+<title>HTMLElement116</title>
+<creator>NIST</creator>
+<description>
+ The dir attribute specifies the base direction of directionally neutral text and the directionality of tables.
+
+ Retrieve the dir attribute of the CENTER element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-52460740"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdir" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"center"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dir interface="HTMLElement" obj="testNode" var="vdir"/>
+<assertEquals actual="vdir" expected='"ltr"' id="dirLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement117.xml b/test/testcases/tests/level1/html/HTMLElement117.xml new file mode 100644 index 0000000..ba720cd --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement117.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement117">
+<metadata>
+<title>HTMLElement117</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the HEAD element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"head"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"HEAD-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement118.xml b/test/testcases/tests/level1/html/HTMLElement118.xml new file mode 100644 index 0000000..a175045 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement118.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement118">
+<metadata>
+<title>HTMLElement118</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the SUB element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"sub"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"SUB-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement119.xml b/test/testcases/tests/level1/html/HTMLElement119.xml new file mode 100644 index 0000000..09361ae --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement119.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement119">
+<metadata>
+<title>HTMLElement119</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the SUP element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"sup"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"SUP-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement12.xml b/test/testcases/tests/level1/html/HTMLElement12.xml new file mode 100644 index 0000000..3b6b9bb --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement12.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement12">
+<metadata>
+<title>HTMLElement12</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the BIG element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"big"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-BIG"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement120.xml b/test/testcases/tests/level1/html/HTMLElement120.xml new file mode 100644 index 0000000..4edc694 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement120.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement120">
+<metadata>
+<title>HTMLElement120</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the SPAN element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"span"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"SPAN-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement121.xml b/test/testcases/tests/level1/html/HTMLElement121.xml new file mode 100644 index 0000000..93af01a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement121.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement121">
+<metadata>
+<title>HTMLElement121</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the BDO element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"bdo"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"BDO-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement122.xml b/test/testcases/tests/level1/html/HTMLElement122.xml new file mode 100644 index 0000000..e1e1064 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement122.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement122">
+<metadata>
+<title>HTMLElement122</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the TT element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tt"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"TT-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement123.xml b/test/testcases/tests/level1/html/HTMLElement123.xml new file mode 100644 index 0000000..de7ce7a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement123.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement123">
+<metadata>
+<title>HTMLElement123</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the I element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"i"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"I-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement124.xml b/test/testcases/tests/level1/html/HTMLElement124.xml new file mode 100644 index 0000000..1f86541 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement124.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement124">
+<metadata>
+<title>HTMLElement124</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the B element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"b"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"B-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement125.xml b/test/testcases/tests/level1/html/HTMLElement125.xml new file mode 100644 index 0000000..4238620 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement125.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement125">
+<metadata>
+<title>HTMLElement125</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the U element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"u"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"U-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement126.xml b/test/testcases/tests/level1/html/HTMLElement126.xml new file mode 100644 index 0000000..fdfd4a9 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement126.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement126">
+<metadata>
+<title>HTMLElement126</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the S element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"s"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"S-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement127.xml b/test/testcases/tests/level1/html/HTMLElement127.xml new file mode 100644 index 0000000..f7eb5ff --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement127.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement127">
+<metadata>
+<title>HTMLElement127</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the STRIKE element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"strike"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"STRIKE-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement128.xml b/test/testcases/tests/level1/html/HTMLElement128.xml new file mode 100644 index 0000000..3656298 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement128.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement128">
+<metadata>
+<title>HTMLElement128</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the BIG element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"big"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"BIG-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement129.xml b/test/testcases/tests/level1/html/HTMLElement129.xml new file mode 100644 index 0000000..80ca878 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement129.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement129">
+<metadata>
+<title>HTMLElement129</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the SMALL element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"small"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"SMALL-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement13.xml b/test/testcases/tests/level1/html/HTMLElement13.xml new file mode 100644 index 0000000..0f861c6 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement13.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement13">
+<metadata>
+<title>HTMLElement13</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the SMALL element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"small"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-SMALL"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement130.xml b/test/testcases/tests/level1/html/HTMLElement130.xml new file mode 100644 index 0000000..9636f0e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement130.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement130">
+<metadata>
+<title>HTMLElement130</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the EM element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"em"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"EM-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement131.xml b/test/testcases/tests/level1/html/HTMLElement131.xml new file mode 100644 index 0000000..d0a35ee --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement131.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement131">
+<metadata>
+<title>HTMLElement131</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the STRONG element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"strong"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"STRONG-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement132.xml b/test/testcases/tests/level1/html/HTMLElement132.xml new file mode 100644 index 0000000..50e124e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement132.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement132">
+<metadata>
+<title>HTMLElement132</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the DFN element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"dfn"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"DFN-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement133.xml b/test/testcases/tests/level1/html/HTMLElement133.xml new file mode 100644 index 0000000..096cbfa --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement133.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement133">
+<metadata>
+<title>HTMLElement133</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the CODE element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"code"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"CODE-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement134.xml b/test/testcases/tests/level1/html/HTMLElement134.xml new file mode 100644 index 0000000..dd9645e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement134.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement134">
+<metadata>
+<title>HTMLElement134</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the SAMP element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"samp"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"SAMP-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement135.xml b/test/testcases/tests/level1/html/HTMLElement135.xml new file mode 100644 index 0000000..5b52ce5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement135.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement135">
+<metadata>
+<title>HTMLElement135</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the KBD element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"kbd"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"KBD-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement136.xml b/test/testcases/tests/level1/html/HTMLElement136.xml new file mode 100644 index 0000000..459f9a5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement136.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement136">
+<metadata>
+<title>HTMLElement136</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the VAR element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"var"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"VAR-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement137.xml b/test/testcases/tests/level1/html/HTMLElement137.xml new file mode 100644 index 0000000..bd9d69b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement137.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement137">
+<metadata>
+<title>HTMLElement137</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the CITE element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"cite"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"CITE-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement138.xml b/test/testcases/tests/level1/html/HTMLElement138.xml new file mode 100644 index 0000000..25e4ced --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement138.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement138">
+<metadata>
+<title>HTMLElement138</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the ACRONYM element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"acronym"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"ACRONYM-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement139.xml b/test/testcases/tests/level1/html/HTMLElement139.xml new file mode 100644 index 0000000..82b2771 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement139.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement139">
+<metadata>
+<title>HTMLElement139</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the ABBR element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"abbr"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"ABBR-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement14.xml b/test/testcases/tests/level1/html/HTMLElement14.xml new file mode 100644 index 0000000..a14e362 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement14.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement14">
+<metadata>
+<title>HTMLElement14</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the EM element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"em"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-EM"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement140.xml b/test/testcases/tests/level1/html/HTMLElement140.xml new file mode 100644 index 0000000..e982a80 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement140.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement140">
+<metadata>
+<title>HTMLElement140</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the DD element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"dd"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"DD-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement141.xml b/test/testcases/tests/level1/html/HTMLElement141.xml new file mode 100644 index 0000000..5c22702 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement141.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement141">
+<metadata>
+<title>HTMLElement141</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the DT element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"dt"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"DT-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement142.xml b/test/testcases/tests/level1/html/HTMLElement142.xml new file mode 100644 index 0000000..4f78aff --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement142.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement142">
+<metadata>
+<title>HTMLElement142</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the NOFRAMES element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"noframes"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"NOFRAMES-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement143.xml b/test/testcases/tests/level1/html/HTMLElement143.xml new file mode 100644 index 0000000..84700a2 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement143.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement143">
+<metadata>
+<title>HTMLElement143</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the NOSCRIPT element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"noscript"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"NOSCRIPT-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement144.xml b/test/testcases/tests/level1/html/HTMLElement144.xml new file mode 100644 index 0000000..e4bdee4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement144.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement144">
+<metadata>
+<title>HTMLElement144</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the ADDRESS element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"address"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"ADDRESS-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement145.xml b/test/testcases/tests/level1/html/HTMLElement145.xml new file mode 100644 index 0000000..3241888 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement145.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement145">
+<metadata>
+<title>HTMLElement145</title>
+<creator>NIST</creator>
+<description>
+ The className attribute specifies the class attribute of the element.
+
+ Retrieve the class attribute of the CENTER element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-95362176"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vclassname" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"center"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<className interface="HTMLElement" obj="testNode" var="vclassname"/>
+<assertEquals actual="vclassname" expected='"CENTER-class"' id="classNameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement15.xml b/test/testcases/tests/level1/html/HTMLElement15.xml new file mode 100644 index 0000000..bd42dbd --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement15.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement15">
+<metadata>
+<title>HTMLElement15</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the STRONG element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"strong"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-STRONG"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement16.xml b/test/testcases/tests/level1/html/HTMLElement16.xml new file mode 100644 index 0000000..56da77c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement16.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement16">
+<metadata>
+<title>HTMLElement16</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the DFN element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"dfn"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-DFN"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement17.xml b/test/testcases/tests/level1/html/HTMLElement17.xml new file mode 100644 index 0000000..b17916c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement17.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement17">
+<metadata>
+<title>HTMLElement17</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the CODE element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"code"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-CODE"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement18.xml b/test/testcases/tests/level1/html/HTMLElement18.xml new file mode 100644 index 0000000..6716cf4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement18.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement18">
+<metadata>
+<title>HTMLElement18</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the SAMP element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"samp"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-SAMP"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement19.xml b/test/testcases/tests/level1/html/HTMLElement19.xml new file mode 100644 index 0000000..57a6f7a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement19.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement19">
+<metadata>
+<title>HTMLElement19</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the KBD element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"kbd"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-KBD"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement20.xml b/test/testcases/tests/level1/html/HTMLElement20.xml new file mode 100644 index 0000000..340837a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement20.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement20">
+<metadata>
+<title>HTMLElement20</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the VAR element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"var"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-VAR"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement21.xml b/test/testcases/tests/level1/html/HTMLElement21.xml new file mode 100644 index 0000000..f075ca1 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement21.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement21">
+<metadata>
+<title>HTMLElement21</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the CITE element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"cite"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-CITE"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement22.xml b/test/testcases/tests/level1/html/HTMLElement22.xml new file mode 100644 index 0000000..49a1969 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement22.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement22">
+<metadata>
+<title>HTMLElement22</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the ACRONYM element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"acronym"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-ACRONYM"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement23.xml b/test/testcases/tests/level1/html/HTMLElement23.xml new file mode 100644 index 0000000..cf50bae --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement23.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement23">
+<metadata>
+<title>HTMLElement23</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the ABBR element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"abbr"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-ABBR"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement24.xml b/test/testcases/tests/level1/html/HTMLElement24.xml new file mode 100644 index 0000000..e455f9b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement24.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement24">
+<metadata>
+<title>HTMLElement24</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the DD element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"dd"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-DD"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement25.xml b/test/testcases/tests/level1/html/HTMLElement25.xml new file mode 100644 index 0000000..3875a2c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement25.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement25">
+<metadata>
+<title>HTMLElement25</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the DT element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"dt"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-DT"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement26.xml b/test/testcases/tests/level1/html/HTMLElement26.xml new file mode 100644 index 0000000..565c76d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement26.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement26">
+<metadata>
+<title>HTMLElement26</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the NOFRAMES element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"noframes"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-NOFRAMES"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement27.xml b/test/testcases/tests/level1/html/HTMLElement27.xml new file mode 100644 index 0000000..2b1977c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement27.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement27">
+<metadata>
+<title>HTMLElement27</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the NOSCRIPT element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"noscript"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-NOSCRIPT"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement28.xml b/test/testcases/tests/level1/html/HTMLElement28.xml new file mode 100644 index 0000000..69d62c0 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement28.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement28">
+<metadata>
+<title>HTMLElement28</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the ADDRESS element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"address"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-ADDRESS"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement29.xml b/test/testcases/tests/level1/html/HTMLElement29.xml new file mode 100644 index 0000000..540e753 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement29.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement29">
+<metadata>
+<title>HTMLElement29</title>
+<creator>NIST</creator>
+<description>
+ The id specifies the elements identifier.
+
+ Retrieve the id attribute of the CENTER element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-63534901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vid" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"center"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<id interface="HTMLElement" obj="testNode" var="vid"/>
+<assertEquals actual="vid" expected='"Test-CENTER"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement30.xml b/test/testcases/tests/level1/html/HTMLElement30.xml new file mode 100644 index 0000000..735edfc --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement30.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement30">
+<metadata>
+<title>HTMLElement30</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title attribute of the HEAD element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-78276800"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vtitle" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"head"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<title interface="HTMLElement" obj="testNode" var="vtitle"/>
+<assertEquals actual="vtitle" expected='"HEAD Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement31.xml b/test/testcases/tests/level1/html/HTMLElement31.xml new file mode 100644 index 0000000..b8aa090 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement31.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement31">
+<metadata>
+<title>HTMLElement31</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title attribute of the SUB element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-78276800"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vtitle" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"sub"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<title interface="HTMLElement" obj="testNode" var="vtitle"/>
+<assertEquals actual="vtitle" expected='"SUB Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement32.xml b/test/testcases/tests/level1/html/HTMLElement32.xml new file mode 100644 index 0000000..3222e4f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement32.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement32">
+<metadata>
+<title>HTMLElement32</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title attribute of the SUP element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-78276800"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vtitle" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"sup"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<title interface="HTMLElement" obj="testNode" var="vtitle"/>
+<assertEquals actual="vtitle" expected='"SUP Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement33.xml b/test/testcases/tests/level1/html/HTMLElement33.xml new file mode 100644 index 0000000..4bd034b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement33.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement33">
+<metadata>
+<title>HTMLElement33</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title attribute of the SPAN element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-78276800"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vtitle" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"span"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<title interface="HTMLElement" obj="testNode" var="vtitle"/>
+<assertEquals actual="vtitle" expected='"SPAN Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement34.xml b/test/testcases/tests/level1/html/HTMLElement34.xml new file mode 100644 index 0000000..81b4ee5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement34.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement34">
+<metadata>
+<title>HTMLElement34</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title attribute of the BDO element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-78276800"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vtitle" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"bdo"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<title interface="HTMLElement" obj="testNode" var="vtitle"/>
+<assertEquals actual="vtitle" expected='"BDO Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement35.xml b/test/testcases/tests/level1/html/HTMLElement35.xml new file mode 100644 index 0000000..d3fa86d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement35.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement35">
+<metadata>
+<title>HTMLElement35</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title attribute of the TT element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-78276800"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vtitle" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tt"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<title interface="HTMLElement" obj="testNode" var="vtitle"/>
+<assertEquals actual="vtitle" expected='"TT Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement36.xml b/test/testcases/tests/level1/html/HTMLElement36.xml new file mode 100644 index 0000000..8c5929c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement36.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement36">
+<metadata>
+<title>HTMLElement36</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title attribute of the I element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-78276800"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vtitle" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"i"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<title interface="HTMLElement" obj="testNode" var="vtitle"/>
+<assertEquals actual="vtitle" expected='"I Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement37.xml b/test/testcases/tests/level1/html/HTMLElement37.xml new file mode 100644 index 0000000..72cb816 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement37.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement37">
+<metadata>
+<title>HTMLElement37</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title attribute of the B element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-78276800"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vtitle" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"b"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<title interface="HTMLElement" obj="testNode" var="vtitle"/>
+<assertEquals actual="vtitle" expected='"B Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement38.xml b/test/testcases/tests/level1/html/HTMLElement38.xml new file mode 100644 index 0000000..4f63799 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement38.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement38">
+<metadata>
+<title>HTMLElement38</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title attribute of the U element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-78276800"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vtitle" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"u"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<title interface="HTMLElement" obj="testNode" var="vtitle"/>
+<assertEquals actual="vtitle" expected='"U Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement39.xml b/test/testcases/tests/level1/html/HTMLElement39.xml new file mode 100644 index 0000000..d7a7e9c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement39.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+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 "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="HTMLElement39">
+<metadata>
+<title>HTMLElement39</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title attribute of the S element and examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-78276800"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vtitle" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="element" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"s"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<title interface="HTMLElement" obj="testNode" var="vtitle"/>
+<assertEquals actual="vtitle" expected='"S Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement40.xml b/test/testcases/tests/level1/html/HTMLElement40.xml new file mode 100644 index 0000000..8da28d4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement40.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
|