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 | 8f547c7bd349e0dc905e0dc5f32edbf1e01061ce (patch) | |
tree | 0ba575c11b1875b638324194e16ebda4586baec8 /test/testcases/tests/level1/html | |
parent | e3eae8836e177220d556868e4fa7741c00b2d729 (diff) | |
download | libdom-8f547c7bd349e0dc905e0dc5f32edbf1e01061ce.tar.gz libdom-8f547c7bd349e0dc905e0dc5f32edbf1e01061ce.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"?>
+<?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="HTMLElement40">
+<metadata>
+<title>HTMLElement40</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"strike"'/>
+<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='"STRIKE Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement41.xml b/test/testcases/tests/level1/html/HTMLElement41.xml new file mode 100644 index 0000000..3deaa21 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement41.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="HTMLElement41">
+<metadata>
+<title>HTMLElement41</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"big"'/>
+<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='"BIG Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement42.xml b/test/testcases/tests/level1/html/HTMLElement42.xml new file mode 100644 index 0000000..6c03d0c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement42.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="HTMLElement42">
+<metadata>
+<title>HTMLElement42</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"small"'/>
+<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='"SMALL Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement43.xml b/test/testcases/tests/level1/html/HTMLElement43.xml new file mode 100644 index 0000000..21090c9 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement43.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="HTMLElement43">
+<metadata>
+<title>HTMLElement43</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"em"'/>
+<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='"EM Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement44.xml b/test/testcases/tests/level1/html/HTMLElement44.xml new file mode 100644 index 0000000..ee7bcb5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement44.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="HTMLElement44">
+<metadata>
+<title>HTMLElement44</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"strong"'/>
+<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='"STRONG Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement45.xml b/test/testcases/tests/level1/html/HTMLElement45.xml new file mode 100644 index 0000000..1dd4ac4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement45.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="HTMLElement45">
+<metadata>
+<title>HTMLElement45</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"dfn"'/>
+<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='"DFN Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement46.xml b/test/testcases/tests/level1/html/HTMLElement46.xml new file mode 100644 index 0000000..0de73a7 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement46.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="HTMLElement46">
+<metadata>
+<title>HTMLElement46</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"code"'/>
+<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='"CODE Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement47.xml b/test/testcases/tests/level1/html/HTMLElement47.xml new file mode 100644 index 0000000..06bca2d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement47.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="HTMLElement47">
+<metadata>
+<title>HTMLElement47</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"samp"'/>
+<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='"SAMP Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement48.xml b/test/testcases/tests/level1/html/HTMLElement48.xml new file mode 100644 index 0000000..e0663ac --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement48.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="HTMLElement48">
+<metadata>
+<title>HTMLElement48</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"kbd"'/>
+<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='"KBD Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement49.xml b/test/testcases/tests/level1/html/HTMLElement49.xml new file mode 100644 index 0000000..d2541cc --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement49.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="HTMLElement49">
+<metadata>
+<title>HTMLElement49</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"var"'/>
+<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='"VAR Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement50.xml b/test/testcases/tests/level1/html/HTMLElement50.xml new file mode 100644 index 0000000..e01f5ff --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement50.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="HTMLElement50">
+<metadata>
+<title>HTMLElement50</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"cite"'/>
+<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='"CITE Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement51.xml b/test/testcases/tests/level1/html/HTMLElement51.xml new file mode 100644 index 0000000..2a48a44 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement51.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="HTMLElement51">
+<metadata>
+<title>HTMLElement51</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"acronym"'/>
+<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='"ACRONYM Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement52.xml b/test/testcases/tests/level1/html/HTMLElement52.xml new file mode 100644 index 0000000..dcbe2fe --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement52.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="HTMLElement52">
+<metadata>
+<title>HTMLElement52</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"abbr"'/>
+<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='"ABBR Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement53.xml b/test/testcases/tests/level1/html/HTMLElement53.xml new file mode 100644 index 0000000..2706897 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement53.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="HTMLElement53">
+<metadata>
+<title>HTMLElement53</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"dd"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<title interface="HTMLElement" obj="testNode" var="vtitle"/>
+<assertEquals actual="vtitle" expected='"DD Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement54.xml b/test/testcases/tests/level1/html/HTMLElement54.xml new file mode 100644 index 0000000..c8c85ff --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement54.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="HTMLElement54">
+<metadata>
+<title>HTMLElement54</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"dt"'/>
+<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='"DT Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement55.xml b/test/testcases/tests/level1/html/HTMLElement55.xml new file mode 100644 index 0000000..04aba47 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement55.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="HTMLElement55">
+<metadata>
+<title>HTMLElement55</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"noframes"'/>
+<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='"NOFRAMES Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement56.xml b/test/testcases/tests/level1/html/HTMLElement56.xml new file mode 100644 index 0000000..5e42819 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement56.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="HTMLElement56">
+<metadata>
+<title>HTMLElement56</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"noscript"'/>
+<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='"NOSCRIPT Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement57.xml b/test/testcases/tests/level1/html/HTMLElement57.xml new file mode 100644 index 0000000..d76bdf6 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement57.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="HTMLElement57">
+<metadata>
+<title>HTMLElement57</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"address"'/>
+<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='"ADDRESS Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement58.xml b/test/testcases/tests/level1/html/HTMLElement58.xml new file mode 100644 index 0000000..d276c21 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement58.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="HTMLElement58">
+<metadata>
+<title>HTMLElement58</title>
+<creator>NIST</creator>
+<description>
+ The title attribute specifies the elements advisory title.
+
+ Retrieve the title 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-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='"center"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<title interface="HTMLElement" obj="testNode" var="vtitle"/>
+<assertEquals actual="vtitle" expected='"CENTER Element"' id="titleLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement59.xml b/test/testcases/tests/level1/html/HTMLElement59.xml new file mode 100644 index 0000000..05ceca7 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement59.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="HTMLElement59">
+<metadata>
+<title>HTMLElement59</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement60.xml b/test/testcases/tests/level1/html/HTMLElement60.xml new file mode 100644 index 0000000..52c8d8c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement60.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="HTMLElement60">
+<metadata>
+<title>HTMLElement60</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement61.xml b/test/testcases/tests/level1/html/HTMLElement61.xml new file mode 100644 index 0000000..26b387e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement61.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="HTMLElement61">
+<metadata>
+<title>HTMLElement61</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement62.xml b/test/testcases/tests/level1/html/HTMLElement62.xml new file mode 100644 index 0000000..e535016 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement62.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="HTMLElement62">
+<metadata>
+<title>HTMLElement62</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement63.xml b/test/testcases/tests/level1/html/HTMLElement63.xml new file mode 100644 index 0000000..3a3d680 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement63.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="HTMLElement63">
+<metadata>
+<title>HTMLElement63</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement64.xml b/test/testcases/tests/level1/html/HTMLElement64.xml new file mode 100644 index 0000000..8d0278a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement64.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="HTMLElement64">
+<metadata>
+<title>HTMLElement64</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement65.xml b/test/testcases/tests/level1/html/HTMLElement65.xml new file mode 100644 index 0000000..980a814 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement65.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="HTMLElement65">
+<metadata>
+<title>HTMLElement65</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement66.xml b/test/testcases/tests/level1/html/HTMLElement66.xml new file mode 100644 index 0000000..408e257 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement66.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="HTMLElement66">
+<metadata>
+<title>HTMLElement66</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement67.xml b/test/testcases/tests/level1/html/HTMLElement67.xml new file mode 100644 index 0000000..8ec55b6 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement67.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="HTMLElement67">
+<metadata>
+<title>HTMLElement67</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement68.xml b/test/testcases/tests/level1/html/HTMLElement68.xml new file mode 100644 index 0000000..31c8fd1 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement68.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="HTMLElement68">
+<metadata>
+<title>HTMLElement68</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement69.xml b/test/testcases/tests/level1/html/HTMLElement69.xml new file mode 100644 index 0000000..4d91457 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement69.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="HTMLElement69">
+<metadata>
+<title>HTMLElement69</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement70.xml b/test/testcases/tests/level1/html/HTMLElement70.xml new file mode 100644 index 0000000..573b4e7 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement70.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="HTMLElement70">
+<metadata>
+<title>HTMLElement70</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement71.xml b/test/testcases/tests/level1/html/HTMLElement71.xml new file mode 100644 index 0000000..0f61aff --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement71.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="HTMLElement71">
+<metadata>
+<title>HTMLElement71</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement72.xml b/test/testcases/tests/level1/html/HTMLElement72.xml new file mode 100644 index 0000000..db51dfe --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement72.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="HTMLElement72">
+<metadata>
+<title>HTMLElement72</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement73.xml b/test/testcases/tests/level1/html/HTMLElement73.xml new file mode 100644 index 0000000..ae9cd94 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement73.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="HTMLElement73">
+<metadata>
+<title>HTMLElement73</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement74.xml b/test/testcases/tests/level1/html/HTMLElement74.xml new file mode 100644 index 0000000..4fc7aaf --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement74.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="HTMLElement74">
+<metadata>
+<title>HTMLElement74</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement75.xml b/test/testcases/tests/level1/html/HTMLElement75.xml new file mode 100644 index 0000000..57d72bd --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement75.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="HTMLElement75">
+<metadata>
+<title>HTMLElement75</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement76.xml b/test/testcases/tests/level1/html/HTMLElement76.xml new file mode 100644 index 0000000..c4deb69 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement76.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="HTMLElement76">
+<metadata>
+<title>HTMLElement76</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement77.xml b/test/testcases/tests/level1/html/HTMLElement77.xml new file mode 100644 index 0000000..93b4593 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement77.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="HTMLElement77">
+<metadata>
+<title>HTMLElement77</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement78.xml b/test/testcases/tests/level1/html/HTMLElement78.xml new file mode 100644 index 0000000..3c1f372 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement78.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="HTMLElement78">
+<metadata>
+<title>HTMLElement78</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement79.xml b/test/testcases/tests/level1/html/HTMLElement79.xml new file mode 100644 index 0000000..754be53 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement79.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="HTMLElement79">
+<metadata>
+<title>HTMLElement79</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement80.xml b/test/testcases/tests/level1/html/HTMLElement80.xml new file mode 100644 index 0000000..52c3c11 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement80.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="HTMLElement80">
+<metadata>
+<title>HTMLElement80</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement81.xml b/test/testcases/tests/level1/html/HTMLElement81.xml new file mode 100644 index 0000000..8fe8c7b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement81.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="HTMLElement81">
+<metadata>
+<title>HTMLElement81</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement82.xml b/test/testcases/tests/level1/html/HTMLElement82.xml new file mode 100644 index 0000000..083b5ca --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement82.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="HTMLElement82">
+<metadata>
+<title>HTMLElement82</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement83.xml b/test/testcases/tests/level1/html/HTMLElement83.xml new file mode 100644 index 0000000..7eb8d81 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement83.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="HTMLElement83">
+<metadata>
+<title>HTMLElement83</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement84.xml b/test/testcases/tests/level1/html/HTMLElement84.xml new file mode 100644 index 0000000..df253ec --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement84.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="HTMLElement84">
+<metadata>
+<title>HTMLElement84</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement85.xml b/test/testcases/tests/level1/html/HTMLElement85.xml new file mode 100644 index 0000000..a1c7ea1 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement85.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="HTMLElement85">
+<metadata>
+<title>HTMLElement85</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement86.xml b/test/testcases/tests/level1/html/HTMLElement86.xml new file mode 100644 index 0000000..ab6f721 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement86.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="HTMLElement86">
+<metadata>
+<title>HTMLElement86</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement87.xml b/test/testcases/tests/level1/html/HTMLElement87.xml new file mode 100644 index 0000000..2da523e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement87.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="HTMLElement87">
+<metadata>
+<title>HTMLElement87</title>
+<creator>NIST</creator>
+<description>
+ The lang attribute specifies the language code defined in RFC 1766.
+
+ Retrieve the lang 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-59132807"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlang" 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"/>
+<lang interface="HTMLElement" obj="testNode" var="vlang"/>
+<assertEquals actual="vlang" expected='"en"' id="langLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLElement88.xml b/test/testcases/tests/level1/html/HTMLElement88.xml new file mode 100644 index 0000000..eacdebc --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement88.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="HTMLElement88">
+<metadata>
+<title>HTMLElement88</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 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-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='"head"'/>
+<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/HTMLElement89.xml b/test/testcases/tests/level1/html/HTMLElement89.xml new file mode 100644 index 0000000..4e5b314 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement89.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="HTMLElement89">
+<metadata>
+<title>HTMLElement89</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 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-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='"sub"'/>
+<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/HTMLElement90.xml b/test/testcases/tests/level1/html/HTMLElement90.xml new file mode 100644 index 0000000..63aae58 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement90.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="HTMLElement90">
+<metadata>
+<title>HTMLElement90</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 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-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='"sup"'/>
+<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/HTMLElement91.xml b/test/testcases/tests/level1/html/HTMLElement91.xml new file mode 100644 index 0000000..6f80a9b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement91.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="HTMLElement91">
+<metadata>
+<title>HTMLElement91</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 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-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='"span"'/>
+<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/HTMLElement92.xml b/test/testcases/tests/level1/html/HTMLElement92.xml new file mode 100644 index 0000000..483b97f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement92.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="HTMLElement92">
+<metadata>
+<title>HTMLElement92</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 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-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='"bdo"'/>
+<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/HTMLElement93.xml b/test/testcases/tests/level1/html/HTMLElement93.xml new file mode 100644 index 0000000..c9b0dbc --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement93.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="HTMLElement93">
+<metadata>
+<title>HTMLElement93</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 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-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='"tt"'/>
+<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/HTMLElement94.xml b/test/testcases/tests/level1/html/HTMLElement94.xml new file mode 100644 index 0000000..f366f7b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement94.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="HTMLElement94">
+<metadata>
+<title>HTMLElement94</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 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-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='"i"'/>
+<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/HTMLElement95.xml b/test/testcases/tests/level1/html/HTMLElement95.xml new file mode 100644 index 0000000..ab7d2e3 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement95.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="HTMLElement95">
+<metadata>
+<title>HTMLElement95</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 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-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='"b"'/>
+<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/HTMLElement96.xml b/test/testcases/tests/level1/html/HTMLElement96.xml new file mode 100644 index 0000000..fdf8bb3 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement96.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="HTMLElement96">
+<metadata>
+<title>HTMLElement96</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 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-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='"u"'/>
+<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/HTMLElement97.xml b/test/testcases/tests/level1/html/HTMLElement97.xml new file mode 100644 index 0000000..753becc --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement97.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="HTMLElement97">
+<metadata>
+<title>HTMLElement97</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 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-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='"s"'/>
+<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/HTMLElement98.xml b/test/testcases/tests/level1/html/HTMLElement98.xml new file mode 100644 index 0000000..dc7b849 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement98.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="HTMLElement98">
+<metadata>
+<title>HTMLElement98</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 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-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='"strike"'/>
+<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/HTMLElement99.xml b/test/testcases/tests/level1/html/HTMLElement99.xml new file mode 100644 index 0000000..46de389 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLElement99.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="HTMLElement99">
+<metadata>
+<title>HTMLElement99</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 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-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='"big"'/>
+<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/HTMLFieldSetElement01.xml b/test/testcases/tests/level1/html/HTMLFieldSetElement01.xml new file mode 100644 index 0000000..b6c6e98 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFieldSetElement01.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="HTMLFieldSetElement01">
+<metadata>
+<title>HTMLFieldSetElement01</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-75392630"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vform" type="DOMString" />
+<var name="fNode" type="HTMLFormElement"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="fieldset" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"fieldset"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<form interface="HTMLFieldSetElement" 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/HTMLFieldSetElement02.xml b/test/testcases/tests/level1/html/HTMLFieldSetElement02.xml new file mode 100644 index 0000000..09d0877 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFieldSetElement02.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="HTMLFieldSetElement02">
+<metadata>
+<title>HTMLFieldSetElement02</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-75392630"/>
+</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="fieldset" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"fieldset"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<form interface="HTMLFieldSetElement" obj="testNode" var="vform"/>
+<assertNull actual="vform" id="formNullLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLFontElement01.xml b/test/testcases/tests/level1/html/HTMLFontElement01.xml new file mode 100644 index 0000000..48f0994 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFontElement01.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="HTMLFontElement01">
+<metadata>
+<title>HTMLFontElement01</title>
+<creator>NIST</creator>
+<description>
+ The color attribute specifies the 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-53532975"/>
+</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="font" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"font"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<color interface="HTMLFontElement" obj="testNode" var="vcolor"/>
+<assertEquals actual="vcolor" expected='"#000000"' id="colorLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLFontElement02.xml b/test/testcases/tests/level1/html/HTMLFontElement02.xml new file mode 100644 index 0000000..48e405e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFontElement02.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="HTMLFontElement02"> +<metadata> +<title>HTMLFontElement02</title> +<creator>NIST</creator> +<description> + The face attribute specifies the 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-55715655"/> +<subject resource="http://www.w3.org/TR/DOM-Level-2-HTML/html#HTML-HTMLFormElement-length"/> +</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="font" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"font"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<face interface="HTMLFontElement" obj="testNode" var="vface"/> +<assertEquals actual="vface" expected='"arial,helvetica"' id="faceLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLFontElement03.xml b/test/testcases/tests/level1/html/HTMLFontElement03.xml new file mode 100644 index 0000000..82ced1a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFontElement03.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="HTMLFontElement03">
+<metadata>
+<title>HTMLFontElement03</title>
+<creator>NIST</creator>
+<description>
+ The size attribute specifies the font's size.
+
+ Retrieve the size 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-90127284"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsize" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="font" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"font"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<size interface="HTMLFontElement" obj="testNode" var="vsize"/>
+<assertEquals actual="vsize" expected='"4"' id="sizeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLFormElement01.xml b/test/testcases/tests/level1/html/HTMLFormElement01.xml new file mode 100644 index 0000000..057fac5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFormElement01.xml @@ -0,0 +1,45 @@ +<?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="HTMLFormElement01">
+<metadata>
+<title>HTMLFormElement01</title>
+<creator>NIST</creator>
+<description>
+ The elements attribute specifies a collection of all control element
+ in the form.
+
+ Retrieve the elements 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-76728479"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="elementnodeList" type="HTMLCollection"/>
+<var name="testNode" type="Node"/>
+<var name="velements" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="form" 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="elementnodeList"/>
+<length interface="HTMLCollection" obj="elementnodeList" var="velements"/>
+<assertEquals actual="velements" expected="3" id="elementsLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLFormElement02.xml b/test/testcases/tests/level1/html/HTMLFormElement02.xml new file mode 100644 index 0000000..06abf8d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFormElement02.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="HTMLFormElement02"> +<metadata> +<title>HTMLFormElement02</title> +<creator>NIST</creator> +<description> + The length attribute specifies the number of form controls + in the form. + + Retrieve the length 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-40002357"/> +<subject resource="http://www.w3.org/TR/DOM-Level-2-HTML/html#HTML-HTMLFormElement-length"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vlength" type="int"/> +<var name="doc" type="Document"/> +<load var="doc" href="form" 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"/> +<length interface="HTMLFormElement" obj="testNode" var="vlength"/> +<assertEquals actual="vlength" expected="3" id="lengthLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLFormElement03.xml b/test/testcases/tests/level1/html/HTMLFormElement03.xml new file mode 100644 index 0000000..50332f9 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFormElement03.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="HTMLFormElement03">
+<metadata>
+<title>HTMLFormElement03</title>
+<creator>NIST</creator>
+<description>
+ The id(name) attribute specifies the name of the form.
+
+ Retrieve the id 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-22051454"/>
+</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="form" 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"/>
+<id obj="testNode" var="vname"/>
+<assertEquals actual="vname" expected='"form1"' id="nameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLFormElement04.xml b/test/testcases/tests/level1/html/HTMLFormElement04.xml new file mode 100644 index 0000000..4077e36 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFormElement04.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="HTMLFormElement04">
+<metadata>
+<title>HTMLFormElement04</title>
+<creator>NIST</creator>
+<description>
+ The acceptCharset attribute specifies the list of character sets
+ supported by the server.
+
+ Retrieve the acceptCharset 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-19661795"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vacceptcharset" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="form" 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"/>
+<acceptCharset interface="HTMLFormElement" obj="testNode" var="vacceptcharset"/>
+<assertEquals actual="vacceptcharset" expected='"US-ASCII"' id="acceptCharsetLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLFormElement05.xml b/test/testcases/tests/level1/html/HTMLFormElement05.xml new file mode 100644 index 0000000..54a3436 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFormElement05.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="HTMLFormElement05">
+<metadata>
+<title>HTMLFormElement05</title>
+<creator>NIST</creator>
+<description>
+ The action attribute specifies the server-side form handler.
+
+ Retrieve the action 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-74049184"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vaction" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="form" 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"/>
+<action interface="HTMLFormElement" obj="testNode" var="vaction"/>
+<assertURIEquals actual="vaction" file='"getData.pl"' id="actionLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLFormElement06.xml b/test/testcases/tests/level1/html/HTMLFormElement06.xml new file mode 100644 index 0000000..fb1ca95 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFormElement06.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="HTMLFormElement06">
+<metadata>
+<title>HTMLFormElement06</title>
+<creator>NIST</creator>
+<description>
+ The enctype attribute specifies the content of the submitted form.
+
+ Retrieve the enctype 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-84227810"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="venctype" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="form" 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"/>
+<enctype interface="HTMLFormElement" obj="testNode" var="venctype"/>
+<assertEquals actual="venctype" expected='"application/x-www-form-urlencoded"' id="enctypeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLFormElement07.xml b/test/testcases/tests/level1/html/HTMLFormElement07.xml new file mode 100644 index 0000000..897b63d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFormElement07.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="HTMLFormElement07">
+<metadata>
+<title>HTMLFormElement07</title>
+<creator>NIST</creator>
+<description>
+ The method attribute specifies the HTTP method used to submit the form.
+
+ Retrieve the method 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-82545539"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vmethod" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="form" 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"/>
+<method interface="HTMLFormElement" obj="testNode" var="vmethod"/>
+<assertEquals actual="vmethod" expected='"post"' id="methodLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLFormElement08.xml b/test/testcases/tests/level1/html/HTMLFormElement08.xml new file mode 100644 index 0000000..1a691cb --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFormElement08.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="HTMLFormElement08"> +<metadata> +<title>HTMLFormElement08</title> +<creator>NIST</creator> +<description> + The target attribute 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-6512890"/> +</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="form2" 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"/> +<target interface="HTMLFormElement" obj="testNode" var="vtarget"/> +<assertEquals actual="vtarget" expected='"dynamic"' id="targetLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLFormElement09.xml b/test/testcases/tests/level1/html/HTMLFormElement09.xml new file mode 100644 index 0000000..4f552d6 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFormElement09.xml @@ -0,0 +1,37 @@ +<?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="HTMLFormElement09"> +<metadata> +<title>HTMLFormElement09</title> +<creator>Curt Arnold</creator> +<description> +HTMLFormElement.reset restores the forms default values. +</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-76767677"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<load var="doc" href="form2" willBeModified="true"/> +<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"/> +<reset interface="HTMLFormElement" obj="testNode"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLFormElement10.xml b/test/testcases/tests/level1/html/HTMLFormElement10.xml new file mode 100644 index 0000000..8d1f3b4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFormElement10.xml @@ -0,0 +1,37 @@ +<?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="HTMLFormElement10"> +<metadata> +<title>HTMLFormElement10</title> +<creator>Curt Arnold</creator> +<description> +HTMLFormElement.submit submits the form. +</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-76767676"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<load var="doc" href="form3" willBeModified="true"/> +<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"/> +<submit interface="HTMLFormElement" obj="testNode"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLFrameElement01.xml b/test/testcases/tests/level1/html/HTMLFrameElement01.xml new file mode 100644 index 0000000..e74ef5e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFrameElement01.xml @@ -0,0 +1,45 @@ +<?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="HTMLFrameElement01"> +<metadata> +<title>HTMLFrameElement01</title> +<creator>NIST</creator> +<description> + The frameBorder attribute specifies the request for frame borders. + (frameBorder=1 A border is drawn) + (FrameBorder=0 A border is not drawn) + + Retrieve the frameBorder attribute of the first FRAME element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-11858633"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vframeborder" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="frame" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"frame"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<frameBorder interface="HTMLFrameElement" obj="testNode" var="vframeborder"/> +<assertEquals actual="vframeborder" expected='"1"' id="frameborderLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLFrameElement02.xml b/test/testcases/tests/level1/html/HTMLFrameElement02.xml new file mode 100644 index 0000000..e6197e7 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFrameElement02.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-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="HTMLFrameElement02"> +<metadata> +<title>HTMLFrameElement02</title> +<creator>NIST</creator> +<description> + The longDesc attribute specifies a URI designating a long description + of this image or frame. + + Retrieve the longDesc attribute of the first FRAME element and examine + its value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-7836998"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vlongdesc" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="frame" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"frame"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<longDesc interface="HTMLFrameElement" obj="testNode" var="vlongdesc"/> +<assertEquals actual="vlongdesc" expected='"about:blank"' ignoreCase="false" id="longdescLink"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLFrameElement03.xml b/test/testcases/tests/level1/html/HTMLFrameElement03.xml new file mode 100644 index 0000000..601ad32 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFrameElement03.xml @@ -0,0 +1,43 @@ +<?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="HTMLFrameElement03"> +<metadata> +<title>HTMLFrameElement03</title> +<creator>NIST</creator> +<description> + The marginHeight attribute specifies the frame margin height, in pixels. + + Retrieve the marginHeight attribute of the first FRAME element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-55569778"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vmarginheight" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="frame" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"frame"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<marginHeight interface="HTMLFrameElement" obj="testNode" var="vmarginheight"/> +<assertEquals actual="vmarginheight" expected='"10"' id="marginheightLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLFrameElement04.xml b/test/testcases/tests/level1/html/HTMLFrameElement04.xml new file mode 100644 index 0000000..85a6b3e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFrameElement04.xml @@ -0,0 +1,43 @@ +<?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="HTMLFrameElement04"> +<metadata> +<title>HTMLFrameElement04</title> +<creator>NIST</creator> +<description> + The marginWidth attribute specifies the frame margin width, in pixels. + + Retrieve the marginWidth attribute of the first FRAME element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-8369969"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vmarginwidth" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="frame" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"frame"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<marginWidth interface="HTMLFrameElement" obj="testNode" var="vmarginwidth"/> +<assertEquals actual="vmarginwidth" expected='"5"' id="marginwidthLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLFrameElement05.xml b/test/testcases/tests/level1/html/HTMLFrameElement05.xml new file mode 100644 index 0000000..8df7700 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFrameElement05.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="HTMLFrameElement05"> +<metadata> +<title>HTMLFrameElement05</title> +<creator>NIST</creator> +<description> + The name attribute specifies the frame name(object of the target + attribute). + + Retrieve the name attribute of the first FRAME element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-91128709"/> +</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="frame" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"frame"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<name interface="HTMLFrameElement" obj="testNode" var="vname"/> +<assertEquals actual="vname" expected='"Frame1"' id="nameLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLFrameElement06.xml b/test/testcases/tests/level1/html/HTMLFrameElement06.xml new file mode 100644 index 0000000..43f46e1 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFrameElement06.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="HTMLFrameElement06"> +<metadata> +<title>HTMLFrameElement06</title> +<creator>NIST</creator> +<description> + The noResize attribute specifies if the user can resize the frame. When + true, forbid user from resizing frame. + + Retrieve the noResize attribute of the first FRAME element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-80766578"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vnoresize" type="boolean" /> +<var name="doc" type="Document"/> +<load var="doc" href="frame" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"frame"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<noResize interface="HTMLFrameElement" obj="testNode" var="vnoresize"/> +<assertTrue actual="vnoresize" id="noresizeLink"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLFrameElement07.xml b/test/testcases/tests/level1/html/HTMLFrameElement07.xml new file mode 100644 index 0000000..a7fdea4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFrameElement07.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="HTMLFrameElement07"> +<metadata> +<title>HTMLFrameElement07</title> +<creator>NIST</creator> +<description> + The scrolling attribute specifies whether or not the frame should have + scrollbars. + + Retrieve the scrolling attribute of the first FRAME element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-45411424"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vscrolling" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="frame" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"frame"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<scrolling interface="HTMLFrameElement" obj="testNode" var="vscrolling"/> +<assertEquals actual="vscrolling" expected='"yes"' id="scrollingLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLFrameElement08.xml b/test/testcases/tests/level1/html/HTMLFrameElement08.xml new file mode 100644 index 0000000..4b2843a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFrameElement08.xml @@ -0,0 +1,43 @@ +<?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="HTMLFrameElement08"> +<metadata> +<title>HTMLFrameElement08</title> +<creator>NIST</creator> +<description> + The src attribute specifies a URI designating the initial frame contents. + + Retrieve the src attribute of the first FRAME element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-78799535"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsrc" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="frame" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"frame"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<src interface="HTMLFrameElement" obj="testNode" var="vsrc"/> +<assertURIEquals actual="vsrc" name='"right"' id="srcLink"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLFrameSetElement01.xml b/test/testcases/tests/level1/html/HTMLFrameSetElement01.xml new file mode 100644 index 0000000..18e5ff5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFrameSetElement01.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="HTMLFrameSetElement01"> +<metadata> +<title>HTMLFrameSetElement01</title> +<creator>NIST</creator> +<description> + The cols attribute specifies the number of columns of frames in the + frameset. + + Retrieve the cols attribute of the first FRAMESET element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-98869594"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vcols" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="frameset" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"frameset"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<cols interface="HTMLFrameSetElement" obj="testNode" var="vcols"/> +<assertEquals actual="vcols" expected='"20, 80"' id="colsLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLFrameSetElement02.xml b/test/testcases/tests/level1/html/HTMLFrameSetElement02.xml new file mode 100644 index 0000000..e598cef --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLFrameSetElement02.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="HTMLFrameSetElement02"> +<metadata> +<title>HTMLFrameSetElement02</title> +<creator>NIST</creator> +<description> + The rows attribute specifies the number of rows of frames in the + frameset. + + Retrieve the rows attribute of the second FRAMESET element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-19739247"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vrows" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="frameset" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"frameset"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<rows interface="HTMLFrameSetElement" obj="testNode" var="vrows"/> +<assertEquals actual="vrows" expected='"100, 200"' id="rowsLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLHRElement01.xml b/test/testcases/tests/level1/html/HTMLHRElement01.xml new file mode 100644 index 0000000..c074605 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLHRElement01.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="HTMLHRElement01">
+<metadata>
+<title>HTMLHRElement01</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the rule alignment on the page.
+
+ 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-15235012"/>
+</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="hr" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"hr"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLHRElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLHRElement02.xml b/test/testcases/tests/level1/html/HTMLHRElement02.xml new file mode 100644 index 0000000..37f1293 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLHRElement02.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="HTMLHRElement02">
+<metadata>
+<title>HTMLHRElement02</title>
+<creator>NIST</creator>
+<description>
+ The noShade attribute specifies that the rule should be drawn as
+ a solid color.
+
+ Retrieve the noShade 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-79813978"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vnoshade" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="hr" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"hr"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<noShade interface="HTMLHRElement" obj="testNode" var="vnoshade"/>
+<assertTrue actual="vnoshade" id="noShadeLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLHRElement03.xml b/test/testcases/tests/level1/html/HTMLHRElement03.xml new file mode 100644 index 0000000..03ddebc --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLHRElement03.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="HTMLHRElement03">
+<metadata>
+<title>HTMLHRElement03</title>
+<creator>NIST</creator>
+<description>
+ The size attribute specifies the height of the rule.
+
+ Retrieve the size 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-77612587"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsize" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="hr" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"hr"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<size interface="HTMLHRElement" obj="testNode" var="vsize"/>
+<assertEquals actual="vsize" expected='"5"' id="sizeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLHRElement04.xml b/test/testcases/tests/level1/html/HTMLHRElement04.xml new file mode 100644 index 0000000..2090d14 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLHRElement04.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="HTMLHRElement04">
+<metadata>
+<title>HTMLHRElement04</title>
+<creator>NIST</creator>
+<description>
+ The width attribute specifies the width of the rule.
+
+ 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-87744198"/>
+</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="hr" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"hr"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<width interface="HTMLHRElement" obj="testNode" var="vwidth"/>
+<assertEquals actual="vwidth" expected='"400"' id="widthLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLHeadElement01.xml b/test/testcases/tests/level1/html/HTMLHeadElement01.xml new file mode 100644 index 0000000..a0fd82b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLHeadElement01.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="HTMLHeadElement01">
+<metadata>
+<title>HTMLHeadElement01</title>
+<creator>NIST</creator>
+<description>
+ The profile attribute specifies a URI designating a metadata profile.
+
+ Retrieve the profile 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-96921909"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vprofile" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="head" 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"/>
+<profile interface="HTMLHeadElement" obj="testNode" var="vprofile"/>
+<assertURIEquals actual="vprofile" file='"profile"' id="profileLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLHeadingElement01.xml b/test/testcases/tests/level1/html/HTMLHeadingElement01.xml new file mode 100644 index 0000000..3f8b9fa --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLHeadingElement01.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="HTMLHeadingElement01">
+<metadata>
+<title>HTMLHeadingElement01</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the horizontal text alignment(H1).
+
+ 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-6796462"/>
+</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="heading" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"h1"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLHeadingElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLHeadingElement02.xml b/test/testcases/tests/level1/html/HTMLHeadingElement02.xml new file mode 100644 index 0000000..e74b428 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLHeadingElement02.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="HTMLHeadingElement02">
+<metadata>
+<title>HTMLHeadingElement02</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the horizontal text alignment(H2).
+
+ 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-6796462"/>
+</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="heading" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"h2"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLHeadingElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"left"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLHeadingElement03.xml b/test/testcases/tests/level1/html/HTMLHeadingElement03.xml new file mode 100644 index 0000000..a03702b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLHeadingElement03.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="HTMLHeadingElement03">
+<metadata>
+<title>HTMLHeadingElement03</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the horizontal text alignment(H3).
+
+ 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-6796462"/>
+</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="heading" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"h3"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLHeadingElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"right"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLHeadingElement04.xml b/test/testcases/tests/level1/html/HTMLHeadingElement04.xml new file mode 100644 index 0000000..9e16866 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLHeadingElement04.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="HTMLHeadingElement04">
+<metadata>
+<title>HTMLHeadingElement04</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the horizontal text alignment(H4).
+
+ 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-6796462"/>
+</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="heading" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"h4"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLHeadingElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"justify"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLHeadingElement05.xml b/test/testcases/tests/level1/html/HTMLHeadingElement05.xml new file mode 100644 index 0000000..e732f74 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLHeadingElement05.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="HTMLHeadingElement05">
+<metadata>
+<title>HTMLHeadingElement05</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the horizontal text alignment(H5).
+
+ 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-6796462"/>
+</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="heading" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"h5"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLHeadingElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLHeadingElement06.xml b/test/testcases/tests/level1/html/HTMLHeadingElement06.xml new file mode 100644 index 0000000..3853483 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLHeadingElement06.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="HTMLHeadingElement06">
+<metadata>
+<title>HTMLHeadingElement06</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the horizontal text alignment(H6).
+
+ 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-6796462"/>
+</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="heading" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"h6"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLHeadingElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"left"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLHtmlElement01.xml b/test/testcases/tests/level1/html/HTMLHtmlElement01.xml new file mode 100644 index 0000000..1ad206a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLHtmlElement01.xml @@ -0,0 +1,47 @@ +<?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="HTMLHtmlElement01"> +<metadata> +<title>HTMLHtmlElement01</title> +<creator>NIST</creator> +<description> + The version attribute specifies version information about the document's + DTD. + + Retrieve the version attribute and examine its value. + + Test is only applicable to HTML, version attribute is not supported in XHTML. +</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-9383775"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vversion" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="html" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"html"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<version interface="HTMLHtmlElement" obj="testNode" var="vversion"/> +<if><contentType type="text/html"/> + <assertEquals actual="vversion" expected='"-//W3C//DTD HTML 4.01 Transitional//EN"' id="versionLink" ignoreCase="false"/> +</if> +</test> diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement01.xml b/test/testcases/tests/level1/html/HTMLIFrameElement01.xml new file mode 100644 index 0000000..1280955 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement01.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="HTMLIFrameElement01"> +<metadata> +<title>HTMLIFrameElement01</title> +<creator>NIST</creator> +<description> + The align attribute aligns this object(vertically or horizontally with + respect to its surrounding text. + + Retrieve the align attribute of the first IFRAME element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-11309947"/> +</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="iframe" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"iframe"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<align interface="HTMLIFrameElement" obj="testNode" var="valign"/> +<assertEquals actual="valign" expected='"top"' id="alignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement02.xml b/test/testcases/tests/level1/html/HTMLIFrameElement02.xml new file mode 100644 index 0000000..c815c67 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement02.xml @@ -0,0 +1,45 @@ +<?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="HTMLIFrameElement02"> +<metadata> +<title>HTMLIFrameElement02</title> +<creator>NIST</creator> +<description> + The frameBorder attribute specifies the request for frame borders. + (frameBorder=1 A border is drawn) + (FrameBorder=0 A border is not drawn) + + Retrieve the frameBorder attribute of the first IFRAME element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-22463410"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vframeborder" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="iframe" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"iframe"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<frameBorder interface="HTMLIFrameElement" obj="testNode" var="vframeborder"/> +<assertEquals actual="vframeborder" expected='"1"' id="frameborderLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement03.xml b/test/testcases/tests/level1/html/HTMLIFrameElement03.xml new file mode 100644 index 0000000..3842aa3 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement03.xml @@ -0,0 +1,43 @@ +<?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="HTMLIFrameElement03"> +<metadata> +<title>HTMLIFrameElement03</title> +<creator>NIST</creator> +<description> + The height attribute specifies the frame height. + + Retrieve the height attribute of the first IFRAME element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-1678118"/> +</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="iframe" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"iframe"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<height interface="HTMLIFrameElement" obj="testNode" var="vheight"/> +<assertEquals actual="vheight" expected='"50"' id="heightLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement04.xml b/test/testcases/tests/level1/html/HTMLIFrameElement04.xml new file mode 100644 index 0000000..65535fd --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement04.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-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="HTMLIFrameElement04"> +<metadata> +<title>HTMLIFrameElement04</title> +<creator>NIST</creator> +<description> + The longDesc attribute specifies a URI designating a long description + of this image or frame. + + Retrieve the longDesc attribute of the first IFRAME element and examine + its value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-70472105"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vlongdesc" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="iframe" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"iframe"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<longDesc interface="HTMLIFrameElement" obj="testNode" var="vlongdesc"/> +<assertEquals actual="vlongdesc" expected='"about:blank"' ignoreCase="false" id="longdescLink"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement05.xml b/test/testcases/tests/level1/html/HTMLIFrameElement05.xml new file mode 100644 index 0000000..5ba9855 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement05.xml @@ -0,0 +1,43 @@ +<?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="HTMLIFrameElement05"> +<metadata> +<title>HTMLIFrameElement05</title> +<creator>NIST</creator> +<description> + The marginWidth attribute specifies the frame margin width, in pixels. + + Retrieve the marginWidth attribute of the first FRAME element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-66486595"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vmarginwidth" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="iframe" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"iframe"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<marginWidth interface="HTMLIFrameElement" obj="testNode" var="vmarginwidth"/> +<assertEquals actual="vmarginwidth" expected='"5"' id="marginwidthLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement06.xml b/test/testcases/tests/level1/html/HTMLIFrameElement06.xml new file mode 100644 index 0000000..85654d7 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement06.xml @@ -0,0 +1,43 @@ +<?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="HTMLIFrameElement06"> +<metadata> +<title>HTMLIFrameElement06</title> +<creator>NIST</creator> +<description> + The marginHeight attribute specifies the frame margin height, in pixels. + + Retrieve the marginHeight attribute of the first IFRAME element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-91371294"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vmarginheight" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="iframe" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"iframe"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<marginHeight interface="HTMLIFrameElement" obj="testNode" var="vmarginheight"/> +<assertEquals actual="vmarginheight" expected='"10"' id="marginheightLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement07.xml b/test/testcases/tests/level1/html/HTMLIFrameElement07.xml new file mode 100644 index 0000000..8143aa5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement07.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="HTMLIFrameElement07"> +<metadata> +<title>HTMLIFrameElement07</title> +<creator>NIST</creator> +<description> + The name attribute specifies the frame name(object of the target + attribute). + + Retrieve the name attribute of the first IFRAME element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-96819659"/> +</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="iframe" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"iframe"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<name interface="HTMLIFrameElement" obj="testNode" var="vname"/> +<assertEquals actual="vname" expected='"Iframe1"' id="nameLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement08.xml b/test/testcases/tests/level1/html/HTMLIFrameElement08.xml new file mode 100644 index 0000000..729c1a9 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement08.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="HTMLIFrameElement08"> +<metadata> +<title>HTMLIFrameElement08</title> +<creator>NIST</creator> +<description> + The scrolling attribute specifies whether or not the frame should have + scrollbars. + + Retrieve the scrolling attribute of the first FRAME element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-36369822"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vscrolling" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="iframe" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"iframe"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<scrolling interface="HTMLIFrameElement" obj="testNode" var="vscrolling"/> +<assertEquals actual="vscrolling" expected='"yes"' id="scrollingLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement09.xml b/test/testcases/tests/level1/html/HTMLIFrameElement09.xml new file mode 100644 index 0000000..e9cc84b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement09.xml @@ -0,0 +1,43 @@ +<?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="HTMLIFrameElement09"> +<metadata> +<title>HTMLIFrameElement09</title> +<creator>NIST</creator> +<description> + The src attribute specifies a URI designating the initial frame contents. + + Retrieve the src attribute of the first FRAME element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-43933957"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsrc" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="iframe" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"iframe"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<src interface="HTMLIFrameElement" obj="testNode" var="vsrc"/> +<assertURIEquals actual="vsrc" name='"right"' id="srcLink"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement10.xml b/test/testcases/tests/level1/html/HTMLIFrameElement10.xml new file mode 100644 index 0000000..7278bb4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement10.xml @@ -0,0 +1,43 @@ +<?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="HTMLIFrameElement10"> +<metadata> +<title>HTMLIFrameElement10</title> +<creator>NIST</creator> +<description> + The width attribute specifies the frame width. + + Retrieve the width attribute of the first IFRAME element and examine + it's value. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-67133005"/> +</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="iframe" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"iframe"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<width interface="HTMLIFrameElement" obj="testNode" var="vwidth"/> +<assertEquals actual="vwidth" expected='"60"' id="widthLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLImageElement01.xml b/test/testcases/tests/level1/html/HTMLImageElement01.xml new file mode 100644 index 0000000..ca61559 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLImageElement01.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="HTMLImageElement01">
+<metadata>
+<title>HTMLImageElement01</title>
+<creator>NIST</creator>
+<description>
+ The name attribute specifies the name of the element.
+
+ 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-47534097"/>
+</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="img" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"img"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<name interface="HTMLImageElement" obj="testNode" var="vname"/>
+<assertEquals actual="vname" expected='"IMAGE-1"' id="nameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLImageElement02.xml b/test/testcases/tests/level1/html/HTMLImageElement02.xml new file mode 100644 index 0000000..f314888 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLImageElement02.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="HTMLImageElement02">
+<metadata>
+<title>HTMLImageElement02</title>
+<creator>NIST</creator>
+<description>
+ The align attribute aligns this object 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-3211094"/>
+</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="img" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"img"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLImageElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"middle"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLImageElement03.xml b/test/testcases/tests/level1/html/HTMLImageElement03.xml new file mode 100644 index 0000000..75716f9 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLImageElement03.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="HTMLImageElement03">
+<metadata>
+<title>HTMLImageElement03</title>
+<creator>NIST</creator>
+<description>
+ The alt attribute specifies an alternative text for user agenst 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-95636861"/>
+</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="img" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"img"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<alt interface="HTMLImageElement" obj="testNode" var="valt"/>
+<assertEquals actual="valt" expected='"DTS IMAGE LOGO"' id="altLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLImageElement04.xml b/test/testcases/tests/level1/html/HTMLImageElement04.xml new file mode 100644 index 0000000..80a30b0 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLImageElement04.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="HTMLImageElement04">
+<metadata>
+<title>HTMLImageElement04</title>
+<creator>NIST</creator>
+<description>
+ The border attribute specifies the width of the border around the image.
+
+ Retrieve the border 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-136671"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vborder" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="img" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"img"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<border interface="HTMLImageElement" obj="testNode" var="vborder"/>
+<assertEquals actual="vborder" expected='"0"' id="borderLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLImageElement05.xml b/test/testcases/tests/level1/html/HTMLImageElement05.xml new file mode 100644 index 0000000..169b5ff --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLImageElement05.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="HTMLImageElement05"> +<metadata> +<title>HTMLImageElement05</title> +<creator>NIST</creator> +<description> + The height attribute overrides the natural "height" of the image. Retrieve the height 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-91561496"/> +<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="vheight" type="DOMString" /> +<var name="doc" type="Document"/> +<var name="domImpl" type="DOMImplementation"/> +<var name="hasHTML2" type="boolean"/> +<load var="doc" href="img" 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='"img"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<height interface="HTMLImageElement" obj="testNode" var="vheight"/> +<assertEquals actual="vheight" expected='"47"' id="heightLink" ignoreCase="false"/> +</if> +</test> diff --git a/test/testcases/tests/level1/html/HTMLImageElement06.xml b/test/testcases/tests/level1/html/HTMLImageElement06.xml new file mode 100644 index 0000000..f95cef7 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLImageElement06.xml @@ -0,0 +1,52 @@ +<?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="HTMLImageElement06"> +<metadata> +<title>HTMLImageElement06</title> +<creator>NIST</creator> +<description> + The hspace attribute specifies the horizontal space to the left and + right of this image. + + 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-53675471"/> +<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="img" 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='"img"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<hspace interface="HTMLImageElement" obj="testNode" var="vhspace"/> +<assertEquals actual="vhspace" expected='"4"' id="hspaceLink" ignoreCase="false"/> +</if> +</test> diff --git a/test/testcases/tests/level1/html/HTMLImageElement07.xml b/test/testcases/tests/level1/html/HTMLImageElement07.xml new file mode 100644 index 0000000..faca09e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLImageElement07.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="HTMLImageElement07">
+<metadata>
+<title>HTMLImageElement07</title>
+<creator>NIST</creator>
+<description>
+ The isMap attribute indicates the use of server-side image map.
+
+ Retrieve the isMap 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-58983880"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vismap" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="img" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"img"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<isMap interface="HTMLImageElement" obj="testNode" var="vismap"/>
+<assertFalse actual="vismap" id="isMapLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLImageElement08.xml b/test/testcases/tests/level1/html/HTMLImageElement08.xml new file mode 100644 index 0000000..e7bedbf --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLImageElement08.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="HTMLImageElement08">
+<metadata>
+<title>HTMLImageElement08</title>
+<creator>NIST</creator>
+<description>
+ The longDesc attribute contains an URI designating a long description
+ of this image or frame.
+
+ Retrieve the longDesc 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-77376969"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlongdesc" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="img" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"img"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<longDesc interface="HTMLImageElement" obj="testNode" var="vlongdesc"/>
+<assertURIEquals actual="vlongdesc" file='"desc.html"' id="longDescLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLImageElement09.xml b/test/testcases/tests/level1/html/HTMLImageElement09.xml new file mode 100644 index 0000000..6d0f584 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLImageElement09.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="HTMLImageElement09">
+<metadata>
+<title>HTMLImageElement09</title>
+<creator>NIST</creator>
+<description>
+ The src attribute contains an URI designating the source of this image.
+
+ Retrieve the src 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-87762984"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsrc" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="img" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"img"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<src interface="HTMLImageElement" obj="testNode" var="vsrc"/>
+<assertURIEquals actual="vsrc" file='"dts.gif"' id="srcLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLImageElement10.xml b/test/testcases/tests/level1/html/HTMLImageElement10.xml new file mode 100644 index 0000000..3c13080 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLImageElement10.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="HTMLImageElement10">
+<metadata>
+<title>HTMLImageElement10</title>
+<creator>NIST</creator>
+<description>
+ The useMap attribute specifies to use the client-side image map.
+
+ Retrieve the useMap 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-35981181"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vusemap" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="img" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"img"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<useMap interface="HTMLImageElement" obj="testNode" var="vusemap"/>
+<assertEquals actual="vusemap" expected='"#DTS-MAP"' id="useMapLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLImageElement11.xml b/test/testcases/tests/level1/html/HTMLImageElement11.xml new file mode 100644 index 0000000..bd3940e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLImageElement11.xml @@ -0,0 +1,52 @@ +<?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="HTMLImageElement11"> +<metadata> +<title>HTMLImageElement11</title> +<creator>NIST</creator> +<description> + The vspace attribute specifies the vertical space above and below this + image. + + 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-85374897"/> +<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="img" 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='"img"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<vspace interface="HTMLImageElement" obj="testNode" var="vvspace"/> +<assertEquals actual="vvspace" expected='"10"' id="vspaceLink" ignoreCase="false"/> +</if> +</test> diff --git a/test/testcases/tests/level1/html/HTMLImageElement12.xml b/test/testcases/tests/level1/html/HTMLImageElement12.xml new file mode 100644 index 0000000..05dd9de --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLImageElement12.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="HTMLImageElement12"> +<metadata> +<title>HTMLImageElement12</title> +<creator>NIST</creator> +<description> + The width attribute overrides the natural "width" of the image. + + Retrieve the width 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-13839076"/> +<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="vwidth" type="DOMString" /> +<var name="doc" type="Document"/> +<var name="domImpl" type="DOMImplementation"/> +<var name="hasHTML2" type="boolean"/> +<load var="doc" href="img" 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='"img"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<width interface="HTMLImageElement" obj="testNode" var="vwidth"/> +<assertEquals actual="vwidth" expected='"115"' id="widthLink" ignoreCase="false"/> +</if> +</test> diff --git a/test/testcases/tests/level1/html/HTMLImageElement14.xml b/test/testcases/tests/level1/html/HTMLImageElement14.xml new file mode 100644 index 0000000..3edc980 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLImageElement14.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="HTMLImageElement14"> +<metadata> +<title>HTMLImageElement14</title> +<creator>NIST</creator> +<description> +The lowSrc attribute specifies an URI designating a long description of +this image or frame. + +Retrieve the lowSrc attribute of the first IMG element and examine +its value. Should be "" since lowSrc is not a valid attribute for IMG. +</description> +<contributor>Rick Rivello</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-91256910"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vlow" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="img" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"img"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<lowSrc interface="HTMLImageElement" obj="testNode" var="vlow"/> +<assertEquals actual="vlow" expected='""' id="lowLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLInputElement01.xml b/test/testcases/tests/level1/html/HTMLInputElement01.xml new file mode 100644 index 0000000..67df3ec --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement01.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="HTMLInputElement01">
+<metadata>
+<title>HTMLInputElement01</title>
+<creator>NIST</creator>
+<description>
+ The defaultValue attribute represents the HTML value of the attribute
+ when the type attribute has the value of "Text", "File" or "Password".
+
+ Retrieve the defaultValue attribute of the 1st INPUT element and examine
+ its value.
+</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-26091157"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdefaultvalue" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="input" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/>
+<assertSize collection="nodeList" size="9" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<defaultValue interface="HTMLInputElement" obj="testNode" var="vdefaultvalue"/>
+<assertEquals actual="vdefaultvalue" expected='"Password"' id="defaultValueLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLInputElement02.xml b/test/testcases/tests/level1/html/HTMLInputElement02.xml new file mode 100644 index 0000000..127337c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement02.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="HTMLInputElement02">
+<metadata>
+<title>HTMLInputElement02</title>
+<creator>NIST</creator>
+<description>
+ The defaultChecked attribute represents the HTML checked attribute of
+ the element when the type attribute has the value checkbox or radio.
+
+ Retrieve the defaultValue attribute of the 4th INPUT element and
+ examine its value.
+</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-20509171"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdefaultchecked" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="input" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/>
+<assertSize collection="nodeList" size="9" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="3"/>
+<defaultChecked interface="HTMLInputElement" obj="testNode" var="vdefaultchecked"/>
+<assertTrue actual="vdefaultchecked" id="defaultCheckedLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLInputElement03.xml b/test/testcases/tests/level1/html/HTMLInputElement03.xml new file mode 100644 index 0000000..93c994f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement03.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="HTMLInputElement03">
+<metadata>
+<title>HTMLInputElement03</title>
+<creator>NIST</creator>
+<description>
+ The form attribute returns the FORM element containing this control.
+
+ Retrieve the form attribute of the 1st INPUT 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-63239895"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vform" type="DOMString" />
+<var name="fNode" type="HTMLFormElement"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="input" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/>
+<assertSize collection="nodeList" size="9" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<form interface="HTMLInputElement" obj="testNode" var="fNode"/>
+<id obj="fNode" var="vform"/>
+<assertEquals actual="vform" expected='"form1"' id="formLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLInputElement04.xml b/test/testcases/tests/level1/html/HTMLInputElement04.xml new file mode 100644 index 0000000..58adad5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement04.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="HTMLInputElement04">
+<metadata>
+<title>HTMLInputElement04</title>
+<creator>NIST</creator>
+<description>
+ The accept attribute is a comma-seperated list of content types that
+ a server processing this form will handle correctly.
+
+ Retrieve the accept attribute of the 9th INPUT element and examine
+ its value.
+</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-15328520"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vaccept" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="input" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/>
+<assertSize collection="nodeList" size="9" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="8"/>
+<accept interface="HTMLInputElement" obj="testNode" var="vaccept"/>
+<assertEquals actual="vaccept" expected='"GIF,JPEG"' id="acceptLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLInputElement05.xml b/test/testcases/tests/level1/html/HTMLInputElement05.xml new file mode 100644 index 0000000..c5d8351 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement05.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="HTMLInputElement05">
+<metadata>
+<title>HTMLInputElement05</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 of the 2nd INPUT 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-59914154"/>
+</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="input" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/>
+<assertSize collection="nodeList" size="9" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<accessKey interface="HTMLInputElement" obj="testNode" var="vaccesskey"/>
+<assertEquals actual="vaccesskey" expected='"c"' id="accesskeyLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLInputElement06.xml b/test/testcases/tests/level1/html/HTMLInputElement06.xml new file mode 100644 index 0000000..6dc9d11 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement06.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="HTMLInputElement06"> +<metadata> +<title>HTMLInputElement06</title> +<creator>NIST</creator> +<description> + The align attribute aligns this object(vertically or horizontally) + with respect to the surrounding text. + + Retrieve the align attribute of the 4th INPUT element and examine + its value. +</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-96991182"/> +</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="input" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/> +<assertSize collection="nodeList" size="9" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="3"/> +<align interface="HTMLInputElement" obj="testNode" var="valign"/> +<assertEquals actual="valign" expected='"bottom"' id="alignLink" ignoreCase="true"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLInputElement07.xml b/test/testcases/tests/level1/html/HTMLInputElement07.xml new file mode 100644 index 0000000..8f7e4b7 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement07.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="HTMLInputElement07">
+<metadata>
+<title>HTMLInputElement07</title>
+<creator>NIST</creator>
+<description>
+ The alt attribute alternates text for user agents not rendering the
+ normal content of this element.
+
+ Retrieve the alt attribute of the 1st INPUT element and examine
+ its value.
+</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-92701314"/>
+</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="input" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/>
+<assertSize collection="nodeList" size="9" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<alt interface="HTMLInputElement" obj="testNode" var="valt"/>
+<assertEquals actual="valt" expected='"Password entry"' id="altLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLInputElement08.xml b/test/testcases/tests/level1/html/HTMLInputElement08.xml new file mode 100644 index 0000000..3aa3a26 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement08.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="HTMLInputElement08">
+<metadata>
+<title>HTMLInputElement08</title>
+<creator>NIST</creator>
+<description>
+ The checked attribute represents the current state of the corresponding
+ form control when type has the value Radio or Checkbox.
+
+ Retrieve the accept attribute of the 3rd INPUT element and examine
+ its value.
+</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-30233917"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vchecked" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="input" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/>
+<assertSize collection="nodeList" size="9" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="2"/>
+<checked interface="HTMLInputElement" obj="testNode" var="vchecked"/>
+<assertTrue actual="vchecked" id="checkedLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLInputElement09.xml b/test/testcases/tests/level1/html/HTMLInputElement09.xml new file mode 100644 index 0000000..67b1d3b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement09.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="HTMLInputElement09">
+<metadata>
+<title>HTMLInputElement09</title>
+<creator>NIST</creator>
+<description>
+ The disabled attribute has a TRUE value if it is explicitly set.
+
+ Retrieve the disabled attribute of the 7th INPUT element and examine
+ its value.
+</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-50886781"/>
+</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="input" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/>
+<assertSize collection="nodeList" size="9" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="6"/>
+<disabled interface="HTMLInputElement" obj="testNode" var="vdisabled"/>
+<assertTrue actual="vdisabled" id="disabledLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLInputElement10.xml b/test/testcases/tests/level1/html/HTMLInputElement10.xml new file mode 100644 index 0000000..7f28589 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement10.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="HTMLInputElement10">
+<metadata>
+<title>HTMLInputElement10</title>
+<creator>NIST</creator>
+<description>
+ The maxLength attribute is the maximum number of text characters for text
+ fields, when type has the value of Text or Password.
+
+ Retrieve the maxLenght attribute of the 1st INPUT element and examine
+ its value.
+</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-54719353"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vmaxlength" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="input" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/>
+<assertSize collection="nodeList" size="9" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<maxLength interface="HTMLInputElement" obj="testNode" var="vmaxlength"/>
+<assertEquals actual="vmaxlength" expected="5" id="maxlengthLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLInputElement11.xml b/test/testcases/tests/level1/html/HTMLInputElement11.xml new file mode 100644 index 0000000..3113f9a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement11.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="HTMLInputElement11">
+<metadata>
+<title>HTMLInputElement11</title>
+<creator>NIST</creator>
+<description>
+ The name attribute is the form control or object name when submitted with
+ a form.
+
+ Retrieve the name attribute of the 1st INPUT element and examine
+ its value.
+</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-89658498"/>
+</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="input" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/>
+<assertSize collection="nodeList" size="9" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<name interface="HTMLInputElement" obj="testNode" var="vname"/>
+<assertEquals actual="vname" expected='"Password"' id="nameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLInputElement12.xml b/test/testcases/tests/level1/html/HTMLInputElement12.xml new file mode 100644 index 0000000..d4cd099 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement12.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="HTMLInputElement12">
+<metadata>
+<title>HTMLInputElement12</title>
+<creator>NIST</creator>
+<description>
+ The readOnly attribute indicates that this control is read-only when
+ type has a value of text or password only.
+
+ Retrieve the readOnly attribute of the 1st INPUT element and examine
+ its value.
+</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-88461592"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vreadonly" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="input" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/>
+<assertSize collection="nodeList" size="9" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<readOnly interface="HTMLInputElement" obj="testNode" var="vreadonly"/>
+<assertTrue actual="vreadonly" id="readonlyLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLInputElement13.xml b/test/testcases/tests/level1/html/HTMLInputElement13.xml new file mode 100644 index 0000000..2c906d9 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement13.xml @@ -0,0 +1,54 @@ +<?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="HTMLInputElement13"> +<metadata> +<title>HTMLInputElement13</title> +<creator>NIST</creator> +<description> + The size attribute contains the size information. Its precise meaning + is specific to each type of field. + + Retrieve the size attribute of the 1st INPUT element and examine + its value. + + 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-79659438"/> +<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="input" 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='"input"'/> +<assertSize collection="nodeList" size="9" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<size interface="HTMLInputElement" obj="testNode" var="vsize"/> +<assertEquals actual="vsize" expected='"25"' id="sizeLink" ignoreCase="false"/> +</if> +</test> diff --git a/test/testcases/tests/level1/html/HTMLInputElement14.xml b/test/testcases/tests/level1/html/HTMLInputElement14.xml new file mode 100644 index 0000000..82f022e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement14.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="HTMLInputElement14">
+<metadata>
+<title>HTMLInputElement14</title>
+<creator>NIST</creator>
+<description>
+ The src attribute specifies the location of the image to decorate the
+ graphical submit button when the type has the value Image.
+
+ Retrieve the src attribute of the 8th INPUT element and examine
+ its value.
+</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-97320704"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsrc" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="input" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/>
+<assertSize collection="nodeList" size="9" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="7"/>
+<src interface="HTMLInputElement" obj="testNode" var="vsrc"/>
+<assertURIEquals actual="vsrc" file='"submit.gif"' id="srcLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLInputElement15.xml b/test/testcases/tests/level1/html/HTMLInputElement15.xml new file mode 100644 index 0000000..a9a3c78 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement15.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="HTMLInputElement15">
+<metadata>
+<title>HTMLInputElement15</title>
+<creator>NIST</creator>
+<description>
+ The tabIndex attribute is an index that represents the elements position
+ in the tabbing order.
+
+ Retrieve the tabIndex attribute of the 3rd INPUT element and examine
+ its value.
+</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-62176355"/>
+</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="input" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/>
+<assertSize collection="nodeList" size="9" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="2"/>
+<tabIndex interface="HTMLInputElement" obj="testNode" var="vtabindex"/>
+<assertEquals actual="vtabindex" expected="9" id="tabindexLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLInputElement16.xml b/test/testcases/tests/level1/html/HTMLInputElement16.xml new file mode 100644 index 0000000..119a8b0 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement16.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="HTMLInputElement16">
+<metadata>
+<title>HTMLInputElement16</title>
+<creator>NIST</creator>
+<description>
+ The type attribute is the type of control created.
+
+ Retrieve the type attribute of the 1st INPUT 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-62883744"/>
+</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="input" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/>
+<assertSize collection="nodeList" size="9" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<type interface="HTMLInputElement" obj="testNode" var="vtype"/>
+<assertEquals actual="vtype" expected='"password"' id="typeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLInputElement17.xml b/test/testcases/tests/level1/html/HTMLInputElement17.xml new file mode 100644 index 0000000..163eee4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement17.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="HTMLInputElement17">
+<metadata>
+<title>HTMLInputElement17</title>
+<creator>NIST</creator>
+<description>
+ The useMap attribute specifies the use of the client-side image map.
+
+ Retrieve the useMap attribute of the 8th INPUT element and examine
+ its value.
+</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-32463706"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vusemap" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="input" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/>
+<assertSize collection="nodeList" size="9" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="7"/>
+<useMap interface="HTMLInputElement" obj="testNode" var="vusemap"/>
+<assertEquals actual="vusemap" expected='"#submit-map"' id="usemapLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLInputElement18.xml b/test/testcases/tests/level1/html/HTMLInputElement18.xml new file mode 100644 index 0000000..85aca78 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement18.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="HTMLInputElement18">
+<metadata>
+<title>HTMLInputElement18</title>
+<creator>NIST</creator>
+<description>
+ The value attribute is the current content of the corresponding form
+ control when the type attribute has the value Text, File or Password.
+
+ Retrieve the value attribute of the 2nd INPUT element and examine
+ its value.
+</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-49531485"/>
+</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="input" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/>
+<assertSize collection="nodeList" size="9" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<value interface="HTMLInputElement" obj="testNode" var="vvalue"/>
+<assertEquals actual="vvalue" expected='"ReHire"' id="valueLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLInputElement19.xml b/test/testcases/tests/level1/html/HTMLInputElement19.xml new file mode 100644 index 0000000..ad4a00c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement19.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="HTMLInputElement19"> +<metadata> +<title>HTMLInputElement19</title> +<creator>Curt Arnold</creator> +<description> +HTMLInputElement.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-26838235"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<load var="doc" href="input" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/> +<assertSize collection="nodeList" size="9" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<blur interface="HTMLInputElement" obj="testNode"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLInputElement20.xml b/test/testcases/tests/level1/html/HTMLInputElement20.xml new file mode 100644 index 0000000..141473f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement20.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="HTMLInputElement20"> +<metadata> +<title>HTMLInputElement20</title> +<creator>Curt Arnold</creator> +<description> +HTMLInputElement.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-65996295"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<load var="doc" href="input" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/> +<assertSize collection="nodeList" size="9" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<focus interface="HTMLInputElement" obj="testNode"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLInputElement21.xml b/test/testcases/tests/level1/html/HTMLInputElement21.xml new file mode 100644 index 0000000..57fbc76 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement21.xml @@ -0,0 +1,42 @@ +<?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="HTMLInputElement21"> +<metadata> +<title>HTMLInputElement21</title> +<creator>Curt Arnold</creator> +<description> +HTMLInputElement.click should change the state of checked on a radio button. +</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-2651361"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<var name="checked" type="boolean"/> +<load var="doc" href="input" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/> +<assertSize collection="nodeList" size="9" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<checked var="checked" obj="testNode"/> +<assertFalse actual="checked" id="notCheckedBeforeClick"/> +<click interface="HTMLInputElement" obj="testNode"/> +<checked var="checked" obj="testNode"/> +<assertTrue actual="checked" id="checkedAfterClick"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLInputElement22.xml b/test/testcases/tests/level1/html/HTMLInputElement22.xml new file mode 100644 index 0000000..0d65890 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLInputElement22.xml @@ -0,0 +1,38 @@ +<?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="HTMLInputElement22"> +<metadata> +<title>HTMLInputElement22</title> +<creator>Curt Arnold</creator> +<description> +HTMLInputElement.select should select the contents of a text area. +</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-34677168"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<var name="checked" type="boolean"/> +<load var="doc" href="input" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"input"'/> +<assertSize collection="nodeList" size="9" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<select interface="HTMLInputElement" obj="testNode"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLIsIndexElement01.xml b/test/testcases/tests/level1/html/HTMLIsIndexElement01.xml new file mode 100644 index 0000000..e0da920 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIsIndexElement01.xml @@ -0,0 +1,50 @@ +<?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="HTMLIsIndexElement01"> +<metadata> +<title>HTMLIsIndexElement01</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-87069980"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vform" type="DOMString" /> +<var name="fNode" type="HTMLFormElement"/> +<var name="doc" type="Document"/> +<var name="prompt" type="DOMString"/> +<load var="doc" href="isindex" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"isindex"'/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<assertNotNull id="notnull" actual="testNode"/> +<!-- check contents of prompt --> +<prompt interface="HTMLIsIndexElement" var="prompt" obj="testNode"/> +<assertEquals id="IsIndex.Prompt" actual="prompt" expected='"New Employee: "' ignoreCase="false"/> +<form interface="HTMLIsIndexElement" obj="testNode" var="fNode"/> +<assertNotNull id="formNotNull" actual="fNode"/> +<id obj="fNode" var="vform"/> +<assertEquals actual="vform" expected='"form1"' id="formLink" ignoreCase="false"/> +<assertSize collection="nodeList" size="2" id="Asize"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLIsIndexElement02.xml b/test/testcases/tests/level1/html/HTMLIsIndexElement02.xml new file mode 100644 index 0000000..af0cf07 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIsIndexElement02.xml @@ -0,0 +1,50 @@ +<?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="HTMLIsIndexElement02"> +<metadata> +<title>HTMLIsIndexElement02</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-87069980"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vform" type="HTMLFormElement" /> +<var name="doc" type="Document"/> +<var name="prompt" type="DOMString"/> +<load var="doc" href="isindex" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"isindex"'/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<assertNotNull id="notnull" actual="testNode"/> +<!-- check contents of prompt --> +<prompt interface="HTMLIsIndexElement" var="prompt" obj="testNode"/> +<assertEquals id="IsIndex.Prompt" actual="prompt" expected='"Old Employee: "' ignoreCase="false"/> +<!-- check form == null since not in context of a form --> +<form interface="HTMLIsIndexElement" obj="testNode" var="vform"/> +<assertNull actual="vform" id="formNullLink"/> +<!-- check that we found 2 isindex elements --> +<assertSize collection="nodeList" size="2" id="Asize"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLIsIndexElement03.xml b/test/testcases/tests/level1/html/HTMLIsIndexElement03.xml new file mode 100644 index 0000000..cc91d78 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIsIndexElement03.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="HTMLIsIndexElement03"> +<metadata> +<title>HTMLIsIndexElement03</title> +<creator>NIST</creator> +<description> + The prompt attribute specifies the prompt message. + + Retrieve the prompt attribute of the 1st isindex 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-33589862"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vprompt" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="isindex" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"isindex"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<prompt interface="HTMLIsIndexElement" obj="testNode" var="vprompt"/> +<assertEquals actual="vprompt" expected='"New Employee: "' id="promptLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLLIElement01.xml b/test/testcases/tests/level1/html/HTMLLIElement01.xml new file mode 100644 index 0000000..2fe59d5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLIElement01.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="HTMLLIElement01">
+<metadata>
+<title>HTMLLIElement01</title>
+<creator>NIST</creator>
+<description>
+ The type attribute is a list item bullet style.
+
+ 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-52387668"/>
+</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="li" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"li"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<type interface="HTMLLIElement" obj="testNode" var="vtype"/>
+<assertEquals actual="vtype" expected='"square"' id="typeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLIElement02.xml b/test/testcases/tests/level1/html/HTMLLIElement02.xml new file mode 100644 index 0000000..a397773 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLIElement02.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="HTMLLIElement02">
+<metadata>
+<title>HTMLLIElement02</title>
+<creator>NIST</creator>
+<description>
+ The value attribute is a reset sequence number when used in OL.
+
+ 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-45496263"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vvalue" type="int"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="li" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"li"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<value interface="HTMLLIElement" obj="testNode" var="vvalue"/>
+<assertEquals actual="vvalue" expected="2" id="valueLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLabelElement01.xml b/test/testcases/tests/level1/html/HTMLLabelElement01.xml new file mode 100644 index 0000000..2111d6e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLabelElement01.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="HTMLLabelElement01">
+<metadata>
+<title>HTMLLabelElement01</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-32480901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vform" type="DOMString" />
+<var name="fNode" type="HTMLFormElement"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="label" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"label"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<form interface="HTMLLabelElement" obj="testNode" var="fNode"/>
+<id obj="fNode" var="vform"/>
+<assertEquals actual="vform" expected='"form1"' id="formLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLabelElement02.xml b/test/testcases/tests/level1/html/HTMLLabelElement02.xml new file mode 100644 index 0000000..444a753 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLabelElement02.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="HTMLLabelElement02">
+<metadata>
+<title>HTMLLabelElement02</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-32480901"/>
+</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="label" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"label"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<form interface="HTMLLabelElement" obj="testNode" var="vform"/>
+<assertNull actual="vform" id="formNullLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLabelElement03.xml b/test/testcases/tests/level1/html/HTMLLabelElement03.xml new file mode 100644 index 0000000..b4daacf --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLabelElement03.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="HTMLLabelElement03">
+<metadata>
+<title>HTMLLabelElement03</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-43589892"/>
+</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="label" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"label"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<accessKey interface="HTMLLabelElement" obj="testNode" var="vaccesskey"/>
+<assertEquals actual="vaccesskey" expected='"b"' id="accesskeyLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLabelElement04.xml b/test/testcases/tests/level1/html/HTMLLabelElement04.xml new file mode 100644 index 0000000..ae22b88 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLabelElement04.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="HTMLLabelElement04">
+<metadata>
+<title>HTMLLabelElement04</title>
+<creator>NIST</creator>
+<description>
+ The htmlFor attribute links this label with another form control by
+ id attribute.
+
+ Retrieve the htmlFor attribute of the first LABEL 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-96509813"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vhtmlfor" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="label" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"label"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<htmlFor interface="HTMLLabelElement" obj="testNode" var="vhtmlfor"/>
+<assertEquals actual="vhtmlfor" expected='"input1"' id="htmlForLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLegendElement01.xml b/test/testcases/tests/level1/html/HTMLLegendElement01.xml new file mode 100644 index 0000000..f478379 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLegendElement01.xml @@ -0,0 +1,45 @@ +<?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="HTMLLegendElement01">
+<metadata>
+<title>HTMLLLegendElement01</title>
+<creator>NIST</creator>
+<description>
+ The form attribute returns the FORM element containing this control.
+
+ Retrieve the form attribute from the first LEGEND 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-29594519"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vform" type="DOMString" />
+<var name="fNode" type="HTMLFormElement"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="legend" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"legend"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<form interface="HTMLLegendElement" obj="testNode" var="fNode"/>
+<id obj="fNode" var="vform"/>
+<assertEquals actual="vform" expected='"form1"' id="formLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLegendElement02.xml b/test/testcases/tests/level1/html/HTMLLegendElement02.xml new file mode 100644 index 0000000..19cf87f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLegendElement02.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="HTMLLegendElement02">
+<metadata>
+<title>HTMLLegendElement02</title>
+<creator>NIST</creator>
+<description>
+ The form attribute returns null if control in not within the context of
+ form.
+
+ Retrieve the second ELEMENT and examine its form element.
+</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-29594519"/>
+</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="legend" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"legend"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<form interface="HTMLLegendElement" obj="testNode" var="vform"/>
+<assertNull actual="vform" id="formNullLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLegendElement03.xml b/test/testcases/tests/level1/html/HTMLLegendElement03.xml new file mode 100644 index 0000000..a3747fd --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLegendElement03.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="HTMLLegendElement03">
+<metadata>
+<title>HTMLLegendElement03</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-11297832"/>
+</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="legend" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"legend"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<accessKey interface="HTMLLegendElement" obj="testNode" var="vaccesskey"/>
+<assertEquals actual="vaccesskey" expected='"b"' id="accesskeyLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLegendElement04.xml b/test/testcases/tests/level1/html/HTMLLegendElement04.xml new file mode 100644 index 0000000..fa3e76c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLegendElement04.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="HTMLLegendElement04">
+<metadata>
+<title>HTMLLegendElement04</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the text alignment relative to FIELDSET.
+
+ 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-79538067"/>
+</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="legend" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"legend"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLLegendElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"top"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLinkElement01.xml b/test/testcases/tests/level1/html/HTMLLinkElement01.xml new file mode 100644 index 0000000..c9e2d16 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLinkElement01.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="HTMLLinkElement01"> +<metadata> +<title>HTMLLinkElement01</title> +<creator>NIST</creator> +<description> + The disabled attribute enables/disables the link. + + 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-87355129"/> +</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="link" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"link"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<disabled interface="HTMLLinkElement" obj="testNode" var="vdisabled"/> +<assertFalse actual="vdisabled" id="disabled"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLLinkElement02.xml b/test/testcases/tests/level1/html/HTMLLinkElement02.xml new file mode 100644 index 0000000..ab0105a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLinkElement02.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="HTMLLinkElement02">
+<metadata>
+<title>HTMLLinkElement02</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-63954491"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcharset" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="link" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"link"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<charset interface="HTMLLinkElement" obj="testNode" var="vcharset"/>
+<assertEquals actual="vcharset" expected='"Latin-1"' id="charsetLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLinkElement03.xml b/test/testcases/tests/level1/html/HTMLLinkElement03.xml new file mode 100644 index 0000000..fff36db --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLinkElement03.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="HTMLLinkElement03">
+<metadata>
+<title>HTMLLinkElement03</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-33532588"/>
+</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="link" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"link"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<href interface="HTMLLinkElement" obj="testNode" var="vhref"/>
+<assertURIEquals actual="vhref" file='"glossary.html"' id="hrefLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLinkElement04.xml b/test/testcases/tests/level1/html/HTMLLinkElement04.xml new file mode 100644 index 0000000..924d945 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLinkElement04.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="HTMLLinkElement04">
+<metadata>
+<title>HTMLLinkElement04</title>
+<creator>NIST</creator>
+<description>
+ The hreflang attribute specifies 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-85145682"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vhreflang" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="link" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"link"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<hreflang interface="HTMLLinkElement" obj="testNode" var="vhreflang"/>
+<assertEquals actual="vhreflang" expected='"en"' id="hreflangLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLinkElement05.xml b/test/testcases/tests/level1/html/HTMLLinkElement05.xml new file mode 100644 index 0000000..cec4f35 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLinkElement05.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="HTMLLinkElement05">
+<metadata>
+<title>HTMLLinkElement05</title>
+<creator>NIST</creator>
+<description>
+ The media attribute specifies the targeted media.
+
+ Retrieve the media 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-75813125"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vmedia" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="link" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"link"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<media interface="HTMLLinkElement" obj="testNode" var="vmedia"/>
+<assertEquals actual="vmedia" expected='"screen"' id="mediaLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLinkElement06.xml b/test/testcases/tests/level1/html/HTMLLinkElement06.xml new file mode 100644 index 0000000..400e8ed --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLinkElement06.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="HTMLLinkElement06">
+<metadata>
+<title>HTMLLinkElement06</title>
+<creator>NIST</creator>
+<description>
+ The rel attribute specifies 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-41369587"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vrel" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="link" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"link"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<rel interface="HTMLLinkElement" obj="testNode" var="vrel"/>
+<assertEquals actual="vrel" expected='"Glossary"' id="relLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLinkElement07.xml b/test/testcases/tests/level1/html/HTMLLinkElement07.xml new file mode 100644 index 0000000..71bbd8d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLinkElement07.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="HTMLLinkElement07">
+<metadata>
+<title>HTMLLinkElement07</title>
+<creator>NIST</creator>
+<description>
+ The rev attribute specifies 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-40715461"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vrev" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="link" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"link"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<rev interface="HTMLLinkElement" obj="testNode" var="vrev"/>
+<assertEquals actual="vrev" expected='"stylesheet"' id="revLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLinkElement08.xml b/test/testcases/tests/level1/html/HTMLLinkElement08.xml new file mode 100644 index 0000000..657237d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLinkElement08.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="HTMLLinkElement08">
+<metadata>
+<title>HTMLLinkElement08</title>
+<creator>NIST</creator>
+<description>
+ The type attribute specifies the advisory content type.
+
+ 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-32498296"/>
+</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="link" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"link"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<type interface="HTMLLinkElement" obj="testNode" var="vtype"/>
+<assertEquals actual="vtype" expected='"text/html"' id="typeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLLinkElement09.xml b/test/testcases/tests/level1/html/HTMLLinkElement09.xml new file mode 100644 index 0000000..6fb55a8 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLLinkElement09.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="HTMLLinkElement09"> +<metadata> +<title>HTMLLinkElement09</title> +<creator>NIST</creator> +<description> + The target attribute 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-84183095"/> +</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="link2" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"link"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<target interface="HTMLLinkElement" obj="testNode" var="vtarget"/> +<assertEquals actual="vtarget" expected='"dynamic"' id="targetLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLMapElement01.xml b/test/testcases/tests/level1/html/HTMLMapElement01.xml new file mode 100644 index 0000000..01e2459 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLMapElement01.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="HTMLMapElement01">
+<metadata>
+<title>HTMLMapElement01</title>
+<creator>NIST</creator>
+<description>
+ The areas attribute is a list of areas defined for the image map.
+
+ Retrieve the areas attribute and find the number of areas defined.
+</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-71838730"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="areasnodeList" type="HTMLCollection"/>
+<var name="testNode" type="Node"/>
+<var name="vareas" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="map" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"map"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<areas interface="HTMLMapElement" obj="testNode" var="areasnodeList"/>
+<length interface="HTMLCollection" obj="areasnodeList" var="vareas"/>
+<assertEquals actual="vareas" expected="3" id="areasLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLMapElement02.xml b/test/testcases/tests/level1/html/HTMLMapElement02.xml new file mode 100644 index 0000000..fc83993 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLMapElement02.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="HTMLMapElement02"> +<metadata> +<title>HTMLMapElement02</title> +<creator>NIST</creator> +<description> + The name attribute names the map(for use with usemap). + + 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-52696514"/> +</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="map" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"map"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<name interface="HTMLMapElement" obj="testNode" var="vname"/> +<assertEquals actual="vname" expected='"mapid"' id="mapLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLMenuElement01.xml b/test/testcases/tests/level1/html/HTMLMenuElement01.xml new file mode 100644 index 0000000..509a114 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLMenuElement01.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="HTMLMenuElement01">
+<metadata>
+<title>HTMLMenuElement01</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-68436464"/>
+</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="menu" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"menu"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<compact interface="HTMLMenuElement" obj="testNode" var="vcompact"/>
+<assertTrue actual="vcompact" id="compactLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLMetaElement01.xml b/test/testcases/tests/level1/html/HTMLMetaElement01.xml new file mode 100644 index 0000000..5ee3bcc --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLMetaElement01.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="HTMLMetaElement01">
+<metadata>
+<title>HTMLMetaElement01</title>
+<creator>NIST</creator>
+<description>
+ The content attribute specifies associated information.
+
+ Retrieve the content 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-87670826"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcontent" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="meta" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"meta"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<content interface="HTMLMetaElement" obj="testNode" var="vcontent"/>
+<assertEquals actual="vcontent" expected='"text/html; CHARSET=utf-8"' id="contentLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLMetaElement02.xml b/test/testcases/tests/level1/html/HTMLMetaElement02.xml new file mode 100644 index 0000000..11e7a09 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLMetaElement02.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="HTMLMetaElement02">
+<metadata>
+<title>HTMLMetaElement02</title>
+<creator>NIST</creator>
+<description>
+ The httpEquiv attribute specifies an HTTP respnse header name.
+
+ Retrieve the httpEquiv 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-77289449"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vhttpequiv" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="meta" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"meta"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<httpEquiv interface="HTMLMetaElement" obj="testNode" var="vhttpequiv"/>
+<assertEquals actual="vhttpequiv" expected='"Content-Type"' id="httpEquivLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLMetaElement03.xml b/test/testcases/tests/level1/html/HTMLMetaElement03.xml new file mode 100644 index 0000000..ab3afc7 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLMetaElement03.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="HTMLMetaElement03">
+<metadata>
+<title>HTMLMetaElement03</title>
+<creator>NIST</creator>
+<description>
+ The name attribute specifies the meta information 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-31037081"/>
+</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="meta" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"meta"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<name interface="HTMLMetaElement" obj="testNode" var="vname"/>
+<assertEquals actual="vname" expected='"Meta-Name"' id="nameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLMetaElement04.xml b/test/testcases/tests/level1/html/HTMLMetaElement04.xml new file mode 100644 index 0000000..14ce0eb --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLMetaElement04.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="HTMLMetaElement04">
+<metadata>
+<title>HTMLMetaElement04</title>
+<creator>NIST</creator>
+<description>
+ The scheme attribute specifies a select form of content.
+
+ Retrieve the scheme 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-35993789"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vscheme" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="meta" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"meta"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<scheme interface="HTMLMetaElement" obj="testNode" var="vscheme"/>
+<assertEquals actual="vscheme" expected='"NIST"' id="schemeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLModElement01.xml b/test/testcases/tests/level1/html/HTMLModElement01.xml new file mode 100644 index 0000000..616bc36 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLModElement01.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="HTMLModElement01">
+<metadata>
+<title>HTMLModElement01</title>
+<creator>NIST</creator>
+<description>
+ The cite attribute specifies an URI designating a document that describes
+ the reason for the change.
+
+ Retrieve the cite attribute of the INS 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-75101708"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcite" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="mod" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"ins"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<cite interface="HTMLModElement" obj="testNode" var="vcite"/>
+<assertURIEquals actual="vcite" file='"ins-reasons.html"' id="citeLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLModElement02.xml b/test/testcases/tests/level1/html/HTMLModElement02.xml new file mode 100644 index 0000000..bcb8c11 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLModElement02.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="HTMLModElement02">
+<metadata>
+<title>HTMLModElement02</title>
+<creator>NIST</creator>
+<description>
+ The dateTime attribute specifies the date and time of the change.
+
+ Retrieve the dateTime attribute of the INS 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-88432678"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdatetime" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="mod" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"ins"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dateTime interface="HTMLModElement" obj="testNode" var="vdatetime"/>
+<assertEquals actual="vdatetime" expected='"January 1, 2002"' id="dateTimeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLModElement03.xml b/test/testcases/tests/level1/html/HTMLModElement03.xml new file mode 100644 index 0000000..82f85b0 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLModElement03.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="HTMLModElement03">
+<metadata>
+<title>HTMLModElement03</title>
+<creator>NIST</creator>
+<description>
+ The cite attribute specifies an URI designating a document that describes
+ the reason for the change.
+
+ Retrieve the cite attribute of the DEL 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-75101708"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcite" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="mod" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"del"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<cite interface="HTMLModElement" obj="testNode" var="vcite"/>
+<assertURIEquals actual="vcite" file='"del-reasons.html"' id="citeLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLModElement04.xml b/test/testcases/tests/level1/html/HTMLModElement04.xml new file mode 100644 index 0000000..4220ba5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLModElement04.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="HTMLModElement04">
+<metadata>
+<title>HTMLModElement04</title>
+<creator>NIST</creator>
+<description>
+ The dateTime attribute specifies the date and time of the change.
+
+ Retrieve the dateTime attribute of the DEL 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-88432678"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdatetime" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="mod" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"del"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<dateTime interface="HTMLModElement" obj="testNode" var="vdatetime"/>
+<assertEquals actual="vdatetime" expected='"January 2, 2002"' id="dateTimeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLOListElement01.xml b/test/testcases/tests/level1/html/HTMLOListElement01.xml new file mode 100644 index 0000000..7b053bf --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLOListElement01.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="HTMLOListElement01">
+<metadata>
+<title>HTMLOListElement01</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-76448506"/>
+</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="olist" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"ol"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<compact interface="HTMLOListElement" obj="testNode" var="vcompact"/>
+<assertTrue actual="vcompact" id="compactLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLOListElement02.xml b/test/testcases/tests/level1/html/HTMLOListElement02.xml new file mode 100644 index 0000000..85b78d4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLOListElement02.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="HTMLOListElement02">
+<metadata>
+<title>HTMLOListElement02</title>
+<creator>NIST</creator>
+<description>
+ The start attribute specifies the starting sequence number.
+
+ Retrieve the start 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-14793325"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vstart" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="olist" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"ol"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<start interface="HTMLOListElement" obj="testNode" var="vstart"/>
+<assertEquals actual="vstart" expected="1" id="startLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLOListElement03.xml b/test/testcases/tests/level1/html/HTMLOListElement03.xml new file mode 100644 index 0000000..e6306ec --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLOListElement03.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="HTMLOListElement03">
+<metadata>
+<title>HTMLOListElement03</title>
+<creator>NIST</creator>
+<description>
+ The type attribute specifies the numbering style.
+
+ 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-40971103"/>
+</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="olist" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"ol"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<type interface="HTMLOListElement" obj="testNode" var="vtype"/>
+<assertEquals actual="vtype" expected='"1"' id="typeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLObjectElement01.xml b/test/testcases/tests/level1/html/HTMLObjectElement01.xml new file mode 100644 index 0000000..9b39aaf --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement01.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="HTMLObjectElement01">
+<metadata>
+<title>HTMLObjectElement01</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>Rick Rivello</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-46094773"/>
+</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="object2" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<form interface="HTMLObjectElement" obj="testNode" var="fNode"/>
+<id obj="fNode" var="vform"/>
+<assertEquals actual="vform" expected='"object2"' id="idLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLObjectElement02.xml b/test/testcases/tests/level1/html/HTMLObjectElement02.xml new file mode 100644 index 0000000..52539a5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement02.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="HTMLObjectElement02"> +<metadata> +<title>HTMLObjectElement02</title> +<creator>NIST</creator> +<description> +The code attribute specifies an Applet class file. + +Retrieve the code attribute of the second OBJECT element and examine +its value. Should be "" since CODE is not a valid attribute for OBJECT. +</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-75241146"/> +</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="object" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<code interface="HTMLObjectElement" obj="testNode" var="vcode"/> +<assertEquals actual="vcode" expected='""' id="codeLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLObjectElement03.xml b/test/testcases/tests/level1/html/HTMLObjectElement03.xml new file mode 100644 index 0000000..086f0d9 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement03.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="HTMLObjectElement03">
+<metadata>
+<title>HTMLObjectElement03</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the alignment of this object with respect
+ to its surrounding text.
+
+ Retrieve the align attribute of the first OBJECT element and examine
+ 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-16962097"/>
+</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="object" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLObjectElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"middle"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLObjectElement04.xml b/test/testcases/tests/level1/html/HTMLObjectElement04.xml new file mode 100644 index 0000000..c4091ec --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement04.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="HTMLObjectElement04">
+<metadata>
+<title>HTMLObjectElement04</title>
+<creator>NIST</creator>
+<description>
+ The archive attribute specifies a space-separated list of archives.
+
+ Retrieve the archive attribute of the first OBJECT 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-47783837"/>
+</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="object" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<archive interface="HTMLObjectElement" obj="testNode" var="varchive"/>
+<assertEquals actual="varchive" expected='""' id="archiveLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLObjectElement05.xml b/test/testcases/tests/level1/html/HTMLObjectElement05.xml new file mode 100644 index 0000000..5348c20 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement05.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="HTMLObjectElement05">
+<metadata>
+<title>HTMLObjectElement05</title>
+<creator>NIST</creator>
+<description>
+ The border attribute specifies the widht of the border around the object.
+
+ Retrieve the border attribute of the first OBJECT 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-82818419"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vborder" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="object" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<border interface="HTMLObjectElement" obj="testNode" var="vborder"/>
+<assertEquals actual="vborder" expected='"0"' id="borderLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLObjectElement06.xml b/test/testcases/tests/level1/html/HTMLObjectElement06.xml new file mode 100644 index 0000000..974fd88 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement06.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="HTMLObjectElement06">
+<metadata>
+<title>HTMLObjectElement06</title>
+<creator>NIST</creator>
+<description>
+ The codeBase attribute specifies the base URI for the classid, data and
+ archive attributes.
+
+ Retrieve the codeBase attribute of the first OBJECT element and examine
+ 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-25709136"/>
+</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="object" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<codeBase interface="HTMLObjectElement" obj="testNode" var="vcodebase"/>
+<assertURIEquals actual="vcodebase" path='"//xw2k.sdct.itl.nist.gov/brady/dom/"' id="codebaseLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLObjectElement07.xml b/test/testcases/tests/level1/html/HTMLObjectElement07.xml new file mode 100644 index 0000000..8e2c5d2 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement07.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="HTMLObjectElement07">
+<metadata>
+<title>HTMLObjectElement07</title>
+<creator>NIST</creator>
+<description>
+ The codeType attribute specifies the data downloaded via the classid
+ attribute.
+
+ Retrieve the codeType attribute of the second OBJECT 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-19945008"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcodetype" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="object" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<codeType interface="HTMLObjectElement" obj="testNode" var="vcodetype"/>
+<assertEquals actual="vcodetype" expected='"image/gif"' id="codetypeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLObjectElement08.xml b/test/testcases/tests/level1/html/HTMLObjectElement08.xml new file mode 100644 index 0000000..f5fd14c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement08.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="HTMLObjectElement08">
+<metadata>
+<title>HTMLObjectElement08</title>
+<creator>NIST</creator>
+<description>
+ The data attribute specifies the URI of the location of the objects data.
+
+ Retrieve the data attribute of the first OBJECT 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-81766986"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdata" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="object" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<data interface="HTMLObjectElement" obj="testNode" var="vdata"/>
+<assertURIEquals actual="vdata" file='"logo.gif"' id="dataLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLObjectElement09.xml b/test/testcases/tests/level1/html/HTMLObjectElement09.xml new file mode 100644 index 0000000..8c6ca17 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement09.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="HTMLObjectElement09">
+<metadata>
+<title>HTMLObjectElement09</title>
+<creator>NIST</creator>
+<description>
+ The declare attribute specifies this object should be declared only and
+ no instance of it should be created.
+
+ Retrieve the declare attribute of the second OBJECT element and examine
+ 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-942770"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdeclare" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="object" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<declare interface="HTMLObjectElement" obj="testNode" var="vdeclare"/>
+<assertTrue actual="vdeclare" id="declareLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLObjectElement10.xml b/test/testcases/tests/level1/html/HTMLObjectElement10.xml new file mode 100644 index 0000000..b0f0c8b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement10.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="HTMLObjectElement10">
+<metadata>
+<title>HTMLObjectElement10</title>
+<creator>NIST</creator>
+<description>
+ The height attribute overrides the value of the actual height of the
+ object.
+
+ Retrieve the height attribute of the first OBJECT 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-88925838"/>
+</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="object" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<height interface="HTMLObjectElement" obj="testNode" var="vheight"/>
+<assertEquals actual="vheight" expected='"60"' id="heightLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLObjectElement11.xml b/test/testcases/tests/level1/html/HTMLObjectElement11.xml new file mode 100644 index 0000000..9cfea39 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement11.xml @@ -0,0 +1,53 @@ +<?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="HTMLObjectElement11"> +<metadata> +<title>HTMLObjectElement11</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 of the first OBJECT element 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-17085376"/> +<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="object" 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='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<hspace interface="HTMLObjectElement" obj="testNode" var="vhspace"/> +<assertEquals actual="vhspace" expected='"0"' id="hspaceLink" ignoreCase="false"/> +</if> +</test> diff --git a/test/testcases/tests/level1/html/HTMLObjectElement12.xml b/test/testcases/tests/level1/html/HTMLObjectElement12.xml new file mode 100644 index 0000000..8ef377d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement12.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="HTMLObjectElement12">
+<metadata>
+<title>HTMLObjectElement12</title>
+<creator>NIST</creator>
+<description>
+ The standby attribute specifies a message to render while loading the
+ object.
+
+ Retrieve the standby attribute of the first OBJECT 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-25039673"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vstandby" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="object" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<standby interface="HTMLObjectElement" obj="testNode" var="vstandby"/>
+<assertEquals actual="vstandby" expected='"Loading Image ..."' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLObjectElement13.xml b/test/testcases/tests/level1/html/HTMLObjectElement13.xml new file mode 100644 index 0000000..0e764de --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement13.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="HTMLObjectElement13">
+<metadata>
+<title>HTMLObjectElement13</title>
+<creator>NIST</creator>
+<description>
+ The tabIndex attribute specifies the elements position in the tabbing
+ order.
+
+ Retrieve the tabIndex attribute of the first OBJECT 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-27083787"/>
+</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="object" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<tabIndex interface="HTMLObjectElement" obj="testNode" var="vtabindex"/>
+<assertEquals actual="vtabindex" expected="0" id="tabIndexLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLObjectElement14.xml b/test/testcases/tests/level1/html/HTMLObjectElement14.xml new file mode 100644 index 0000000..0fa56d3 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement14.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="HTMLObjectElement14">
+<metadata>
+<title>HTMLObjectElement14</title>
+<creator>NIST</creator>
+<description>
+ The type attribute specifies the content type for data downloaded via
+ the data attribute.
+
+ Retrieve the type attribute of the first OBJECT element and examine
+ 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-91665621"/>
+</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="object" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<type interface="HTMLObjectElement" obj="testNode" var="vtype"/>
+<assertEquals actual="vtype" expected='"image/gif"' id="typeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLObjectElement15.xml b/test/testcases/tests/level1/html/HTMLObjectElement15.xml new file mode 100644 index 0000000..07d3c97 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement15.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="HTMLObjectElement15">
+<metadata>
+<title>HTMLObjectElement15</title>
+<creator>NIST</creator>
+<description>
+ The useMap attribute specifies the used client-side image map.
+
+ Retrieve the useMap attribute of the first OBJECT 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-6649772"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vusemap" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="object" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<useMap interface="HTMLObjectElement" obj="testNode" var="vusemap"/>
+<assertEquals actual="vusemap" expected='"#DivLogo-map"' id="useMapLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLObjectElement16.xml b/test/testcases/tests/level1/html/HTMLObjectElement16.xml new file mode 100644 index 0000000..7702616 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement16.xml @@ -0,0 +1,53 @@ +<?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="HTMLObjectElement16"> +<metadata> +<title>HTMLObjectElement16</title> +<creator>NIST</creator> +<description> + The vspace attribute specifies the vertical space above or below this + image, applet or object. + + Retrieve the vspace attribute of the first OBJECT element and examine + 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-8682483"/> +<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="object" 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='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<vspace interface="HTMLObjectElement" obj="testNode" var="vvspace"/> +<assertEquals actual="vvspace" expected='"0"' id="vspaceLink" ignoreCase="false"/> +</if> +</test> diff --git a/test/testcases/tests/level1/html/HTMLObjectElement17.xml b/test/testcases/tests/level1/html/HTMLObjectElement17.xml new file mode 100644 index 0000000..caabb88 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement17.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="HTMLObjectElement17">
+<metadata>
+<title>HTMLObjectElement17</title>
+<creator>NIST</creator>
+<description>
+ The width attribute overrides the original width value.
+
+ Retrieve the width attribute of the first OBJECT 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-38538620"/>
+</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="object" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<width interface="HTMLObjectElement" obj="testNode" var="vwidth"/>
+<assertEquals actual="vwidth" expected='"550"' id="widthLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLObjectElement18.xml b/test/testcases/tests/level1/html/HTMLObjectElement18.xml new file mode 100644 index 0000000..f994859 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement18.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="HTMLObjectElement18">
+<metadata>
+<title>HTMLObjectElement18</title>
+<creator>NIST</creator>
+<description>
+ The name attribute specifies form control or object name when submitted
+ with a form.
+
+ Retrieve the name attribute of the second OBJECT element and examine
+ 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-20110362"/>
+</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="object" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<name interface="HTMLObjectElement" obj="testNode" var="vname"/>
+<assertEquals actual="vname" expected='"OBJECT2"' id="vspaceLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLObjectElement19.xml b/test/testcases/tests/level1/html/HTMLObjectElement19.xml new file mode 100644 index 0000000..51d1115 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLObjectElement19.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="HTMLObjectElement19">
+<metadata>
+<title>HTMLObjectElement19</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>Rick Rivello</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-46094773"/>
+</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="object2" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<form interface="HTMLObjectElement" obj="testNode" var="vform"/>
+<assertNull actual="vform" id="formNullLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLOptGroupElement01.xml b/test/testcases/tests/level1/html/HTMLOptGroupElement01.xml new file mode 100644 index 0000000..23ab2e4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLOptGroupElement01.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="HTMLOptGroupElement01">
+<metadata>
+<title>HTMLOptGroupElement01</title>
+<creator>NIST</creator>
+<description>
+ The disabled attribute indicates that 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-15518803"/>
+</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="optgroup" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"optgroup"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<disabled interface="HTMLOptGroupElement" obj="testNode" var="vdisabled"/>
+<assertTrue actual="vdisabled" id="disabledLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLOptGroupElement02.xml b/test/testcases/tests/level1/html/HTMLOptGroupElement02.xml new file mode 100644 index 0000000..ff793f8 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLOptGroupElement02.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="HTMLOptGroupElement02">
+<metadata>
+<title>HTMLOptGroupElement02</title>
+<creator>NIST</creator>
+<description>
+ The label attribute specifies the label assigned to this option group.
+
+ Retrieve the label 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-95806054"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlabel" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="optgroup" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"optgroup"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<label interface="HTMLOptGroupElement" obj="testNode" var="vlabel"/>
+<assertEquals actual="vlabel" expected='"Regular Employees"' id="labelLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLOptionElement01.xml b/test/testcases/tests/level1/html/HTMLOptionElement01.xml new file mode 100644 index 0000000..d07454c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLOptionElement01.xml @@ -0,0 +1,45 @@ +<?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="HTMLOptionElement01">
+<metadata>
+<title>HTMLOptionElement01</title>
+<creator>NIST</creator>
+<description>
+ The form attribute returns the FORM element containing this control.
+
+ Retrieve the form attribute from the first SELECT 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-17116503"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vform" type="DOMString" />
+<var name="fNode" type="HTMLFormElement"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="option" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"option"'/>
+<assertSize collection="nodeList" size="10" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<form interface="HTMLOptionElement" obj="testNode" var="fNode"/>
+<id obj="fNode" var="vform"/>
+<assertEquals actual="vform" expected='"form1"' id="formLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLOptionElement02.xml b/test/testcases/tests/level1/html/HTMLOptionElement02.xml new file mode 100644 index 0000000..bbf3153 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLOptionElement02.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="HTMLOptionElement02">
+<metadata>
+<title>HTMLOptionElement02</title>
+<creator>NIST</creator>
+<description>
+ The form attribute returns null if control in not within the context of
+ a form.
+
+ Retrieve the first OPTION attribute from the second select element and
+ examine its form element.
+</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-17116503"/>
+</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="option" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"option"'/>
+<assertSize collection="nodeList" size="10" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="6"/>
+<form interface="HTMLOptionElement" obj="testNode" var="vform"/>
+<assertNull actual="vform" id="formNullLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLOptionElement03.xml b/test/testcases/tests/level1/html/HTMLOptionElement03.xml new file mode 100644 index 0000000..9cee3c4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLOptionElement03.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="HTMLOptionElement03">
+<metadata>
+<title>HTMLOptionElement03</title>
+<creator>NIST</creator>
+<description>
+ The defaultSelected attribute contains the value of the selected
+ attribute.
+
+ Retrieve the defaultSelected attribute from the first OPTION 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-37770574"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdefaultselected" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="option" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"option"'/>
+<assertSize collection="nodeList" size="10" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<defaultSelected interface="HTMLOptionElement" obj="testNode" var="vdefaultselected"/>
+<assertTrue actual="vdefaultselected" id="defaultSelectedLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLOptionElement04.xml b/test/testcases/tests/level1/html/HTMLOptionElement04.xml new file mode 100644 index 0000000..1923dd3 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLOptionElement04.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="HTMLOptionElement04">
+<metadata>
+<title>HTMLOptionElement04</title>
+<creator>NIST</creator>
+<description>
+ The text attribute contains the text contained within the option element.
+
+ Retrieve the text attribute from the second OPTION 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-48154426"/>
+</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="option" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"option"'/>
+<assertSize collection="nodeList" size="10" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<text interface="HTMLOptionElement" obj="testNode" var="vtext"/>
+<assertEquals actual="vtext" expected='"EMP10002"' id="textLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLOptionElement05.xml b/test/testcases/tests/level1/html/HTMLOptionElement05.xml new file mode 100644 index 0000000..46812a1 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLOptionElement05.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="HTMLOptionElement05">
+<metadata>
+<title>HTMLOptionElement05</title>
+<creator>NIST</creator>
+<description>
+ The index attribute indicates th index of this OPTION in ints parent
+ SELECT.
+
+ Retrieve the index attribute from the seventh OPTION 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-14038413"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vindex" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="option" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"option"'/>
+<assertSize collection="nodeList" size="10" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="6"/>
+<index interface="HTMLOptionElement" obj="testNode" var="vindex"/>
+<assertEquals actual="vindex" expected="1" id="indexLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLOptionElement06.xml b/test/testcases/tests/level1/html/HTMLOptionElement06.xml new file mode 100644 index 0000000..2c00da4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLOptionElement06.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="HTMLOptionElement06">
+<metadata>
+<title>HTMLOptionElement06</title>
+<creator>NIST</creator>
+<description>
+ The disabled attribute indicates that this control is not available
+ within this context.
+
+ Retrieve the disabled attribute from the last OPTION 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-23482473"/>
+</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="option" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"option"'/>
+<assertSize collection="nodeList" size="10" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="9"/>
+<disabled interface="HTMLOptionElement" obj="testNode" var="vdisabled"/>
+<assertTrue actual="vdisabled" id="disabledLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLOptionElement07.xml b/test/testcases/tests/level1/html/HTMLOptionElement07.xml new file mode 100644 index 0000000..9218070 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLOptionElement07.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="HTMLOptionElement07">
+<metadata>
+<title>HTMLOptionElement07</title>
+<creator>NIST</creator>
+<description>
+ The label attribute is used in hierarchical menus. It specifies
+ a shorter label for an option that the content of the OPTION element.
+
+ Retrieve the label attribute from the second OPTION 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-40736115"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlabel" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="option" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"option"'/>
+<assertSize collection="nodeList" size="10" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<label interface="HTMLOptionElement" obj="testNode" var="vlabel"/>
+<assertEquals actual="vlabel" expected='"l1"' id="labelLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLOptionElement08.xml b/test/testcases/tests/level1/html/HTMLOptionElement08.xml new file mode 100644 index 0000000..c5c6640 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLOptionElement08.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="HTMLOptionElement08">
+<metadata>
+<title>HTMLOptionElement08</title>
+<creator>NIST</creator>
+<description>
+ The selected attribute indicates the current state of the corresponding
+ form control in an interactive user-agent.
+
+ Retrieve the selected attribute from the first OPTION 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-70874476"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vselected" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="option" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"option"'/>
+<assertSize collection="nodeList" size="10" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<defaultSelected interface="HTMLOptionElement" obj="testNode" var="vselected"/>
+<assertTrue actual="vselected" id="selectedLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLOptionElement09.xml b/test/testcases/tests/level1/html/HTMLOptionElement09.xml new file mode 100644 index 0000000..064ccbe --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLOptionElement09.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="HTMLOptionElement09">
+<metadata>
+<title>HTMLOptionElement09</title>
+<creator>NIST</creator>
+<description>
+ The value attribute contains the current form control value.
+
+ Retrieve the value attribute from the first OPTION 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-6185554"/>
+</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="option" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"option"'/>
+<assertSize collection="nodeList" size="10" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<value interface="HTMLOptionElement" obj="testNode" var="vvalue"/>
+<assertEquals actual="vvalue" expected='"10001"' id="valueLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLParagraphElement01.xml b/test/testcases/tests/level1/html/HTMLParagraphElement01.xml new file mode 100644 index 0000000..0f3fa0e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLParagraphElement01.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="HTMLParagraphElement01">
+<metadata>
+<title>HTMLParagraphElement01</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-53465507"/>
+</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="paragraph" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"p"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLParagraphElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLParamElement01.xml b/test/testcases/tests/level1/html/HTMLParamElement01.xml new file mode 100644 index 0000000..33f9238 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLParamElement01.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="HTMLParamElement01"> +<metadata> +<title>HTMLParamElement01</title> +<creator>NIST</creator> +<description> + The name attribute specifies the name of the run-time parameter. + + 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-59871447"/> +</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="param" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"param"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<name interface="HTMLParamElement" obj="testNode" var="vname"/> +<assertEquals actual="vname" expected='"image3"' id="nameLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLParamElement02.xml b/test/testcases/tests/level1/html/HTMLParamElement02.xml new file mode 100644 index 0000000..52e3b8a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLParamElement02.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="HTMLParamElement02"> +<metadata> +<title>HTMLParamElement02</title> +<creator>NIST</creator> +<description> + The value attribute specifies the value of the run-time parameter. + + 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-77971357"/> +</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="param" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"param"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<value interface="HTMLParamElement" obj="testNode" var="vvalue"/> +<assertURIEquals actual="vvalue" file='"file.gif"' id="valueLink"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLParamElement03.xml b/test/testcases/tests/level1/html/HTMLParamElement03.xml new file mode 100644 index 0000000..48b227a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLParamElement03.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="HTMLParamElement03">
+<metadata>
+<title>HTMLParamElement03</title>
+<creator>NIST</creator>
+<description>
+ The valueType attribute specifies information about the meaning of the
+ value specified by the value attribute.
+
+ Retrieve the valueType 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-23931872"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vvaluetype" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="param" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"param"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<valueType interface="HTMLParamElement" obj="testNode" var="vvaluetype"/>
+<assertEquals actual="vvaluetype" expected='"ref"' id="valueTypeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLParamElement04.xml b/test/testcases/tests/level1/html/HTMLParamElement04.xml new file mode 100644 index 0000000..da298fd --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLParamElement04.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="HTMLParamElement04">
+<metadata>
+<title>HTMLParamElement04</title>
+<creator>NIST</creator>
+<description>
+ The type attribute specifies the content type for the value attribute
+ when valuetype has the value ref.
+
+ 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-18179888"/>
+</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="param" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"param"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<type interface="HTMLParamElement" obj="testNode" var="vtype"/>
+<assertEquals actual="vtype" expected='"image/gif"' id="typeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLPreElement01.xml b/test/testcases/tests/level1/html/HTMLPreElement01.xml new file mode 100644 index 0000000..9b8d4f2 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLPreElement01.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="HTMLPreElement01">
+<metadata>
+<title>HTMLPreElement01</title>
+<creator>NIST</creator>
+<description>
+ The width attribute specifies the fixed width for content.
+
+ 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-13894083"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vwidth" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="pre" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"pre"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<width interface="HTMLPreElement" obj="testNode" var="vwidth"/>
+<assertEquals actual="vwidth" expected="277" id="widthLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLQuoteElement01.xml b/test/testcases/tests/level1/html/HTMLQuoteElement01.xml new file mode 100644 index 0000000..f7aadf7 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLQuoteElement01.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="HTMLQuoteElement01">
+<metadata>
+<title>HTMLQuoteElement01</title>
+<creator>NIST</creator>
+<description>
+ The cite attribute specifies a URI designating a source document
+ or message.
+
+ Retrieve the cite attribute from the Q 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-53895598"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcite" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="quote" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"q"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<cite interface="HTMLQuoteElement" obj="testNode" var="vcite"/>
+<assertURIEquals actual="vcite" file='"Q.html"' id="citeLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLQuoteElement02.xml b/test/testcases/tests/level1/html/HTMLQuoteElement02.xml new file mode 100644 index 0000000..342b10f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLQuoteElement02.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="HTMLQuoteElement02">
+<metadata>
+<title>HTMLQuoteElement02</title>
+<creator>NIST</creator>
+<description>
+ The cite attribute specifies a URI designating a source document
+ or message.
+
+ Retrieve the cite attribute from the BLOCKQUOTE 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-53895598"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcite" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="quote" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"blockquote"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<cite interface="HTMLQuoteElement" obj="testNode" var="vcite"/>
+<assertURIEquals actual="vcite" file='"BLOCKQUOTE.html"' id="citeLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLScriptElement01.xml b/test/testcases/tests/level1/html/HTMLScriptElement01.xml new file mode 100644 index 0000000..c4f28dd --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLScriptElement01.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="HTMLScriptElement01">
+<metadata>
+<title>HTMLScriptElement01</title>
+<creator>NIST</creator>
+<description>
+ The text attribute specifies the script content of the element.
+
+ 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-46872999"/>
+</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="script" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"script"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<text interface="HTMLScriptElement" obj="testNode" var="vtext"/>
+<assertEquals actual="vtext" expected='"var a=2;"' id="textLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLScriptElement02.xml b/test/testcases/tests/level1/html/HTMLScriptElement02.xml new file mode 100644 index 0000000..dd3911d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLScriptElement02.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="HTMLScriptElement02">
+<metadata>
+<title>HTMLScriptElement02</title>
+<creator>NIST</creator>
+<description>
+ The charset attribute specifies 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-35305677"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcharset" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="script" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"script"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<charset interface="HTMLScriptElement" obj="testNode" var="vcharset"/>
+<assertEquals actual="vcharset" expected='"US-ASCII"' id="charsetLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLScriptElement03.xml b/test/testcases/tests/level1/html/HTMLScriptElement03.xml new file mode 100644 index 0000000..d23ad8a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLScriptElement03.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="HTMLScriptElement03">
+<metadata>
+<title>HTMLScriptElement03</title>
+<creator>NIST</creator>
+<description>
+ The defer attribute specifies the user agent can defer processing of
+ the script.
+
+ Retrieve the defer 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-93788534"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdefer" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="script" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"script"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<defer interface="HTMLScriptElement" obj="testNode" var="vdefer"/>
+<assertTrue actual="vdefer" id="deferLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLScriptElement04.xml b/test/testcases/tests/level1/html/HTMLScriptElement04.xml new file mode 100644 index 0000000..da94196 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLScriptElement04.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="HTMLScriptElement04">
+<metadata>
+<title>HTMLScriptElement04</title>
+<creator>NIST</creator>
+<description>
+ The src attribute specifies a URI designating an external script.
+
+ Retrieve the src 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-75147231"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsrc" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="script" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"script"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<src interface="HTMLScriptElement" obj="testNode" var="vsrc"/>
+<assertURIEquals actual="vsrc" file='"script1.js"' id="srcLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLScriptElement05.xml b/test/testcases/tests/level1/html/HTMLScriptElement05.xml new file mode 100644 index 0000000..2a3ede2 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLScriptElement05.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="HTMLScriptElement05">
+<metadata>
+<title>HTMLScriptElement05</title>
+<creator>NIST</creator>
+<description>
+ The type attribute specifies the content of the script language.
+
+ 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-30534818"/>
+</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="script" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"script"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<type interface="HTMLScriptElement" obj="testNode" var="vtype"/>
+<assertEquals actual="vtype" expected='"text/javaScript"' id="typeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLScriptElement06.xml b/test/testcases/tests/level1/html/HTMLScriptElement06.xml new file mode 100644 index 0000000..4e869fc --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLScriptElement06.xml @@ -0,0 +1,38 @@ +<?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="HTMLScriptElement06"> +<metadata> +<title>HTMLScriptElement06</title> +<creator>Curt Arnold</creator> +<description> +htmlFor is described as for future use. Test accesses the value, but makes no assertions about its value. +</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-66979266"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="htmlFor" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="script" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"script"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<htmlFor interface="HTMLScriptElement" obj="testNode" var="htmlFor"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLScriptElement07.xml b/test/testcases/tests/level1/html/HTMLScriptElement07.xml new file mode 100644 index 0000000..d5a0145 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLScriptElement07.xml @@ -0,0 +1,38 @@ +<?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="HTMLScriptElement07"> +<metadata> +<title>HTMLScriptElement07</title> +<creator>Curt Arnold</creator> +<description> +event is described as for future use. Test accesses the value, but makes no assertions about its value. +</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-56700403"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="event" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="script" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"script"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<event interface="HTMLScriptElement" obj="testNode" var="event"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLSelectElement01.xml b/test/testcases/tests/level1/html/HTMLSelectElement01.xml new file mode 100644 index 0000000..3b08881 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement01.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="HTMLSelectElement01">
+<metadata>
+<title>HTMLSelectElement01</title>
+<creator>NIST</creator>
+<description>
+ The type attribute is the string "select-multiple" when multiple
+ attribute is true.
+
+ Retrieve the type attribute from the first SELECT 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-58783172"/>
+</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="select" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<type interface="HTMLSelectElement" obj="testNode" var="vtype"/>
+<assertEquals actual="vtype" expected='"select-multiple"' id="typeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement02.xml b/test/testcases/tests/level1/html/HTMLSelectElement02.xml new file mode 100644 index 0000000..f9e865d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement02.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="HTMLSelectElement02">
+<metadata>
+<title>HTMLSelectElement02</title>
+<creator>NIST</creator>
+<description>
+ The selectedIndex attribute specifies the ordinal index of the selected
+ option.
+
+ Retrieve the selectedIndex attribute from the first SELECT 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-85676760"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vselectedindex" type="int"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="select" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<selectedIndex interface="HTMLSelectElement" obj="testNode" var="vselectedindex"/>
+<assertEquals actual="vselectedindex" expected="0" id="selectedIndexLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement03.xml b/test/testcases/tests/level1/html/HTMLSelectElement03.xml new file mode 100644 index 0000000..97d217c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement03.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 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="HTMLSelectElement03"> +<metadata> +<title>HTMLSelectElement03</title> +<creator>NIST</creator> +<description> + The selectedIndex attribute specifies the ordinal index of the selected + option. If no element is selected -1 is returned. + + Retrieve the selectedIndex attribute from the second SELECT element and + examine its value. + + Per http://www.w3.org/TR/html401/interact/forms.html#h-17.6.1, + without an explicit selected attribute, user agent behavior is + undefined. There is no way to coerce no option to be selected. +</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-85676760"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vselectedindex" type="int"/> +<var name="doc" type="Document"/> +<load var="doc" href="select" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<selectedIndex interface="HTMLSelectElement" obj="testNode" var="vselectedindex"/> +<!-- Commented assertion per section 17.6.3 --> +<!-- assertEquals actual="vselectedindex" expected="-1" id="selectedIndexLink" ignoreCase="false"/ --> +</test> diff --git a/test/testcases/tests/level1/html/HTMLSelectElement04.xml b/test/testcases/tests/level1/html/HTMLSelectElement04.xml new file mode 100644 index 0000000..11ff6ee --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement04.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="HTMLSelectElement04">
+<metadata>
+<title>HTMLSelectElement04</title>
+<creator>NIST</creator>
+<description>
+ The value attribute specifies the current form control value.
+
+ Retrieve the value attribute from the first SELECT 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-59351919"/>
+</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="select" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<value interface="HTMLSelectElement" obj="testNode" var="vvalue"/>
+<assertEquals actual="vvalue" expected='"EMP1"' id="valueLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement05.xml b/test/testcases/tests/level1/html/HTMLSelectElement05.xml new file mode 100644 index 0000000..16c78e1 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement05.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="HTMLSelectElement05">
+<metadata>
+<title>HTMLSelectElement05</title>
+<creator>NIST</creator>
+<description>
+ The length attribute specifies the number of options in this select.
+
+ Retrieve the length attribute from the first SELECT 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-5933486"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlength" type="int"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="select" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<length interface="HTMLSelectElement" obj="testNode" var="vlength"/>
+<assertEquals actual="vlength" expected="5" id="lengthLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement06.xml b/test/testcases/tests/level1/html/HTMLSelectElement06.xml new file mode 100644 index 0000000..8ff66a0 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement06.xml @@ -0,0 +1,45 @@ +<?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="HTMLSelectElement06">
+<metadata>
+<title>HTMLSelectElement06</title>
+<creator>NIST</creator>
+<description>
+ The form attribute returns the FORM element containing this control.
+
+ Retrieve the form attribute from the first SELECT 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-20489458"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vform" type="DOMString" />
+<var name="fNode" type="HTMLFormElement"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="select" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<form interface="HTMLSelectElement" obj="testNode" var="fNode"/>
+<id obj="fNode" var="vform"/>
+<assertEquals actual="vform" expected='"form1"' id="formLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement07.xml b/test/testcases/tests/level1/html/HTMLSelectElement07.xml new file mode 100644 index 0000000..218b9d6 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement07.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="HTMLSelectElement07">
+<metadata>
+<title>HTMLSelectElement07</title>
+<creator>NIST</creator>
+<description>
+ The form attribute returns null if control in not within the context of
+ a form.
+
+ Retrieve the second SELECT element and
+ examine its form element.
+</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-20489458"/>
+</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="select" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<form interface="HTMLSelectElement" obj="testNode" var="vform"/>
+<assertNull actual="vform" id="formNullLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement08.xml b/test/testcases/tests/level1/html/HTMLSelectElement08.xml new file mode 100644 index 0000000..12593fe --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement08.xml @@ -0,0 +1,59 @@ +<?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="HTMLSelectElement08"> +<metadata> +<title>HTMLSelectElement08</title> +<creator>NIST</creator> +<description> + The options attribute returns a collection of OPTION elements contained + by this element. + + Retrieve the options attribute from the first SELECT element and + examine the items of the returned collection. +</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-30606413"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="optionsnodeList" type="HTMLCollection"/> +<var name="testNode" type="Node"/> +<var name="vareas" type="int" /> +<var name="doc" type="Document"/> +<var name="optionName" type="DOMString"/> +<var name="voption" type="Node"/> +<var name="result" type="List"/> +<var name="expectedOptions" type="List"> +<member>"option"</member> +<member>"option"</member> +<member>"option"</member> +<member>"option"</member> +<member>"option"</member> +</var> +<load var="doc" href="select" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<options interface="HTMLSelectElement" obj="testNode" var="optionsnodeList"/> +<for-each collection="optionsnodeList" member="voption"> +<nodeName obj="voption" var="optionName"/> +<append collection="result" item="optionName"/> +</for-each> +<assertEquals actual="result" expected="expectedOptions" id="optionsLink" ignoreCase="auto"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLSelectElement09.xml b/test/testcases/tests/level1/html/HTMLSelectElement09.xml new file mode 100644 index 0000000..382510d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement09.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="HTMLSelectElement09">
+<metadata>
+<title>HTMLSelectElement09</title>
+<creator>NIST</creator>
+<description>
+ The disabled attribute indicates that this control is not available
+ within this context.
+
+ Retrieve the disabled attribute from the third SELECT element
+ and examine its value.
+</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-79102918"/>
+</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="select" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="2"/>
+<disabled interface="HTMLSelectElement" obj="testNode" var="vdisabled"/>
+<assertTrue actual="vdisabled" id="disabledLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement10.xml b/test/testcases/tests/level1/html/HTMLSelectElement10.xml new file mode 100644 index 0000000..b9f5762 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement10.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="HTMLSelectElement10">
+<metadata>
+<title>HTMLSelectElement10</title>
+<creator>NIST</creator>
+<description>
+ The multiple attribute(if true) indicates that multiple OPTION elements
+ may be selected
+
+ Retrieve the multiple attribute from the first SELECT element
+ and examine its value.
+</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-13246613"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vmultiple" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="select" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<multiple interface="HTMLSelectElement" obj="testNode" var="vmultiple"/>
+<assertTrue actual="vmultiple" id="multipleLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement11.xml b/test/testcases/tests/level1/html/HTMLSelectElement11.xml new file mode 100644 index 0000000..ebb4d1b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement11.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="HTMLSelectElement11">
+<metadata>
+<title>HTMLSelectElement11</title>
+<creator>NIST</creator>
+<description>
+ The name attribute specifies the form control or object name when
+ submitted with a form.
+
+ Retrieve the name attribute from the first SELECT element and
+ examine 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-41636323"/>
+</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="select" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<name interface="HTMLSelectElement" obj="testNode" var="vname"/>
+<assertEquals actual="vname" expected='"select1"' id="nameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement12.xml b/test/testcases/tests/level1/html/HTMLSelectElement12.xml new file mode 100644 index 0000000..5559f5d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement12.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="HTMLSelectElement12">
+<metadata>
+<title>HTMLSelectElement12</title>
+<creator>NIST</creator>
+<description>
+ The size attribute specifies the number of visible rows.
+
+ Retrieve the size attribute from the first SELECT 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-18293826"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsize" type="int"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="select" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<size interface="HTMLSelectElement" obj="testNode" var="vsize"/>
+<assertEquals actual="vsize" expected="1" id="sizeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement13.xml b/test/testcases/tests/level1/html/HTMLSelectElement13.xml new file mode 100644 index 0000000..2c0aafb --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement13.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="HTMLSelectElement13">
+<metadata>
+<title>HTMLSelectElement13</title>
+<creator>NIST</creator>
+<description>
+ The tabIndex attribute specifies an index that represents the elements
+ position in the tabbing order.
+
+ Retrieve the tabIndex attribute from the first SELECT element and
+ examine 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-40676705"/>
+</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="select" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<tabIndex interface="HTMLSelectElement" obj="testNode" var="vtabindex"/>
+<assertEquals actual="vtabindex" expected="7" id="tabIndexLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement14.xml b/test/testcases/tests/level1/html/HTMLSelectElement14.xml new file mode 100644 index 0000000..df22987 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement14.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="HTMLSelectElement14"> +<metadata> +<title>HTMLSelectElement14</title> +<creator>Curt Arnold</creator> +<description> +focus should give the select element 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-32130014"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<load var="doc" href="select" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<focus interface="HTMLSelectElement" obj="testNode"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLSelectElement15.xml b/test/testcases/tests/level1/html/HTMLSelectElement15.xml new file mode 100644 index 0000000..dcc2f6d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement15.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="HTMLSelectElement15"> +<metadata> +<title>HTMLSelectElement15</title> +<creator>Curt Arnold</creator> +<description> +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-28216144"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<load var="doc" href="select" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<blur interface="HTMLSelectElement" obj="testNode"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLSelectElement16.xml b/test/testcases/tests/level1/html/HTMLSelectElement16.xml new file mode 100644 index 0000000..a5e9422 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement16.xml @@ -0,0 +1,43 @@ +<?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="HTMLSelectElement16"> +<metadata> +<title>HTMLSelectElement16</title> +<creator>Curt Arnold</creator> +<description> +Removes an option using HTMLSelectElement.remove. +</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-33404570"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<var name="optLength" type="int"/> +<var name="selected" type="int"/> +<load var="doc" href="select" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<remove interface="HTMLSelectElement" obj="testNode" index="0"/> +<length interface="HTMLSelectElement" obj="testNode" var="optLength"/> +<assertEquals actual="optLength" expected="4" id="optLength" ignoreCase="false"/> +<selectedIndex interface="HTMLSelectElement" obj="testNode" var="selected"/> +<assertEquals actual="selected" expected="-1" id="selected" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLSelectElement17.xml b/test/testcases/tests/level1/html/HTMLSelectElement17.xml new file mode 100644 index 0000000..03549ff --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement17.xml @@ -0,0 +1,43 @@ +<?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="HTMLSelectElement17"> +<metadata> +<title>HTMLSelectElement17</title> +<creator>Curt Arnold</creator> +<description> +Removes a non-existant option using HTMLSelectElement.remove. +</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-33404570"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<var name="optLength" type="int"/> +<var name="selected" type="int"/> +<load var="doc" href="select" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<remove interface="HTMLSelectElement" obj="testNode" index="6"/> +<length interface="HTMLSelectElement" obj="testNode" var="optLength"/> +<assertEquals actual="optLength" expected="5" id="optLength" ignoreCase="false"/> +<selectedIndex interface="HTMLSelectElement" obj="testNode" var="selected"/> +<assertEquals actual="selected" expected="0" id="selected" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLSelectElement18.xml b/test/testcases/tests/level1/html/HTMLSelectElement18.xml new file mode 100644 index 0000000..aff29d9 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement18.xml @@ -0,0 +1,57 @@ +<?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="HTMLSelectElement18"> +<metadata> +<title>HTMLSelectElement18</title> +<creator>Curt Arnold</creator> +<description> +Add a new option at the end of an select using HTMLSelectElement.add. +</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-14493106"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<var name="optLength" type="int"/> +<var name="selected" type="int"/> +<var name="newOpt" type="Element"/> +<var name="newOptText" type="Text"/> +<var name="opt" type="Element"/> +<var name="optText" type="Text"/> +<var name="optValue" type="DOMString"/> +<var name="retNode" type="Node"/> +<var name="nullNode" type="Node" isNull="true"/> +<load var="doc" href="select" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<createElement var="newOpt" obj="doc" tagName='"option"'/> +<createTextNode var="newOptText" obj="doc" data='"EMP31415"'/> +<appendChild var="retNode" obj="newOpt" newChild="newOptText"/> +<add interface="HTMLSelectElement" obj="testNode" element="newOpt" before="nullNode"/> +<length interface="HTMLSelectElement" obj="testNode" var="optLength"/> +<assertEquals actual="optLength" expected="6" id="optLength" ignoreCase="false"/> +<selectedIndex interface="HTMLSelectElement" obj="testNode" var="selected"/> +<assertEquals actual="selected" expected="0" id="selected" ignoreCase="false"/> +<lastChild var="opt" obj="testNode" interface="Node"/> +<firstChild var="optText" obj="opt" interface="Node"/> +<nodeValue var="optValue" obj="optText"/> +<assertEquals actual="optValue" expected='"EMP31415"' id="lastValue" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLSelectElement19.xml b/test/testcases/tests/level1/html/HTMLSelectElement19.xml new file mode 100644 index 0000000..2d2a732 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLSelectElement19.xml @@ -0,0 +1,61 @@ +<?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="HTMLSelectElement19"> +<metadata> +<title>HTMLSelectElement19</title> +<creator>Curt Arnold</creator> +<description> +Add a new option before the selected node using HTMLSelectElement.add. +</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-14493106"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<var name="optLength" type="int"/> +<var name="selected" type="int"/> +<var name="newOpt" type="Element"/> +<var name="newOptText" type="Text"/> +<var name="opt" type="Element"/> +<var name="optText" type="Text"/> +<var name="optValue" type="DOMString"/> +<var name="retNode" type="Node"/> +<var name="options" type="HTMLCollection"/> +<var name="selectedNode" type="Node"/> +<load var="doc" href="select" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"select"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<createElement var="newOpt" obj="doc" tagName='"option"'/> +<createTextNode var="newOptText" obj="doc" data='"EMP31415"'/> +<appendChild var="retNode" obj="newOpt" newChild="newOptText"/> +<options var="options" obj="testNode"/> +<item var="selectedNode" obj="options" index="0" interface="HTMLCollection"/> +<add interface="HTMLSelectElement" obj="testNode" element="newOpt" before="selectedNode"/> +<length interface="HTMLSelectElement" obj="testNode" var="optLength"/> +<assertEquals actual="optLength" expected="6" id="optLength" ignoreCase="false"/> +<selectedIndex interface="HTMLSelectElement" obj="testNode" var="selected"/> +<assertEquals actual="selected" expected="1" id="selected" ignoreCase="false"/> +<options var="options" obj="testNode"/> +<item var="opt" obj="options" index="0" interface="HTMLCollection"/> +<firstChild var="optText" obj="opt" interface="Node"/> +<nodeValue var="optValue" obj="optText"/> +<assertEquals actual="optValue" expected='"EMP31415"' id="lastValue" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLStyleElement01.xml b/test/testcases/tests/level1/html/HTMLStyleElement01.xml new file mode 100644 index 0000000..60c2e57 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLStyleElement01.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="HTMLStyleElement01">
+<metadata>
+<title>HTMLStyleElement01</title>
+<creator>NIST</creator>
+<description>
+ The disabled attribute enables/disables the stylesheet.
+
+ 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-51162010"/>
+</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="style" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"style"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<disabled interface="HTMLStyleElement" obj="testNode" var="vdisabled"/>
+<assertFalse actual="vdisabled" id="disabledLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLStyleElement02.xml b/test/testcases/tests/level1/html/HTMLStyleElement02.xml new file mode 100644 index 0000000..727df54 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLStyleElement02.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="HTMLStyleElement02">
+<metadata>
+<title>HTMLStyleElement02</title>
+<creator>NIST</creator>
+<description>
+ The media attribute identifies the intended medium of the style info.
+
+ Retrieve the media 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-76412738"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vmedia" type="DOMString"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="style" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"style"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<media interface="HTMLStyleElement" obj="testNode" var="vmedia"/>
+<assertEquals actual="vmedia" expected='"screen"' id="mediaLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLStyleElement03.xml b/test/testcases/tests/level1/html/HTMLStyleElement03.xml new file mode 100644 index 0000000..54394e3 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLStyleElement03.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="HTMLStyleElement03">
+<metadata>
+<title>HTMLStyleElement03</title>
+<creator>NIST</creator>
+<description>
+ The type attribute specifies the style sheet language(Internet media type).
+
+ 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-22472002"/>
+</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="style" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"style"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<type interface="HTMLStyleElement" obj="testNode" var="vtype"/>
+<assertEquals actual="vtype" expected='"text/css"' id="typeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCaptionElement01.xml b/test/testcases/tests/level1/html/HTMLTableCaptionElement01.xml new file mode 100644 index 0000000..fb2fae7 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCaptionElement01.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="HTMLTableCaptionElement01">
+<metadata>
+<title>HTMLTableCaptionElement01</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the caption alignment with respect to
+ the table.
+
+ 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-79875068"/>
+</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="tablecaption" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"caption"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLTableCaptionElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"top"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement01.xml b/test/testcases/tests/level1/html/HTMLTableCellElement01.xml new file mode 100644 index 0000000..456d6d4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement01.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="HTMLTableCellElement01">
+<metadata>
+<title>HTMLTableCellElement01</title>
+<creator>NIST</creator>
+<description>
+ The cellIndex attribute specifies the index of this cell in the row(TH).
+
+ Retrieve the cellIndex attribute of the first TH element and examine its
+ value.
+</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-80748363"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcellindex" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"th"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<cellIndex interface="HTMLTableCellElement" obj="testNode" var="vcellindex"/>
+<assertEquals actual="vcellindex" expected="0" id="cellIndexLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement02.xml b/test/testcases/tests/level1/html/HTMLTableCellElement02.xml new file mode 100644 index 0000000..f93075e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement02.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="HTMLTableCellElement02">
+<metadata>
+<title>HTMLTableCellElement02</title>
+<creator>NIST</creator>
+<description>
+ The cellIndex attribute specifies the index of this cell in the row(TD).
+
+ Retrieve the cellIndex attribute of the first TD element and examine its
+ value.
+</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-80748363"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcellindex" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<cellIndex interface="HTMLTableCellElement" obj="testNode" var="vcellindex"/>
+<assertEquals actual="vcellindex" expected="0" id="cellIndexLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement03.xml b/test/testcases/tests/level1/html/HTMLTableCellElement03.xml new file mode 100644 index 0000000..ed23a81 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement03.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="HTMLTableCellElement03">
+<metadata>
+<title>HTMLTableCellElement03</title>
+<creator>NIST</creator>
+<description>
+ The abbr attribute specifies the abbreviation for table header cells(TH).
+
+ Retrieve the abbr attribute from the second TH 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-74444037"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vabbr" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"th"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<abbr interface="HTMLTableCellElement" obj="testNode" var="vabbr"/>
+<assertEquals actual="vabbr" expected='"hd1"' id="abbrLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement04.xml b/test/testcases/tests/level1/html/HTMLTableCellElement04.xml new file mode 100644 index 0000000..2a6ba39 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement04.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="HTMLTableCellElement04">
+<metadata>
+<title>HTMLTableCellElement04</title>
+<creator>NIST</creator>
+<description>
+ The abbr attribute specifies the abbreviation for table data cells(TD).
+
+ Retrieve the abbr attribute from the second TD 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-74444037"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vabbr" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<abbr interface="HTMLTableCellElement" obj="testNode" var="vabbr"/>
+<assertEquals actual="vabbr" expected='"hd2"' id="abbrLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement05.xml b/test/testcases/tests/level1/html/HTMLTableCellElement05.xml new file mode 100644 index 0000000..97e12ee --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement05.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="HTMLTableCellElement05">
+<metadata>
+<title>HTMLTableCellElement05</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the horizontal alignment for table
+ header cells(TH).
+
+ Retrieve the align attribute from the second TH element and examine
+ its value.
+</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-98433879"/>
+</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="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"th"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<align interface="HTMLTableCellElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement06.xml b/test/testcases/tests/level1/html/HTMLTableCellElement06.xml new file mode 100644 index 0000000..d642df3 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement06.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="HTMLTableCellElement06">
+<metadata>
+<title>HTMLTableCellElement06</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the horizontal alignment for table
+ data cells(TD).
+
+ Retrieve the align attribute from the second TD element and examine
+ its value.
+</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-98433879"/>
+</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="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<align interface="HTMLTableCellElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement07.xml b/test/testcases/tests/level1/html/HTMLTableCellElement07.xml new file mode 100644 index 0000000..9041f28 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement07.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="HTMLTableCellElement07">
+<metadata>
+<title>HTMLTableCellElement07</title>
+<creator>NIST</creator>
+<description>
+ The axis attribute specifies the names group of related headers for table
+ header cells(TH).
+
+ Retrieve the align attribute from the second TH element and examine
+ its value.
+</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-76554418"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vaxis" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"th"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<axis interface="HTMLTableCellElement" obj="testNode" var="vaxis"/>
+<assertEquals actual="vaxis" expected='"center"' id="axisLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement08.xml b/test/testcases/tests/level1/html/HTMLTableCellElement08.xml new file mode 100644 index 0000000..27136ed --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement08.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="HTMLTableCellElement08">
+<metadata>
+<title>HTMLTableCellElement08</title>
+<creator>NIST</creator>
+<description>
+ The axis attribute specifies the names group of related headers for table
+ data cells(TD).
+
+ Retrieve the axis attribute from the second TD element and examine
+ its value.
+</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-76554418"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vaxis" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<axis interface="HTMLTableCellElement" obj="testNode" var="vaxis"/>
+<assertEquals actual="vaxis" expected='"center"' id="axisLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement09.xml b/test/testcases/tests/level1/html/HTMLTableCellElement09.xml new file mode 100644 index 0000000..efd65ad --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement09.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="HTMLTableCellElement09"> +<metadata> +<title>HTMLTableCellElement09</title> +<creator>NIST</creator> +<description> + The bgColor attribute specifies the cells background color for + table header cells(TH). + + Retrieve the bgColor attribute from the second TH element and examine + its value. +</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-88135431"/> +</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="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"th"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<bgColor interface="HTMLTableCellElement" obj="testNode" var="vbgcolor"/> +<assertEquals actual="vbgcolor" expected='"#00FFFF"' id="bgColorLink" ignoreCase="true"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement10.xml b/test/testcases/tests/level1/html/HTMLTableCellElement10.xml new file mode 100644 index 0000000..64a2746 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement10.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="HTMLTableCellElement10"> +<metadata> +<title>HTMLTableCellElement10</title> +<creator>NIST</creator> +<description> + The bgColor attribute specifies the cells background color for table + data cells(TD). + + Retrieve the bgColor attribute from the second TD element and examine + its value. +</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-88135431"/> +</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="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<bgColor interface="HTMLTableCellElement" obj="testNode" var="vbgcolor"/> +<assertEquals actual="vbgcolor" expected='"#FF0000"' id="bgColorLink" ignoreCase="true"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement11.xml b/test/testcases/tests/level1/html/HTMLTableCellElement11.xml new file mode 100644 index 0000000..0c7c2b3 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement11.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="HTMLTableCellElement11">
+<metadata>
+<title>HTMLTableCellElement11</title>
+<creator>NIST</creator>
+<description>
+ The char attribute specifies the alignment character for cells in a column
+ of table header cells(TH).
+
+ Retrieve the char attribute from the second TH element and examine
+ its value.
+</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-30914780"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vch" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"th"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<ch interface="HTMLTableCellElement" obj="testNode" var="vch"/>
+<assertEquals actual="vch" expected='":"' id="chLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement12.xml b/test/testcases/tests/level1/html/HTMLTableCellElement12.xml new file mode 100644 index 0000000..17ff175 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement12.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="HTMLTableCellElement12">
+<metadata>
+<title>HTMLTableCellElement12</title>
+<creator>NIST</creator>
+<description>
+ The char attribute specifies the alignment character for cells in a column
+ of table data cells(TD).
+
+ Retrieve the char attribute from the second TD element and examine
+ its value.
+</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-30914780"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vch" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<ch interface="HTMLTableCellElement" obj="testNode" var="vch"/>
+<assertEquals actual="vch" expected='":"' id="chLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement13.xml b/test/testcases/tests/level1/html/HTMLTableCellElement13.xml new file mode 100644 index 0000000..74beef5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement13.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="HTMLTableCellElement13">
+<metadata>
+<title>HTMLTableCellElement13</title>
+<creator>NIST</creator>
+<description>
+ The charoff attribute specifies the offset of alignment characacter
+ of table header cells(TH).
+
+ Retrieve the charoff attribute from the second TH element and examine
+ its value.
+</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-20144310"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcharoff" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"th"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<chOff interface="HTMLTableCellElement" obj="testNode" var="vcharoff"/>
+<assertEquals actual="vcharoff" expected='"1"' id="chOffLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement14.xml b/test/testcases/tests/level1/html/HTMLTableCellElement14.xml new file mode 100644 index 0000000..c703661 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement14.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="HTMLTableCellElement14">
+<metadata>
+<title>HTMLTableCellElement14</title>
+<creator>NIST</creator>
+<description>
+ The charoff attribute specifies the offset of alignment character
+ of table data cells(TD).
+
+ Retrieve the charoff attribute from the second TD element and examine
+ its value.
+</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-20144310"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcharoff" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<chOff interface="HTMLTableCellElement" obj="testNode" var="vcharoff"/>
+<assertEquals actual="vcharoff" expected='"1"' id="chOffLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement15.xml b/test/testcases/tests/level1/html/HTMLTableCellElement15.xml new file mode 100644 index 0000000..b476253 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement15.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="HTMLTableCellElement15">
+<metadata>
+<title>HTMLTableCellElement15</title>
+<creator>NIST</creator>
+<description>
+ The colSpan attribute specifies the number of columns spanned by a table
+ header(TH) cell.
+
+ Retrieve the colspan attribute of the second TH element and examine its
+ value.
+</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-84645244"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcolspan" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"th"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<colSpan interface="HTMLTableCellElement" obj="testNode" var="vcolspan"/>
+<assertEquals actual="vcolspan" expected="1" id="colSpanLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement16.xml b/test/testcases/tests/level1/html/HTMLTableCellElement16.xml new file mode 100644 index 0000000..f5a7408 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement16.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="HTMLTableCellElement16">
+<metadata>
+<title>HTMLTableCellElement16</title>
+<creator>NIST</creator>
+<description>
+ The colSpan attribute specifies the number of columns spanned by a
+ table data(TD) cell.
+
+ Retrieve the colSpan attribute of the second TD element and examine its
+ value.
+</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-84645244"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcolspan" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<colSpan interface="HTMLTableCellElement" obj="testNode" var="vcolspan"/>
+<assertEquals actual="vcolspan" expected="1" id="colSpanLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement17.xml b/test/testcases/tests/level1/html/HTMLTableCellElement17.xml new file mode 100644 index 0000000..f10d801 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement17.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="HTMLTableCellElement17">
+<metadata>
+<title>HTMLTableCellElement17</title>
+<creator>NIST</creator>
+<description>
+ The headers attribute specifies a list of id attribute values for
+ table header cells(TH).
+
+ Retrieve the headers attribute from the second TH element and examine
+ its value.
+</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-89104817"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vheaders" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"th"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<headers interface="HTMLTableCellElement" obj="testNode" var="vheaders"/>
+<assertEquals actual="vheaders" expected='"header-1"' id="headersLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement18.xml b/test/testcases/tests/level1/html/HTMLTableCellElement18.xml new file mode 100644 index 0000000..0ed53d0 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement18.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="HTMLTableCellElement18">
+<metadata>
+<title>HTMLTableCellElement18</title>
+<creator>NIST</creator>
+<description>
+ The headers attribute specifies a list of id attribute values for
+ table data cells(TD).
+
+ Retrieve the headers attribute from the second TD element and examine
+ its value.
+</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-89104817"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vheaders" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<headers interface="HTMLTableCellElement" obj="testNode" var="vheaders"/>
+<assertEquals actual="vheaders" expected='"header-3"' id="headersLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement19.xml b/test/testcases/tests/level1/html/HTMLTableCellElement19.xml new file mode 100644 index 0000000..a4ab68d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement19.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="HTMLTableCellElement19">
+<metadata>
+<title>HTMLTableCellElement19</title>
+<creator>NIST</creator>
+<description>
+ The height attribute specifies the cell height.
+
+ Retrieve the height attribute from the second TH 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-83679212"/>
+</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="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"th"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<height interface="HTMLTableCellElement" obj="testNode" var="vheight"/>
+<assertEquals actual="vheight" expected='"50"' id="heightLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement20.xml b/test/testcases/tests/level1/html/HTMLTableCellElement20.xml new file mode 100644 index 0000000..a5fa5ae --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement20.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="HTMLTableCellElement20">
+<metadata>
+<title>HTMLTableCellElement20</title>
+<creator>NIST</creator>
+<description>
+ The height attribute specifies the cell height.
+
+ Retrieve the height attribute from the second TD 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-83679212"/>
+</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="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<height interface="HTMLTableCellElement" obj="testNode" var="vheight"/>
+<assertEquals actual="vheight" expected='"50"' id="heightLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement21.xml b/test/testcases/tests/level1/html/HTMLTableCellElement21.xml new file mode 100644 index 0000000..19bb5fe --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement21.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="HTMLTableCellElement21">
+<metadata>
+<title>HTMLTableCellElement21</title>
+<creator>NIST</creator>
+<description>
+ The noWrap attribute supresses word wrapping.
+
+ Retrieve the noWrap attribute of the second TH 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-62922045"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vnowrap" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"th"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<noWrap interface="HTMLTableCellElement" obj="testNode" var="vnowrap"/>
+<assertTrue actual="vnowrap" id="noWrapLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement22.xml b/test/testcases/tests/level1/html/HTMLTableCellElement22.xml new file mode 100644 index 0000000..98e11c4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement22.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="HTMLTableCellElement22">
+<metadata>
+<title>HTMLTableCellElement22</title>
+<creator>NIST</creator>
+<description>
+ The noWrap attribute supresses word wrapping.
+
+ Retrieve the noWrap attribute of the second TD 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-62922045"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vnowrap" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<noWrap interface="HTMLTableCellElement" obj="testNode" var="vnowrap"/>
+<assertTrue actual="vnowrap" id="noWrapLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement23.xml b/test/testcases/tests/level1/html/HTMLTableCellElement23.xml new file mode 100644 index 0000000..b276fbc --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement23.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="HTMLTableCellElement23">
+<metadata>
+<title>HTMLTableCellElement23</title>
+<creator>NIST</creator>
+<description>
+ The rowSpan attribute specifies the number of rows spanned by a table
+ header(TH) cell.
+
+ Retrieve the rowSpan attribute of the second TH element and examine its
+ value.
+</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-48237625"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vrowspan" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"th"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<rowSpan interface="HTMLTableCellElement" obj="testNode" var="vrowspan"/>
+<assertEquals actual="vrowspan" expected="1" id="rowSpanLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement24.xml b/test/testcases/tests/level1/html/HTMLTableCellElement24.xml new file mode 100644 index 0000000..3679bee --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement24.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="HTMLTableCellElement24">
+<metadata>
+<title>HTMLTableCellElement24</title>
+<creator>NIST</creator>
+<description>
+ The rowSpan attribute specifies the number of rows spanned by a
+ table data(TD) cell.
+
+ Retrieve the rowSpan attribute of the second TD element and examine its
+ value.
+</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-48237625"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vrowspan" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<rowSpan interface="HTMLTableCellElement" obj="testNode" var="vrowspan"/>
+<assertEquals actual="vrowspan" expected="1" id="rowSpanLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement25.xml b/test/testcases/tests/level1/html/HTMLTableCellElement25.xml new file mode 100644 index 0000000..bc74f39 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement25.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="HTMLTableCellElement25">
+<metadata>
+<title>HTMLTableCellElement25</title>
+<creator>NIST</creator>
+<description>
+ The scope attribute specifies the scope covered by header cells.
+
+ Retrieve the scope attribute from the second TH 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-36139952"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vscope" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"th"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<scope interface="HTMLTableCellElement" obj="testNode" var="vscope"/>
+<assertEquals actual="vscope" expected='"col"' id="scopeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement26.xml b/test/testcases/tests/level1/html/HTMLTableCellElement26.xml new file mode 100644 index 0000000..5cf82e8 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement26.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="HTMLTableCellElement26">
+<metadata>
+<title>HTMLTableCellElement26</title>
+<creator>NIST</creator>
+<description>
+ The scope attribute specifies the scope covered by data cells.
+
+ Retrieve the scope attribute from the second TD 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-36139952"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vscope" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<scope interface="HTMLTableCellElement" obj="testNode" var="vscope"/>
+<assertEquals actual="vscope" expected='"col"' id="scopeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement27.xml b/test/testcases/tests/level1/html/HTMLTableCellElement27.xml new file mode 100644 index 0000000..dceae74 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement27.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="HTMLTableCellElement27">
+<metadata>
+<title>HTMLTableCellElement27</title>
+<creator>NIST</creator>
+<description>
+ The vAlign attribute specifies the vertical alignment of data in cell.
+
+ Retrieve the vAlign attribute from the second TH 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-58284221"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vvalign" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"th"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<vAlign interface="HTMLTableCellElement" obj="testNode" var="vvalign"/>
+<assertEquals actual="vvalign" expected='"middle"' id="vAlignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement28.xml b/test/testcases/tests/level1/html/HTMLTableCellElement28.xml new file mode 100644 index 0000000..1594528 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement28.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="HTMLTableCellElement28">
+<metadata>
+<title>HTMLTableCellElement28</title>
+<creator>NIST</creator>
+<description>
+ The vAlign attribute specifies the vertical alignment of data in cell.
+
+ Retrieve the vAlign attribute from the second TD 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-58284221"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vvalign" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<vAlign interface="HTMLTableCellElement" obj="testNode" var="vvalign"/>
+<assertEquals actual="vvalign" expected='"middle"' id="vAlignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement29.xml b/test/testcases/tests/level1/html/HTMLTableCellElement29.xml new file mode 100644 index 0000000..571458b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement29.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="HTMLTableCellElement29">
+<metadata>
+<title>HTMLTableCellElement29</title>
+<creator>NIST</creator>
+<description>
+ The width attribute specifies the cells width.
+
+ Retrieve the width attribute from the second TH 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-27480795"/>
+</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="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"th"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<width interface="HTMLTableCellElement" obj="testNode" var="vwidth"/>
+<assertEquals actual="vwidth" expected='"170"' id="widthLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableCellElement30.xml b/test/testcases/tests/level1/html/HTMLTableCellElement30.xml new file mode 100644 index 0000000..332c038 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableCellElement30.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="HTMLTableCellElement30">
+<metadata>
+<title>HTMLTableCellElement30</title>
+<creator>NIST</creator>
+<description>
+ The width attribute specifies the cells width.
+
+ Retrieve the width attribute from the second TD 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-27480795"/>
+</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="tablecell" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/>
+<assertSize collection="nodeList" size="4" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<width interface="HTMLTableCellElement" obj="testNode" var="vwidth"/>
+<assertEquals actual="vwidth" expected='"175"' id="widthLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableColElement01.xml b/test/testcases/tests/level1/html/HTMLTableColElement01.xml new file mode 100644 index 0000000..ae5fea0 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableColElement01.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="HTMLTableColElement01">
+<metadata>
+<title>HTMLTableColElement01</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the horizontal alignment of cell data
+ in column(COL).
+
+ Retrieve the align attribute from the COL 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-31128447"/>
+</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="tablecol" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"col"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLTableColElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableColElement02.xml b/test/testcases/tests/level1/html/HTMLTableColElement02.xml new file mode 100644 index 0000000..2d30433 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableColElement02.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="HTMLTableColElement02">
+<metadata>
+<title>HTMLTableColElement02</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the horizontal alignment of cell data
+ in column(COLGROUP).
+
+ Retrieve the align attribute from the COLGROUP 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-31128447"/>
+</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="tablecol" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"colgroup"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLTableColElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableColElement03.xml b/test/testcases/tests/level1/html/HTMLTableColElement03.xml new file mode 100644 index 0000000..6710753 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableColElement03.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="HTMLTableColElement03">
+<metadata>
+<title>HTMLTableColElement03</title>
+<creator>NIST</creator>
+<description>
+ The char attribute specifies the alignment character for cells
+ in a column(COL).
+
+ Retrieve the char attribute from the COL 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-9447412"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vch" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecol" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"col"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<ch interface="HTMLTableColElement" obj="testNode" var="vch"/>
+<assertEquals actual="vch" expected='"*"' id="chLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableColElement04.xml b/test/testcases/tests/level1/html/HTMLTableColElement04.xml new file mode 100644 index 0000000..db0ebd0 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableColElement04.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="HTMLTableColElement04">
+<metadata>
+<title>HTMLTableColElement04</title>
+<creator>NIST</creator>
+<description>
+ The char attribute specifies the alignment character for cells
+ in a column(COLGROUP).
+
+ Retrieve the char attribute from the COLGROUP 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-9447412"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vch" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecol" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"colgroup"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<ch interface="HTMLTableColElement" obj="testNode" var="vch"/>
+<assertEquals actual="vch" expected='"$"' id="chLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableColElement05.xml b/test/testcases/tests/level1/html/HTMLTableColElement05.xml new file mode 100644 index 0000000..ebd56a9 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableColElement05.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="HTMLTableColElement05">
+<metadata>
+<title>HTMLTableColElement05</title>
+<creator>NIST</creator>
+<description>
+ The charoff attribute specifies offset of alignment character(COL).
+
+ Retrieve the charoff attribute from the COL 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-57779225"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vchoff" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecol" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"col"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<chOff interface="HTMLTableColElement" obj="testNode" var="vchoff"/>
+<assertEquals actual="vchoff" expected='"20"' id="chLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableColElement06.xml b/test/testcases/tests/level1/html/HTMLTableColElement06.xml new file mode 100644 index 0000000..285f794 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableColElement06.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="HTMLTableColElement06">
+<metadata>
+<title>HTMLTableColElement06</title>
+<creator>NIST</creator>
+<description>
+ The charoff attribute specifies offset of alignment character(COLGROUP).
+
+ Retrieve the charoff attribute from the COLGROUP 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-57779225"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vchoff" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecol" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"colgroup"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<chOff interface="HTMLTableColElement" obj="testNode" var="vchoff"/>
+<assertEquals actual="vchoff" expected='"15"' id="chLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableColElement07.xml b/test/testcases/tests/level1/html/HTMLTableColElement07.xml new file mode 100644 index 0000000..7a70e40 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableColElement07.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="HTMLTableColElement07">
+<metadata>
+<title>HTMLTableColElement07</title>
+<creator>NIST</creator>
+<description>
+ The span attribute indicates the number of columns in a group or affected
+ by a grouping(COL).
+
+ Retrieve the span attribute of the COL 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-96511335"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vspan" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecol" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"col"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<span interface="HTMLTableColElement" obj="testNode" var="vspan"/>
+<assertEquals actual="vspan" expected="1" id="spanLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableColElement08.xml b/test/testcases/tests/level1/html/HTMLTableColElement08.xml new file mode 100644 index 0000000..491ea88 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableColElement08.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="HTMLTableColElement08">
+<metadata>
+<title>HTMLTableColElement08</title>
+<creator>NIST</creator>
+<description>
+ The span attribute indicates the number of columns in a group or affected
+ by a grouping(COLGROUP).
+
+ Retrieve the span attribute of the COLGROUP 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-96511335"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vspan" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecol" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"colgroup"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<span interface="HTMLTableColElement" obj="testNode" var="vspan"/>
+<assertEquals actual="vspan" expected="2" id="spanLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableColElement09.xml b/test/testcases/tests/level1/html/HTMLTableColElement09.xml new file mode 100644 index 0000000..0e3314b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableColElement09.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="HTMLTableColElement09">
+<metadata>
+<title>HTMLTableColElement09</title>
+<creator>NIST</creator>
+<description>
+ The vAlign attribute specifies the vertical alignment of cell data
+ in column(COL).
+
+ Retrieve the vAlign attribute from the COL 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-83291710"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vvalign" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecol" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"col"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<vAlign interface="HTMLTableColElement" obj="testNode" var="vvalign"/>
+<assertEquals actual="vvalign" expected='"middle"' id="vAlignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableColElement10.xml b/test/testcases/tests/level1/html/HTMLTableColElement10.xml new file mode 100644 index 0000000..7be9c98 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableColElement10.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="HTMLTableColElement10">
+<metadata>
+<title>HTMLTableColElement10</title>
+<creator>NIST</creator>
+<description>
+ The vAlign attribute specifies the vertical alignment of cell data
+ in column(COLGROUP).
+
+ Retrieve the vAlign attribute from the COLGROUP 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-83291710"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vvalign" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablecol" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"colgroup"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<vAlign interface="HTMLTableColElement" obj="testNode" var="vvalign"/>
+<assertEquals actual="vvalign" expected='"middle"' id="vAlignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableColElement11.xml b/test/testcases/tests/level1/html/HTMLTableColElement11.xml new file mode 100644 index 0000000..636a0ae --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableColElement11.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="HTMLTableColElement11">
+<metadata>
+<title>HTMLTableColElement11</title>
+<creator>NIST</creator>
+<description>
+ The width attribute specifies the default column width(COL).
+
+ Retrieve the width attribute from the COL 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-25196799"/>
+</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="tablecol" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"col"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<width interface="HTMLTableColElement" obj="testNode" var="vwidth"/>
+<assertEquals actual="vwidth" expected='"20"' id="widthLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableColElement12.xml b/test/testcases/tests/level1/html/HTMLTableColElement12.xml new file mode 100644 index 0000000..bc39b9a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableColElement12.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="HTMLTableColElement12">
+<metadata>
+<title>HTMLTableColElement12</title>
+<creator>NIST</creator>
+<description>
+ The width attribute specifies the default column width(COLGORUP).
+
+ Retrieve the width attribute from the COLGROUP 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-25196799"/>
+</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="tablecol" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"colgroup"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<width interface="HTMLTableColElement" obj="testNode" var="vwidth"/>
+<assertEquals actual="vwidth" expected='"20"' id="widthLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement01.xml b/test/testcases/tests/level1/html/HTMLTableElement01.xml new file mode 100644 index 0000000..7135fd7 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement01.xml @@ -0,0 +1,45 @@ +<?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="HTMLTableElement01">
+<metadata>
+<title>HTMLTableElement01</title>
+<creator>NIST</creator>
+<description>
+ The caption attribute returns the tables CAPTION.
+
+ Retrieve the align attribute of the CAPTION element from the second
+ TABLE 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-14594520"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcaption" type="HTMLTableCaptionElement" />
+<var name="valign" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="table" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<caption interface="HTMLTableElement" obj="testNode" var="vcaption"/>
+<align interface="HTMLTableCaptionElement" obj="vcaption" var="valign"/>
+<assertEquals actual="valign" expected='"top"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement02.xml b/test/testcases/tests/level1/html/HTMLTableElement02.xml new file mode 100644 index 0000000..fb9fa8f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement02.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="HTMLTableElement02">
+<metadata>
+<title>HTMLTableElement02</title>
+<creator>NIST</creator>
+<description>
+ The caption attribute returns the tables CAPTION or void if it does not
+ exist.
+
+ Retrieve the CAPTION element from within the first TABLE element.
+ Since one does not exist it should be void.
+</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-14594520"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcaption" type="HTMLTableCaptionElement" />
+<var name="doc" type="Document"/>
+<load var="doc" href="table" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<caption interface="HTMLTableElement" obj="testNode" var="vcaption"/>
+<assertNull actual="vcaption" id="captionLink" />
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement03.xml b/test/testcases/tests/level1/html/HTMLTableElement03.xml new file mode 100644 index 0000000..0b59fe6 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement03.xml @@ -0,0 +1,45 @@ +<?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="HTMLTableElement03">
+<metadata>
+<title>HTMLTableElement03</title>
+<creator>NIST</creator>
+<description>
+ The tHead attribute returns the tables THEAD.
+
+ Retrieve the align attribute of the THEAD element from the second
+ TABLE 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-9530944"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsection" type="HTMLTableSectionElement" />
+<var name="valign" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="table" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<tHead interface="HTMLTableElement" obj="testNode" var="vsection"/>
+<align interface="HTMLTableSectionElement" obj="vsection" var="valign"/>
+<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement04.xml b/test/testcases/tests/level1/html/HTMLTableElement04.xml new file mode 100644 index 0000000..1e254b3 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement04.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="HTMLTableElement04">
+<metadata>
+<title>HTMLTableElement04</title>
+<creator>NIST</creator>
+<description>
+ The tHead attribute returns the tables THEAD or null if it does not
+ exist.
+
+ Retrieve the THEAD element from within the first TABLE element.
+ Since one does not exist it should be null.
+</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-9530944"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsection" type="HTMLTableSectionElement" />
+<var name="doc" type="Document"/>
+<load var="doc" href="table" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<tHead interface="HTMLTableElement" obj="testNode" var="vsection"/>
+<assertNull actual="vsection" id="sectionLink" />
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement05.xml b/test/testcases/tests/level1/html/HTMLTableElement05.xml new file mode 100644 index 0000000..15de11c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement05.xml @@ -0,0 +1,45 @@ +<?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="HTMLTableElement05">
+<metadata>
+<title>HTMLTableElement05</title>
+<creator>NIST</creator>
+<description>
+ The tFoot attribute returns the tables TFOOT.
+
+ Retrieve the align attribute of the TFOOT element from the second
+ TABLE 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-64197097"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsection" type="HTMLTableSectionElement" />
+<var name="valign" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="table" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<tFoot interface="HTMLTableElement" obj="testNode" var="vsection"/>
+<align interface="HTMLTableSectionElement" obj="vsection" var="valign"/>
+<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement06.xml b/test/testcases/tests/level1/html/HTMLTableElement06.xml new file mode 100644 index 0000000..e18b8f8 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement06.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="HTMLTableElement06">
+<metadata>
+<title>HTMLTableElement06</title>
+<creator>NIST</creator>
+<description>
+ The tFoot attribute returns the tables TFOOT or null if it does not
+ exist.
+
+ Retrieve the TFOOT element from within the first TABLE element.
+ Since one does not exist it should be null.
+</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-64197097"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsection" type="HTMLTableSectionElement" />
+<var name="doc" type="Document"/>
+<load var="doc" href="table" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<tFoot interface="HTMLTableElement" obj="testNode" var="vsection"/>
+<assertNull actual="vsection" id="sectionLink" />
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement07.xml b/test/testcases/tests/level1/html/HTMLTableElement07.xml new file mode 100644 index 0000000..44be1c3 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement07.xml @@ -0,0 +1,57 @@ +<?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="HTMLTableElement07"> +<metadata> +<title>HTMLTableElement07</title> +<creator>NIST</creator> +<description> + The rows attribute returns a collection of all the rows in the table, + including al in THEAD, TFOOT, all TBODY elements. + + Retrieve the rows attribute from the second TABLE element and + examine the items of the returned collection. +</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-6156016"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<var name="rowName" type="DOMString"/> +<var name="vrow" type="Node"/> +<var name="result" type="List"/> +<var name="expectedOptions" type="List"> +<member>"tr"</member> +<member>"tr"</member> +<member>"tr"</member> +<member>"tr"</member> +</var> +<load var="doc" href="table" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<rows interface="HTMLTableElement" obj="testNode" var="rowsnodeList"/> +<for-each collection="rowsnodeList" member="vrow"> +<nodeName obj="vrow" var="rowName"/> +<append collection="result" item="rowName"/> +</for-each> +<assertEquals actual="result" expected="expectedOptions" id="rowsLink" ignoreCase="auto"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement08.xml b/test/testcases/tests/level1/html/HTMLTableElement08.xml new file mode 100644 index 0000000..1a744b1 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement08.xml @@ -0,0 +1,54 @@ +<?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="HTMLTableElement08"> +<metadata> +<title>HTMLTableElement08</title> +<creator>NIST</creator> +<description> + The tBodies attribute returns a collection of all the defined + table bodies. + + Retrieve the tBodies attribute from the second TABLE element and + examine the items of the returned collection. +</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-63206416"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="tbodiesnodeList" type="HTMLCollection"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<var name="tbodiesName" type="DOMString"/> +<var name="vtbodies" type="Node"/> +<var name="result" type="List"/> +<var name="expectedOptions" type="List"> +<member>"tbody"</member> +</var> +<load var="doc" href="table" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<tBodies interface="HTMLTableElement" obj="testNode" var="tbodiesnodeList"/> +<for-each collection="tbodiesnodeList" member="vtbodies"> +<nodeName obj="vtbodies" var="tbodiesName"/> +<append collection="result" item="tbodiesName"/> +</for-each> +<assertEquals actual="result" expected="expectedOptions" id="tbodiesLink" ignoreCase="auto"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement09.xml b/test/testcases/tests/level1/html/HTMLTableElement09.xml new file mode 100644 index 0000000..a0aecf3 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement09.xml @@ -0,0 +1,57 @@ +<?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="HTMLTableElement09"> +<metadata> +<title>HTMLTableElement09</title> +<creator>NIST</creator> +<description> + The tBodies attribute returns a collection of all the defined + table bodies. + + Retrieve the tBodies attribute from the third TABLE element and + examine the items of the returned collection. Tests multiple TBODY + elements. +</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-63206416"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="tbodiesnodeList" type="HTMLCollection"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<var name="tbodiesName" type="DOMString"/> +<var name="vtbodies" type="Node"/> +<var name="result" type="List"/> +<var name="expectedOptions" type="List"> +<member>"tbody"</member> +<member>"tbody"</member> +<member>"tbody"</member> +</var> +<load var="doc" href="table" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="2"/> +<tBodies interface="HTMLTableElement" obj="testNode" var="tbodiesnodeList"/> +<for-each collection="tbodiesnodeList" member="vtbodies"> +<nodeName obj="vtbodies" var="tbodiesName"/> +<append collection="result" item="tbodiesName"/> +</for-each> +<assertEquals actual="result" expected="expectedOptions" id="tbodiesLink" ignoreCase="auto"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement10.xml b/test/testcases/tests/level1/html/HTMLTableElement10.xml new file mode 100644 index 0000000..160afeb --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement10.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="HTMLTableElement10">
+<metadata>
+<title>HTMLTableElement10</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the table's position with respect to the
+ rest of the document.
+
+ Retrieve the align attribute of the first TABLE element and examine
+ 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-23180977"/>
+</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="table" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLTableElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement11.xml b/test/testcases/tests/level1/html/HTMLTableElement11.xml new file mode 100644 index 0000000..785c4d0 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement11.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="HTMLTableElement11">
+<metadata>
+<title>HTMLTableElement11</title>
+<creator>NIST</creator>
+<description>
+ The bgColor attribute specifies cell background color.
+
+ Retrieve the bgColor attribute of the first TABLE 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-83532985"/>
+</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="table" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<bgColor interface="HTMLTableElement" obj="testNode" var="vbgcolor"/>
+<assertEquals actual="vbgcolor" expected='"#ff0000"' id="bgColorLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement12.xml b/test/testcases/tests/level1/html/HTMLTableElement12.xml new file mode 100644 index 0000000..811a147 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement12.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="HTMLTableElement12">
+<metadata>
+<title>HTMLTableElement12</title>
+<creator>NIST</creator>
+<description>
+ The border attribute specifies the width of the border around the table.
+
+ Retrieve the border attribute of the first TABLE 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-50969400"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vborder" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="table" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<border interface="HTMLTableElement" obj="testNode" var="vborder"/>
+<assertEquals actual="vborder" expected='"4"' id="borderLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement13.xml b/test/testcases/tests/level1/html/HTMLTableElement13.xml new file mode 100644 index 0000000..4a18d8d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement13.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="HTMLTableElement13">
+<metadata>
+<title>HTMLTableElement13</title>
+<creator>NIST</creator>
+<description>
+ The cellpadding attribute specifies the horizontal and vertical space
+ between cell content and cell borders.
+
+ Retrieve the cellpadding attribute of the first TABLE element and examine
+ 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-59162158"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcellpadding" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="table" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<cellPadding interface="HTMLTableElement" obj="testNode" var="vcellpadding"/>
+<assertEquals actual="vcellpadding" expected='"2"' id="cellPaddingLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement14.xml b/test/testcases/tests/level1/html/HTMLTableElement14.xml new file mode 100644 index 0000000..478e9c9 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement14.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="HTMLTableElement14">
+<metadata>
+<title>HTMLTableElement14</title>
+<creator>NIST</creator>
+<description>
+ The cellSpacing attribute specifies the horizontal and vertical separation
+ between cells.
+
+ Retrieve the cellSpacing attribute of the first TABLE 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-68907883"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="cellSpacing" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="table" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<cellSpacing interface="HTMLTableElement" obj="testNode" var="cellSpacing"/>
+<assertEquals actual="cellSpacing" expected='"2"' id="cellSpacingLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement15.xml b/test/testcases/tests/level1/html/HTMLTableElement15.xml new file mode 100644 index 0000000..51f9763 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement15.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="HTMLTableElement15">
+<metadata>
+<title>HTMLTableElement15</title>
+<creator>NIST</creator>
+<description>
+ The frame attribute specifies which external table borders to render.
+
+ Retrieve the frame attribute of the first TABLE 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-64808476"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vframe" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="table" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<frame interface="HTMLTableElement" obj="testNode" var="vframe"/>
+<assertEquals actual="vframe" expected='"border"' id="frameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement16.xml b/test/testcases/tests/level1/html/HTMLTableElement16.xml new file mode 100644 index 0000000..7166437 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement16.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="HTMLTableElement16">
+<metadata>
+<title>HTMLTableElement16</title>
+<creator>NIST</creator>
+<description>
+ The rules attribute specifies which internal table borders to render.
+
+ Retrieve the rules attribute of the first TABLE 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-26347553"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vrules" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="table" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<rules interface="HTMLTableElement" obj="testNode" var="vrules"/>
+<assertEquals actual="vrules" expected='"all"' id="rulesLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement17.xml b/test/testcases/tests/level1/html/HTMLTableElement17.xml new file mode 100644 index 0000000..9337c09 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement17.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="HTMLTableElement17">
+<metadata>
+<title>HTMLTableElement17</title>
+<creator>NIST</creator>
+<description>
+ The summary attribute is a description about the purpose or structure
+ of a table.
+
+ Retrieve the summary attribute of the first TABLE element and examine
+ 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-44998528"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsummary" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="table" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<summary interface="HTMLTableElement" obj="testNode" var="vsummary"/>
+<assertEquals actual="vsummary" expected='"HTML Control Table"' id="summaryLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement18.xml b/test/testcases/tests/level1/html/HTMLTableElement18.xml new file mode 100644 index 0000000..210e2b1 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement18.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="HTMLTableElement18">
+<metadata>
+<title>HTMLTableElement18</title>
+<creator>NIST</creator>
+<description>
+ The width attribute specifies the desired table width.
+
+ Retrieve the width attribute of the first TABLE 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-77447361"/>
+</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="table" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<width interface="HTMLTableElement" obj="testNode" var="vwidth"/>
+<assertEquals actual="vwidth" expected='"680"' id="widthLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement19.xml b/test/testcases/tests/level1/html/HTMLTableElement19.xml new file mode 100644 index 0000000..152174d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement19.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="HTMLTableElement19"> +<metadata> +<title>HTMLTableElement19</title> +<creator>NIST</creator> +<description> + The createTHead() method creates a table header row or returns + an existing one. + + Create a new THEAD element on the first TABLE element. The first + TABLE element should return null to make sure one doesn't exist. + After creation of the THEAD element the value is once again + checked and should not be null. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-70313345"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection1" type="HTMLTableSectionElement" /> +<var name="vsection2" type="HTMLTableSectionElement" /> +<var name="newHead" type="HTMLElement" /> +<var name="doc" type="Document"/> +<load var="doc" href="table" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<tHead interface="HTMLTableElement" obj="testNode" var="vsection1"/> +<assertNull actual="vsection1" id="vsection1Id"/> +<createTHead interface="HTMLTableElement" obj="testNode" var="newHead"/> +<tHead interface="HTMLTableElement" obj="testNode" var="vsection2"/> +<assertNotNull actual="vsection2" id="vsection2Id"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement20.xml b/test/testcases/tests/level1/html/HTMLTableElement20.xml new file mode 100644 index 0000000..032725b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement20.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="HTMLTableElement20"> +<metadata> +<title>HTMLTableElement20</title> +<creator>NIST</creator> +<description> + The createTHead() method creates a table header row or returns + an existing one. + + Try to create a new THEAD element on the second TABLE element. + Since a THEAD element already exists in the TABLE element a new + THEAD element is not created and information from the already + existing THEAD element is returned. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-70313345"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection" type="HTMLTableSectionElement" /> +<var name="newHead" type="HTMLElement" /> +<var name="valign" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="table" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<createTHead interface="HTMLTableElement" obj="testNode" var="newHead"/> +<tHead interface="HTMLTableElement" obj="testNode" var="vsection"/> +<align interface="HTMLTableSectionElement" obj="vsection" var="valign"/> +<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement21.xml b/test/testcases/tests/level1/html/HTMLTableElement21.xml new file mode 100644 index 0000000..3903b69 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement21.xml @@ -0,0 +1,62 @@ +<?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="HTMLTableElement21"> +<metadata> +<title>HTMLTableElement21</title> +<creator>NIST</creator> +<description> + The deleteTHead() method deletes the header from the table. + + The deleteTHead() method will delete the THEAD Element from the + second TABLE element. First make sure that the THEAD element exists + and then count the number of rows. After the THEAD element is + deleted there should be one less row. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-38310198"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="testNode" type="Node"/> +<var name="vsection1" type="HTMLTableElement" /> +<var name="vsection2" type="HTMLTableElement" /> +<var name="vrows" type="int"/> +<var name="doc" type="Document"/> +<var name="result" type="List"/> +<var name="expectedResult" type="List"> +<member>4</member> +<member>3</member> +</var> +<load var="doc" href="table" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<tHead interface="HTMLTableElement" obj="testNode" var="vsection1"/> +<assertNotNull actual="vsection1" id="vsection1Id"/> +<rows interface="HTMLTableElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<append collection="result" item="vrows"/> +<deleteTHead obj="testNode" interface="HTMLTableElement"/> +<tHead interface="HTMLTableElement" obj="testNode" var="vsection2"/> +<rows interface="HTMLTableElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<append collection="result" item="vrows"/> +<assertEquals actual="result" expected="expectedResult" id="rowsLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement22.xml b/test/testcases/tests/level1/html/HTMLTableElement22.xml new file mode 100644 index 0000000..6649b0f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement22.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="HTMLTableElement22"> +<metadata> +<title>HTMLTableElement22</title> +<creator>NIST</creator> +<description> + The createTFoot() method creates a table footer row or returns + an existing one. + + Create a new TFOOT element on the first TABLE element. The first + TABLE element should return null to make sure one doesn't exist. + After creation of the TFOOT element the value is once again + checked and should not be null. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-8453710"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection1" type="HTMLTableSectionElement" /> +<var name="vsection2" type="HTMLTableSectionElement" /> +<var name="newFoot" type="HTMLElement" /> +<var name="doc" type="Document"/> +<load var="doc" href="table" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<tFoot interface="HTMLTableElement" obj="testNode" var="vsection1"/> +<assertNull actual="vsection1" id="vsection1Id"/> +<createTFoot interface="HTMLTableElement" obj="testNode" var="newFoot"/> +<tFoot interface="HTMLTableElement" obj="testNode" var="vsection2"/> +<assertNotNull actual="vsection2" id="vsection2Id"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement23.xml b/test/testcases/tests/level1/html/HTMLTableElement23.xml new file mode 100644 index 0000000..1f53f03 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement23.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="HTMLTableElement23"> +<metadata> +<title>HTMLTableElement23</title> +<creator>NIST</creator> +<description> + The createTFoot() method creates a table footer row or returns + an existing one. + + Try to create a new TFOOT element on the second TABLE element. + Since a TFOOT element already exists in the TABLE element a new + TFOOT element is not created and information from the already + existing TFOOT element is returned. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-8453710"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection" type="HTMLTableSectionElement" /> +<var name="newFoot" type="HTMLElement" /> +<var name="valign" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="table" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<createTFoot interface="HTMLTableElement" obj="testNode" var="newFoot"/> +<tFoot interface="HTMLTableElement" obj="testNode" var="vsection"/> +<align interface="HTMLTableSectionElement" obj="vsection" var="valign"/> +<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement24.xml b/test/testcases/tests/level1/html/HTMLTableElement24.xml new file mode 100644 index 0000000..d6f993c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement24.xml @@ -0,0 +1,62 @@ +<?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="HTMLTableElement24"> +<metadata> +<title>HTMLTableElement24</title> +<creator>NIST</creator> +<description> + The deleteTFoot() method deletes the footer from the table. + + The deleteTFoot() method will delete the TFOOT Element from the + second TABLE element. First make sure that the TFOOT element exists + and then count the number of rows. After the TFOOT element is + deleted there should be one less row. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-78363258"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="testNode" type="Node"/> +<var name="vsection1" type="HTMLTableElement" /> +<var name="vsection2" type="HTMLTableElement" /> +<var name="vrows" type="int"/> +<var name="doc" type="Document"/> +<var name="result" type="List"/> +<var name="expectedResult" type="List"> +<member>4</member> +<member>3</member> +</var> +<load var="doc" href="table" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<tFoot interface="HTMLTableElement" obj="testNode" var="vsection1"/> +<assertNotNull actual="vsection1" id="vsection1Id"/> +<rows interface="HTMLTableElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<append collection="result" item="vrows"/> +<deleteTFoot obj="testNode" interface="HTMLTableElement"/> +<tFoot interface="HTMLTableElement" obj="testNode" var="vsection2"/> +<rows interface="HTMLTableElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<append collection="result" item="vrows"/> +<assertEquals actual="result" expected="expectedResult" id="rowsLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement25.xml b/test/testcases/tests/level1/html/HTMLTableElement25.xml new file mode 100644 index 0000000..a28ae65 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement25.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="HTMLTableElement25"> +<metadata> +<title>HTMLTableElement25</title> +<creator>NIST</creator> +<description> + The createCaption() method creates a new table caption object or returns + an existing one. + + Create a new CAPTION element on the first TABLE element. Since + one does not currently exist the CAPTION element is created. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-96920263"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection1" type="HTMLTableCaptionElement" /> +<var name="vsection2" type="HTMLTableCaptionElement" /> +<var name="newCaption" type="HTMLElement" /> +<var name="doc" type="Document"/> +<load var="doc" href="table" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<caption interface="HTMLTableElement" obj="testNode" var="vsection1"/> +<assertNull actual="vsection1" id="vsection1Id"/> +<createCaption interface="HTMLTableElement" obj="testNode" var="newCaption"/> +<caption interface="HTMLTableElement" obj="testNode" var="vsection2"/> +<assertNotNull actual="vsection2" id="vsection2Id"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement26.xml b/test/testcases/tests/level1/html/HTMLTableElement26.xml new file mode 100644 index 0000000..5517f2f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement26.xml @@ -0,0 +1,52 @@ +<?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="HTMLTableElement26"> +<metadata> +<title>HTMLTableElement26</title> +<creator>NIST</creator> +<description> + The createCaption() method creates a new table caption object or returns + an existing one. + + Create a new CAPTION element on the first TABLE element. Since + one currently exists the CAPTION element is not created and you + can get the align attribute from the CAPTION element that exists. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-96920263"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection1" type="HTMLTableSectionElement" /> +<var name="vcaption" type="HTMLTableCaptionElement" /> +<var name="newCaption" type="HTMLElement" /> +<var name="valign" type="DOMString"/> +<var name="doc" type="Document"/> +<load var="doc" href="table" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<caption interface="HTMLTableElement" obj="testNode" var="vsection1"/> +<assertNotNull actual="vsection1" id="vsection1Id"/> +<createCaption interface="HTMLTableElement" obj="testNode" var="newCaption"/> +<caption interface="HTMLTableElement" obj="testNode" var="vcaption"/> +<align interface="HTMLTableCaptionElement" obj="vcaption" var="valign"/> +<assertEquals actual="valign" expected='"top"' id="alignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement27.xml b/test/testcases/tests/level1/html/HTMLTableElement27.xml new file mode 100644 index 0000000..c387d69 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement27.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="HTMLTableElement27"> +<metadata> +<title>HTMLTableElement27</title> +<creator>NIST</creator> +<description> + The deleteCaption() method deletes the table caption. + + Delete the CAPTION element on the second TABLE element. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-22930071"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection1" type="HTMLTableSectionElement" /> +<var name="vsection2" type="HTMLTableSectionElement" /> +<var name="valign" type="DOMString"/> +<var name="doc" type="Document"/> +<load var="doc" href="table" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<caption interface="HTMLTableElement" obj="testNode" var="vsection1"/> +<assertNotNull actual="vsection1" id="vsection1Id"/> +<deleteCaption interface="HTMLTableElement" obj="testNode"/> +<caption interface="HTMLTableElement" obj="testNode" var="vsection2"/> +<assertNull actual="vsection2" id="vsection2Id"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement28.xml b/test/testcases/tests/level1/html/HTMLTableElement28.xml new file mode 100644 index 0000000..95f300c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement28.xml @@ -0,0 +1,57 @@ +<?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="HTMLTableElement28"> +<metadata> +<title>HTMLTableElement28</title> +<creator>NIST</creator> +<description> + The insertRow() method inserts a new empty table row. + + Retrieve the second TABLE element and invoke the insertRow() method + with an index of 0. Currently the zero indexed row is in the THEAD + section of the TABLE. The number of rows in the THEAD section before + insertion of the new row is one. After the new row is inserted the number + of rows in the THEAD section is two. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-39872903"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="newRow" type="HTMLElement"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vsection1" type="HTMLTableSectionElement"/> +<var name="vsection2" type="HTMLTableSectionElement"/> +<var name="vrows" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="table" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<tHead interface="HTMLTableElement" obj="testNode" var="vsection1"/> +<rows interface="HTMLTableSectionElement" obj="vsection1" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="1" id="rowsLink1" ignoreCase="false"/> +<insertRow interface="HTMLTableElement" obj="testNode" var="newRow" index="0"/> +<tHead interface="HTMLTableElement" obj="testNode" var="vsection2"/> +<rows interface="HTMLTableSectionElement" obj="vsection2" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="2" id="rowsLink2" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement29.xml b/test/testcases/tests/level1/html/HTMLTableElement29.xml new file mode 100644 index 0000000..ba62848 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement29.xml @@ -0,0 +1,61 @@ +<?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="HTMLTableElement29"> +<metadata> +<title>HTMLTableElement29</title> +<creator>NIST</creator> +<description> + The insertRow() method inserts a new empty table row. + + Retrieve the second TABLE element and invoke the insertRow() method + with an index of two. Currently the 2nd indexed row is in the TBODY + section of the TABLE. The number of rows in the TBODY section before + insertion of the new row is two. After the new row is inserted the number + of rows in the TBODY section is three. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-39872903"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="tbodiesnodeList" type="HTMLCollection"/> +<var name="testNode" type="Node"/> +<var name="bodyNode" type="Node"/> +<var name="newRow" type="HTMLElement"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vsection1" type="HTMLTableSectionElement"/> +<var name="vsection2" type="HTMLTableSectionElement"/> +<var name="vrows" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="table" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<tBodies interface="HTMLTableElement" obj="testNode" var="tbodiesnodeList"/> +<item interface="HTMLCollection" obj="tbodiesnodeList" var="bodyNode" index="0"/> +<rows interface="HTMLTableSectionElement" obj="bodyNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="2" id="rowsLink1" ignoreCase="false"/> +<insertRow interface="HTMLTableElement" obj="testNode" var="newRow" index="2"/> +<tBodies interface="HTMLTableElement" obj="testNode" var="tbodiesnodeList"/> +<item interface="HTMLCollection" obj="tbodiesnodeList" var="bodyNode" index="0"/> +<rows interface="HTMLTableSectionElement" obj="bodyNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="3" id="rowsLink2" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement30.xml b/test/testcases/tests/level1/html/HTMLTableElement30.xml new file mode 100644 index 0000000..e45cf68 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement30.xml @@ -0,0 +1,64 @@ +<?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="HTMLTableElement30"> +<metadata> +<title>HTMLTableElement30</title> +<creator>NIST</creator> +<description> + The insertRow() method inserts a new empty table row. + + Retrieve the second TABLE element and invoke the insertRow() method + with an index of four. After the new row is inserted the number of rows + in the table should be five. + Also the number of rows in the TFOOT section before + insertion of the new row is one. After the new row is inserted the number + of rows in the TFOOT section is two. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-39872903"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="tbodiesnodeList" type="HTMLCollection"/> +<var name="testNode" type="Node"/> +<var name="newRow" type="HTMLElement"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vsection1" type="HTMLTableSectionElement"/> +<var name="vrows" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="table" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="4" id="rowsLink1" ignoreCase="false"/> +<tFoot interface="HTMLTableElement" obj="testNode" var="vsection1"/> +<rows interface="HTMLTableSectionElement" obj="vsection1" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="1" id="rowsLink" ignoreCase="false"/> +<insertRow interface="HTMLTableElement" obj="testNode" var="newRow" index="4"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="5" id="rowsLink2" ignoreCase="false"/> +<tFoot interface="HTMLTableElement" obj="testNode" var="vsection1"/> +<rows interface="HTMLTableSectionElement" obj="vsection1" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="2" id="rowsLink3" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement31.xml b/test/testcases/tests/level1/html/HTMLTableElement31.xml new file mode 100644 index 0000000..e5eb32d --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement31.xml @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" 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="HTMLTableElement31"> +<metadata> +<title>HTMLTableElement31</title> +<creator>NIST</creator> +<description> + The insertRow() method inserts a new empty table row. In addition, when + the table is empty the row is inserted into a TBODY which is created + and inserted into the table. + + Load the table1 file which has a non-empty table element. + Create an empty TABLE element and append to the document. + Check to make sure that the empty TABLE element doesn't + have a TBODY element. Insert a new row into the empty + TABLE element. Check for existence of the a TBODY element + in the table. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-39872903"/> +<!-- comments on the commented out sections --> +<subject resource="http://lists.w3.org/Archives/Public/www-dom-ts/2002Aug/0019.html"/> +<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=502"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="tableNode" type="Node"/> +<var name="tbodiesnodeList" type="HTMLCollection"/> +<var name="newRow" type="HTMLElement"/> +<var name="doc" type="Document"/> +<var name="table" type="Element"/> +<var name="tbodiesLength" type="int"/> +<load var="doc" href="table1" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"body"'/> +<assertSize collection="nodeList" size="1" id="tableSize1"/> +<item interface="NodeList" obj="nodeList" index="0" var="testNode"/> +<createElement obj="doc" var="table" tagName='"table"'/> +<appendChild obj="testNode" newChild="table" var="tableNode"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="2" id="tableSize2"/> +<tBodies interface="HTMLTableElement" obj="tableNode" var="tbodiesnodeList"/> +<length var="tbodiesLength" obj="tbodiesnodeList" interface="HTMLCollection"/> +<assertEquals actual="tbodiesLength" expected="0" id="Asize3" ignoreCase="false"/> +<insertRow interface="HTMLTableElement" obj="tableNode" var="newRow" index="0"/> +<tBodies interface="HTMLTableElement" obj="tableNode" var="tbodiesnodeList"/> +<length var="tbodiesLength" obj="tbodiesnodeList" interface="HTMLCollection"/> +<assertEquals actual="tbodiesLength" expected="1" id="Asize4" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement32.xml b/test/testcases/tests/level1/html/HTMLTableElement32.xml new file mode 100644 index 0000000..a6529b0 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement32.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="HTMLTableElement32"> +<metadata> +<title>HTMLTableElement32</title> +<creator>NIST</creator> +<description> + The deleteRow() method deletes a table row. + + Retrieve the second TABLE element and invoke the deleteRow() method + with an index of 0(first row). Currently there are four rows in the + table. After the deleteRow() method is called there should be + three rows in the table. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-13114938"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vrows" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="table" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="4" id="rowsLink1" ignoreCase="false"/> +<deleteRow interface="HTMLTableElement" obj="testNode" index="0"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="3" id="rowsLink2" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableElement33.xml b/test/testcases/tests/level1/html/HTMLTableElement33.xml new file mode 100644 index 0000000..1ae507a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableElement33.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="HTMLTableElement33"> +<metadata> +<title>HTMLTableElement33</title> +<creator>NIST</creator> +<description> + The deleteRow() method deletes a table row. + + Retrieve the second TABLE element and invoke the deleteRow() method + with an index of 3(last row). Currently there are four rows in the + table. The deleteRow() method is called and now there should be three. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-13114938"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vrows" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="table" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="4" id="rowsLink1" ignoreCase="false"/> +<deleteRow interface="HTMLTableElement" obj="testNode" index="3"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="3" id="rowsLink2" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement01.xml b/test/testcases/tests/level1/html/HTMLTableRowElement01.xml new file mode 100644 index 0000000..0dbd008 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableRowElement01.xml @@ -0,0 +1,46 @@ +<?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="HTMLTableRowElement01">
+<metadata>
+<title>HTMLTableRowElement01</title>
+<creator>NIST</creator>
+<description>
+ The rowIndex attribute specifies the index of the row, relative to the
+ entire table, starting from 0. This is in document tree order and
+ not display order. The rowIndex does not take into account sections
+ (THEAD, TFOOT, or TBODY) within the table.
+
+ Retrieve the third TR element within the document and examine
+ its rowIndex 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-67347567"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vrowindex" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablerow" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/>
+<assertSize collection="nodeList" size="5" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="3"/>
+<rowIndex interface="HTMLTableRowElement" obj="testNode" var="vrowindex"/>
+<assertEquals actual="vrowindex" expected="1" id="rowIndexLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement02.xml b/test/testcases/tests/level1/html/HTMLTableRowElement02.xml new file mode 100644 index 0000000..284bc84 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableRowElement02.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="HTMLTableRowElement02">
+<metadata>
+<title>HTMLTableRowElement02</title>
+<creator>NIST</creator>
+<description>
+ The sectionRowIndex attribute specifies the index of this row, relative
+ to the current section(THEAD, TFOOT, or TBODY),starting from 0.
+
+ Retrieve the second TR(1st In THEAD) element within the document and
+ examine its sectionRowIndex 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-79105901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsectionrowindex" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablerow" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/>
+<assertSize collection="nodeList" size="5" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<sectionRowIndex interface="HTMLTableRowElement" obj="testNode" var="vsectionrowindex"/>
+<assertEquals actual="vsectionrowindex" expected="0" id="sectionRowIndexLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement03.xml b/test/testcases/tests/level1/html/HTMLTableRowElement03.xml new file mode 100644 index 0000000..341c2a5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableRowElement03.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="HTMLTableRowElement03">
+<metadata>
+<title>HTMLTableRowElement03</title>
+<creator>NIST</creator>
+<description>
+ The sectionRowIndex attribute specifies the index of this row, relative
+ to the current section(THEAD, TFOOT, or TBODY),starting from 0.
+
+ Retrieve the third TR(1st In TFOOT) element within the document and
+ examine its sectionRowIndex 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-79105901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsectionrowindex" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablerow" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/>
+<assertSize collection="nodeList" size="5" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="2"/>
+<sectionRowIndex interface="HTMLTableRowElement" obj="testNode" var="vsectionrowindex"/>
+<assertEquals actual="vsectionrowindex" expected="0" id="sectionRowIndexLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement04.xml b/test/testcases/tests/level1/html/HTMLTableRowElement04.xml new file mode 100644 index 0000000..bca05d4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableRowElement04.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="HTMLTableRowElement04">
+<metadata>
+<title>HTMLTableRowElement04</title>
+<creator>NIST</creator>
+<description>
+ The sectionRowIndex attribute specifies the index of this row, relative
+ to the current section(THEAD, TFOOT, or TBODY),starting from 0.
+
+ Retrieve the fifth TR(2nd In TBODY) element within the document and
+ examine its sectionRowIndex 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-79105901"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsectionrowindex" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablerow" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/>
+<assertSize collection="nodeList" size="5" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="4"/>
+<sectionRowIndex interface="HTMLTableRowElement" obj="testNode" var="vsectionrowindex"/>
+<assertEquals actual="vsectionrowindex" expected="1" id="sectionRowIndexLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement05.xml b/test/testcases/tests/level1/html/HTMLTableRowElement05.xml new file mode 100644 index 0000000..638126b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableRowElement05.xml @@ -0,0 +1,45 @@ +<?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="HTMLTableRowElement05">
+<metadata>
+<title>HTMLTableRowElement05</title>
+<creator>NIST</creator>
+<description>
+ The cells attribute specifies the collection of cells in this row.
+
+ Retrieve the fourth TR element and examine the value of
+ the cells length attribute.
+</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-67349879"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="cellsnodeList" type="HTMLCollection"/>
+<var name="testNode" type="Node"/>
+<var name="vcells" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablerow" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/>
+<assertSize collection="nodeList" size="5" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="3"/>
+<cells interface="HTMLTableRowElement" obj="testNode" var="cellsnodeList"/>
+<length interface="HTMLCollection" obj="cellsnodeList" var="vcells"/>
+<assertEquals actual="vcells" expected="6" id="cellsLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement06.xml b/test/testcases/tests/level1/html/HTMLTableRowElement06.xml new file mode 100644 index 0000000..55fc2ac --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableRowElement06.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="HTMLTableRowElement06">
+<metadata>
+<title>HTMLTableRowElement06</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the horizontal alignment of data within
+ cells of this row.
+
+ Retrieve the align attribute of the second TR element and examine
+ 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-74098257"/>
+</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="tablerow" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/>
+<assertSize collection="nodeList" size="5" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<align interface="HTMLTableRowElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement07.xml b/test/testcases/tests/level1/html/HTMLTableRowElement07.xml new file mode 100644 index 0000000..c586f6a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableRowElement07.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="HTMLTableRowElement07"> +<metadata> +<title>HTMLTableRowElement07</title> +<creator>NIST</creator> +<description> + The bgColor attribute specifies the background color of rows. + + Retrieve the bgColor attribute of the second TR 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-18161327"/> +</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="tablerow" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/> +<assertSize collection="nodeList" size="5" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<bgColor interface="HTMLTableRowElement" obj="testNode" var="vbgcolor"/> +<assertEquals actual="vbgcolor" expected='"#00FFFF"' id="bgColorLink" ignoreCase="true"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement08.xml b/test/testcases/tests/level1/html/HTMLTableRowElement08.xml new file mode 100644 index 0000000..751ef9e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableRowElement08.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="HTMLTableRowElement08">
+<metadata>
+<title>HTMLTableRowElement08</title>
+<creator>NIST</creator>
+<description>
+ The ch attribute specifies the alignment character for cells in a column.
+
+ Retrieve the char attribute of the second TR 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-16230502"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vch" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablerow" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/>
+<assertSize collection="nodeList" size="5" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<ch interface="HTMLTableRowElement" obj="testNode" var="vch"/>
+<assertEquals actual="vch" expected='"*"' id="chLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement09.xml b/test/testcases/tests/level1/html/HTMLTableRowElement09.xml new file mode 100644 index 0000000..eda033b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableRowElement09.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="HTMLTableRowElement09">
+<metadata>
+<title>HTMLTableRowElement09</title>
+<creator>NIST</creator>
+<description>
+ The chOff attribute specifies the offset of alignment character.
+
+ Retrieve the charoff attribute of the second TR 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-68207461"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vchoff" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablerow" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/>
+<assertSize collection="nodeList" size="5" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<chOff interface="HTMLTableRowElement" obj="testNode" var="vchoff"/>
+<assertEquals actual="vchoff" expected='"1"' id="charOffLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement10.xml b/test/testcases/tests/level1/html/HTMLTableRowElement10.xml new file mode 100644 index 0000000..3554fb6 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableRowElement10.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="HTMLTableRowElement10">
+<metadata>
+<title>HTMLTableRowElement10</title>
+<creator>NIST</creator>
+<description>
+ The vAlign attribute specifies the vertical alignment of data within
+ cells of this row.
+
+ Retrieve the vAlign attribute of the second TR element and examine
+ 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-90000058"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vvalign" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablerow" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/>
+<assertSize collection="nodeList" size="5" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<vAlign interface="HTMLTableRowElement" obj="testNode" var="vvalign"/>
+<assertEquals actual="vvalign" expected='"middle"' id="vAlignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement11.xml b/test/testcases/tests/level1/html/HTMLTableRowElement11.xml new file mode 100644 index 0000000..f284090 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableRowElement11.xml @@ -0,0 +1,67 @@ +<?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="HTMLTableRowElement11"> +<metadata> +<title>HTMLTableRowElement11</title> +<creator>NIST</creator> +<description> + The insertCell() method inserts an empty TD cell into this row. + + + Retrieve the fourth TR element and examine the value of + the cells length attribute which should be set to six. + Check the value of the first TD element. Invoke the + insertCell() which will create an empty TD cell at the + zero index position. Check the value of the newly created + cell and make sure it is null and also the numbers of cells + should now be seven. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-06</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-68927016"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="cellsnodeList" type="HTMLCollection"/> +<var name="testNode" type="Node"/> +<var name="trNode" type="Node"/> +<var name="cellNode" type="Node"/> +<var name="value" type="DOMString"/> +<var name="newCell" type="HTMLElement"/> +<var name="vcells" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablerow" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/> +<assertSize collection="nodeList" size="5" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="3"/> +<cells interface="HTMLTableRowElement" obj="testNode" var="cellsnodeList"/> +<length interface="HTMLCollection" obj="cellsnodeList" var="vcells"/> +<assertEquals actual="vcells" expected="6" id="cellsLink1" ignoreCase="false"/> +<item interface="HTMLCollection" obj="cellsnodeList" var="trNode" index="0"/> +<firstChild interface="Node" obj="trNode" var="cellNode"/> +<nodeValue obj="cellNode" var="value"/> +<assertEquals actual="value" expected='"EMP0001"' id="value1Link" ignoreCase="false"/> +<insertCell interface="HTMLTableRowElement" obj="testNode" var="newCell" index="0"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="3"/> +<cells interface="HTMLTableRowElement" obj="testNode" var="cellsnodeList"/> +<length interface="HTMLCollection" obj="cellsnodeList" var="vcells"/> +<assertEquals actual="vcells" expected="7" id="cellsLink2" ignoreCase="false"/> +<item interface="HTMLCollection" obj="cellsnodeList" var="trNode" index="0"/> +<firstChild interface="Node" obj="trNode" var="cellNode"/> +<assertNull actual="cellNode" id="value2Link"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement12.xml b/test/testcases/tests/level1/html/HTMLTableRowElement12.xml new file mode 100644 index 0000000..121954c --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableRowElement12.xml @@ -0,0 +1,66 @@ +<?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="HTMLTableRowElement12"> +<metadata> +<title>HTMLTableRowElement12</title> +<creator>NIST</creator> +<description> + The insertCell() method inserts an empty TD cell into this row. + + + Retrieve the fourth TR element and examine the value of + the cells length attribute which should be set to six. + Check the value of the last TD element. Invoke the + insertCell() which will append the empty cell to the end of the list. + Check the value of the newly created cell and make sure it is null + and also the numbers of cells should now be seven. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-06</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-68927016"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="cellsnodeList" type="HTMLCollection"/> +<var name="testNode" type="Node"/> +<var name="trNode" type="Node"/> +<var name="cellNode" type="Node"/> +<var name="value" type="DOMString"/> +<var name="newCell" type="HTMLElement"/> +<var name="vcells" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablerow" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/> +<assertSize collection="nodeList" size="5" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="3"/> +<cells interface="HTMLTableRowElement" obj="testNode" var="cellsnodeList"/> +<length interface="HTMLCollection" obj="cellsnodeList" var="vcells"/> +<assertEquals actual="vcells" expected="6" id="cellsLink1" ignoreCase="false"/> +<item interface="HTMLCollection" obj="cellsnodeList" var="trNode" index="5"/> +<firstChild interface="Node" obj="trNode" var="cellNode"/> +<nodeValue obj="cellNode" var="value"/> +<assertEquals actual="value" expected='"1230 North Ave. Dallas, Texas 98551"' id="value1Link" ignoreCase="false"/> +<insertCell interface="HTMLTableRowElement" obj="testNode" var="newCell" index="6"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="3"/> +<cells interface="HTMLTableRowElement" obj="testNode" var="cellsnodeList"/> +<length interface="HTMLCollection" obj="cellsnodeList" var="vcells"/> +<assertEquals actual="vcells" expected="7" id="cellsLink2" ignoreCase="false"/> +<item interface="HTMLCollection" obj="cellsnodeList" var="trNode" index="6"/> +<firstChild interface="Node" obj="trNode" var="cellNode"/> +<assertNull actual="cellNode" id="value2Link"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement13.xml b/test/testcases/tests/level1/html/HTMLTableRowElement13.xml new file mode 100644 index 0000000..a90f596 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableRowElement13.xml @@ -0,0 +1,66 @@ +<?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="HTMLTableRowElement13"> +<metadata> +<title>HTMLTableRowElement13</title> +<creator>NIST</creator> +<description> + The deleteCell() method deletes a cell from the current row. + + + Retrieve the fourth TR element and examine the value of + the cells length attribute which should be set to six. + Check the value of the first TD element. Invoke the + deleteCell() method which will delete a cell from the current row. + Check the value of the cell at the zero index and also check + the number of cells which should now be five. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-06</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-11738598"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="cellsnodeList" type="HTMLCollection"/> +<var name="testNode" type="Node"/> +<var name="trNode" type="Node"/> +<var name="cellNode" type="Node"/> +<var name="value" type="DOMString"/> +<var name="vcells" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablerow" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/> +<assertSize collection="nodeList" size="5" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="3"/> +<cells interface="HTMLTableRowElement" obj="testNode" var="cellsnodeList"/> +<length interface="HTMLCollection" obj="cellsnodeList" var="vcells"/> +<assertEquals actual="vcells" expected="6" id="cellsLink1" ignoreCase="false"/> +<item interface="HTMLCollection" obj="cellsnodeList" var="trNode" index="0"/> +<firstChild interface="Node" obj="trNode" var="cellNode"/> +<nodeValue obj="cellNode" var="value"/> +<assertEquals actual="value" expected='"EMP0001"' id="value1Link" ignoreCase="false"/> +<deleteCell interface="HTMLTableRowElement" obj="testNode" index="0"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="3"/> +<cells interface="HTMLTableRowElement" obj="testNode" var="cellsnodeList"/> +<length interface="HTMLCollection" obj="cellsnodeList" var="vcells"/> +<assertEquals actual="vcells" expected="5" id="cellsLink2" ignoreCase="false"/> +<item interface="HTMLCollection" obj="cellsnodeList" var="trNode" index="0"/> +<firstChild interface="Node" obj="trNode" var="cellNode"/> +<nodeValue obj="cellNode" var="value"/> +<assertEquals actual="value" expected='"Margaret Martin"' id="value2Link" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement14.xml b/test/testcases/tests/level1/html/HTMLTableRowElement14.xml new file mode 100644 index 0000000..27af8e2 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableRowElement14.xml @@ -0,0 +1,66 @@ +<?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="HTMLTableRowElement14"> +<metadata> +<title>HTMLTableRowElement14</title> +<creator>NIST</creator> +<description> + The deleteCell() method deletes a cell from the current row. + + + Retrieve the fourth TR element and examine the value of + the cells length attribute which should be set to six. + Check the value of the third(index 2) TD element. Invoke the + deleteCell() method which will delete a cell from the current row. + Check the value of the third cell(index 2) and also check + the number of cells which should now be five. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-06</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-11738598"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="cellsnodeList" type="HTMLCollection"/> +<var name="testNode" type="Node"/> +<var name="trNode" type="Node"/> +<var name="cellNode" type="Node"/> +<var name="value" type="DOMString"/> +<var name="vcells" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablerow" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/> +<assertSize collection="nodeList" size="5" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="3"/> +<cells interface="HTMLTableRowElement" obj="testNode" var="cellsnodeList"/> +<length interface="HTMLCollection" obj="cellsnodeList" var="vcells"/> +<assertEquals actual="vcells" expected="6" id="cellsLink1" ignoreCase="false"/> +<item interface="HTMLCollection" obj="cellsnodeList" var="trNode" index="2"/> +<firstChild interface="Node" obj="trNode" var="cellNode"/> +<nodeValue obj="cellNode" var="value"/> +<assertEquals actual="value" expected='"Accountant"' id="value1Link" ignoreCase="false"/> +<deleteCell interface="HTMLTableRowElement" obj="testNode" index="2"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="3"/> +<cells interface="HTMLTableRowElement" obj="testNode" var="cellsnodeList"/> +<length interface="HTMLCollection" obj="cellsnodeList" var="vcells"/> +<assertEquals actual="vcells" expected="5" id="cellsLink2" ignoreCase="false"/> +<item interface="HTMLCollection" obj="cellsnodeList" var="trNode" index="2"/> +<firstChild interface="Node" obj="trNode" var="cellNode"/> +<nodeValue obj="cellNode" var="value"/> +<assertEquals actual="value" expected='"56,000"' id="value2Link" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement01.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement01.xml new file mode 100644 index 0000000..238dcb2 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement01.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="HTMLTableSectionElement01">
+<metadata>
+<title>HTMLTableSectionElement01</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the horizontal alignment of data within
+ cells.
+
+ Retrieve the align attribute of the first THEAD 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-40530119"/>
+</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="tablesection" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"thead"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLTableSectionElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement02.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement02.xml new file mode 100644 index 0000000..c4bdbf9 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement02.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="HTMLTableSectionElement02">
+<metadata>
+<title>HTMLTableSectionElement02</title>
+<creator>NIST</creator>
+<description>
+ The align attribute specifies the horizontal alignment of data within
+ cells.
+
+ Retrieve the align attribute of the first TFOOT 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-40530119"/>
+</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="tablesection" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tfoot"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<align interface="HTMLTableSectionElement" obj="testNode" var="valign"/>
+<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement03.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement03.xml new file mode 100644 index 0000000..2236435 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement03.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="HTMLTableSectionElement03"> +<metadata> +<title>HTMLTableSectionElement03</title> +<creator>NIST</creator> +<description> + The align attribute specifies the horizontal alignment of data within + cells. + + Retrieve the align attribute of the first TBODY 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-40530119"/> +</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="tablesection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tbody"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<align interface="HTMLTableSectionElement" obj="testNode" var="valign"/> +<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement04.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement04.xml new file mode 100644 index 0000000..2060f35 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement04.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="HTMLTableSectionElement04">
+<metadata>
+<title>HTMLTableSectionElement04</title>
+<creator>NIST</creator>
+<description>
+ The ch attribute specifies the alignment character for cells in a
+ column.
+
+ Retrieve the char attribute of the first THEAD 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-83470012"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vch" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"thead"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<ch interface="HTMLTableSectionElement" obj="testNode" var="vch"/>
+<assertEquals actual="vch" expected='"*"' id="chLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement05.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement05.xml new file mode 100644 index 0000000..32022bb --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement05.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="HTMLTableSectionElement05">
+<metadata>
+<title>HTMLTableSectionElement05</title>
+<creator>NIST</creator>
+<description>
+ The ch attribute specifies the alignment character for cells in a
+ column.
+
+ Retrieve the char attribute of the first TFOOT 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-83470012"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vch" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tfoot"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<ch interface="HTMLTableSectionElement" obj="testNode" var="vch"/>
+<assertEquals actual="vch" expected='"+"' id="chLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement06.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement06.xml new file mode 100644 index 0000000..be665e4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement06.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="HTMLTableSectionElement06"> +<metadata> +<title>HTMLTableSectionElement06</title> +<creator>NIST</creator> +<description> + The ch attribute specifies the alignment character for cells in a + column. + + Retrieve the char attribute of the first TBODY 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-83470012"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vch" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablesection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tbody"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<ch interface="HTMLTableSectionElement" obj="testNode" var="vch"/> +<assertEquals actual="vch" expected='"$"' id="chLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement07.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement07.xml new file mode 100644 index 0000000..ecf38f3 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement07.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="HTMLTableSectionElement07">
+<metadata>
+<title>HTMLTableSectionElement07</title>
+<creator>NIST</creator>
+<description>
+ The chOff attribute specifies the offset of alignment character.
+
+ Retrieve the charoff attribute of the first THEAD 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-53459732"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcharoff" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"thead"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<chOff interface="HTMLTableSectionElement" obj="testNode" var="vcharoff"/>
+<assertEquals actual="vcharoff" expected='"1"' id="chOffLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement08.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement08.xml new file mode 100644 index 0000000..48440ca --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement08.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="HTMLTableSectionElement08">
+<metadata>
+<title>HTMLTableSectionElement08</title>
+<creator>NIST</creator>
+<description>
+ The chOff attribute specifies the offset of alignment character.
+
+ Retrieve the charoff attribute of the first TFOOT 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-53459732"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcharoff" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tfoot"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<chOff interface="HTMLTableSectionElement" obj="testNode" var="vcharoff"/>
+<assertEquals actual="vcharoff" expected='"2"' id="chOffLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement09.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement09.xml new file mode 100644 index 0000000..501446b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement09.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="HTMLTableSectionElement09"> +<metadata> +<title>HTMLTableSectionElement09</title> +<creator>NIST</creator> +<description> + The chOff attribute specifies the offset of alignment character. + + Retrieve the charoff attribute of the first TBODY 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-53459732"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vcharoff" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablesection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tbody"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<chOff interface="HTMLTableSectionElement" obj="testNode" var="vcharoff"/> +<assertEquals actual="vcharoff" expected='"3"' id="chOffLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement10.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement10.xml new file mode 100644 index 0000000..3e011c1 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement10.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="HTMLTableSectionElement10">
+<metadata>
+<title>HTMLTableSectionElement10</title>
+<creator>NIST</creator>
+<description>
+ The vAlign attribute specifies the vertical alignment of cell data in
+ column.
+
+ Retrieve the vAlign attribute of the first THEAD 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-4379116"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vvalign" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"thead"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<vAlign interface="HTMLTableSectionElement" obj="testNode" var="vvalign"/>
+<assertEquals actual="vvalign" expected='"middle"' id="vAlignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement11.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement11.xml new file mode 100644 index 0000000..ba5ae68 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement11.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="HTMLTableSectionElement11">
+<metadata>
+<title>HTMLTableSectionElement11</title>
+<creator>NIST</creator>
+<description>
+ The vAlign attribute specifies the vertical alignment of cell data in
+ column.
+
+ Retrieve the vAlign attribute of the first TFOOT 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-4379116"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vvalign" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tfoot"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<vAlign interface="HTMLTableSectionElement" obj="testNode" var="vvalign"/>
+<assertEquals actual="vvalign" expected='"middle"' id="vAlignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement12.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement12.xml new file mode 100644 index 0000000..e649489 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement12.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="HTMLTableSectionElement12"> +<metadata> +<title>HTMLTableSectionElement12</title> +<creator>NIST</creator> +<description> + The vAlign attribute specifies the vertical alignment of cell data in + column. + + Retrieve the vAlign attribute of the first TBODY 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-4379116"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vvalign" type="DOMString" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablesection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tbody"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<vAlign interface="HTMLTableSectionElement" obj="testNode" var="vvalign"/> +<assertEquals actual="vvalign" expected='"middle"' id="vAlignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement13.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement13.xml new file mode 100644 index 0000000..1110c65 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement13.xml @@ -0,0 +1,45 @@ +<?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="HTMLTableSectionElement13">
+<metadata>
+<title>HTMLTableSectionElement13</title>
+<creator>NIST</creator>
+<description>
+ The rows attribute specifies the collection of rows in this table section.
+
+ Retrieve the first THEAD element and examine the value of
+ the rows length attribute.
+</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-52092650"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="testNode" type="Node"/>
+<var name="vrows" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"thead"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/>
+<assertEquals actual="vrows" expected="1" id="rowsLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement14.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement14.xml new file mode 100644 index 0000000..83c90c0 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement14.xml @@ -0,0 +1,45 @@ +<?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="HTMLTableSectionElement14">
+<metadata>
+<title>HTMLTableSectionElement14</title>
+<creator>NIST</creator>
+<description>
+ The rows attribute specifies the collection of rows in this table section.
+
+ Retrieve the first TFOOT element and examine the value of
+ the rows length attribute.
+</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-52092650"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="testNode" type="Node"/>
+<var name="vrows" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tfoot"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/>
+<assertEquals actual="vrows" expected="1" id="rowsLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement15.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement15.xml new file mode 100644 index 0000000..6c8f0dd --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement15.xml @@ -0,0 +1,45 @@ +<?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="HTMLTableSectionElement15"> +<metadata> +<title>HTMLTableSectionElement15</title> +<creator>NIST</creator> +<description> + The rows attribute specifies the collection of rows in this table section. + + Retrieve the first TBODY element and examine the value of + the rows length 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-52092650"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="testNode" type="Node"/> +<var name="vrows" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablesection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tbody"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="2" id="rowsLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement16.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement16.xml new file mode 100644 index 0000000..567d86b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement16.xml @@ -0,0 +1,52 @@ +<?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="HTMLTableSectionElement16"> +<metadata> +<title>HTMLTableSectionElement16</title> +<creator>NIST</creator> +<description> + The insertRow() method inserts a new empty table row. + + Retrieve the first THEAD element and invoke the insertRow() method + with an index of 0. The nuber of rows in the THEAD section before + insertion of the new row is one. After the new row is inserted the number + of rows in the THEAD section is two. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-93995626"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="newRow" type="HTMLElement"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vrows" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablesection" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"thead"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="1" id="rowsLink1" ignoreCase="false"/> +<insertRow interface="HTMLTableSectionElement" obj="testNode" var="newRow" index="0"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="2" id="rowsLink2" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement17.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement17.xml new file mode 100644 index 0000000..4a3e283 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement17.xml @@ -0,0 +1,52 @@ +<?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="HTMLTableSectionElement17"> +<metadata> +<title>HTMLTableSectionElement17</title> +<creator>NIST</creator> +<description> + The insertRow() method inserts a new empty table row. + + Retrieve the first TFOOT element and invoke the insertRow() method + with an index of 0. The nuber of rows in the TFOOT section before + insertion of the new row is one. After the new row is inserted the number + of rows in the TFOOT section is two. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-93995626"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="newRow" type="HTMLElement"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vrows" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablesection" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tfoot"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="1" id="rowsLink1" ignoreCase="false"/> +<insertRow interface="HTMLTableSectionElement" obj="testNode" var="newRow" index="0"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="2" id="rowsLink2" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement18.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement18.xml new file mode 100644 index 0000000..e8073be --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement18.xml @@ -0,0 +1,52 @@ +<?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="HTMLTableSectionElement18"> +<metadata> +<title>HTMLTableSectionElement18</title> +<creator>NIST</creator> +<description> + The insertRow() method inserts a new empty table row. + + Retrieve the first TBODY element and invoke the insertRow() method + with an index of 0. The nuber of rows in the TBODY section before + insertion of the new row is two. After the new row is inserted the number + of rows in the TBODY section is three. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-93995626"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="newRow" type="HTMLElement"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vrows" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablesection" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tbody"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="2" id="rowsLink1" ignoreCase="false"/> +<insertRow interface="HTMLTableSectionElement" obj="testNode" var="newRow" index="0"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="3" id="rowsLink2" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement19.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement19.xml new file mode 100644 index 0000000..f8d7933 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement19.xml @@ -0,0 +1,53 @@ +<?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="HTMLTableSectionElement19"> +<metadata> +<title>HTMLTableSectionElement19</title> +<creator>NIST</creator> +<description> + The insertRow() method inserts a new empty table row. + + Retrieve the first THEAD element and invoke the insertRow() method + with an index of 1. The nuber of rows in the THEAD section before + insertion of the new row is one therefore the new row is appended. + After the new row is inserted the number of rows in the THEAD + section is two. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-93995626"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="newRow" type="HTMLElement"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vrows" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablesection" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"thead"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="1" id="rowsLink1" ignoreCase="false"/> +<insertRow interface="HTMLTableSectionElement" obj="testNode" var="newRow" index="1"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="2" id="rowsLink2" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement20.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement20.xml new file mode 100644 index 0000000..99452e7 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement20.xml @@ -0,0 +1,53 @@ +<?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="HTMLTableSectionElement20"> +<metadata> +<title>HTMLTableSectionElement20</title> +<creator>NIST</creator> +<description> + The insertRow() method inserts a new empty table row. + + Retrieve the first TFOOT element and invoke the insertRow() method + with an index of one. The nuber of rows in the TFOOT section before + insertion of the new row is one therefore the new row is appended. + After the new row is inserted the number of rows in the TFOOT section + is two. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-93995626"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="newRow" type="HTMLElement"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vrows" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablesection" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tfoot"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="1" id="rowsLink1" ignoreCase="false"/> +<insertRow interface="HTMLTableSectionElement" obj="testNode" var="newRow" index="1"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="2" id="rowsLink2" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement21.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement21.xml new file mode 100644 index 0000000..05d7ef8 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement21.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="test-to-html.xml" 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="HTMLTableSectionElement21"> +<metadata> +<title>HTMLTableSectionElement21</title> +<creator>NIST</creator> +<description> + The insertRow() method inserts a new empty table row. + + Retrieve the first TBODY element and invoke the insertRow() method + with an index of two. The number of rows in the TBODY section before + insertion of the new row is two therefore the row is appended. + After the new row is inserted the number of rows in the TBODY section is + three. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-93995626"/> +<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=502"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="newRow" type="HTMLElement"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vrows" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablesection" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tbody"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="2" id="rowsLink1" ignoreCase="false"/> +<insertRow interface="HTMLTableSectionElement" obj="testNode" var="newRow" index="2"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="3" id="rowsLink2" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement22.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement22.xml new file mode 100644 index 0000000..5d8bef4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement22.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="HTMLTableSectionElement22"> +<metadata> +<title>HTMLTableSectionElement22</title> +<creator>NIST</creator> +<description> + The deleteRow() method deletes a row from this section. + + Retrieve the first THEAD element and invoke the deleteRow() method + with an index of 0. The nuber of rows in the THEAD section before + the deletion of the row is one. After the row is deleted the number + of rows in the THEAD section is zero. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-5625626"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vrows" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablesection" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"thead"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="1" id="rowsLink1" ignoreCase="false"/> +<deleteRow interface="HTMLTableSectionElement" obj="testNode" index="0"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="0" id="rowsLink2" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement23.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement23.xml new file mode 100644 index 0000000..eb3f972 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement23.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="HTMLTableSectionElement23"> +<metadata> +<title>HTMLTableSectionElement23</title> +<creator>NIST</creator> +<description> + The deleteRow() method deletes a row from this section. + + Retrieve the first TFOOT element and invoke the deleteRow() method + with an index of 0. The nuber of rows in the TFOOT section before + the deletion of the row is one. After the row is deleted the number + of rows in the TFOOT section is zero. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-5625626"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vrows" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablesection" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tfoot"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="1" id="rowsLink1" ignoreCase="false"/> +<deleteRow interface="HTMLTableSectionElement" obj="testNode" index="0"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="0" id="rowsLink2" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement24.xml b/test/testcases/tests/level1/html/HTMLTableSectionElement24.xml new file mode 100644 index 0000000..39896e1 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTableSectionElement24.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="HTMLTableSectionElement24"> +<metadata> +<title>HTMLTableSectionElement24</title> +<creator>NIST</creator> +<description> + The deleteRow() method deletes a row from this section. + + Retrieve the first TBODY element and invoke the deleteRow() method + with an index of 0. The nuber of rows in the TBODY section before + the deletion of the row is two. After the row is deleted the number + of rows in the TBODY section is one. +</description> +<contributor>Rick Rivello</contributor> +<date qualifier="created">2002-05-02</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-5625626"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="rowsnodeList" type="HTMLCollection"/> +<var name="vrows" type="int" /> +<var name="doc" type="Document"/> +<load var="doc" href="tablesection" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tbody"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="2" id="rowsLink1" ignoreCase="false"/> +<deleteRow interface="HTMLTableSectionElement" obj="testNode" index="0"/> +<rows interface="HTMLTableSectionElement" obj="testNode" var="rowsnodeList"/> +<length interface="HTMLCollection" obj="rowsnodeList" var="vrows"/> +<assertEquals actual="vrows" expected="1" id="rowsLink2" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTextAreaElement01.xml b/test/testcases/tests/level1/html/HTMLTextAreaElement01.xml new file mode 100644 index 0000000..dec8a4e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTextAreaElement01.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="HTMLTextAreaElement01">
+<metadata>
+<title>HTMLTextAreaElement01</title>
+<creator>NIST</creator>
+<description>
+ The defaultValue attribute represents the HTML value of the attribute
+ when the type attribute has the value of "Text", "File" or "Password".
+
+ Retrieve the defaultValue attribute of the 2nd TEXTAREA element and examine
+ its value.
+</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-36152213"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vdefaultvalue" type="DOMString" />
+<var name="doc" type="Document"/>
+<load var="doc" href="textarea" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"textarea"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<defaultValue interface="HTMLTextAreaElement" obj="testNode" var="vdefaultvalue"/>
+<assertEquals actual="vdefaultvalue" expected='"TEXTAREA2"' id="defaultValueLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTextAreaElement02.xml b/test/testcases/tests/level1/html/HTMLTextAreaElement02.xml new file mode 100644 index 0000000..557d7a5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTextAreaElement02.xml @@ -0,0 +1,45 @@ +<?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="HTMLTextAreaElement02">
+<metadata>
+<title>HTMLTextAreaElement02</title>
+<creator>NIST</creator>
+<description>
+ The form attribute returns the FORM element containing this control.
+
+ Retrieve the form attribute from the first TEXTAREA 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-18911464"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vform" type="DOMString" />
+<var name="fNode" type="HTMLFormElement"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="textarea" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"textarea"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<form interface="HTMLTextAreaElement" obj="testNode" var="fNode"/>
+<id obj="fNode" var="vform"/>
+<assertEquals actual="vform" expected='"form1"' id="formLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTextAreaElement03.xml b/test/testcases/tests/level1/html/HTMLTextAreaElement03.xml new file mode 100644 index 0000000..5d9528e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTextAreaElement03.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="HTMLTextAreaElement03">
+<metadata>
+<title>HTMLTextAreaElement03</title>
+<creator>NIST</creator>
+<description>
+ The form attribute returns null if control in not within the context of
+ a form.
+
+ Retrieve the second TEXTAREA element and
+ examine its form element.
+</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-18911464"/>
+</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="textarea" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"textarea"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<form interface="HTMLTextAreaElement" obj="testNode" var="vform"/>
+<assertNull actual="vform" id="formNullLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTextAreaElement04.xml b/test/testcases/tests/level1/html/HTMLTextAreaElement04.xml new file mode 100644 index 0000000..2b6b8b2 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTextAreaElement04.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="HTMLTextAreaElement04">
+<metadata>
+<title>HTMLTextAreaElement04</title>
+<creator>NIST</creator>
+<description>
+ The accessKey attribute specifies a single character access key to
+ give access to the form control.
+
+ Retrieve the accessKey attribute of the 1st TEXTAREA element and examine
+ its value.
+</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-93102991"/>
+</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="textarea" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"textarea"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<accessKey interface="HTMLTextAreaElement" obj="testNode" var="vaccesskey"/>
+<assertEquals actual="vaccesskey" expected='"c"' id="accessKeyLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTextAreaElement05.xml b/test/testcases/tests/level1/html/HTMLTextAreaElement05.xml new file mode 100644 index 0000000..e51bcab --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTextAreaElement05.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="HTMLTextAreaElement05">
+<metadata>
+<title>HTMLTextAreaElement05</title>
+<creator>NIST</creator>
+<description>
+ The cols attribute specifies the width of control(in characters).
+
+ Retrieve the cols attribute of the 1st TEXTAREA 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-51387225"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vcols" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="textarea" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"textarea"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<cols interface="HTMLTextAreaElement" obj="testNode" var="vcols"/>
+<assertEquals actual="vcols" expected="20" id="colsLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTextAreaElement06.xml b/test/testcases/tests/level1/html/HTMLTextAreaElement06.xml new file mode 100644 index 0000000..8ce1913 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTextAreaElement06.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="HTMLTextAreaElement06">
+<metadata>
+<title>HTMLTextAreaElement06</title>
+<creator>NIST</creator>
+<description>
+ The disabled attribute specifies the control is unavailable in this
+ context.
+
+ Retrieve the disabled attribute from the 2nd TEXTAREA 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-98725443"/>
+</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="textarea" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"textarea"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
+<disabled interface="HTMLTextAreaElement" obj="testNode" var="vdisabled"/>
+<assertTrue actual="vdisabled" id="disabledLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTextAreaElement07.xml b/test/testcases/tests/level1/html/HTMLTextAreaElement07.xml new file mode 100644 index 0000000..eb71a3e --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTextAreaElement07.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="HTMLTextAreaElement07">
+<metadata>
+<title>HTMLTextAreaElement07</title>
+<creator>NIST</creator>
+<description>
+ The name attribute specifies the form control or object name when
+ submitted with a form.
+
+ Retrieve the name attribute of the 1st TEXTAREA element and examine
+ its value.
+</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-70715578"/>
+</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="textarea" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"textarea"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<name interface="HTMLTextAreaElement" obj="testNode" var="vname"/>
+<assertEquals actual="vname" expected='"text1"' id="nameLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTextAreaElement08.xml b/test/testcases/tests/level1/html/HTMLTextAreaElement08.xml new file mode 100644 index 0000000..5ba7c88 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTextAreaElement08.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="HTMLTextAreaElement08">
+<metadata>
+<title>HTMLTextAreaElement08</title>
+<creator>NIST</creator>
+<description>
+ The readOnly attribute specifies this control is read-only.
+
+ Retrieve the readOnly attribute from the 3rd TEXTAREA 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-39131423"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vreadonly" type="boolean" />
+<var name="doc" type="Document"/>
+<load var="doc" href="textarea" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"textarea"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="2"/>
+<readOnly interface="HTMLTextAreaElement" obj="testNode" var="vreadonly"/>
+<assertTrue actual="vreadonly" id="readOnlyLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTextAreaElement09.xml b/test/testcases/tests/level1/html/HTMLTextAreaElement09.xml new file mode 100644 index 0000000..4fc40dd --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTextAreaElement09.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="HTMLTextAreaElement09">
+<metadata>
+<title>HTMLTextAreaElement09</title>
+<creator>NIST</creator>
+<description>
+ The rows attribute specifies the number of text rowns.
+
+ Retrieve the rows attribute of the 1st TEXTAREA 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-46975887"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vrows" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="textarea" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"textarea"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<rows interface="HTMLTextAreaElement" obj="testNode" var="vrows"/>
+<assertEquals actual="vrows" expected="7" id="rowsLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTextAreaElement10.xml b/test/testcases/tests/level1/html/HTMLTextAreaElement10.xml new file mode 100644 index 0000000..1cedcb0 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTextAreaElement10.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="HTMLTextAreaElement10">
+<metadata>
+<title>HTMLTextAreaElement10</title>
+<creator>NIST</creator>
+<description>
+ The tabIndex attribute is an index that represents the element's position
+ in the tabbing order.
+
+ Retrieve the tabIndex attribute of the 1st TEXTAREA element and examine
+ its value.
+</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-60363303"/>
+</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="textarea" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"textarea"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<tabIndex interface="HTMLTextAreaElement" obj="testNode" var="vtabindex"/>
+<assertEquals actual="vtabindex" expected="5" id="tabIndexLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTextAreaElement11.xml b/test/testcases/tests/level1/html/HTMLTextAreaElement11.xml new file mode 100644 index 0000000..a97ed10 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTextAreaElement11.xml @@ -0,0 +1,45 @@ +<?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="HTMLTextAreaElement11"> +<metadata> +<title>HTMLTextAreaElement11</title> +<creator>NIST</creator> +<description> + The type attribute specifies the type of this form control. + + Retrieve the type attribute of the 1st TEXTAREA element and examine + its value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2002-02-22</date> +<!-- L1 HTML doesn't have an ID for the type attribute --> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-24874179"/> +<subject resource="http://www.w3.org/TR/DOM-Level-2-HTML/html#HTML-HTMLTextAreaElement-type"/> +</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="textarea" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"textarea"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<type interface="HTMLTextAreaElement" obj="testNode" var="vtype"/> +<assertEquals actual="vtype" expected='"textarea"' id="typeLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTextAreaElement12.xml b/test/testcases/tests/level1/html/HTMLTextAreaElement12.xml new file mode 100644 index 0000000..5c03799 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTextAreaElement12.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="HTMLTextAreaElement12">
+<metadata>
+<title>HTMLTextAreaElement12</title>
+<creator>NIST</creator>
+<description>
+ The value attribute represents the current contents of the corresponding
+ form control, in an interactive user agent.
+
+ Retrieve the value attribute of the 1st TEXTAREA element and examine
+ its value.
+</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-70715579"/>
+</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="textarea" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"textarea"'/>
+<assertSize collection="nodeList" size="3" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<value interface="HTMLTextAreaElement" obj="testNode" var="vvalue"/>
+<assertEquals actual="vvalue" expected='"TEXTAREA1"' id="valueLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTextAreaElement13.xml b/test/testcases/tests/level1/html/HTMLTextAreaElement13.xml new file mode 100644 index 0000000..20cf230 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTextAreaElement13.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="HTMLTextAreaElement13"> +<metadata> +<title>HTMLTextAreaElement13</title> +<creator>Curt Arnold</creator> +<description> +Calling HTMLTextAreaElement.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-6750689"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<load var="doc" href="textarea" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"textarea"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<blur interface="HTMLTextAreaElement" obj="testNode"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTextAreaElement14.xml b/test/testcases/tests/level1/html/HTMLTextAreaElement14.xml new file mode 100644 index 0000000..ddc72a6 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTextAreaElement14.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="HTMLTextAreaElement14"> +<metadata> +<title>HTMLTextAreaElement14</title> +<creator>Curt Arnold</creator> +<description> +Calling HTMLTextAreaElement.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-39055426"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<load var="doc" href="textarea" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"textarea"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<focus interface="HTMLTextAreaElement" obj="testNode"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTextAreaElement15.xml b/test/testcases/tests/level1/html/HTMLTextAreaElement15.xml new file mode 100644 index 0000000..b192786 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTextAreaElement15.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="HTMLTextAreaElement15"> +<metadata> +<title>HTMLTextAreaElement15</title> +<creator>Curt Arnold</creator> +<description> +Calling HTMLTextAreaElement.select should select the text area. +</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-48880622"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="doc" type="Document"/> +<load var="doc" href="textarea" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"textarea"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<select interface="HTMLTextAreaElement" obj="testNode"/> +</test> diff --git a/test/testcases/tests/level1/html/HTMLTitleElement01.xml b/test/testcases/tests/level1/html/HTMLTitleElement01.xml new file mode 100644 index 0000000..9b95d95 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLTitleElement01.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="HTMLTitleElement01">
+<metadata>
+<title>HTMLTitleElement01</title>
+<creator>NIST</creator>
+<description>
+ The text attribute is the specified title as a string.
+
+ 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-77500413"/>
+</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="title" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"title"'/>
+<assertSize collection="nodeList" size="1" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<text interface="HTMLTitleElement" obj="testNode" var="vtext"/>
+<assertEquals actual="vtext" expected='"NIST DOM HTML Test - TITLE"' id="textLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLUListElement01.xml b/test/testcases/tests/level1/html/HTMLUListElement01.xml new file mode 100644 index 0000000..75695aa --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLUListElement01.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="HTMLUListElement01">
+<metadata>
+<title>HTMLUListElement01</title>
+<creator>NIST</creator>
+<description>
+ The compact attribute specifies whether to reduce spacing between list
+ items.
+
+ 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-39864178"/>
+</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="ulist" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"ul"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<compact interface="HTMLUListElement" obj="testNode" var="vcompact"/>
+<assertTrue actual="vcompact" id="compactLink"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLUListElement02.xml b/test/testcases/tests/level1/html/HTMLUListElement02.xml new file mode 100644 index 0000000..e525d5b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLUListElement02.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="HTMLUListElement02">
+<metadata>
+<title>HTMLUListElement02</title>
+<creator>NIST</creator>
+<description>
+ The type attribute specifies the bullet style.
+
+ 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-96874670"/>
+</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="ulist" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"ul"'/>
+<assertSize collection="nodeList" size="2" id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<type interface="HTMLUListElement" obj="testNode" var="vtype"/>
+<assertEquals actual="vtype" expected='"disc"' id="typeLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/alltests.xml b/test/testcases/tests/level1/html/alltests.xml new file mode 100644 index 0000000..b90c242 --- /dev/null +++ b/test/testcases/tests/level1/html/alltests.xml @@ -0,0 +1,659 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Copyright (c) 2001 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. +See W3C License http://www.w3.org/Consortium/Legal/ for more details. +--><!DOCTYPE suite SYSTEM "dom1.dtd"> + +<suite xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="alltests"> +<metadata> +<title>DOM Level 1 HTML Test Suite</title> +<creator>DOM Test Suite Project</creator> +</metadata> + <suite.member href="HTMLAnchorElement01.xml"/> + <suite.member href="HTMLAnchorElement02.xml"/> + <suite.member href="HTMLAnchorElement03.xml"/> + <suite.member href="HTMLAnchorElement04.xml"/> + <suite.member href="HTMLAnchorElement05.xml"/> + <suite.member href="HTMLAnchorElement06.xml"/> + <suite.member href="HTMLAnchorElement07.xml"/> + <suite.member href="HTMLAnchorElement08.xml"/> + <suite.member href="HTMLAnchorElement09.xml"/> + <suite.member href="HTMLAnchorElement10.xml"/> + <suite.member href="HTMLAnchorElement11.xml"/> + <suite.member href="HTMLAnchorElement12.xml"/> + <suite.member href="HTMLAnchorElement13.xml"/> + <suite.member href="HTMLAnchorElement14.xml"/> + <suite.member href="HTMLAppletElement01.xml"/> + <suite.member href="HTMLAppletElement02.xml"/> + <suite.member href="HTMLAppletElement03.xml"/> + <suite.member href="HTMLAppletElement04.xml"/> + <suite.member href="HTMLAppletElement05.xml"/> + <suite.member href="HTMLAppletElement06.xml"/> + <suite.member href="HTMLAppletElement07.xml"/> + <suite.member href="HTMLAppletElement08.xml"/> + <suite.member href="HTMLAppletElement09.xml"/> + <suite.member href="HTMLAppletElement10.xml"/> + <suite.member href="HTMLAppletElement11.xml"/> + <suite.member href="HTMLAreaElement01.xml"/> + <suite.member href="HTMLAreaElement02.xml"/> + <suite.member href="HTMLAreaElement03.xml"/> + <suite.member href="HTMLAreaElement04.xml"/> + <suite.member href="HTMLAreaElement05.xml"/> + <suite.member href="HTMLAreaElement06.xml"/> + <suite.member href="HTMLAreaElement07.xml"/> + <suite.member href="HTMLAreaElement08.xml"/> + <suite.member href="HTMLBaseElement01.xml"/> + <suite.member href="HTMLBaseElement02.xml"/> + <suite.member href="HTMLBaseFontElement01.xml"/> + <suite.member href="HTMLBaseFontElement02.xml"/> + <suite.member href="HTMLBaseFontElement03.xml"/> + <suite.member href="HTMLBodyElement01.xml"/> + <suite.member href="HTMLBodyElement02.xml"/> + <suite.member href="HTMLBodyElement03.xml"/> + <suite.member href="HTMLBodyElement04.xml"/> + <suite.member href="HTMLBodyElement05.xml"/> + <suite.member href="HTMLBodyElement06.xml"/> + <suite.member href="HTMLBRElement01.xml"/> + <suite.member href="HTMLButtonElement01.xml"/> + <suite.member href="HTMLButtonElement02.xml"/> + <suite.member href="HTMLButtonElement03.xml"/> + <suite.member href="HTMLButtonElement04.xml"/> + <suite.member href="HTMLButtonElement05.xml"/> + <suite.member href="HTMLButtonElement06.xml"/> + <suite.member href="HTMLButtonElement07.xml"/> + <suite.member href="HTMLButtonElement08.xml"/> + <suite.member href="HTMLCollection01.xml"/> + <suite.member href="HTMLCollection02.xml"/> + <suite.member href="HTMLCollection03.xml"/> + <suite.member href="HTMLCollection04.xml"/> + <suite.member href="HTMLCollection05.xml"/> + <suite.member href="HTMLCollection06.xml"/> + <suite.member href="HTMLCollection07.xml"/> + <suite.member href="HTMLCollection08.xml"/> + <suite.member href="HTMLCollection09.xml"/> + <suite.member href="HTMLCollection10.xml"/> + <suite.member href="HTMLCollection11.xml"/> + <suite.member href="HTMLCollection12.xml"/> + <suite.member href="HTMLDirectoryElement01.xml"/> + <suite.member href="HTMLDivElement01.xml"/> + <suite.member href="HTMLDlistElement01.xml"/> + <suite.member href="HTMLDocument01.xml"/> + <suite.member href="HTMLDocument02.xml"/> + <suite.member href="HTMLDocument03.xml"/> + <suite.member href="HTMLDocument04.xml"/> + <suite.member href="HTMLDocument05.xml"/> + <suite.member href="HTMLDocument07.xml"/> + <suite.member href="HTMLDocument08.xml"/> + <suite.member href="HTMLDocument09.xml"/> + <suite.member href="HTMLDocument10.xml"/> + <suite.member href="HTMLDocument11.xml"/> + <suite.member href="HTMLDocument12.xml"/> + <suite.member href="HTMLDocument13.xml"/> + <suite.member href="HTMLDocument14.xml"/> + <suite.member href="HTMLDocument15.xml"/> + <suite.member href="HTMLDocument16.xml"/> + <suite.member href="HTMLDocument17.xml"/> + <suite.member href="HTMLDocument18.xml"/> + <suite.member href="HTMLDocument19.xml"/> + <suite.member href="HTMLDocument20.xml"/> + <suite.member href="HTMLDocument21.xml"/> + <suite.member href="HTMLElement01.xml"/> + <suite.member href="HTMLElement02.xml"/> + <suite.member href="HTMLElement03.xml"/> + <suite.member href="HTMLElement04.xml"/> + <suite.member href="HTMLElement05.xml"/> + <suite.member href="HTMLElement06.xml"/> + <suite.member href="HTMLElement07.xml"/> + <suite.member href="HTMLElement08.xml"/> + <suite.member href="HTMLElement09.xml"/> + <suite.member href="HTMLElement10.xml"/> + <suite.member href="HTMLElement11.xml"/> + <suite.member href="HTMLElement12.xml"/> + <suite.member href="HTMLElement13.xml"/> + <suite.member href="HTMLElement14.xml"/> + <suite.member href="HTMLElement15.xml"/> + <suite.member href="HTMLElement16.xml"/> + <suite.member href="HTMLElement17.xml"/> + <suite.member href="HTMLElement18.xml"/> + <suite.member href="HTMLElement19.xml"/> + <suite.member href="HTMLElement20.xml"/> + <suite.member href="HTMLElement21.xml"/> + <suite.member href="HTMLElement22.xml"/> + <suite.member href="HTMLElement23.xml"/> + <suite.member href="HTMLElement24.xml"/> + <suite.member href="HTMLElement25.xml"/> + <suite.member href="HTMLElement26.xml"/> + <suite.member href="HTMLElement27.xml"/> + <suite.member href="HTMLElement28.xml"/> + <suite.member href="HTMLElement29.xml"/> + <suite.member href="HTMLElement30.xml"/> + <suite.member href="HTMLElement31.xml"/> + <suite.member href="HTMLElement32.xml"/> + <suite.member href="HTMLElement33.xml"/> + <suite.member href="HTMLElement34.xml"/> + <suite.member href="HTMLElement35.xml"/> + <suite.member href="HTMLElement36.xml"/> + <suite.member href="HTMLElement37.xml"/> + <suite.member href="HTMLElement38.xml"/> + <suite.member href="HTMLElement39.xml"/> + <suite.member href="HTMLElement40.xml"/> + <suite.member href="HTMLElement41.xml"/> + <suite.member href="HTMLElement42.xml"/> + <suite.member href="HTMLElement43.xml"/> + <suite.member href="HTMLElement44.xml"/> + <suite.member href="HTMLElement45.xml"/> + <suite.member href="HTMLElement46.xml"/> + <suite.member href="HTMLElement47.xml"/> + <suite.member href="HTMLElement48.xml"/> + <suite.member href="HTMLElement49.xml"/> + <suite.member href="HTMLElement50.xml"/> + <suite.member href="HTMLElement51.xml"/> + <suite.member href="HTMLElement52.xml"/> + <suite.member href="HTMLElement53.xml"/> + <suite.member href="HTMLElement54.xml"/> + <suite.member href="HTMLElement55.xml"/> + <suite.member href="HTMLElement56.xml"/> + <suite.member href="HTMLElement57.xml"/> + <suite.member href="HTMLElement58.xml"/> + <suite.member href="HTMLElement59.xml"/> + <suite.member href="HTMLElement60.xml"/> + <suite.member href="HTMLElement61.xml"/> + <suite.member href="HTMLElement62.xml"/> + <suite.member href="HTMLElement63.xml"/> + <suite.member href="HTMLElement64.xml"/> + <suite.member href="HTMLElement65.xml"/> + <suite.member href="HTMLElement66.xml"/> + <suite.member href="HTMLElement67.xml"/> + <suite.member href="HTMLElement68.xml"/> + <suite.member href="HTMLElement69.xml"/> + <suite.member href="HTMLElement70.xml"/> + <suite.member href="HTMLElement71.xml"/> + <suite.member href="HTMLElement72.xml"/> + <suite.member href="HTMLElement73.xml"/> + <suite.member href="HTMLElement74.xml"/> + <suite.member href="HTMLElement75.xml"/> + <suite.member href="HTMLElement76.xml"/> + <suite.member href="HTMLElement77.xml"/> + <suite.member href="HTMLElement78.xml"/> + <suite.member href="HTMLElement79.xml"/> + <suite.member href="HTMLElement80.xml"/> + <suite.member href="HTMLElement81.xml"/> + <suite.member href="HTMLElement82.xml"/> + <suite.member href="HTMLElement83.xml"/> + <suite.member href="HTMLElement84.xml"/> + <suite.member href="HTMLElement85.xml"/> + <suite.member href="HTMLElement86.xml"/> + <suite.member href="HTMLElement87.xml"/> + <suite.member href="HTMLElement88.xml"/> + <suite.member href="HTMLElement89.xml"/> + <suite.member href="HTMLElement90.xml"/> + <suite.member href="HTMLElement91.xml"/> + <suite.member href="HTMLElement92.xml"/> + <suite.member href="HTMLElement93.xml"/> + <suite.member href="HTMLElement94.xml"/> + <suite.member href="HTMLElement95.xml"/> + <suite.member href="HTMLElement96.xml"/> + <suite.member href="HTMLElement97.xml"/> + <suite.member href="HTMLElement98.xml"/> + <suite.member href="HTMLElement99.xml"/> + <suite.member href="HTMLElement100.xml"/> + <suite.member href="HTMLElement101.xml"/> + <suite.member href="HTMLElement102.xml"/> + <suite.member href="HTMLElement103.xml"/> + <suite.member href="HTMLElement104.xml"/> + <suite.member href="HTMLElement105.xml"/> + <suite.member href="HTMLElement106.xml"/> + <suite.member href="HTMLElement107.xml"/> + <suite.member href="HTMLElement108.xml"/> + <suite.member href="HTMLElement109.xml"/> + <suite.member href="HTMLElement110.xml"/> + <suite.member href="HTMLElement111.xml"/> + <suite.member href="HTMLElement112.xml"/> + <suite.member href="HTMLElement113.xml"/> + <suite.member href="HTMLElement114.xml"/> + <suite.member href="HTMLElement115.xml"/> + <suite.member href="HTMLElement116.xml"/> + <suite.member href="HTMLElement117.xml"/> + <suite.member href="HTMLElement118.xml"/> + <suite.member href="HTMLElement119.xml"/> + <suite.member href="HTMLElement120.xml"/> + <suite.member href="HTMLElement121.xml"/> + <suite.member href="HTMLElement122.xml"/> + <suite.member href="HTMLElement123.xml"/> + <suite.member href="HTMLElement124.xml"/> + <suite.member href="HTMLElement125.xml"/> + <suite.member href="HTMLElement126.xml"/> + <suite.member href="HTMLElement127.xml"/> + <suite.member href="HTMLElement128.xml"/> + <suite.member href="HTMLElement129.xml"/> + <suite.member href="HTMLElement130.xml"/> + <suite.member href="HTMLElement131.xml"/> + <suite.member href="HTMLElement132.xml"/> + <suite.member href="HTMLElement133.xml"/> + <suite.member href="HTMLElement134.xml"/> + <suite.member href="HTMLElement135.xml"/> + <suite.member href="HTMLElement136.xml"/> + <suite.member href="HTMLElement137.xml"/> + <suite.member href="HTMLElement138.xml"/> + <suite.member href="HTMLElement139.xml"/> + <suite.member href="HTMLElement140.xml"/> + <suite.member href="HTMLElement141.xml"/> + <suite.member href="HTMLElement142.xml"/> + <suite.member href="HTMLElement143.xml"/> + <suite.member href="HTMLElement144.xml"/> + <suite.member href="HTMLElement145.xml"/> + <suite.member href="HTMLFieldSetElement01.xml"/> + <suite.member href="HTMLFieldSetElement02.xml"/> + <suite.member href="HTMLFontElement01.xml"/> + <suite.member href="HTMLFontElement02.xml"/> + <suite.member href="HTMLFontElement03.xml"/> + <suite.member href="HTMLFormElement01.xml"/> + <suite.member href="HTMLFormElement02.xml"/> + <suite.member href="HTMLFormElement03.xml"/> + <suite.member href="HTMLFormElement04.xml"/> + <suite.member href="HTMLFormElement05.xml"/> + <suite.member href="HTMLFormElement06.xml"/> + <suite.member href="HTMLFormElement07.xml"/> + <suite.member href="HTMLFormElement08.xml"/> + <suite.member href="HTMLFormElement09.xml"/> + <suite.member href="HTMLFormElement10.xml"/> + <suite.member href="HTMLFrameElement01.xml"/> + <suite.member href="HTMLFrameElement02.xml"/> + <suite.member href="HTMLFrameElement03.xml"/> + <suite.member href="HTMLFrameElement04.xml"/> + <suite.member href="HTMLFrameElement05.xml"/> + <suite.member href="HTMLFrameElement06.xml"/> + <suite.member href="HTMLFrameElement07.xml"/> + <suite.member href="HTMLFrameElement08.xml"/> + <suite.member href="HTMLFrameSetElement01.xml"/> + <suite.member href="HTMLFrameSetElement02.xml"/> + <suite.member href="HTMLHeadElement01.xml"/> + <suite.member href="HTMLHeadingElement01.xml"/> + <suite.member href="HTMLHeadingElement02.xml"/> + <suite.member href="HTMLHeadingElement03.xml"/> + <suite.member href="HTMLHeadingElement04.xml"/> + <suite.member href="HTMLHeadingElement05.xml"/> + <suite.member href="HTMLHeadingElement06.xml"/> + <suite.member href="HTMLHRElement01.xml"/> + <suite.member href="HTMLHRElement02.xml"/> + <suite.member href="HTMLHRElement03.xml"/> + <suite.member href="HTMLHRElement04.xml"/> + <suite.member href="HTMLHtmlElement01.xml"/> + <suite.member href="HTMLIFrameElement01.xml"/> + <suite.member href="HTMLIFrameElement02.xml"/> + <suite.member href="HTMLIFrameElement03.xml"/> + <suite.member href="HTMLIFrameElement04.xml"/> + <suite.member href="HTMLIFrameElement05.xml"/> + <suite.member href="HTMLIFrameElement06.xml"/> + <suite.member href="HTMLIFrameElement07.xml"/> + <suite.member href="HTMLIFrameElement08.xml"/> + <suite.member href="HTMLIFrameElement09.xml"/> + <suite.member href="HTMLIFrameElement10.xml"/> + <suite.member href="HTMLImageElement01.xml"/> + <suite.member href="HTMLImageElement02.xml"/> + <suite.member href="HTMLImageElement03.xml"/> + <suite.member href="HTMLImageElement04.xml"/> + <suite.member href="HTMLImageElement05.xml"/> + <suite.member href="HTMLImageElement06.xml"/> + <suite.member href="HTMLImageElement07.xml"/> + <suite.member href="HTMLImageElement08.xml"/> + <suite.member href="HTMLImageElement09.xml"/> + <suite.member href="HTMLImageElement10.xml"/> + <suite.member href="HTMLImageElement11.xml"/> + <suite.member href="HTMLImageElement12.xml"/> + <suite.member href="HTMLImageElement14.xml"/> + <suite.member href="HTMLInputElement01.xml"/> + <suite.member href="HTMLInputElement02.xml"/> + <suite.member href="HTMLInputElement03.xml"/> + <suite.member href="HTMLInputElement04.xml"/> + <suite.member href="HTMLInputElement05.xml"/> + <suite.member href="HTMLInputElement06.xml"/> + <suite.member href="HTMLInputElement07.xml"/> + <suite.member href="HTMLInputElement08.xml"/> + <suite.member href="HTMLInputElement09.xml"/> + <suite.member href="HTMLInputElement10.xml"/> + <suite.member href="HTMLInputElement11.xml"/> + <suite.member href="HTMLInputElement12.xml"/> + <suite.member href="HTMLInputElement13.xml"/> + <suite.member href="HTMLInputElement14.xml"/> + <suite.member href="HTMLInputElement15.xml"/> + <suite.member href="HTMLInputElement16.xml"/> + <suite.member href="HTMLInputElement17.xml"/> + <suite.member href="HTMLInputElement18.xml"/> + <suite.member href="HTMLInputElement19.xml"/> + <suite.member href="HTMLInputElement20.xml"/> + <suite.member href="HTMLInputElement21.xml"/> + <suite.member href="HTMLInputElement22.xml"/> + <suite.member href="HTMLIsIndexElement01.xml"/> + <suite.member href="HTMLIsIndexElement02.xml"/> + <suite.member href="HTMLIsIndexElement03.xml"/> + <suite.member href="HTMLLabelElement01.xml"/> + <suite.member href="HTMLLabelElement02.xml"/> + <suite.member href="HTMLLabelElement03.xml"/> + <suite.member href="HTMLLabelElement04.xml"/> + <suite.member href="HTMLLegendElement01.xml"/> + <suite.member href="HTMLLegendElement02.xml"/> + <suite.member href="HTMLLegendElement03.xml"/> + <suite.member href="HTMLLegendElement04.xml"/> + <suite.member href="HTMLLIElement01.xml"/> + <suite.member href="HTMLLIElement02.xml"/> + <suite.member href="HTMLLinkElement01.xml"/> + <suite.member href="HTMLLinkElement02.xml"/> + <suite.member href="HTMLLinkElement03.xml"/> + <suite.member href="HTMLLinkElement04.xml"/> + <suite.member href="HTMLLinkElement05.xml"/> + <suite.member href="HTMLLinkElement06.xml"/> + <suite.member href="HTMLLinkElement07.xml"/> + <suite.member href="HTMLLinkElement08.xml"/> + <suite.member href="HTMLLinkElement09.xml"/> + <suite.member href="HTMLMapElement01.xml"/> + <suite.member href="HTMLMapElement02.xml"/> + <suite.member href="HTMLMenuElement01.xml"/> + <suite.member href="HTMLMetaElement01.xml"/> + <suite.member href="HTMLMetaElement02.xml"/> + <suite.member href="HTMLMetaElement03.xml"/> + <suite.member href="HTMLMetaElement04.xml"/> + <suite.member href="HTMLModElement01.xml"/> + <suite.member href="HTMLModElement02.xml"/> + <suite.member href="HTMLModElement03.xml"/> + <suite.member href="HTMLModElement04.xml"/> + <suite.member href="HTMLObjectElement01.xml"/> + <suite.member href="HTMLObjectElement02.xml"/> + <suite.member href="HTMLObjectElement03.xml"/> + <suite.member href="HTMLObjectElement04.xml"/> + <suite.member href="HTMLObjectElement05.xml"/> + <suite.member href="HTMLObjectElement06.xml"/> + <suite.member href="HTMLObjectElement07.xml"/> + <suite.member href="HTMLObjectElement08.xml"/> + <suite.member href="HTMLObjectElement09.xml"/> + <suite.member href="HTMLObjectElement10.xml"/> + <suite.member href="HTMLObjectElement11.xml"/> + <suite.member href="HTMLObjectElement12.xml"/> + <suite.member href="HTMLObjectElement13.xml"/> + <suite.member href="HTMLObjectElement14.xml"/> + <suite.member href="HTMLObjectElement15.xml"/> + <suite.member href="HTMLObjectElement16.xml"/> + <suite.member href="HTMLObjectElement17.xml"/> + <suite.member href="HTMLObjectElement18.xml"/> + <suite.member href="HTMLObjectElement19.xml"/> + <suite.member href="HTMLOListElement01.xml"/> + <suite.member href="HTMLOListElement02.xml"/> + <suite.member href="HTMLOListElement03.xml"/> + <suite.member href="HTMLOptGroupElement01.xml"/> + <suite.member href="HTMLOptGroupElement02.xml"/> + <suite.member href="HTMLOptionElement01.xml"/> + <suite.member href="HTMLOptionElement02.xml"/> + <suite.member href="HTMLOptionElement03.xml"/> + <suite.member href="HTMLOptionElement04.xml"/> + <suite.member href="HTMLOptionElement05.xml"/> + <suite.member href="HTMLOptionElement06.xml"/> + <suite.member href="HTMLOptionElement07.xml"/> + <suite.member href="HTMLOptionElement08.xml"/> + <suite.member href="HTMLOptionElement09.xml"/> + <suite.member href="HTMLParagraphElement01.xml"/> + <suite.member href="HTMLParamElement01.xml"/> + <suite.member href="HTMLParamElement02.xml"/> + <suite.member href="HTMLParamElement03.xml"/> + <suite.member href="HTMLParamElement04.xml"/> + <suite.member href="HTMLPreElement01.xml"/> + <suite.member href="HTMLQuoteElement01.xml"/> + <suite.member href="HTMLQuoteElement02.xml"/> + <suite.member href="HTMLScriptElement01.xml"/> + <suite.member href="HTMLScriptElement02.xml"/> + <suite.member href="HTMLScriptElement03.xml"/> + <suite.member href="HTMLScriptElement04.xml"/> + <suite.member href="HTMLScriptElement05.xml"/> + <suite.member href="HTMLScriptElement06.xml"/> + <suite.member href="HTMLScriptElement07.xml"/> + <suite.member href="HTMLSelectElement01.xml"/> + <suite.member href="HTMLSelectElement02.xml"/> + <suite.member href="HTMLSelectElement03.xml"/> + <suite.member href="HTMLSelectElement04.xml"/> + <suite.member href="HTMLSelectElement05.xml"/> + <suite.member href="HTMLSelectElement06.xml"/> + <suite.member href="HTMLSelectElement07.xml"/> + <suite.member href="HTMLSelectElement08.xml"/> + <suite.member href="HTMLSelectElement09.xml"/> + <suite.member href="HTMLSelectElement10.xml"/> + <suite.member href="HTMLSelectElement11.xml"/> + <suite.member href="HTMLSelectElement12.xml"/> + <suite.member href="HTMLSelectElement13.xml"/> + <suite.member href="HTMLSelectElement14.xml"/> + <suite.member href="HTMLSelectElement15.xml"/> + <suite.member href="HTMLSelectElement16.xml"/> + <suite.member href="HTMLSelectElement17.xml"/> + <suite.member href="HTMLSelectElement18.xml"/> + <suite.member href="HTMLSelectElement19.xml"/> + <suite.member href="HTMLStyleElement01.xml"/> + <suite.member href="HTMLStyleElement02.xml"/> + <suite.member href="HTMLStyleElement03.xml"/> + <suite.member href="HTMLTableCaptionElement01.xml"/> + <suite.member href="HTMLTableCellElement01.xml"/> + <suite.member href="HTMLTableCellElement02.xml"/> + <suite.member href="HTMLTableCellElement03.xml"/> + <suite.member href="HTMLTableCellElement04.xml"/> + <suite.member href="HTMLTableCellElement05.xml"/> + <suite.member href="HTMLTableCellElement06.xml"/> + <suite.member href="HTMLTableCellElement07.xml"/> + <suite.member href="HTMLTableCellElement08.xml"/> + <suite.member href="HTMLTableCellElement09.xml"/> + <suite.member href="HTMLTableCellElement10.xml"/> + <suite.member href="HTMLTableCellElement11.xml"/> + <suite.member href="HTMLTableCellElement12.xml"/> + <suite.member href="HTMLTableCellElement13.xml"/> + <suite.member href="HTMLTableCellElement14.xml"/> + <suite.member href="HTMLTableCellElement15.xml"/> + <suite.member href="HTMLTableCellElement16.xml"/> + <suite.member href="HTMLTableCellElement17.xml"/> + <suite.member href="HTMLTableCellElement18.xml"/> + <suite.member href="HTMLTableCellElement19.xml"/> + <suite.member href="HTMLTableCellElement20.xml"/> + <suite.member href="HTMLTableCellElement21.xml"/> + <suite.member href="HTMLTableCellElement22.xml"/> + <suite.member href="HTMLTableCellElement23.xml"/> + <suite.member href="HTMLTableCellElement24.xml"/> + <suite.member href="HTMLTableCellElement25.xml"/> + <suite.member href="HTMLTableCellElement26.xml"/> + <suite.member href="HTMLTableCellElement27.xml"/> + <suite.member href="HTMLTableCellElement28.xml"/> + <suite.member href="HTMLTableCellElement29.xml"/> + <suite.member href="HTMLTableCellElement30.xml"/> + <suite.member href="HTMLTableColElement01.xml"/> + <suite.member href="HTMLTableColElement02.xml"/> + <suite.member href="HTMLTableColElement03.xml"/> + <suite.member href="HTMLTableColElement04.xml"/> + <suite.member href="HTMLTableColElement05.xml"/> + <suite.member href="HTMLTableColElement06.xml"/> + <suite.member href="HTMLTableColElement07.xml"/> + <suite.member href="HTMLTableColElement08.xml"/> + <suite.member href="HTMLTableColElement09.xml"/> + <suite.member href="HTMLTableColElement10.xml"/> + <suite.member href="HTMLTableColElement11.xml"/> + <suite.member href="HTMLTableColElement12.xml"/> + <suite.member href="HTMLTableElement01.xml"/> + <suite.member href="HTMLTableElement02.xml"/> + <suite.member href="HTMLTableElement03.xml"/> + <suite.member href="HTMLTableElement04.xml"/> + <suite.member href="HTMLTableElement05.xml"/> + <suite.member href="HTMLTableElement06.xml"/> + <suite.member href="HTMLTableElement07.xml"/> + <suite.member href="HTMLTableElement08.xml"/> + <suite.member href="HTMLTableElement09.xml"/> + <suite.member href="HTMLTableElement10.xml"/> + <suite.member href="HTMLTableElement11.xml"/> + <suite.member href="HTMLTableElement12.xml"/> + <suite.member href="HTMLTableElement13.xml"/> + <suite.member href="HTMLTableElement14.xml"/> + <suite.member href="HTMLTableElement15.xml"/> + <suite.member href="HTMLTableElement16.xml"/> + <suite.member href="HTMLTableElement17.xml"/> + <suite.member href="HTMLTableElement18.xml"/> + <suite.member href="HTMLTableElement19.xml"/> + <suite.member href="HTMLTableElement20.xml"/> + <suite.member href="HTMLTableElement21.xml"/> + <suite.member href="HTMLTableElement22.xml"/> + <suite.member href="HTMLTableElement23.xml"/> + <suite.member href="HTMLTableElement24.xml"/> + <suite.member href="HTMLTableElement25.xml"/> + <suite.member href="HTMLTableElement26.xml"/> + <suite.member href="HTMLTableElement27.xml"/> + <suite.member href="HTMLTableElement28.xml"/> + <suite.member href="HTMLTableElement29.xml"/> + <suite.member href="HTMLTableElement30.xml"/> + <suite.member href="HTMLTableElement31.xml"/> + <suite.member href="HTMLTableElement32.xml"/> + <suite.member href="HTMLTableElement33.xml"/> + <suite.member href="HTMLTableRowElement01.xml"/> + <suite.member href="HTMLTableRowElement02.xml"/> + <suite.member href="HTMLTableRowElement03.xml"/> + <suite.member href="HTMLTableRowElement04.xml"/> + <suite.member href="HTMLTableRowElement05.xml"/> + <suite.member href="HTMLTableRowElement06.xml"/> + <suite.member href="HTMLTableRowElement07.xml"/> + <suite.member href="HTMLTableRowElement08.xml"/> + <suite.member href="HTMLTableRowElement09.xml"/> + <suite.member href="HTMLTableRowElement10.xml"/> + <suite.member href="HTMLTableRowElement11.xml"/> + <suite.member href="HTMLTableRowElement12.xml"/> + <suite.member href="HTMLTableRowElement13.xml"/> + <suite.member href="HTMLTableRowElement14.xml"/> + <suite.member href="HTMLTableSectionElement01.xml"/> + <suite.member href="HTMLTableSectionElement02.xml"/> + <suite.member href="HTMLTableSectionElement03.xml"/> + <suite.member href="HTMLTableSectionElement04.xml"/> + <suite.member href="HTMLTableSectionElement05.xml"/> + <suite.member href="HTMLTableSectionElement06.xml"/> + <suite.member href="HTMLTableSectionElement07.xml"/> + <suite.member href="HTMLTableSectionElement08.xml"/> + <suite.member href="HTMLTableSectionElement09.xml"/> + <suite.member href="HTMLTableSectionElement10.xml"/> + <suite.member href="HTMLTableSectionElement11.xml"/> + <suite.member href="HTMLTableSectionElement12.xml"/> + <suite.member href="HTMLTableSectionElement13.xml"/> + <suite.member href="HTMLTableSectionElement14.xml"/> + <suite.member href="HTMLTableSectionElement15.xml"/> + <suite.member href="HTMLTableSectionElement16.xml"/> + <suite.member href="HTMLTableSectionElement17.xml"/> + <suite.member href="HTMLTableSectionElement18.xml"/> + <suite.member href="HTMLTableSectionElement19.xml"/> + <suite.member href="HTMLTableSectionElement20.xml"/> + <suite.member href="HTMLTableSectionElement21.xml"/> + <suite.member href="HTMLTableSectionElement22.xml"/> + <suite.member href="HTMLTableSectionElement23.xml"/> + <suite.member href="HTMLTableSectionElement24.xml"/> + <suite.member href="HTMLTextAreaElement01.xml"/> + <suite.member href="HTMLTextAreaElement02.xml"/> + <suite.member href="HTMLTextAreaElement03.xml"/> + <suite.member href="HTMLTextAreaElement04.xml"/> + <suite.member href="HTMLTextAreaElement05.xml"/> + <suite.member href="HTMLTextAreaElement06.xml"/> + <suite.member href="HTMLTextAreaElement07.xml"/> + <suite.member href="HTMLTextAreaElement08.xml"/> + <suite.member href="HTMLTextAreaElement09.xml"/> + <suite.member href="HTMLTextAreaElement10.xml"/> + <suite.member href="HTMLTextAreaElement11.xml"/> + <suite.member href="HTMLTextAreaElement12.xml"/> + <suite.member href="HTMLTextAreaElement13.xml"/> + <suite.member href="HTMLTextAreaElement14.xml"/> + <suite.member href="HTMLTextAreaElement15.xml"/> + <suite.member href="HTMLTitleElement01.xml"/> + <suite.member href="HTMLUListElement01.xml"/> + <suite.member href="HTMLUListElement02.xml"/> + + <!-- netscape tests --> + <suite.member href="anchor01.xml"/> + <suite.member href="anchor02.xml"/> + <suite.member href="anchor03.xml"/> + <suite.member href="anchor04.xml"/> + <suite.member href="anchor05.xml"/> + <suite.member href="anchor06.xml"/> + <suite.member href="area01.xml"/> + <suite.member href="area02.xml"/> + <suite.member href="area03.xml"/> + <suite.member href="area04.xml"/> + <suite.member href="basefont01.xml"/> + <suite.member href="body01.xml"/> + <suite.member href="button01.xml"/> + <suite.member href="button02.xml"/> + <suite.member href="button03.xml"/> + <suite.member href="button04.xml"/> + <suite.member href="button05.xml"/> + <suite.member href="button06.xml"/> + <suite.member href="button07.xml"/> + <suite.member href="button08.xml"/> + <suite.member href="button09.xml"/> + <suite.member href="dlist01.xml"/> + <suite.member href="doc01.xml"/> + <suite.member href="hasFeature01.xml"/> + <suite.member href="object01.xml"/> + <suite.member href="object02.xml"/> + <suite.member href="object03.xml"/> + <suite.member href="object04.xml"/> + <suite.member href="object05.xml"/> + <suite.member href="object06.xml"/> + <suite.member href="object07.xml"/> + <suite.member href="object08.xml"/> + <suite.member href="object09.xml"/> + <suite.member href="object10.xml"/> + <suite.member href="object11.xml"/> + <suite.member href="object12.xml"/> + <suite.member href="object13.xml"/> + <suite.member href="object14.xml"/> + <suite.member href="object15.xml"/> + <suite.member href="table01.xml"/> + <suite.member href="table02.xml"/> + <suite.member href="table03.xml"/> + <suite.member href="table04.xml"/> + <suite.member href="table06.xml"/> + <suite.member href="table07.xml"/> + <suite.member href="table08.xml"/> + <suite.member href="table09.xml"/> + <suite.member href="table10.xml"/> + <suite.member href="table12.xml"/> + <suite.member href="table15.xml"/> + <suite.member href="table17.xml"/> + <suite.member href="table18.xml"/> + <suite.member href="table19.xml"/> + <suite.member href="table20.xml"/> + <suite.member href="table21.xml"/> + <suite.member href="table22.xml"/> + <suite.member href="table23.xml"/> + <suite.member href="table24.xml"/> + <suite.member href="table25.xml"/> + <suite.member href="table26.xml"/> + <suite.member href="table27.xml"/> + <suite.member href="table28.xml"/> + <suite.member href="table29.xml"/> + <suite.member href="table30.xml"/> + <suite.member href="table31.xml"/> + <suite.member href="table32.xml"/> + <suite.member href="table33.xml"/> + <suite.member href="table34.xml"/> + <suite.member href="table35.xml"/> + <suite.member href="table36.xml"/> + <suite.member href="table37.xml"/> + <suite.member href="table38.xml"/> + <suite.member href="table39.xml"/> + <suite.member href="table40.xml"/> + <suite.member href="table41.xml"/> + <suite.member href="table42.xml"/> + <suite.member href="table43.xml"/> + <suite.member href="table44.xml"/> + <suite.member href="table45.xml"/> + <suite.member href="table46.xml"/> + <suite.member href="table47.xml"/> + <suite.member href="table48.xml"/> + <suite.member href="table49.xml"/> + <suite.member href="table50.xml"/> + <suite.member href="table51.xml"/> + <suite.member href="table52.xml"/> + <suite.member href="table53.xml"/> + +</suite> diff --git a/test/testcases/tests/level1/html/anchor01.xml b/test/testcases/tests/level1/html/anchor01.xml new file mode 100644 index 0000000..19a2711 --- /dev/null +++ b/test/testcases/tests/level1/html/anchor01.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="anchor01"> +<metadata> +<title>anchor01</title> +<creator>Netscape</creator> +<description> +A single character access key to give access to the form control. +The value of attribute accessKey of the anchor element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-02</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="Node"/> +<var name="vaccesskey" type="DOMString" /> +<var name="doc" type="Node"/> +<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/anchor02.xml b/test/testcases/tests/level1/html/anchor02.xml new file mode 100644 index 0000000..61486a7 --- /dev/null +++ b/test/testcases/tests/level1/html/anchor02.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="anchor02"> +<metadata> +<title>anchor02</title> +<creator>Netscape</creator> +<description> +The character encoding of the linked resource. +The value of attribute charset of the anchor element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-02</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="Node"/> +<var name="vcharset" type="DOMString" /> +<var name="doc" type="Node"/> +<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/anchor03.xml b/test/testcases/tests/level1/html/anchor03.xml new file mode 100644 index 0000000..e6bd32e --- /dev/null +++ b/test/testcases/tests/level1/html/anchor03.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="anchor03"> +<metadata> +<title>anchor03</title> +<creator>Netscape</creator> +<description> +Comma-separated list of lengths, defining an active region geometry. +The value of attribute coords of the anchor element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-02</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="Node"/> +<var name="vcoords" type="DOMString" /> +<var name="doc" type="Node"/> +<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/anchor04.xml b/test/testcases/tests/level1/html/anchor04.xml new file mode 100644 index 0000000..b5ce201 --- /dev/null +++ b/test/testcases/tests/level1/html/anchor04.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="anchor04"> +<metadata> +<title>anchor04</title> +<creator>Netscape</creator> +<description> +The URI of the linked resource. +The value of attribute href of the anchor element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-02</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="Node"/> +<var name="vhref" type="DOMString" /> +<var name="doc" type="Node"/> +<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" isAbsolute="true" file='"submit.gif"' id="hrefLink"/> +</test> diff --git a/test/testcases/tests/level1/html/anchor05.xml b/test/testcases/tests/level1/html/anchor05.xml new file mode 100644 index 0000000..27b34ac --- /dev/null +++ b/test/testcases/tests/level1/html/anchor05.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="anchor05"> +<metadata> +<title>anchor05</title> +<creator>Netscape</creator> +<description> +Advisory content type. +The value of attribute type of the anchor element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-02</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="Node"/> +<var name="vtype" type="DOMString" /> +<var name="doc" type="Node"/> +<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/anchor06.xml b/test/testcases/tests/level1/html/anchor06.xml new file mode 100644 index 0000000..31190be --- /dev/null +++ b/test/testcases/tests/level1/html/anchor06.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="anchor06"> +<metadata> +<title>anchor06</title> +<creator>Netscape</creator> +<description> +The shape of the active area. The coordinates are given by coords +The value of attribute shape of the anchor element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-02</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="Node"/> +<var name="vshape" type="DOMString" /> +<var name="doc" type="Node"/> +<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/area01.xml b/test/testcases/tests/level1/html/area01.xml new file mode 100644 index 0000000..34ebdb2 --- /dev/null +++ b/test/testcases/tests/level1/html/area01.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="area01"> +<metadata> +<title>area01</title> +<creator>Netscape</creator> +<description> + +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-08</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="Node"/> +<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/area02.xml b/test/testcases/tests/level1/html/area02.xml new file mode 100644 index 0000000..8f85598 --- /dev/null +++ b/test/testcases/tests/level1/html/area02.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="area02"> +<metadata> +<title>area02</title> +<creator>Netscape</creator> +<description> + +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-08</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="Node"/> +<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/area03.xml b/test/testcases/tests/level1/html/area03.xml new file mode 100644 index 0000000..577e711 --- /dev/null +++ b/test/testcases/tests/level1/html/area03.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="area03"> +<metadata> +<title>area03</title> +<creator>Netscape</creator> +<description> + +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-08</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="Node"/> +<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/area04.xml b/test/testcases/tests/level1/html/area04.xml new file mode 100644 index 0000000..f964a57 --- /dev/null +++ b/test/testcases/tests/level1/html/area04.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="area04"> +<metadata> +<title>area04</title> +<creator>Netscape</creator> +<description> + +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-08</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="Node"/> +<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="accessKeyLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/basefont01.xml b/test/testcases/tests/level1/html/basefont01.xml new file mode 100644 index 0000000..eadfca4 --- /dev/null +++ b/test/testcases/tests/level1/html/basefont01.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="basefont01"> +<metadata> +<title>basefont01</title> +<creator>Netscape</creator> +<description> +The value of attribute color of the basefont element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-08</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="Node"/> +<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/body01.xml b/test/testcases/tests/level1/html/body01.xml new file mode 100644 index 0000000..3ab179d --- /dev/null +++ b/test/testcases/tests/level1/html/body01.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="body01"> +<metadata> +<title>body01</title> +<creator>Netscape</creator> +<description> +Color of active links (after mouse-button down, but before mouse-button up). +The value of attribute alink of the body element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-08</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="Node"/> +<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/button01.xml b/test/testcases/tests/level1/html/button01.xml new file mode 100644 index 0000000..f128ea8 --- /dev/null +++ b/test/testcases/tests/level1/html/button01.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="button01"> +<metadata> +<title>button01</title> +<creator>Netscape</creator> +<description> +Returns the FORM element containing this control. Returns null if this control is not within the context of a form. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-03-09</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="Node"/> +<var name="doc" type="Node"/> +<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="formLink"/> +</test> diff --git a/test/testcases/tests/level1/html/button02.xml b/test/testcases/tests/level1/html/button02.xml new file mode 100644 index 0000000..bd072ef --- /dev/null +++ b/test/testcases/tests/level1/html/button02.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="button02"> +<metadata> +<title>button02</title> +<creator>Netscape</creator> +<description> +The value of attribute name of the form element which contains this button is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-03-09</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-71254493"/> +<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="formNode" type="Node"/> +<var name="vfname" type="DOMString" /> +<var name="doc" type="Node"/> +<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="formNode"/> +<id interface="HTMLElement" obj="formNode" var="vfname"/> +<assertEquals actual="vfname" expected='"form2"' id="formLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/button03.xml b/test/testcases/tests/level1/html/button03.xml new file mode 100644 index 0000000..4074059 --- /dev/null +++ b/test/testcases/tests/level1/html/button03.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="button03"> +<metadata> +<title>button03</title> +<creator>Netscape</creator> +<description> +The value of attribute action of the form element which contains this button is read and checked against the expected value +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-03-09</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-71254493"/> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-74049184"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="formNode" type="Node"/> +<var name="vfaction" type="DOMString" /> +<var name="doc" type="Node"/> +<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="formNode"/> +<action interface="HTMLFormElement" obj="formNode" var="vfaction"/> +<assertEquals actual="vfaction" expected='"..."' id="formLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/button04.xml b/test/testcases/tests/level1/html/button04.xml new file mode 100644 index 0000000..737ddaa --- /dev/null +++ b/test/testcases/tests/level1/html/button04.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="button04"> +<metadata> +<title>button04</title> +<creator>Netscape</creator> +<description> +The value of attribute method of the form element which contains this button is read and checked against the expected value +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-03-09</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-71254493"/> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-82545539"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="formNode" type="Node"/> +<var name="vfmethod" type="DOMString" /> +<var name="doc" type="Node"/> +<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="formNode"/> +<method interface="HTMLFormElement" obj="formNode" var="vfmethod"/> +<assertEquals actual="vfmethod" expected='"POST"' id="formLink" ignoreCase="true"/> +</test> diff --git a/test/testcases/tests/level1/html/button05.xml b/test/testcases/tests/level1/html/button05.xml new file mode 100644 index 0000000..ecff6b5 --- /dev/null +++ b/test/testcases/tests/level1/html/button05.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="button05"> +<metadata> +<title>button05</title> +<creator>Netscape</creator> +<description> +A single character access key to give access to the form control. +The value of attribute accessKey of the button element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-03-09</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="vakey" type="DOMString" /> +<var name="doc" type="Node"/> +<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="vakey"/> +<assertEquals actual="vakey" expected='"f"' id="accessKeyLink" ignoreCase="true"/> +</test> diff --git a/test/testcases/tests/level1/html/button06.xml b/test/testcases/tests/level1/html/button06.xml new file mode 100644 index 0000000..7a5e558 --- /dev/null +++ b/test/testcases/tests/level1/html/button06.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="button06"> +<metadata> +<title>button06</title> +<creator>Netscape</creator> +<description> +Index that represents the element's position in the tabbing order. +The value of attribute tabIndex of the button element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-03-09</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="Node"/> +<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/button07.xml b/test/testcases/tests/level1/html/button07.xml new file mode 100644 index 0000000..daddf76 --- /dev/null +++ b/test/testcases/tests/level1/html/button07.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="button07"> +<metadata> +<title>button07</title> +<creator>Netscape</creator> +<description> +The type of button +The value of attribute type of the button element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-03-09</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="Node"/> +<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/button08.xml b/test/testcases/tests/level1/html/button08.xml new file mode 100644 index 0000000..a4dbb0b --- /dev/null +++ b/test/testcases/tests/level1/html/button08.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="button08"> +<metadata> +<title>button08</title> +<creator>Netscape</creator> +<description> +The control is unavailable in this context. +The boolean value of attribute disabled of the button element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-03-09</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="Node"/> +<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/button09.xml b/test/testcases/tests/level1/html/button09.xml new file mode 100644 index 0000000..d0efa94 --- /dev/null +++ b/test/testcases/tests/level1/html/button09.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="button09"> +<metadata> +<title>button09</title> +<creator>Netscape</creator> +<description> +The current form control value. +The value of attribute value of the button element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-03-09</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="Node"/> +<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="typeLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/dlist01.xml b/test/testcases/tests/level1/html/dlist01.xml new file mode 100644 index 0000000..35cbe2c --- /dev/null +++ b/test/testcases/tests/level1/html/dlist01.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="dlist01"> +<metadata> +<title>dlist01</title> +<creator>Netscape</creator> +<description> + +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-08</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="Node"/> +<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/doc01.xml b/test/testcases/tests/level1/html/doc01.xml new file mode 100644 index 0000000..cb0c897 --- /dev/null +++ b/test/testcases/tests/level1/html/doc01.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="doc01"> +<metadata> +<title>doc01</title> +<creator>Netscape</creator> +<description> +Retrieve the title attribute of HTMLDocument and examine it's value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-08</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-18446827"/> +</metadata> +<var name="vtitle" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="anchor" willBeModified="false"/> +<title interface="HTMLDocument" obj="doc" var="vtitle"/> +<assertEquals actual="vtitle" expected='"NIST DOM HTML Test - Anchor"' id="titleLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/files/.cvsignore b/test/testcases/tests/level1/html/files/.cvsignore new file mode 100644 index 0000000..30d6772 --- /dev/null +++ b/test/testcases/tests/level1/html/files/.cvsignore @@ -0,0 +1,6 @@ +xhtml1-frameset.dtd +xhtml1-strict.dtd +xhtml1-transitional.dtd +xhtml-lat1.ent +xhtml-special.ent +xhtml-symbol.ent diff --git a/test/testcases/tests/level1/html/files/CVS/Entries b/test/testcases/tests/level1/html/files/CVS/Entries new file mode 100644 index 0000000..ceb0a2b --- /dev/null +++ b/test/testcases/tests/level1/html/files/CVS/Entries @@ -0,0 +1,196 @@ +/.cvsignore/1.1/Fri Apr 3 02:48:01 2009// +/anchor.html/1.3/Fri Apr 3 02:48:01 2009// +/anchor.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/anchor.xml/1.3/Fri Apr 3 02:48:01 2009// +/anchor2.html/1.2/Fri Apr 3 02:48:01 2009// +/anchor2.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/anchor2.xml/1.3/Fri Apr 3 02:48:01 2009// +/applet.html/1.5/Fri Apr 3 02:48:01 2009// +/applet.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/applet.xml/1.6/Fri Apr 3 02:48:01 2009// +/applet2.html/1.3/Fri Apr 3 02:48:01 2009// +/applet2.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/applet2.xml/1.3/Fri Apr 3 02:48:01 2009// +/area.html/1.3/Fri Apr 3 02:48:01 2009// +/area.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/area.xml/1.4/Fri Apr 3 02:48:01 2009// +/area2.html/1.3/Fri Apr 3 02:48:01 2009// +/area2.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/area2.xml/1.4/Fri Apr 3 02:48:01 2009// +/base.html/1.4/Fri Apr 3 02:48:01 2009// +/base.xhtml/1.3/Fri Apr 3 02:48:01 2009/-kb/ +/base.xml/1.4/Fri Apr 3 02:48:01 2009// +/base2.html/1.4/Fri Apr 3 02:48:01 2009// +/base2.xhtml/1.4/Fri Apr 3 02:48:01 2009/-kb/ +/base2.xml/1.4/Fri Apr 3 02:48:01 2009// +/basefont.html/1.3/Fri Apr 3 02:48:01 2009// +/basefont.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/basefont.xml/1.3/Fri Apr 3 02:48:01 2009// +/body.html/1.3/Fri Apr 3 02:48:01 2009// +/body.xhtml/1.3/Fri Apr 3 02:48:01 2009/-kb/ +/body.xml/1.3/Fri Apr 3 02:48:01 2009// +/br.html/1.3/Fri Apr 3 02:48:01 2009// +/br.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/br.xml/1.3/Fri Apr 3 02:48:01 2009// +/button.html/1.4/Fri Apr 3 02:48:01 2009// +/button.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/button.xml/1.3/Fri Apr 3 02:48:01 2009// +/collection.html/1.3/Fri Apr 3 02:48:01 2009// +/collection.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/collection.xml/1.3/Fri Apr 3 02:48:01 2009// +/directory.html/1.3/Fri Apr 3 02:48:01 2009// +/directory.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/directory.xml/1.3/Fri Apr 3 02:48:01 2009// +/div.html/1.3/Fri Apr 3 02:48:01 2009// +/div.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/div.xml/1.3/Fri Apr 3 02:48:01 2009// +/dl.html/1.3/Fri Apr 3 02:48:01 2009// +/dl.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/dl.xml/1.3/Fri Apr 3 02:48:01 2009// +/document.html/1.5/Fri Apr 3 02:48:01 2009// +/document.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/document.xml/1.6/Fri Apr 3 02:48:01 2009// +/element.html/1.3/Fri Apr 3 02:48:01 2009// +/element.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/element.xml/1.3/Fri Apr 3 02:48:01 2009// +/fieldset.html/1.4/Fri Apr 3 02:48:01 2009// +/fieldset.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/fieldset.xml/1.3/Fri Apr 3 02:48:01 2009// +/font.html/1.3/Fri Apr 3 02:48:01 2009// +/font.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/font.xml/1.3/Fri Apr 3 02:48:01 2009// +/form.html/1.3/Fri Apr 3 02:48:01 2009// +/form.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/form.xml/1.3/Fri Apr 3 02:48:01 2009// +/form2.html/1.2/Fri Apr 3 02:48:01 2009// +/form2.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/form2.xml/1.3/Fri Apr 3 02:48:01 2009// +/form3.html/1.1/Fri Apr 3 02:48:01 2009// +/form3.xhtml/1.1/Fri Apr 3 02:48:01 2009/-kb/ +/form3.xml/1.1/Fri Apr 3 02:48:01 2009// +/frame.html/1.3/Fri Apr 3 02:48:01 2009// +/frame.xhtml/1.3/Fri Apr 3 02:48:01 2009/-kb/ +/frame.xml/1.5/Fri Apr 3 02:48:01 2009// +/frameset.html/1.2/Fri Apr 3 02:48:01 2009// +/frameset.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/frameset.xml/1.3/Fri Apr 3 02:48:01 2009// +/head.html/1.4/Fri Apr 3 02:48:01 2009// +/head.xhtml/1.3/Fri Apr 3 02:48:01 2009/-kb/ +/head.xml/1.3/Fri Apr 3 02:48:01 2009// +/heading.html/1.3/Fri Apr 3 02:48:01 2009// +/heading.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/heading.xml/1.3/Fri Apr 3 02:48:01 2009// +/hr.html/1.3/Fri Apr 3 02:48:01 2009// +/hr.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/hr.xml/1.3/Fri Apr 3 02:48:01 2009// +/html.html/1.4/Fri Apr 3 02:48:01 2009// +/html.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/html.xml/1.3/Fri Apr 3 02:48:01 2009// +/iframe.html/1.4/Fri Apr 3 02:48:01 2009// +/iframe.xhtml/1.3/Fri Apr 3 02:48:01 2009/-kb/ +/iframe.xml/1.4/Fri Apr 3 02:48:01 2009// +/img.html/1.3/Fri Apr 3 02:48:01 2009// +/img.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/img.xml/1.3/Fri Apr 3 02:48:01 2009// +/input.html/1.5/Fri Apr 3 02:48:01 2009// +/input.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/input.xml/1.5/Fri Apr 3 02:48:01 2009// +/isindex.html/1.4/Fri Apr 3 02:48:01 2009// +/isindex.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/isindex.xml/1.4/Fri Apr 3 02:48:01 2009// +/label.html/1.3/Fri Apr 3 02:48:01 2009// +/label.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/label.xml/1.4/Fri Apr 3 02:48:01 2009// +/legend.html/1.4/Fri Apr 3 02:48:01 2009// +/legend.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/legend.xml/1.4/Fri Apr 3 02:48:01 2009// +/li.html/1.3/Fri Apr 3 02:48:01 2009// +/li.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/li.xml/1.3/Fri Apr 3 02:48:01 2009// +/link.html/1.4/Fri Apr 3 02:48:01 2009// +/link.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/link.xml/1.3/Fri Apr 3 02:48:01 2009// +/link2.html/1.2/Fri Apr 3 02:48:01 2009// +/link2.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/link2.xml/1.3/Fri Apr 3 02:48:01 2009// +/map.html/1.3/Fri Apr 3 02:48:01 2009// +/map.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/map.xml/1.3/Fri Apr 3 02:48:01 2009// +/menu.html/1.3/Fri Apr 3 02:48:01 2009// +/menu.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/menu.xml/1.3/Fri Apr 3 02:48:01 2009// +/meta.html/1.2/Fri Apr 3 02:48:01 2009// +/meta.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/meta.xml/1.3/Fri Apr 3 02:48:01 2009// +/mod.html/1.2/Fri Apr 3 02:48:01 2009// +/mod.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/mod.xml/1.3/Fri Apr 3 02:48:01 2009// +/object.html/1.5/Fri Apr 3 02:48:01 2009// +/object.xhtml/1.3/Fri Apr 3 02:48:01 2009/-kb/ +/object.xml/1.3/Fri Apr 3 02:48:01 2009// +/object2.html/1.3/Fri Apr 3 02:48:01 2009// +/object2.xhtml/1.3/Fri Apr 3 02:48:01 2009/-kb/ +/object2.xml/1.2/Fri Apr 3 02:48:01 2009// +/olist.html/1.3/Fri Apr 3 02:48:01 2009// +/olist.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/olist.xml/1.3/Fri Apr 3 02:48:01 2009// +/optgroup.html/1.2/Fri Apr 3 02:48:01 2009// +/optgroup.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/optgroup.xml/1.3/Fri Apr 3 02:48:01 2009// +/option.html/1.3/Fri Apr 3 02:48:01 2009// +/option.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/option.xml/1.4/Fri Apr 3 02:48:01 2009// +/paragraph.html/1.3/Fri Apr 3 02:48:01 2009// +/paragraph.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/paragraph.xml/1.3/Fri Apr 3 02:48:01 2009// +/param.html/1.2/Fri Apr 3 02:48:01 2009// +/param.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/param.xml/1.4/Fri Apr 3 02:48:01 2009// +/pre.html/1.3/Fri Apr 3 02:48:01 2009// +/pre.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/pre.xml/1.3/Fri Apr 3 02:48:01 2009// +/quote.html/1.2/Fri Apr 3 02:48:01 2009// +/quote.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/quote.xml/1.3/Fri Apr 3 02:48:01 2009// +/right.png/1.1/Fri Apr 3 02:48:01 2009/-kb/ +/script.html/1.3/Fri Apr 3 02:48:01 2009// +/script.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/script.xml/1.3/Fri Apr 3 02:48:01 2009// +/select.html/1.4/Fri Apr 3 02:48:01 2009// +/select.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/select.xml/1.4/Fri Apr 3 02:48:01 2009// +/style.html/1.3/Fri Apr 3 02:48:01 2009// +/style.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/style.xml/1.3/Fri Apr 3 02:48:01 2009// +/table.html/1.3/Fri Apr 3 02:48:01 2009// +/table.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/table.xml/1.3/Fri Apr 3 02:48:01 2009// +/table1.html/1.4/Fri Apr 3 02:48:01 2009// +/table1.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/table1.xml/1.3/Fri Apr 3 02:48:01 2009// +/tablecaption.html/1.3/Fri Apr 3 02:48:01 2009// +/tablecaption.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/tablecaption.xml/1.3/Fri Apr 3 02:48:01 2009// +/tablecell.html/1.3/Fri Apr 3 02:48:01 2009// +/tablecell.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/tablecell.xml/1.4/Fri Apr 3 02:48:01 2009// +/tablecol.html/1.3/Fri Apr 3 02:48:01 2009// +/tablecol.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/tablecol.xml/1.3/Fri Apr 3 02:48:01 2009// +/tablerow.html/1.3/Fri Apr 3 02:48:01 2009// +/tablerow.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/tablerow.xml/1.3/Fri Apr 3 02:48:01 2009// +/tablesection.html/1.4/Fri Apr 3 02:48:01 2009// +/tablesection.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/tablesection.xml/1.4/Fri Apr 3 02:48:01 2009// +/textarea.html/1.4/Fri Apr 3 02:48:01 2009// +/textarea.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/textarea.xml/1.4/Fri Apr 3 02:48:01 2009// +/title.html/1.3/Fri Apr 3 02:48:01 2009// +/title.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/title.xml/1.3/Fri Apr 3 02:48:01 2009// +/ulist.html/1.3/Fri Apr 3 02:48:01 2009// +/ulist.xhtml/1.2/Fri Apr 3 02:48:01 2009/-kb/ +/ulist.xml/1.3/Fri Apr 3 02:48:01 2009// +/w3c_main.png/1.1/Fri Apr 3 02:48:01 2009/-kb/ +D diff --git a/test/testcases/tests/level1/html/files/CVS/Repository b/test/testcases/tests/level1/html/files/CVS/Repository new file mode 100644 index 0000000..82d4385 --- /dev/null +++ b/test/testcases/tests/level1/html/files/CVS/Repository @@ -0,0 +1 @@ +2001/DOM-Test-Suite/tests/level1/html/files diff --git a/test/testcases/tests/level1/html/files/CVS/Root b/test/testcases/tests/level1/html/files/CVS/Root new file mode 100644 index 0000000..3c7177e --- /dev/null +++ b/test/testcases/tests/level1/html/files/CVS/Root @@ -0,0 +1 @@ +:pserver:anonymous@dev.w3.org:/sources/public diff --git a/test/testcases/tests/level1/html/files/CVS/Template b/test/testcases/tests/level1/html/files/CVS/Template new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/testcases/tests/level1/html/files/CVS/Template diff --git a/test/testcases/tests/level1/html/files/anchor.html b/test/testcases/tests/level1/html/files/anchor.html new file mode 100644 index 0000000..952e8d9 --- /dev/null +++ b/test/testcases/tests/level1/html/files/anchor.html @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - Anchor</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<A ID="Anchor" DIR="LTR" HREF="./pix/submit.gif" ACCESSKEY="g" TYPE="image/gif" COORDS="0,0,100,100" SHAPE="rect" REL="GLOSSARY" REV="STYLESHEET" HREFLANG="en" CHARSET="US-ASCII" TABINDEX="22" NAME="Anchor">View Submit Button</A> +</P> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/anchor.xhtml b/test/testcases/tests/level1/html/files/anchor.xhtml new file mode 100644 index 0000000..1be5755 --- /dev/null +++ b/test/testcases/tests/level1/html/files/anchor.xhtml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Anchor</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<a id="Anchor" dir="ltr" href="./pix/submit.gif" accesskey="g" type="image/gif" coords="0,0,100,100" shape="rect" rel="GLOSSARY" rev="STYLESHEET" hreflang="en" charset="US-ASCII" tabindex="22" name="Anchor">View Submit Button</a> +</p> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/anchor.xml b/test/testcases/tests/level1/html/files/anchor.xml new file mode 100644 index 0000000..1be5755 --- /dev/null +++ b/test/testcases/tests/level1/html/files/anchor.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Anchor</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<a id="Anchor" dir="ltr" href="./pix/submit.gif" accesskey="g" type="image/gif" coords="0,0,100,100" shape="rect" rel="GLOSSARY" rev="STYLESHEET" hreflang="en" charset="US-ASCII" tabindex="22" name="Anchor">View Submit Button</a> +</p> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/anchor2.html b/test/testcases/tests/level1/html/files/anchor2.html new file mode 100644 index 0000000..1b04fb9 --- /dev/null +++ b/test/testcases/tests/level1/html/files/anchor2.html @@ -0,0 +1,13 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - Anchor</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<A HREF="./pix/submit.gif" TARGET="dynamic">View Submit Button</A> +</P> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/anchor2.xhtml b/test/testcases/tests/level1/html/files/anchor2.xhtml new file mode 100644 index 0000000..096eb60 --- /dev/null +++ b/test/testcases/tests/level1/html/files/anchor2.xhtml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Anchor</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<a href="./pix/submit.gif" target="dynamic">View Submit Button</a> +</p> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/anchor2.xml b/test/testcases/tests/level1/html/files/anchor2.xml new file mode 100644 index 0000000..096eb60 --- /dev/null +++ b/test/testcases/tests/level1/html/files/anchor2.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Anchor</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<a href="./pix/submit.gif" target="dynamic">View Submit Button</a> +</p> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/applet.html b/test/testcases/tests/level1/html/files/applet.html new file mode 100644 index 0000000..d721cf1 --- /dev/null +++ b/test/testcases/tests/level1/html/files/applet.html @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - Applet</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<APPLET ALIGN="bottom" ALT="Applet Number 1" ARCHIVE="" CODE="org/w3c/domts/DOMTSApplet.class" CODEBASE="applets" HEIGHT="306" HSPACE="0" NAME="applet1" VSPACE="0" WIDTH="301"></APPLET> +</P> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/applet.xhtml b/test/testcases/tests/level1/html/files/applet.xhtml new file mode 100644 index 0000000..cf2070c --- /dev/null +++ b/test/testcases/tests/level1/html/files/applet.xhtml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Applet</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<applet align="bottom" alt="Applet Number 1" archive="" code="org/w3c/domts/DOMTSApplet.class" codebase="applets" height="306" hspace="0" name="applet1" vspace="0" width="301"></applet> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/applet.xml b/test/testcases/tests/level1/html/files/applet.xml new file mode 100644 index 0000000..cf2070c --- /dev/null +++ b/test/testcases/tests/level1/html/files/applet.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Applet</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<applet align="bottom" alt="Applet Number 1" archive="" code="org/w3c/domts/DOMTSApplet.class" codebase="applets" height="306" hspace="0" name="applet1" vspace="0" width="301"></applet> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/applet2.html b/test/testcases/tests/level1/html/files/applet2.html new file mode 100644 index 0000000..0379ed1 --- /dev/null +++ b/test/testcases/tests/level1/html/files/applet2.html @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - Applet</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<APPLET ALIGN="bottom" ALT="Applet Number 1" ARCHIVE="" OBJECT="DOMTSApplet.dat" CODEBASE="applets" HEIGHT="306" HSPACE="0" NAME="applet1" VSPACE="0" WIDTH="301"></APPLET> +</P> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/applet2.xhtml b/test/testcases/tests/level1/html/files/applet2.xhtml new file mode 100644 index 0000000..43b27da --- /dev/null +++ b/test/testcases/tests/level1/html/files/applet2.xhtml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Applet</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<applet align="bottom" alt="Applet Number 1" archive="" object="DOMTSApplet.dat" codebase="applets" height="306" hspace="0" name="applet1" vspace="0" width="301"></applet> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/applet2.xml b/test/testcases/tests/level1/html/files/applet2.xml new file mode 100644 index 0000000..43b27da --- /dev/null +++ b/test/testcases/tests/level1/html/files/applet2.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Applet</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<applet align="bottom" alt="Applet Number 1" archive="" object="DOMTSApplet.dat" codebase="applets" height="306" hspace="0" name="applet1" vspace="0" width="301"></applet> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/area.html b/test/testcases/tests/level1/html/files/area.html new file mode 100644 index 0000000..dddff68 --- /dev/null +++ b/test/testcases/tests/level1/html/files/area.html @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - Area</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<MAP NAME="mapid" ID="mapid"> +<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain"> +</MAP> +</P> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/area.xhtml b/test/testcases/tests/level1/html/files/area.xhtml new file mode 100644 index 0000000..1e497f3 --- /dev/null +++ b/test/testcases/tests/level1/html/files/area.xhtml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Area</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<map name="mapid" id="mapid"> +<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain"/> +</map> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/area.xml b/test/testcases/tests/level1/html/files/area.xml new file mode 100644 index 0000000..1e497f3 --- /dev/null +++ b/test/testcases/tests/level1/html/files/area.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Area</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<map name="mapid" id="mapid"> +<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain"/> +</map> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/area2.html b/test/testcases/tests/level1/html/files/area2.html new file mode 100644 index 0000000..f1ae081 --- /dev/null +++ b/test/testcases/tests/level1/html/files/area2.html @@ -0,0 +1,15 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - Area</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<MAP NAME="mapid" ID="mapid"> +<AREA HREF="./files/dletter.html" ALT="Domain" TARGET="dynamic"> +</MAP> +</P> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/area2.xhtml b/test/testcases/tests/level1/html/files/area2.xhtml new file mode 100644 index 0000000..5476bee --- /dev/null +++ b/test/testcases/tests/level1/html/files/area2.xhtml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Area</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<map name="mapid" id="mapid"> +<area href="./files/dletter.html" alt="Domain" target="dynamic"/> +</map> +</p> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/area2.xml b/test/testcases/tests/level1/html/files/area2.xml new file mode 100644 index 0000000..5476bee --- /dev/null +++ b/test/testcases/tests/level1/html/files/area2.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Area</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<map name="mapid" id="mapid"> +<area href="./files/dletter.html" alt="Domain" target="dynamic"/> +</map> +</p> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/base.html b/test/testcases/tests/level1/html/files/base.html new file mode 100644 index 0000000..53d151d --- /dev/null +++ b/test/testcases/tests/level1/html/files/base.html @@ -0,0 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<BASE HREF="about:blank"> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - Base</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P>Some Text</P> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/base.xhtml b/test/testcases/tests/level1/html/files/base.xhtml new file mode 100644 index 0000000..bc41a1d --- /dev/null +++ b/test/testcases/tests/level1/html/files/base.xhtml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<base href="about:blank"/> +<title>NIST DOM HTML Test - Base</title> +</head> +<body onload="parent.loadComplete()"> +<p>Some Text</p> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/base.xml b/test/testcases/tests/level1/html/files/base.xml new file mode 100644 index 0000000..bc41a1d --- /dev/null +++ b/test/testcases/tests/level1/html/files/base.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<base href="about:blank"/> +<title>NIST DOM HTML Test - Base</title> +</head> +<body onload="parent.loadComplete()"> +<p>Some Text</p> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/base2.html b/test/testcases/tests/level1/html/files/base2.html new file mode 100644 index 0000000..c9e0d1a --- /dev/null +++ b/test/testcases/tests/level1/html/files/base2.html @@ -0,0 +1,15 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" +"http://www.w3.org/TR/html4/frameset.dtd"> +<HTML> +<HEAD> +<BASE HREF="about:blank" TARGET="Frame1"> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - Base2</TITLE> +</HEAD> +<FRAMESET COLS="20, 80" onload="parent.loadComplete()"> +<FRAMESET ROWS="100, 200"> +<FRAME MARGINHEIGHT="10" MARGINWIDTH="5" NORESIZE="NORESIZE" NAME="Frame1" FRAMEBORDER="1" SCROLLING="yes"> +</FRAMESET> +<FRAME> +</FRAMESET> +</HTML> diff --git a/test/testcases/tests/level1/html/files/base2.xhtml b/test/testcases/tests/level1/html/files/base2.xhtml new file mode 100644 index 0000000..a29dcd9 --- /dev/null +++ b/test/testcases/tests/level1/html/files/base2.xhtml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" + "xhtml1-frameset.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<base href="about:blank" target="Frame1"/> +<title>NIST DOM HTML Test - Base2</title> +</head> +<frameset cols="20, 80" onload="parent.loadComplete()"> +<frameset rows="100, 200"> +<frame marginheight="10" marginwidth="5" noresize="noresize" name="Frame1" frameborder="1" scrolling="yes" /> +</frameset> +<frame /> +</frameset> +</html> diff --git a/test/testcases/tests/level1/html/files/base2.xml b/test/testcases/tests/level1/html/files/base2.xml new file mode 100644 index 0000000..a29dcd9 --- /dev/null +++ b/test/testcases/tests/level1/html/files/base2.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" + "xhtml1-frameset.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<base href="about:blank" target="Frame1"/> +<title>NIST DOM HTML Test - Base2</title> +</head> +<frameset cols="20, 80" onload="parent.loadComplete()"> +<frameset rows="100, 200"> +<frame marginheight="10" marginwidth="5" noresize="noresize" name="Frame1" frameborder="1" scrolling="yes" /> +</frameset> +<frame /> +</frameset> +</html> diff --git a/test/testcases/tests/level1/html/files/basefont.html b/test/testcases/tests/level1/html/files/basefont.html new file mode 100644 index 0000000..e3753f7 --- /dev/null +++ b/test/testcases/tests/level1/html/files/basefont.html @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - BaseFont</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<BASEFONT COLOR="#000000" FACE="arial,helvitica" SIZE="4"> +</P> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/basefont.xhtml b/test/testcases/tests/level1/html/files/basefont.xhtml new file mode 100644 index 0000000..c5fc9b5 --- /dev/null +++ b/test/testcases/tests/level1/html/files/basefont.xhtml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - BaseFont</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<basefont color="#000000" face="arial,helvitica" size="4"/> +</p> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/basefont.xml b/test/testcases/tests/level1/html/files/basefont.xml new file mode 100644 index 0000000..c5fc9b5 --- /dev/null +++ b/test/testcases/tests/level1/html/files/basefont.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - BaseFont</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<basefont color="#000000" face="arial,helvitica" size="4"/> +</p> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/body.html b/test/testcases/tests/level1/html/files/body.html new file mode 100644 index 0000000..6468cd0 --- /dev/null +++ b/test/testcases/tests/level1/html/files/body.html @@ -0,0 +1,10 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - Body</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()" ALINK="#0000ff" BACKGROUND="./pix/back1.gif" BGCOLOR="#ffff00" LINK="#ff0000" TEXT="#000000" VLINK="#00ffff"> +<P>Hello, World</P> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/body.xhtml b/test/testcases/tests/level1/html/files/body.xhtml new file mode 100644 index 0000000..f2ac2a0 --- /dev/null +++ b/test/testcases/tests/level1/html/files/body.xhtml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Body</title> +</head> +<body onload="parent.loadComplete()" alink="#0000ff" background="./pix/back1.gif" bgcolor="#ffff00" link="#ff0000" text="#000000" vlink="#00ffff"> +<p>Hello, World.</p> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/body.xml b/test/testcases/tests/level1/html/files/body.xml new file mode 100644 index 0000000..fa6d1b7 --- /dev/null +++ b/test/testcases/tests/level1/html/files/body.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<base href="http://xw2k.sdct.itl.nist.gov/brady/dom/"/> +<title>NIST DOM HTML Test - Body</title> +</head> +<body onload="parent.loadComplete()" alink="#0000ff" background="./pix/back1.gif" bgcolor="#ffff00" link="#ff0000" text="#000000" vlink="#00ffff"> +<p>Hello, World.</p> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/br.html b/test/testcases/tests/level1/html/files/br.html new file mode 100644 index 0000000..0a3a3d4 --- /dev/null +++ b/test/testcases/tests/level1/html/files/br.html @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - BR</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<BR CLEAR="none"> +</P> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/br.xhtml b/test/testcases/tests/level1/html/files/br.xhtml new file mode 100644 index 0000000..99c9c1e --- /dev/null +++ b/test/testcases/tests/level1/html/files/br.xhtml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - BR</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<br clear="none"/> +</p> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/br.xml b/test/testcases/tests/level1/html/files/br.xml new file mode 100644 index 0000000..99c9c1e --- /dev/null +++ b/test/testcases/tests/level1/html/files/br.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - BR</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<br clear="none"/> +</p> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/button.html b/test/testcases/tests/level1/html/files/button.html new file mode 100644 index 0000000..c891ba4 --- /dev/null +++ b/test/testcases/tests/level1/html/files/button.html @@ -0,0 +1,21 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - Button</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<FORM ID="form2" ACTION="..." METHOD="POST"> +<P> + <BUTTON ACCESSKEY="f" NAME="disabledButton" TABINDEX="20" TYPE="reset" VALUE="Reset Disabled Button" DISABLED="disabled">Reset</BUTTON> +</P> +</FORM> +<TABLE SUMMARY="Extra Button Table"> +<TR> +<TD> +<BUTTON>Extra Button</BUTTON> +</TD> +</TR> +</TABLE> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/button.xhtml b/test/testcases/tests/level1/html/files/button.xhtml new file mode 100644 index 0000000..3136988 --- /dev/null +++ b/test/testcases/tests/level1/html/files/button.xhtml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Button</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form2" action="..." method="post"> +<p> + <button accesskey="f" name="disabledButton" tabindex="20" type="reset" value="Reset Disabled Button" disabled="disabled">Reset</button> +</p> +</form> +<table summary="Extra Button Table"> +<tr> +<td> +<button>Extra Button</button> +</td> +</tr> +</table> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/button.xml b/test/testcases/tests/level1/html/files/button.xml new file mode 100644 index 0000000..3136988 --- /dev/null +++ b/test/testcases/tests/level1/html/files/button.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Button</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form2" action="..." method="post"> +<p> + <button accesskey="f" name="disabledButton" tabindex="20" type="reset" value="Reset Disabled Button" disabled="disabled">Reset</button> +</p> +</form> +<table summary="Extra Button Table"> +<tr> +<td> +<button>Extra Button</button> +</td> +</tr> +</table> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/collection.html b/test/testcases/tests/level1/html/files/collection.html new file mode 100644 index 0000000..885202d --- /dev/null +++ b/test/testcases/tests/level1/html/files/collection.html @@ -0,0 +1,79 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - SELECT</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<TABLE ID="table-1" BORDER="4" FRAME="border" CELLPADDING="2" CELLSPACING="2" SUMMARY="HTML Control Table" RULES="all"> +<CAPTION>Table Caption</CAPTION> +<THEAD ALIGN="center" VALIGN="middle"> +<TR ALIGN="center" VALIGN="middle" CHAR="*" CHAROFF="1"> +<TH ID="header-1">Employee Id</TH> +<TH ID="header-2" ABBR="maiden" AXIS="center" ALIGN="center" COLSPAN="1" ROWSPAN="1" SCOPE="col" HEADERS="header-1" VALIGN="middle">Employee Name</TH> +<TH>Position</TH> +<TH>Salary</TH> +<TH>Gender</TH> +<TH>Address</TH> +</TR> +</THEAD> +<TFOOT ALIGN="center" VALIGN="middle"> +<TR> +<TH>next page ...</TH> +<TH>next page ...</TH> +<TH>next page ...</TH> +<TH>next page ...</TH> +<TH>next page ...</TH> +<TH>next page ...</TH> +</TR> +</TFOOT> +<TBODY ALIGN="center" VALIGN="middle"> +<TR> +<TD AXIS="center" ID="Table-3" ABBR="maiden2" COLSPAN="1" ROWSPAN="1" SCOPE="col" HEADERS="header-2" VALIGN="middle">EMP0001</TD> +<TD HEADERS="header-2">Margaret Martin</TD> +<TD>Accountant</TD> +<TD>56,000</TD> +<TD>Female</TD> +<TD>1230 North Ave. Dallas, Texas 98551</TD> +</TR> +<TR> +<TD>EMP0002</TD> +<TD>Martha Raynolds</TD> +<TD>Secretary</TD> +<TD>35,000</TD> +<TD>Female</TD> +<TD>1900 Dallas Road Dallas, Texas 98554</TD> +</TR> +</TBODY> +</TABLE> +<FORM ID="form1" ACTION="./files/getData.pl" METHOD="post"> +<P> +<SELECT ID="selectId" DIR="ltr" TABINDEX="7" NAME="select1" MULTIPLE="multiple" SIZE="1"> +<OPTION SELECTED="selected" value="EMP1">EMP10001</OPTION> +<OPTION>EMP10002</OPTION> +<OPTION>EMP10003</OPTION> +<OPTION>EMP10004</OPTION> +<OPTION>EMP10005</OPTION> +</SELECT> +</P> +</FORM> +<P> +<SELECT NAME="select2"> +<OPTION>EMP20001</OPTION> +<OPTION>EMP20002</OPTION> +<OPTION>EMP20003</OPTION> +<OPTION>EMP20004</OPTION> +<OPTION>EMP20005</OPTION> +</SELECT> +</P> +<P> +<SELECT NAME="select3" DISABLED="disabled" TABINDEX="1"> +<OPTION>EMP30001</OPTION> +<OPTION>EMP30002</OPTION> +<OPTION>EMP30003</OPTION> +<OPTION>EMP30004</OPTION> +<OPTION>EMP30005</OPTION> +</SELECT> +</P> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/collection.xhtml b/test/testcases/tests/level1/html/files/collection.xhtml new file mode 100644 index 0000000..9da52c1 --- /dev/null +++ b/test/testcases/tests/level1/html/files/collection.xhtml @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - BR</title> +</head> +<body onload="parent.loadComplete()"> +<table id="table-1" border="4" frame="border" cellpadding="2" cellspacing="2" summary="HTML Control Table" rules="all"> +<caption>Table Caption</caption> +<thead align="center" valign="middle"> +<tr align="center" valign="middle" char="*" charoff="1"> +<th id="header-1">Employee Id</th> +<th id="header-2" abbr="maiden" axis="center" align="center" colspan="1" rowspan="1" scope="col" headers="header-1" valign="middle">Employee Name</th> +<th>Position</th> +<th>Salary</th> +<th>Gender</th> +<th>Address</th> +</tr> +</thead> +<tfoot align="center" valign="middle"> +<tr> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +</tr> +</tfoot> +<tbody align="center" valign="middle"> +<tr> +<td axis="center" id="Table-3" abbr="maiden2" colspan="1" rowspan="1" scope="col" headers="header-2" valign="middle">EMP0001</td> +<td headers="header-2">Margaret Martin</td> +<td>Accountant</td> +<td>56,000</td> +<td>Female</td> +<td>1230 North Ave. Dallas, Texas 98551</td> +</tr> +<tr> +<td>EMP0002</td> +<td>Martha Raynolds</td> +<td>Secretary</td> +<td>35,000</td> +<td>Female</td> +<td>1900 Dallas Road Dallas, Texas 98554</td> +</tr> +</tbody> +</table> +<form id="form1" action="./files/getData.pl" method="post"> +<p> +<select id="selectId" dir="ltr" tabindex="7" name="select1" multiple="multiple" size="1"> +<option selected="selected" value="EMP1">EMP10001</option> +<option>EMP10002</option> +<option>EMP10003</option> +<option>EMP10004</option> +<option>EMP10005</option> +</select> +</p> +</form> +<p> +<select name="select2"> +<option>EMP20001</option> +<option>EMP20002</option> +<option>EMP20003</option> +<option>EMP20004</option> +<option>EMP20005</option> +</select> +</p> +<p> +<select name="select3" disabled="disabled" tabindex="1"> +<option>EMP30001</option> +<option>EMP30002</option> +<option>EMP30003</option> +<option>EMP30004</option> +<option>EMP30005</option> +</select> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/collection.xml b/test/testcases/tests/level1/html/files/collection.xml new file mode 100644 index 0000000..9da52c1 --- /dev/null +++ b/test/testcases/tests/level1/html/files/collection.xml @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - BR</title> +</head> +<body onload="parent.loadComplete()"> +<table id="table-1" border="4" frame="border" cellpadding="2" cellspacing="2" summary="HTML Control Table" rules="all"> +<caption>Table Caption</caption> +<thead align="center" valign="middle"> +<tr align="center" valign="middle" char="*" charoff="1"> +<th id="header-1">Employee Id</th> +<th id="header-2" abbr="maiden" axis="center" align="center" colspan="1" rowspan="1" scope="col" headers="header-1" valign="middle">Employee Name</th> +<th>Position</th> +<th>Salary</th> +<th>Gender</th> +<th>Address</th> +</tr> +</thead> +<tfoot align="center" valign="middle"> +<tr> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +</tr> +</tfoot> +<tbody align="center" valign="middle"> +<tr> +<td axis="center" id="Table-3" abbr="maiden2" colspan="1" rowspan="1" scope="col" headers="header-2" valign="middle">EMP0001</td> +<td headers="header-2">Margaret Martin</td> +<td>Accountant</td> +<td>56,000</td> +<td>Female</td> +<td>1230 North Ave. Dallas, Texas 98551</td> +</tr> +<tr> +<td>EMP0002</td> +<td>Martha Raynolds</td> +<td>Secretary</td> +<td>35,000</td> +<td>Female</td> +<td>1900 Dallas Road Dallas, Texas 98554</td> +</tr> +</tbody> +</table> +<form id="form1" action="./files/getData.pl" method="post"> +<p> +<select id="selectId" dir="ltr" tabindex="7" name="select1" multiple="multiple" size="1"> +<option selected="selected" value="EMP1">EMP10001</option> +<option>EMP10002</option> +<option>EMP10003</option> +<option>EMP10004</option> +<option>EMP10005</option> +</select> +</p> +</form> +<p> +<select name="select2"> +<option>EMP20001</option> +<option>EMP20002</option> +<option>EMP20003</option> +<option>EMP20004</option> +<option>EMP20005</option> +</select> +</p> +<p> +<select name="select3" disabled="disabled" tabindex="1"> +<option>EMP30001</option> +<option>EMP30002</option> +<option>EMP30003</option> +<option>EMP30004</option> +<option>EMP30005</option> +</select> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/directory.html b/test/testcases/tests/level1/html/files/directory.html new file mode 100644 index 0000000..0e2f460 --- /dev/null +++ b/test/testcases/tests/level1/html/files/directory.html @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - Directory</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<DIR COMPACT="compact"> +<LI>DIR item number 1.</LI> +<LI>DIR item number 2.</LI> +<LI>DIR item number 3.</LI> +</DIR> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/directory.xhtml b/test/testcases/tests/level1/html/files/directory.xhtml new file mode 100644 index 0000000..bf70ef8 --- /dev/null +++ b/test/testcases/tests/level1/html/files/directory.xhtml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Directory</title> +</head> +<body onload="parent.loadComplete()"> +<dir compact="compact"> +<li>DIR item number 1.</li> +<li>DIR item number 2.</li> +<li>DIR item number 3.</li> +</dir> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/directory.xml b/test/testcases/tests/level1/html/files/directory.xml new file mode 100644 index 0000000..bf70ef8 --- /dev/null +++ b/test/testcases/tests/level1/html/files/directory.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Directory</title> +</head> +<body onload="parent.loadComplete()"> +<dir compact="compact"> +<li>DIR item number 1.</li> +<li>DIR item number 2.</li> +<li>DIR item number 3.</li> +</dir> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/div.html b/test/testcases/tests/level1/html/files/div.html new file mode 100644 index 0000000..6b83646 --- /dev/null +++ b/test/testcases/tests/level1/html/files/div.html @@ -0,0 +1,10 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - DIV</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<DIV ALIGN="center">The DIV element is a generic block container. This text should be centered.</DIV> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/div.xhtml b/test/testcases/tests/level1/html/files/div.xhtml new file mode 100644 index 0000000..7a1059a --- /dev/null +++ b/test/testcases/tests/level1/html/files/div.xhtml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - DIV</title> +</head> +<body onload="parent.loadComplete()"> +<div align="center">The DIV element is a generic block container. This text should be centered.</div> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/div.xml b/test/testcases/tests/level1/html/files/div.xml new file mode 100644 index 0000000..7a1059a --- /dev/null +++ b/test/testcases/tests/level1/html/files/div.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - DIV</title> +</head> +<body onload="parent.loadComplete()"> +<div align="center">The DIV element is a generic block container. This text should be centered.</div> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/dl.html b/test/testcases/tests/level1/html/files/dl.html new file mode 100644 index 0000000..5dec3af --- /dev/null +++ b/test/testcases/tests/level1/html/files/dl.html @@ -0,0 +1,15 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - DL</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<DL COMPACT="COMPACT"> +<DD>Accountant</DD> +<DD>56,000</DD> +<DD>Female</DD> +<DD>1230 North Ave. Dallas, Texas 98551</DD> +</DL> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/dl.xhtml b/test/testcases/tests/level1/html/files/dl.xhtml new file mode 100644 index 0000000..72c6475 --- /dev/null +++ b/test/testcases/tests/level1/html/files/dl.xhtml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - DL</title> +</head> +<body onload="parent.loadComplete()"> +<dl compact="compact"> +<dd>Accountant</dd> +<dd>56,000</dd> +<dd>Female</dd> +<dd>1230 North Ave. Dallas, Texas 98551</dd> +</dl> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/dl.xml b/test/testcases/tests/level1/html/files/dl.xml new file mode 100644 index 0000000..72c6475 --- /dev/null +++ b/test/testcases/tests/level1/html/files/dl.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - DL</title> +</head> +<body onload="parent.loadComplete()"> +<dl compact="compact"> +<dd>Accountant</dd> +<dd>56,000</dd> +<dd>Female</dd> +<dd>1230 North Ave. Dallas, Texas 98551</dd> +</dl> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/document.html b/test/testcases/tests/level1/html/files/document.html new file mode 100644 index 0000000..9cd9c8a --- /dev/null +++ b/test/testcases/tests/level1/html/files/document.html @@ -0,0 +1,36 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - DOCUMENT</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()" ID="TEST-BODY"> +<FORM ID="form1" ACCEPT-CHARSET="US-ASCII" ACTION="./files/getData.pl" ENCTYPE="application/x-www-form-urlencoded" METHOD="post"> +<P> +<TEXTAREA NAME="text1" COLS="20" ROWS="7"></TEXTAREA> +<INPUT TYPE="submit" NAME="submit" VALUE="Submit" /> +<INPUT TYPE="reset" NAME="reset" VALUE="Reset" /> +</P> +</FORM> +<P> +<MAP NAME="mapid" ID="mapid"> +<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain1"> +<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain2"> +</MAP> +</P> +<P> +<IMG ID="IMAGE-1" NAME="IMAGE-1" SRC="./pix/dts.gif" ALT="DTS IMAGE LOGO" LONGDESC="./files/desc.html" USEMAP="#DTS-MAP" WIDTH="115"/> +</P> +<P> +<OBJECT DATA="./pix/line.gif" CODETYPE="image/gif" HEIGHT="10"> +<APPLET ALT="Applet Number 1" CODE="applet1.class"></APPLET> +</OBJECT> +<OBJECT DATA="./pix/logo.gif" type="image/gif"> +<APPLET ALT="Applet Number 2" CODE="applet2.class"></APPLET> +</OBJECT> +</P> +<P> +<A ID="Anchor" DIR="LTR" HREF="./pix/submit.gif" ACCESSKEY="g" TYPE="image/gif" COORDS="0,0,100,100" SHAPE="rect" REL="GLOSSARY" REV="STYLESHEET" HREFLANG="en" CHARSET="US-ASCII" TABINDEX="22" NAME="Anchor">View Submit Button</A> +</P> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/document.xhtml b/test/testcases/tests/level1/html/files/document.xhtml new file mode 100644 index 0000000..3cc6ccf --- /dev/null +++ b/test/testcases/tests/level1/html/files/document.xhtml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - DOCUMENT</title> +</head> +<body onload="parent.loadComplete()" id="TEST-BODY"> +<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post"> +<p> +<textarea name="text1" cols="20" rows="7"></textarea> +<input type="submit" name="submit1" value="Submit" /> +<input type="reset" name="submit2" value="Reset" /> +</p> +</form> +<p> +<map name="mapid" id="mapid"> +<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain1" /> +<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain2" /> +</map> +</p> +<p> +<img id="IMAGE-1" src="./pix/dts.gif" alt="DTS IMAGE LOGO" longdesc="./files/desc.html" usemap="#DTS-MAP" width="115"/> +</p> +<p> +<object data="./pix/line.gif" codetype="image/gif" height="10"> +<applet alt="Applet Number 1" code="applet1.class" width="10" height="10"></applet> +</object> +<object data="./pix/logo.gif" type="image/gif"> +<applet alt="Applet Number 2" code="applet2.class" width="10" height="10"></applet> +</object> +</p> +<p> +<a id="Anchor" dir="ltr" href="./pix/submit.gif" accesskey="g" type="image/gif" coords="0,0,100,100" shape="rect" rel="GLOSSARY" rev="STYLESHEET" hreflang="en" charset="US-ASCII" tabindex="22" name="Anchor">View Submit Button</a> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/document.xml b/test/testcases/tests/level1/html/files/document.xml new file mode 100644 index 0000000..3cc6ccf --- /dev/null +++ b/test/testcases/tests/level1/html/files/document.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - DOCUMENT</title> +</head> +<body onload="parent.loadComplete()" id="TEST-BODY"> +<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post"> +<p> +<textarea name="text1" cols="20" rows="7"></textarea> +<input type="submit" name="submit1" value="Submit" /> +<input type="reset" name="submit2" value="Reset" /> +</p> +</form> +<p> +<map name="mapid" id="mapid"> +<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain1" /> +<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain2" /> +</map> +</p> +<p> +<img id="IMAGE-1" src="./pix/dts.gif" alt="DTS IMAGE LOGO" longdesc="./files/desc.html" usemap="#DTS-MAP" width="115"/> +</p> +<p> +<object data="./pix/line.gif" codetype="image/gif" height="10"> +<applet alt="Applet Number 1" code="applet1.class" width="10" height="10"></applet> +</object> +<object data="./pix/logo.gif" type="image/gif"> +<applet alt="Applet Number 2" code="applet2.class" width="10" height="10"></applet> +</object> +</p> +<p> +<a id="Anchor" dir="ltr" href="./pix/submit.gif" accesskey="g" type="image/gif" coords="0,0,100,100" shape="rect" rel="GLOSSARY" rev="STYLESHEET" hreflang="en" charset="US-ASCII" tabindex="22" name="Anchor">View Submit Button</a> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/element.html b/test/testcases/tests/level1/html/files/element.html new file mode 100644 index 0000000..a0c198e --- /dev/null +++ b/test/testcases/tests/level1/html/files/element.html @@ -0,0 +1,81 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD ID="Test-HEAD" TITLE="HEAD Element" LANG="en" DIR="ltr" CLASS="HEAD-class"> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - Element</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<CENTER ID="Test-CENTER" TITLE="CENTER Element" LANG="en" DIR="ltr" CLASS="CENTER-class"> +<OBJECT align="middle"></OBJECT> +</CENTER> +<CENTER> +<P align="center">Test Lists</P> +</CENTER> +<BR> +<OL compact="compact" start="1" type="1"> + <LI type="square" value=2>EMP0001 + <UL compact type="disc"> + <LI>Margaret Martin + <DL> + <DD ID="Test-DD" TITLE="DD Element" LANG="en" DIR="ltr" CLASS="DD-class">Accountant</DD> + <DD>56,000</DD> + <DD>Female</DD> + <DD>1230 North Ave. Dallas, Texas 98551</DD> + </DL> + </LI> + </UL> + </LI> +</OL> +<BR /> +<B ID="Test-B" TITLE="B Element" LANG="en" DIR="ltr" CLASS="B-class">Bold</B> +<BR /> +<DL> + <DT ID="Test-DT" TITLE="DT Element" LANG="en" DIR="ltr" CLASS="DT-class">DT element</DT> +</DL> +<BR /> +<BDO ID="Test-BDO" TITLE="BDO Element" LANG="en" DIR="ltr" CLASS="BDO-class">Bidirectional algorithm overide +</BDO> +<BR /> +<I ID="Test-I" TITLE="I Element" LANG="en" DIR="ltr" CLASS="I-class">Italicized</I> +<BR /> +<SPAN ID="Test-SPAN" TITLE="SPAN Element" LANG="en" DIR="ltr" CLASS="SPAN-class"></SPAN> +<BR /> +<TT ID="Test-TT" TITLE="TT Element" LANG="en" DIR="ltr" CLASS="TT-class">Teletype</TT> +<BR /> +<SUB ID="Test-SUB" TITLE="SUB Element" LANG="en" DIR="ltr" CLASS="SUB-class">Subscript</SUB> +<BR /> +<SUP ID="Test-SUP" TITLE="SUP Element" LANG="en" DIR="ltr" CLASS="SUP-class">SuperScript</SUP> +<BR /> +<S ID="Test-S" TITLE="S Element" LANG="en" DIR="ltr" CLASS="S-class">Strike Through (S)</S> +<BR /> +<STRIKE ID="Test-STRIKE" TITLE="STRIKE Element" LANG="en" DIR="ltr" CLASS="STRIKE-class">Strike Through (STRIKE)</STRIKE> +<BR /> +<SMALL id="Test-SMALL" TITLE="SMALL Element" LANG="en" DIR="ltr" CLASS="SMALL-class">Small</SMALL> +<BR /> +<BIG ID="Test-BIG" TITLE="BIG Element" LANG="en" DIR="ltr" CLASS="BIG-class">Big</BIG> +<BR /> +<EM ID="Test-EM" TITLE="EM Element" LANG="en" DIR="ltr" CLASS="EM-class">Emphasis</EM> +<BR /> +<STRONG ID="Test-STRONG" TITLE="STRONG Element" LANG="en" DIR="ltr" CLASS="STRONG-class">Strong</STRONG> +<BR /> +<DFN ID="Test-DFN" TITLE="DFN Element" LANG="en" DIR="ltr" CLASS="DFN-class"> + <CODE ID="Test-CODE" TITLE="CODE Element" LANG="en" DIR="ltr" CLASS="CODE-class">10 Computer Code Fragment 20 Temp = 10</CODE> + <SAMP ID="Test-SAMP" TITLE="SAMP Element" LANG="en" DIR="ltr" CLASS="SAMP-class">Temp = 20</SAMP> + <KBD ID="Test-KBD" TITLE="KBD Element" LANG="en" DIR="ltr" CLASS="KBD-class">*2</KBD> + <VAR ID="Test-VAR" TITLE="VAR Element" LANG="en" DIR="ltr" CLASS="VAR-class">Temp</VAR> + <CITE ID="Test-CITE" TITLE="CITE Element" LANG="en" DIR="ltr" CLASS="CITE-class">Citation</CITE> +</DFN> +<BR /> +<ABBR ID="Test-ABBR" TITLE="ABBR Element" LANG="en" DIR="ltr" CLASS="ABBR-class">Temp</ABBR> +<BR /> +<ACRONYM ID="Test-ACRONYM" TITLE="ACRONYM Element" LANG="en" DIR="ltr" CLASS="ACRONYM-class">NIST</ACRONYM> +<BR /> +<ADDRESS ID="Test-ADDRESS" TITLE="ADDRESS Element" LANG="en" DIR="ltr" CLASS="ADDRESS-class">Gaithersburg, MD 20899</ADDRESS> +<BR /> +<NOFRAMES ID="Test-NOFRAMES" TITLE="NOFRAMES Element" LANG="en" DIR="ltr" CLASS="NOFRAMES-class">Not</NOFRAMES> +<BR /> +<NOSCRIPT ID="Test-NOSCRIPT" TITLE="NOSCRIPT Element" LANG="en" DIR="ltr" CLASS="NOSCRIPT-class">Not</NoScript> +<BR /> +<U ID="Test-U" TITLE="U Element" LANG="en" DIR="ltr" CLASS="U-class">Underlined</U> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/element.xhtml b/test/testcases/tests/level1/html/files/element.xhtml new file mode 100644 index 0000000..ee99601 --- /dev/null +++ b/test/testcases/tests/level1/html/files/element.xhtml @@ -0,0 +1,83 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html lang="en" dir="ltr" xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Element</title> +</head> +<body onload="parent.loadComplete()"> +<center id="Test-CENTER" title="CENTER Element" lang="en" dir="ltr" class="CENTER-class"> +<object align="middle"></object> +</center> +<center> +<p align="center">Test Lists</p> +</center> +<br /> +<ol compact="compact" start="1" type="1"> + <li type="square" value="2">EMP0001 + <ul compact="compact" type="disc"> + <li>Margaret Martin + <dl> + <dd id="Test-DD" title="DD Element" lang="en" dir="ltr" class="DD-class">Accountant</dd> + <dd>56,000</dd> + <dd>Female</dd> + <dd>1230 North Ave. Dallas, Texas 98551</dd> + </dl> + </li> + </ul> + </li> +</ol> +<br /> +<b id="Test-B" title="B Element" lang="en" dir="ltr" class="B-class">Bold</b> +<br /> +<dl> + <dt id="Test-DT" title="DT Element" lang="en" dir="ltr" class="DT-class">DT element</dt> +</dl> +<br /> +<bdo id="Test-BDO" title="BDO Element" lang="en" dir="ltr" class="BDO-class">Bidirectional algorithm overide +</bdo> +<br /> +<i id="Test-I" title="I Element" lang="en" dir="ltr" class="I-class">Italicized</i> +<br /> +<span id="Test-SPAN" title="SPAN Element" lang="en" dir="ltr" class="SPAN-class"></span> +<br /> +<tt id="Test-TT" title="TT Element" lang="en" dir="ltr" class="TT-class">Teletype</tt> +<br /> +<sub id="Test-SUB" title="SUB Element" lang="en" dir="ltr" class="SUB-class">Subscript</sub> +<br /> +<sup id="Test-SUP" title="SUP Element" lang="en" dir="ltr" class="SUP-class">SuperScript</sup> +<br /> +<s id="Test-S" title="S Element" lang="en" dir="ltr" class="S-class">Strike Through (S)</s> +<br /> +<strike id="Test-STRIKE" title="STRIKE Element" lang="en" dir="ltr" class="STRIKE-class">Strike Through (STRIKE)</strike> +<br /> +<small id="Test-SMALL" title="SMALL Element" lang="en" dir="ltr" class="SMALL-class">Small</small> +<br /> +<big id="Test-BIG" title="BIG Element" lang="en" dir="ltr" class="BIG-class">Big</big> +<br /> +<em id="Test-EM" title="EM Element" lang="en" dir="ltr" class="EM-class">Emphasis</em> +<br /> +<strong id="Test-STRONG" title="STRONG Element" lang="en" dir="ltr" class="STRONG-class">Strong</strong> +<br /> +<dfn id="Test-DFN" title="DFN Element" lang="en" dir="ltr" class="DFN-class"> + <code id="Test-CODE" title="CODE Element" lang="en" dir="ltr" class="CODE-class">10 Computer Code Fragment 20 Temp = 10</code> + <samp id="Test-SAMP" title="SAMP Element" lang="en" dir="ltr" class="SAMP-class">Temp = 20</samp> + <kbd id="Test-KBD" title="KBD Element" lang="en" dir="ltr" class="KBD-class">*2</kbd> + <var id="Test-VAR" title="VAR Element" lang="en" dir="ltr" class="VAR-class">Temp</var> + <cite id="Test-CITE" title="CITE Element" lang="en" dir="ltr" class="CITE-class">Citation</cite> +</dfn> +<br /> +<abbr id="Test-ABBR" title="ABBR Element" lang="en" dir="ltr" class="ABBR-class">Temp</abbr> +<br /> +<acronym id="Test-ACRONYM" title="ACRONYM Element" lang="en" dir="ltr" class="ACRONYM-class">NIST</acronym> +<br /> +<address id="Test-ADDRESS" title="ADDRESS Element" lang="en" dir="ltr" class="ADDRESS-class">Gaithersburg, MD 20899</address> +<br /> +<noframes id="Test-NOFRAMES" title="NOFRAMES Element" lang="en" dir="ltr" class="NOFRAMES-class">Not</noframes> +<br /> +<noscript id="Test-NOSCRIPT" title="NOSCRIPT Element" lang="en" dir="ltr" class="NOSCRIPT-class">Not</noscript> +<br /> +<u id="Test-U" title="U Element" lang="en" dir="ltr" class="U-class">Underlined</u> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/element.xml b/test/testcases/tests/level1/html/files/element.xml new file mode 100644 index 0000000..ee99601 --- /dev/null +++ b/test/testcases/tests/level1/html/files/element.xml @@ -0,0 +1,83 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html lang="en" dir="ltr" xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Element</title> +</head> +<body onload="parent.loadComplete()"> +<center id="Test-CENTER" title="CENTER Element" lang="en" dir="ltr" class="CENTER-class"> +<object align="middle"></object> +</center> +<center> +<p align="center">Test Lists</p> +</center> +<br /> +<ol compact="compact" start="1" type="1"> + <li type="square" value="2">EMP0001 + <ul compact="compact" type="disc"> + <li>Margaret Martin + <dl> + <dd id="Test-DD" title="DD Element" lang="en" dir="ltr" class="DD-class">Accountant</dd> + <dd>56,000</dd> + <dd>Female</dd> + <dd>1230 North Ave. Dallas, Texas 98551</dd> + </dl> + </li> + </ul> + </li> +</ol> +<br /> +<b id="Test-B" title="B Element" lang="en" dir="ltr" class="B-class">Bold</b> +<br /> +<dl> + <dt id="Test-DT" title="DT Element" lang="en" dir="ltr" class="DT-class">DT element</dt> +</dl> +<br /> +<bdo id="Test-BDO" title="BDO Element" lang="en" dir="ltr" class="BDO-class">Bidirectional algorithm overide +</bdo> +<br /> +<i id="Test-I" title="I Element" lang="en" dir="ltr" class="I-class">Italicized</i> +<br /> +<span id="Test-SPAN" title="SPAN Element" lang="en" dir="ltr" class="SPAN-class"></span> +<br /> +<tt id="Test-TT" title="TT Element" lang="en" dir="ltr" class="TT-class">Teletype</tt> +<br /> +<sub id="Test-SUB" title="SUB Element" lang="en" dir="ltr" class="SUB-class">Subscript</sub> +<br /> +<sup id="Test-SUP" title="SUP Element" lang="en" dir="ltr" class="SUP-class">SuperScript</sup> +<br /> +<s id="Test-S" title="S Element" lang="en" dir="ltr" class="S-class">Strike Through (S)</s> +<br /> +<strike id="Test-STRIKE" title="STRIKE Element" lang="en" dir="ltr" class="STRIKE-class">Strike Through (STRIKE)</strike> +<br /> +<small id="Test-SMALL" title="SMALL Element" lang="en" dir="ltr" class="SMALL-class">Small</small> +<br /> +<big id="Test-BIG" title="BIG Element" lang="en" dir="ltr" class="BIG-class">Big</big> +<br /> +<em id="Test-EM" title="EM Element" lang="en" dir="ltr" class="EM-class">Emphasis</em> +<br /> +<strong id="Test-STRONG" title="STRONG Element" lang="en" dir="ltr" class="STRONG-class">Strong</strong> +<br /> +<dfn id="Test-DFN" title="DFN Element" lang="en" dir="ltr" class="DFN-class"> + <code id="Test-CODE" title="CODE Element" lang="en" dir="ltr" class="CODE-class">10 Computer Code Fragment 20 Temp = 10</code> + <samp id="Test-SAMP" title="SAMP Element" lang="en" dir="ltr" class="SAMP-class">Temp = 20</samp> + <kbd id="Test-KBD" title="KBD Element" lang="en" dir="ltr" class="KBD-class">*2</kbd> + <var id="Test-VAR" title="VAR Element" lang="en" dir="ltr" class="VAR-class">Temp</var> + <cite id="Test-CITE" title="CITE Element" lang="en" dir="ltr" class="CITE-class">Citation</cite> +</dfn> +<br /> +<abbr id="Test-ABBR" title="ABBR Element" lang="en" dir="ltr" class="ABBR-class">Temp</abbr> +<br /> +<acronym id="Test-ACRONYM" title="ACRONYM Element" lang="en" dir="ltr" class="ACRONYM-class">NIST</acronym> +<br /> +<address id="Test-ADDRESS" title="ADDRESS Element" lang="en" dir="ltr" class="ADDRESS-class">Gaithersburg, MD 20899</address> +<br /> +<noframes id="Test-NOFRAMES" title="NOFRAMES Element" lang="en" dir="ltr" class="NOFRAMES-class">Not</noframes> +<br /> +<noscript id="Test-NOSCRIPT" title="NOSCRIPT Element" lang="en" dir="ltr" class="NOSCRIPT-class">Not</noscript> +<br /> +<u id="Test-U" title="U Element" lang="en" dir="ltr" class="U-class">Underlined</u> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/fieldset.html b/test/testcases/tests/level1/html/files/fieldset.html new file mode 100644 index 0000000..312ea44 --- /dev/null +++ b/test/testcases/tests/level1/html/files/fieldset.html @@ -0,0 +1,23 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - FieldSet</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<FORM ID="form2" ACTION="..." METHOD="POST"> +<FIELDSET> +<LEGEND>All data entered must be valid</LEGEND> +</FIELDSET> +</FORM> +<TABLE SUMMARY="Table 1"> +<TR> +<TD> +<FIELDSET> +<LEGEND>All data entered must be valid</LEGEND> +</FIELDSET> +</TD> +</TR> +</TABLE> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/fieldset.xhtml b/test/testcases/tests/level1/html/files/fieldset.xhtml new file mode 100644 index 0000000..dcfeba1 --- /dev/null +++ b/test/testcases/tests/level1/html/files/fieldset.xhtml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - FieldSet</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form2" action="..." method="post"> +<fieldset> +<legend>All data entered must be valid</legend> +</fieldset> +</form> +<table summary="Table 1"> +<tr> +<td> +<fieldset> +<legend>All data entered must be valid</legend> +</fieldset> +</td> +</tr> +</table> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/fieldset.xml b/test/testcases/tests/level1/html/files/fieldset.xml new file mode 100644 index 0000000..dcfeba1 --- /dev/null +++ b/test/testcases/tests/level1/html/files/fieldset.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - FieldSet</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form2" action="..." method="post"> +<fieldset> +<legend>All data entered must be valid</legend> +</fieldset> +</form> +<table summary="Table 1"> +<tr> +<td> +<fieldset> +<legend>All data entered must be valid</legend> +</fieldset> +</td> +</tr> +</table> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/font.html b/test/testcases/tests/level1/html/files/font.html new file mode 100644 index 0000000..894e442 --- /dev/null +++ b/test/testcases/tests/level1/html/files/font.html @@ -0,0 +1,10 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - Font</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<FONT COLOR="#000000" FACE="arial,helvetica" SIZE="4">Test Tables</FONT> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/font.xhtml b/test/testcases/tests/level1/html/files/font.xhtml new file mode 100644 index 0000000..818db76 --- /dev/null +++ b/test/testcases/tests/level1/html/files/font.xhtml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - BaseFont</title> +</head> +<body onload="parent.loadComplete()"> +<font color="#000000" face="arial,helvitica" size="4">Test Tables</font> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/font.xml b/test/testcases/tests/level1/html/files/font.xml new file mode 100644 index 0000000..818db76 --- /dev/null +++ b/test/testcases/tests/level1/html/files/font.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - BaseFont</title> +</head> +<body onload="parent.loadComplete()"> +<font color="#000000" face="arial,helvitica" size="4">Test Tables</font> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/form.html b/test/testcases/tests/level1/html/files/form.html new file mode 100644 index 0000000..d8bf024 --- /dev/null +++ b/test/testcases/tests/level1/html/files/form.html @@ -0,0 +1,17 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - FORM</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<FORM ID="form1" ACCEPT-CHARSET="US-ASCII" ACTION="./files/getData.pl" ENCTYPE="application/x-www-form-urlencoded" METHOD="post"> +<P> +<TEXTAREA NAME="text1" COLS="20" ROWS="7"></TEXTAREA> +<INPUT TYPE="submit" NAME="submit1" VALUE="Submit" /> +<INPUT TYPE="reset" NAME="submit2" VALUE="Reset" /> +</P> +</FORM> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/form.xhtml b/test/testcases/tests/level1/html/files/form.xhtml new file mode 100644 index 0000000..40d6bf0 --- /dev/null +++ b/test/testcases/tests/level1/html/files/form.xhtml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - FORM</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post"> +<p> +<textarea id="text1" cols="20" rows="7"></textarea> +<input type="submit" name="submit1" value="Submit" /> +<input type="reset" name="submit2" value="Reset" /> +</p> +</form> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/form.xml b/test/testcases/tests/level1/html/files/form.xml new file mode 100644 index 0000000..40d6bf0 --- /dev/null +++ b/test/testcases/tests/level1/html/files/form.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - FORM</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post"> +<p> +<textarea id="text1" cols="20" rows="7"></textarea> +<input type="submit" name="submit1" value="Submit" /> +<input type="reset" name="submit2" value="Reset" /> +</p> +</form> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/form2.html b/test/testcases/tests/level1/html/files/form2.html new file mode 100644 index 0000000..c44b672 --- /dev/null +++ b/test/testcases/tests/level1/html/files/form2.html @@ -0,0 +1,17 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - FORM</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<FORM ID="form1" TARGET="dynamic" ACCEPT-CHARSET="US-ASCII" ACTION="./files/getData.pl" ENCTYPE="application/x-www-form-urlencoded" METHOD="post"> +<P> +<TEXTAREA NAME="text1" COLS="20" ROWS="7"></TEXTAREA> +<INPUT TYPE="submit" NAME="submit1" VALUE="Submit" /> +<INPUT TYPE="reset" NAME="submit2" VALUE="Reset" /> +</P> +</FORM> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/form2.xhtml b/test/testcases/tests/level1/html/files/form2.xhtml new file mode 100644 index 0000000..e639432 --- /dev/null +++ b/test/testcases/tests/level1/html/files/form2.xhtml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - FORM</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" target="dynamic" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post"> +<p> +<textarea id="text1" cols="20" rows="7"></textarea> +<input type="submit" name="submit1" value="Submit" /> +<input type="reset" name="submit2" value="Reset" /> +</p> +</form> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/form2.xml b/test/testcases/tests/level1/html/files/form2.xml new file mode 100644 index 0000000..e639432 --- /dev/null +++ b/test/testcases/tests/level1/html/files/form2.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - FORM</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" target="dynamic" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post"> +<p> +<textarea id="text1" cols="20" rows="7"></textarea> +<input type="submit" name="submit1" value="Submit" /> +<input type="reset" name="submit2" value="Reset" /> +</p> +</form> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/form3.html b/test/testcases/tests/level1/html/files/form3.html new file mode 100644 index 0000000..543d09e --- /dev/null +++ b/test/testcases/tests/level1/html/files/form3.html @@ -0,0 +1,17 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>FORM3</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<FORM ID="form1" ACTION="about:blank"> +<P> +<TEXTAREA NAME="text1" COLS="20" ROWS="7"></TEXTAREA> +<INPUT TYPE="submit" NAME="submit1" VALUE="Submit" /> +<INPUT TYPE="reset" NAME="submit2" VALUE="Reset" /> +</P> +</FORM> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/form3.xhtml b/test/testcases/tests/level1/html/files/form3.xhtml new file mode 100644 index 0000000..48f5019 --- /dev/null +++ b/test/testcases/tests/level1/html/files/form3.xhtml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "xhtml1-strict.dtd">
+<html xmlns='http://www.w3.org/1999/xhtml'>
+<head>
+<title>FORM3</title>
+</head>
+<body onload="parent.loadComplete()">
+<form id="form1" action="about:blank">
+<p>
+<textarea id="text1" cols="20" rows="7"></textarea>
+<input type="submit" name="submit1" value="Submit" />
+<input type="reset" name="submit2" value="Reset" />
+</p>
+</form>
+</body>
+</html>
diff --git a/test/testcases/tests/level1/html/files/form3.xml b/test/testcases/tests/level1/html/files/form3.xml new file mode 100644 index 0000000..bbed66f --- /dev/null +++ b/test/testcases/tests/level1/html/files/form3.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>FORM3</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" action="about:blank"> +<p> +<textarea id="text1" cols="20" rows="7"></textarea> +<input type="submit" name="submit1" value="Submit" /> +<input type="reset" name="submit2" value="Reset" /> +</p> +</form> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/frame.html b/test/testcases/tests/level1/html/files/frame.html new file mode 100644 index 0000000..41182c9 --- /dev/null +++ b/test/testcases/tests/level1/html/files/frame.html @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" +"http://www.w3.org/TR/html4/frameset.dtd"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - FRAME</TITLE> +</HEAD> +<FRAMESET COLS="20, 80" onload="parent.loadComplete()"> +<FRAMESET ROWS="100, 200"> +<FRAME LONGDESC="about:blank" MARGINHEIGHT="10" MARGINWIDTH="5" NORESIZE="NORESIZE" NAME="Frame1" FRAMEBORDER="1" SCROLLING="yes" SRC="right.png"> +</FRAMESET> +<FRAME SRC="w3c_main.png"> +</FRAMESET> +</HTML> diff --git a/test/testcases/tests/level1/html/files/frame.xhtml b/test/testcases/tests/level1/html/files/frame.xhtml new file mode 100644 index 0000000..bbe00fa --- /dev/null +++ b/test/testcases/tests/level1/html/files/frame.xhtml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" + "xhtml1-frameset.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - FRAME</title> +</head> +<frameset cols="20, 80" onload="parent.loadComplete()"> +<frameset rows="100, 200"> +<frame longdesc="about:blank" marginheight="10" marginwidth="5" noresize="noresize" name="Frame1" frameborder="1" scrolling="yes" src="right.png" /> +</frameset> +<frame src="w3c_main.png" /> +</frameset> +</html> diff --git a/test/testcases/tests/level1/html/files/frame.xml b/test/testcases/tests/level1/html/files/frame.xml new file mode 100644 index 0000000..bbe00fa --- /dev/null +++ b/test/testcases/tests/level1/html/files/frame.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" + "xhtml1-frameset.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - FRAME</title> +</head> +<frameset cols="20, 80" onload="parent.loadComplete()"> +<frameset rows="100, 200"> +<frame longdesc="about:blank" marginheight="10" marginwidth="5" noresize="noresize" name="Frame1" frameborder="1" scrolling="yes" src="right.png" /> +</frameset> +<frame src="w3c_main.png" /> +</frameset> +</html> diff --git a/test/testcases/tests/level1/html/files/frameset.html b/test/testcases/tests/level1/html/files/frameset.html new file mode 100644 index 0000000..f208fe0 --- /dev/null +++ b/test/testcases/tests/level1/html/files/frameset.html @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" +"http://www.w3.org/TR/html4/frameset.dtd"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - FRAMESET</TITLE> +</HEAD> +<FRAMESET COLS="20, 80" onload="parent.loadComplete()"> +<FRAMESET ROWS="100, 200"> +<FRAME SRC="right.png"> +</FRAMESET> +<FRAME SRC="w3c_main.png"> +</FRAMESET> +</HTML> diff --git a/test/testcases/tests/level1/html/files/frameset.xhtml b/test/testcases/tests/level1/html/files/frameset.xhtml new file mode 100644 index 0000000..2035bd9 --- /dev/null +++ b/test/testcases/tests/level1/html/files/frameset.xhtml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" + "xhtml1-frameset.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - FRAMESET</title> +</head> +<frameset cols="20, 80" onload="parent.loadComplete()"> +<frameset rows="100, 200"> +<frame src="right.png" /> +</frameset> +<frame src="w3c_main.png" /> +</frameset> +</html> diff --git a/test/testcases/tests/level1/html/files/frameset.xml b/test/testcases/tests/level1/html/files/frameset.xml new file mode 100644 index 0000000..2035bd9 --- /dev/null +++ b/test/testcases/tests/level1/html/files/frameset.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" + "xhtml1-frameset.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - FRAMESET</title> +</head> +<frameset cols="20, 80" onload="parent.loadComplete()"> +<frameset rows="100, 200"> +<frame src="right.png" /> +</frameset> +<frame src="w3c_main.png" /> +</frameset> +</html> diff --git a/test/testcases/tests/level1/html/files/head.html b/test/testcases/tests/level1/html/files/head.html new file mode 100644 index 0000000..5bbb8c0 --- /dev/null +++ b/test/testcases/tests/level1/html/files/head.html @@ -0,0 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<HTML> +<HEAD PROFILE="http://www.w3.org/2004/07/profile"> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - HEAD</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P>Hello, World.</P> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/head.xhtml b/test/testcases/tests/level1/html/files/head.xhtml new file mode 100644 index 0000000..eb60ea2 --- /dev/null +++ b/test/testcases/tests/level1/html/files/head.xhtml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head profile="http://www.w3.org/2004/07/profile"> +<title>NIST DOM HTML Test - HEAD</title> +</head> +<body onload="parent.loadComplete()"> +<p>Hello, World.</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/head.xml b/test/testcases/tests/level1/html/files/head.xml new file mode 100644 index 0000000..eb3678c --- /dev/null +++ b/test/testcases/tests/level1/html/files/head.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head profile="http://xw2k.sdct.itl.nist.gov/brady/dom/files/profile"> +<title>NIST DOM HTML Test - HEAD</title> +</head> +<body onload="parent.loadComplete()"> +<p>Hello, World.</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/heading.html b/test/testcases/tests/level1/html/files/heading.html new file mode 100644 index 0000000..90d388c --- /dev/null +++ b/test/testcases/tests/level1/html/files/heading.html @@ -0,0 +1,16 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - HEADING</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<H1 ALIGN="center">Head Element 1</H1> +<H2 ALIGN="left">Head Element 2</H2> +<H3 ALIGN="right">Head Element 3</H3> +<H4 ALIGN="justify">Head Element 4</H4> +<H5 ALIGN="center">Head Element 5</H5> +<H6 ALIGN="left">Head Element 6</H6> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/heading.xhtml b/test/testcases/tests/level1/html/files/heading.xhtml new file mode 100644 index 0000000..3fda259 --- /dev/null +++ b/test/testcases/tests/level1/html/files/heading.xhtml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - HEADING</title> +</head> +<body onload="parent.loadComplete()"> +<h1 align="center">Head Element 1</h1> +<h2 align="left">Head Element 2</h2> +<h3 align="right">Head Element 3</h3> +<h4 align="right">Head Element 4</h4> +<h5 align="center">Head Element 5</h5> +<h6 align="left">Head Element 6</h6> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/heading.xml b/test/testcases/tests/level1/html/files/heading.xml new file mode 100644 index 0000000..3fda259 --- /dev/null +++ b/test/testcases/tests/level1/html/files/heading.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - HEADING</title> +</head> +<body onload="parent.loadComplete()"> +<h1 align="center">Head Element 1</h1> +<h2 align="left">Head Element 2</h2> +<h3 align="right">Head Element 3</h3> +<h4 align="right">Head Element 4</h4> +<h5 align="center">Head Element 5</h5> +<h6 align="left">Head Element 6</h6> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/hr.html b/test/testcases/tests/level1/html/files/hr.html new file mode 100644 index 0000000..9c4facc --- /dev/null +++ b/test/testcases/tests/level1/html/files/hr.html @@ -0,0 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - HR</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<HR ALIGN="center" NOSHADE="noShade" SIZE="5" WIDTH="400" /> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/hr.xhtml b/test/testcases/tests/level1/html/files/hr.xhtml new file mode 100644 index 0000000..685de35 --- /dev/null +++ b/test/testcases/tests/level1/html/files/hr.xhtml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - HR</title> +</head> +<body onload="parent.loadComplete()"> +<hr align="center" noshade="noshade" size="5" width="400"/> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/hr.xml b/test/testcases/tests/level1/html/files/hr.xml new file mode 100644 index 0000000..685de35 --- /dev/null +++ b/test/testcases/tests/level1/html/files/hr.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - HR</title> +</head> +<body onload="parent.loadComplete()"> +<hr align="center" noshade="noshade" size="5" width="400"/> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/html.html b/test/testcases/tests/level1/html/files/html.html new file mode 100644 index 0000000..2c91731 --- /dev/null +++ b/test/testcases/tests/level1/html/files/html.html @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML VERSION="-//W3C//DTD HTML 4.01 Transitional//EN"> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - Html</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P>Hello, World.</P> +</BODY> +</HTML> + + diff --git a/test/testcases/tests/level1/html/files/html.xhtml b/test/testcases/tests/level1/html/files/html.xhtml new file mode 100644 index 0000000..f07d2c1 --- /dev/null +++ b/test/testcases/tests/level1/html/files/html.xhtml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Html</title> +</head> +<body onload="parent.loadComplete()"> +<p>Hello, World.</p> +</body> +</html> + + diff --git a/test/testcases/tests/level1/html/files/html.xml b/test/testcases/tests/level1/html/files/html.xml new file mode 100644 index 0000000..f07d2c1 --- /dev/null +++ b/test/testcases/tests/level1/html/files/html.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - Html</title> +</head> +<body onload="parent.loadComplete()"> +<p>Hello, World.</p> +</body> +</html> + + diff --git a/test/testcases/tests/level1/html/files/iframe.html b/test/testcases/tests/level1/html/files/iframe.html new file mode 100644 index 0000000..0a44fc3 --- /dev/null +++ b/test/testcases/tests/level1/html/files/iframe.html @@ -0,0 +1,10 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - IFRAME</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<IFRAME LONGDESC="about:blank" MARGINHEIGHT="10" MARGINWIDTH="5" WIDTH="60" HEIGHT="50" NAME="Iframe1" FRAMEBORDER="1" SCROLLING="yes" SRC="right.png" ALIGN="top">IFRAME1</IFRAME> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/iframe.xhtml b/test/testcases/tests/level1/html/files/iframe.xhtml new file mode 100644 index 0000000..93326c8 --- /dev/null +++ b/test/testcases/tests/level1/html/files/iframe.xhtml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - IFRAME</title> +</head> +<body onload="parent.loadComplete()"> +<iframe longdesc="about:blank" marginheight="10" marginwidth="5" width="60" height="50" name="Iframe1" frameborder="1" scrolling="yes" src="right.png" align="top">IFRAME1</iframe> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/iframe.xml b/test/testcases/tests/level1/html/files/iframe.xml new file mode 100644 index 0000000..93326c8 --- /dev/null +++ b/test/testcases/tests/level1/html/files/iframe.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - IFRAME</title> +</head> +<body onload="parent.loadComplete()"> +<iframe longdesc="about:blank" marginheight="10" marginwidth="5" width="60" height="50" name="Iframe1" frameborder="1" scrolling="yes" src="right.png" align="top">IFRAME1</iframe> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/img.html b/test/testcases/tests/level1/html/files/img.html new file mode 100644 index 0000000..b4e8b27 --- /dev/null +++ b/test/testcases/tests/level1/html/files/img.html @@ -0,0 +1,13 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - IMG</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<IMG ID="IMAGE-1" NAME="IMAGE-1" SRC="./pix/dts.gif" ALIGN="middle" ALT="DTS IMAGE LOGO" BORDER="0" HEIGHT="47" HSPACE="4" LONGDESC="./files/desc.html" USEMAP="#DTS-MAP" VSPACE="10" WIDTH="115"/> +</P> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/img.xhtml b/test/testcases/tests/level1/html/files/img.xhtml new file mode 100644 index 0000000..40e3695 --- /dev/null +++ b/test/testcases/tests/level1/html/files/img.xhtml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - IMG</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<img id="IMAGE-1" name="IMAGE-1" src="./pix/dts.gif" align="middle" alt="DTS IMAGE LOGO" border="0" height="47" hspace="4" longdesc="./files/desc.html" usemap="#DTS-MAP" vspace="10" width="115"/> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/img.xml b/test/testcases/tests/level1/html/files/img.xml new file mode 100644 index 0000000..40e3695 --- /dev/null +++ b/test/testcases/tests/level1/html/files/img.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - IMG</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<img id="IMAGE-1" name="IMAGE-1" src="./pix/dts.gif" align="middle" alt="DTS IMAGE LOGO" border="0" height="47" hspace="4" longdesc="./files/desc.html" usemap="#DTS-MAP" vspace="10" width="115"/> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/input.html b/test/testcases/tests/level1/html/files/input.html new file mode 100644 index 0000000..c36e87d --- /dev/null +++ b/test/testcases/tests/level1/html/files/input.html @@ -0,0 +1,60 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - INPUT</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<TABLE CELLPADDING="15" BORDER="BORDER" SUMMARY="Table 1"> +<TR ALIGN="center"> +<TD VAlign="top">Under a FORM control +<FORM ID="form1" ACTION="./files/getData.pl" METHOD="post"> +<TABLE BORDER="15" SUMMARY="Table 2"> +<TR> +<TD> +<LABEL ACCESSKEY="b" FOR="input1">Enter Your Password:</LABEL> +</TD> +<TD> +<INPUT DIR="LTR" ID="input1" TABINDEX="8" VALUE="Password" TYPE="password" NAME="Password" SIZE="25" MAXLENGTH="5" ALT="Password entry" READONLY="READONLY"/> +</TD> +</TR> +<TR> +<TD> +<INPUT TYPE="RADIO" NAME="Radio1" ACCESSKEY="c" VALUE="ReHire"/>ReHire +</TD> +</TR> +<TR> +<TD> +<INPUT TYPE="RADIO" NAME="Radio2" VALUE="NewHire" TABINDEX="9" CHECKED="CHECKED"/>NewHire +</TD> +</TR> +<TR> +<TD>Hours available to work</TD> +<TD> +<INPUT TYPE="CHECKBOX" NAME="Check1" ALIGN="bottom" TABINDEX="10" VALUE="EarlyMornings" CHECKED="CHECKED"/>EarlyMornings +<BR/> +<INPUT ID="input5" TYPE="CHECKBOX" NAME="Check2" TABINDEX="11" VALUE="AfterNoon" ONCLICK="newId(this)"/>Afternoon +<BR/> +<INPUT TYPE="CHECKBOX" NAME="Check3" TABINDEX="12" VALUE="Evenings"/>Evenings +<BR/> +<INPUT TYPE="CHECKBOX" NAME="Check4" TABINDEX="13" VALUE="Closing" DISABLED="DISABLED"/>Closing +<BR/> +</TD> +</TR> +<TR> +<TD COLSPAN="2"> +<INPUT TYPE="IMAGE" TABINDEX="14" NAME="SubmitImage" USEMAP="#submit-map" SRC="./pix/submit.gif"/> +</TD> +</TR> +<TR> +<TD COLSPAN="2"> +<INPUT TITLE="old_title" TYPE="FILE" NAME="FileControl" TABINDEX="15" ACCEPT="GIF,JPEG" ONSELECT="newTitle(this)"/> +</TD> +</TR> +</TABLE> +</FORM> +</TD> +</TR> +</TABLE> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/input.xhtml b/test/testcases/tests/level1/html/files/input.xhtml new file mode 100644 index 0000000..b7704ad --- /dev/null +++ b/test/testcases/tests/level1/html/files/input.xhtml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - INPUT</title> +</head> +<body onload="parent.loadComplete()"> +<table cellpadding="15" border="border" summary="Table 1"> +<tr align="center"> +<td valign="top">Under a FORM control +<form id="form1" action="./files/getData.pl" method="post"> +<table border="15" summary="Table 2"> +<tr> +<td> +<label accesskey="b" for="input1">Enter Your Password:</label> +</td> +<td> +<input dir="ltr" id="input1" tabindex="8" value="Password" type="password" name="Password" size="25" maxlength="5" alt="Password entry" readonly="readonly"/> +</td> +</tr> +<tr> +<td> +<input type="radio" name="Radio1" accesskey="c" value="ReHire"/> +</td> +</tr> +<tr> +<td> +<input type="radio" name="Radio2" value="NewHire" tabindex="9" checked="checked"/> +</td> +</tr> +<tr> +<td>Hours available to work</td> +<td> +<input type="checkbox" name="Check1" align="bottom" tabindex="10" value="EarlyMornings" checked="checked"/> +<br/> +<input id="input5" type="checkbox" name="Check2" tabindex="11" value="AfterNoon" onclick="newId(this)"/> +<br/> +<input type="checkbox" name="Check3" tabindex="12" value="Evenings"/> +<br/> +<input type="checkbox" name="Check4" tabindex="13" value="Closing" disabled="disabled"/> +<br/> +</td> +</tr> +<tr> +<td colspan="2"> +<input type="image" tabindex="14" name="SubmitImage" usemap="#submit-map" src="./pix/submit.gif"/> +</td> +</tr> +<tr> +<td colspan="2"> +<input title="old_title" type="file" name="FileControl" tabindex="15" accept="GIF,JPEG" onselect="newTitle(this)"/> +</td> +</tr> +</table> +</form> +</td> +</tr> +</table> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/input.xml b/test/testcases/tests/level1/html/files/input.xml new file mode 100644 index 0000000..b7704ad --- /dev/null +++ b/test/testcases/tests/level1/html/files/input.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - INPUT</title> +</head> +<body onload="parent.loadComplete()"> +<table cellpadding="15" border="border" summary="Table 1"> +<tr align="center"> +<td valign="top">Under a FORM control +<form id="form1" action="./files/getData.pl" method="post"> +<table border="15" summary="Table 2"> +<tr> +<td> +<label accesskey="b" for="input1">Enter Your Password:</label> +</td> +<td> +<input dir="ltr" id="input1" tabindex="8" value="Password" type="password" name="Password" size="25" maxlength="5" alt="Password entry" readonly="readonly"/> +</td> +</tr> +<tr> +<td> +<input type="radio" name="Radio1" accesskey="c" value="ReHire"/> +</td> +</tr> +<tr> +<td> +<input type="radio" name="Radio2" value="NewHire" tabindex="9" checked="checked"/> +</td> +</tr> +<tr> +<td>Hours available to work</td> +<td> +<input type="checkbox" name="Check1" align="bottom" tabindex="10" value="EarlyMornings" checked="checked"/> +<br/> +<input id="input5" type="checkbox" name="Check2" tabindex="11" value="AfterNoon" onclick="newId(this)"/> +<br/> +<input type="checkbox" name="Check3" tabindex="12" value="Evenings"/> +<br/> +<input type="checkbox" name="Check4" tabindex="13" value="Closing" disabled="disabled"/> +<br/> +</td> +</tr> +<tr> +<td colspan="2"> +<input type="image" tabindex="14" name="SubmitImage" usemap="#submit-map" src="./pix/submit.gif"/> +</td> +</tr> +<tr> +<td colspan="2"> +<input title="old_title" type="file" name="FileControl" tabindex="15" accept="GIF,JPEG" onselect="newTitle(this)"/> +</td> +</tr> +</table> +</form> +</td> +</tr> +</table> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/isindex.html b/test/testcases/tests/level1/html/files/isindex.html new file mode 100644 index 0000000..0fd50ce --- /dev/null +++ b/test/testcases/tests/level1/html/files/isindex.html @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - ISINDEX</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<FORM ID="form1" ACTION="./files/getData.pl" METHOD="post"> +<ISINDEX PROMPT="New Employee: "> +</FORM> +<ISINDEX PROMPT="Old Employee: "> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/isindex.xhtml b/test/testcases/tests/level1/html/files/isindex.xhtml new file mode 100644 index 0000000..a48d9a5 --- /dev/null +++ b/test/testcases/tests/level1/html/files/isindex.xhtml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - ISINDEX</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" action="./files/getData.pl" method="post"> +<isindex prompt="New Employee: "/> +</form> +<isindex prompt="Old Employee: "/> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/isindex.xml b/test/testcases/tests/level1/html/files/isindex.xml new file mode 100644 index 0000000..a48d9a5 --- /dev/null +++ b/test/testcases/tests/level1/html/files/isindex.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - ISINDEX</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" action="./files/getData.pl" method="post"> +<isindex prompt="New Employee: "/> +</form> +<isindex prompt="Old Employee: "/> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/label.html b/test/testcases/tests/level1/html/files/label.html new file mode 100644 index 0000000..d0abc04 --- /dev/null +++ b/test/testcases/tests/level1/html/files/label.html @@ -0,0 +1,21 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - LABEL</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<FORM ID="form1" ACTION="./files/getData.pl" METHOD="post"> +<P> +<LABEL ACCESSKEY="b" FOR="input1">Enter Your First Password:</LABEL> +<INPUT ID="input1" TYPE="password" NAME="Password1"/> +</P> +</FORM> +<P> +<LABEL ACCESSKEY="c" FOR="input2">Enter Your Second Password:</LABEL> +<INPUT ID="input2" TYPE="password" NAME="Password2"/> +</P> +</BODY> +</HTML> + + diff --git a/test/testcases/tests/level1/html/files/label.xhtml b/test/testcases/tests/level1/html/files/label.xhtml new file mode 100644 index 0000000..902584f --- /dev/null +++ b/test/testcases/tests/level1/html/files/label.xhtml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - LABEL</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" action="./files/getData.pl" method="post"> +<p> +<label accesskey="b" for="input1">Enter Your First Password:</label> +<input id="input1" type="password" name="Password1"/> +</p> +</form> +<p> +<label accesskey="c" for="input2">Enter Your Second Password:</label> +<input id="input2" type="password" name="Password2"/> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/label.xml b/test/testcases/tests/level1/html/files/label.xml new file mode 100644 index 0000000..902584f --- /dev/null +++ b/test/testcases/tests/level1/html/files/label.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - LABEL</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" action="./files/getData.pl" method="post"> +<p> +<label accesskey="b" for="input1">Enter Your First Password:</label> +<input id="input1" type="password" name="Password1"/> +</p> +</form> +<p> +<label accesskey="c" for="input2">Enter Your Second Password:</label> +<input id="input2" type="password" name="Password2"/> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/legend.html b/test/testcases/tests/level1/html/files/legend.html new file mode 100644 index 0000000..53160ee --- /dev/null +++ b/test/testcases/tests/level1/html/files/legend.html @@ -0,0 +1,22 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - LEGEND</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<FORM ID="form1" ACTION="./files/getData.pl" METHOD="post"> +<FIELDSET> +<LEGEND ACCESSKEY="b" ALIGN="top">Enter Password1:</LEGEND> +<INPUT ID="input1" TYPE="password" NAME="Password1"/> +</FIELDSET> +</FORM> +<FIELDSET> +<LEGEND ACCESSKEY="c" ALIGN="bottom">Enter Password2:</LEGEND> +<INPUT ID="input2" TYPE="password" NAME="Password2"/> +</FIELDSET> +</BODY> +</HTML> + + + diff --git a/test/testcases/tests/level1/html/files/legend.xhtml b/test/testcases/tests/level1/html/files/legend.xhtml new file mode 100644 index 0000000..c95e685 --- /dev/null +++ b/test/testcases/tests/level1/html/files/legend.xhtml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - LEGEND</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" action="./files/getData.pl" method="post"> +<fieldset> +<legend accesskey="b" align="top">Enter Password1:</legend> +<input id="input1" type="password" name="Password1"/> +</fieldset> +</form> +<fieldset> +<legend accesskey="c" align="bottom">Enter Password2:</legend> +<input id="input2" type="password" name="Password2"/> +</fieldset> +</body> +</html> + + diff --git a/test/testcases/tests/level1/html/files/legend.xml b/test/testcases/tests/level1/html/files/legend.xml new file mode 100644 index 0000000..c95e685 --- /dev/null +++ b/test/testcases/tests/level1/html/files/legend.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - LEGEND</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" action="./files/getData.pl" method="post"> +<fieldset> +<legend accesskey="b" align="top">Enter Password1:</legend> +<input id="input1" type="password" name="Password1"/> +</fieldset> +</form> +<fieldset> +<legend accesskey="c" align="bottom">Enter Password2:</legend> +<input id="input2" type="password" name="Password2"/> +</fieldset> +</body> +</html> + + diff --git a/test/testcases/tests/level1/html/files/li.html b/test/testcases/tests/level1/html/files/li.html new file mode 100644 index 0000000..0c97b4c --- /dev/null +++ b/test/testcases/tests/level1/html/files/li.html @@ -0,0 +1,23 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - LI</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<OL> +<LI TYPE="square" VALUE="2">EMP0001 +<UL> +<LI>Margaret Martin +<DL> +<DD>Accountant</DD> +<DD>56,000</DD> +<DD>Female</DD> +</DL> +</LI> +</UL> +</LI> +</OL> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/li.xhtml b/test/testcases/tests/level1/html/files/li.xhtml new file mode 100644 index 0000000..79af811 --- /dev/null +++ b/test/testcases/tests/level1/html/files/li.xhtml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - LI</title> +</head> +<body onload="parent.loadComplete()"> +<ol> +<li type="square" value="2">EMP0001 +<ul> +<li>Margaret Martin +<dl> +<dd>Accountant</dd> +<dd>56,000</dd> +<dd>Female</dd> +</dl> +</li> +</ul> +</li> +</ol> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/li.xml b/test/testcases/tests/level1/html/files/li.xml new file mode 100644 index 0000000..79af811 --- /dev/null +++ b/test/testcases/tests/level1/html/files/li.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - LI</title> +</head> +<body onload="parent.loadComplete()"> +<ol> +<li type="square" value="2">EMP0001 +<ul> +<li>Margaret Martin +<dl> +<dd>Accountant</dd> +<dd>56,000</dd> +<dd>Female</dd> +</dl> +</li> +</ul> +</li> +</ol> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/link.html b/test/testcases/tests/level1/html/files/link.html new file mode 100644 index 0000000..2d4c082 --- /dev/null +++ b/test/testcases/tests/level1/html/files/link.html @@ -0,0 +1,15 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - LINK</TITLE> +<LINK CHARSET="Latin-1" HREF="./files/glossary.html" HREFLANG="en" MEDIA="screen" REL="Glossary" TYPE="text/html"> +<LINK CHARSET="Latin-1" HREF="./files/style1.css" HREFLANG="en" MEDIA="screen" REV="stylesheet" TYPE="text/css"> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<BR> +</P> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/link.xhtml b/test/testcases/tests/level1/html/files/link.xhtml new file mode 100644 index 0000000..5a0f18c --- /dev/null +++ b/test/testcases/tests/level1/html/files/link.xhtml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - LINK</title> +<link charset="Latin-1" href="./files/glossary.html" hreflang="en" media="screen" rel="Glossary" type="text/html"/> +<link charset="Latin-1" href="./files/style1.css" hreflang="en" media="screen" rev="stylesheet" type="text/css"/> +</head> +<body onload="parent.loadComplete()"> +<p> +<br/> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/link.xml b/test/testcases/tests/level1/html/files/link.xml new file mode 100644 index 0000000..5a0f18c --- /dev/null +++ b/test/testcases/tests/level1/html/files/link.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - LINK</title> +<link charset="Latin-1" href="./files/glossary.html" hreflang="en" media="screen" rel="Glossary" type="text/html"/> +<link charset="Latin-1" href="./files/style1.css" hreflang="en" media="screen" rev="stylesheet" type="text/css"/> +</head> +<body onload="parent.loadComplete()"> +<p> +<br/> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/link2.html b/test/testcases/tests/level1/html/files/link2.html new file mode 100644 index 0000000..12fac9d --- /dev/null +++ b/test/testcases/tests/level1/html/files/link2.html @@ -0,0 +1,15 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - LINK</TITLE> +<LINK CHARSET="Latin-1" TARGET="dynamic" HREF="./files/glossary.html" HREFLANG="en" MEDIA="screen" REL="Glossary" TYPE="text/html"> +<LINK CHARSET="Latin-1" HREF="./files/style1.css" HREFLANG="en" MEDIA="screen" REV="stylesheet" TYPE="text/css"> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<BR> +</P> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/link2.xhtml b/test/testcases/tests/level1/html/files/link2.xhtml new file mode 100644 index 0000000..95c8004 --- /dev/null +++ b/test/testcases/tests/level1/html/files/link2.xhtml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - LINK</title> +<link charset="Latin-1" target="dynamic" href="./files/glossary.html" hreflang="en" media="screen" rel="Glossary" type="text/html"/> +<link charset="Latin-1" href="./files/style1.css" hreflang="en" media="screen" rev="stylesheet" type="text/css"/> +</head> +<body onload="parent.loadComplete()"> +<p> +<br/> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/link2.xml b/test/testcases/tests/level1/html/files/link2.xml new file mode 100644 index 0000000..95c8004 --- /dev/null +++ b/test/testcases/tests/level1/html/files/link2.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - LINK</title> +<link charset="Latin-1" target="dynamic" href="./files/glossary.html" hreflang="en" media="screen" rel="Glossary" type="text/html"/> +<link charset="Latin-1" href="./files/style1.css" hreflang="en" media="screen" rev="stylesheet" type="text/css"/> +</head> +<body onload="parent.loadComplete()"> +<p> +<br/> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/map.html b/test/testcases/tests/level1/html/files/map.html new file mode 100644 index 0000000..a636fa5 --- /dev/null +++ b/test/testcases/tests/level1/html/files/map.html @@ -0,0 +1,16 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - MAP</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<MAP NAME="mapid" ID="mapid"> +<AREA HREF="./files/dletter1.html" TITLE="Domain1" ALT="Domain1"> +<AREA HREF="./files/dletter2.html" TITLE="Domain2" ALT="Domain2"> +<AREA HREF="./files/dletter3.html" TITLE="Domain3" ALT="Domain3"> +</MAP> +</P> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/map.xhtml b/test/testcases/tests/level1/html/files/map.xhtml new file mode 100644 index 0000000..f61a2ad --- /dev/null +++ b/test/testcases/tests/level1/html/files/map.xhtml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - MAP</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<map name="mapid" id="mapid"> +<area href="./files/dletter1.html" title="Domain1" alt="Domain1"/> +<area href="./files/dletter2.html" title="Domain2" alt="Domain2"/> +<area href="./files/dletter3.html" title="Domain3" alt="Domain3"/> +</map> +</p> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/map.xml b/test/testcases/tests/level1/html/files/map.xml new file mode 100644 index 0000000..f61a2ad --- /dev/null +++ b/test/testcases/tests/level1/html/files/map.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - MAP</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<map name="mapid" id="mapid"> +<area href="./files/dletter1.html" title="Domain1" alt="Domain1"/> +<area href="./files/dletter2.html" title="Domain2" alt="Domain2"/> +<area href="./files/dletter3.html" title="Domain3" alt="Domain3"/> +</map> +</p> +</body> +</html> diff --git a/test/testcases/tests/level1/html/files/menu.html b/test/testcases/tests/level1/html/files/menu.html new file mode 100644 index 0000000..e07204f --- /dev/null +++ b/test/testcases/tests/level1/html/files/menu.html @@ -0,0 +1,15 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - MENU</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<MENU COMPACT="COMPACT"> +<LI>Interview</LI> +<LI>Paperwork</LI> +<LI>Give start date</LI> +</MENU> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/menu.xhtml b/test/testcases/tests/level1/html/files/menu.xhtml new file mode 100644 index 0000000..9f020ff --- /dev/null +++ b/test/testcases/tests/level1/html/files/menu.xhtml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - MENU</title> +</head> +<body onload="parent.loadComplete()"> +<menu compact="compact"> +<li>Interview</li> +<li>Paperwork</li> +<li>Give start date</li> +</menu> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/menu.xml b/test/testcases/tests/level1/html/files/menu.xml new file mode 100644 index 0000000..9f020ff --- /dev/null +++ b/test/testcases/tests/level1/html/files/menu.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - MENU</title> +</head> +<body onload="parent.loadComplete()"> +<menu compact="compact"> +<li>Interview</li> +<li>Paperwork</li> +<li>Give start date</li> +</menu> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/meta.html b/test/testcases/tests/level1/html/files/meta.html new file mode 100644 index 0000000..e88fe8f --- /dev/null +++ b/test/testcases/tests/level1/html/files/meta.html @@ -0,0 +1,13 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<HTML> +<HEAD> +<META NAME="Meta-Name" HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8" SCHEME="NIST"> +<TITLE>NIST DOM HTML Test - META</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<BR/> +</P> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/meta.xhtml b/test/testcases/tests/level1/html/files/meta.xhtml new file mode 100644 index 0000000..bf89bbe --- /dev/null +++ b/test/testcases/tests/level1/html/files/meta.xhtml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<meta name="Meta-Name" http-equiv="Content-Type" content="text/html; CHARSET=utf-8" scheme="NIST"/> +<title>NIST DOM HTML Test - META</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<br/> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/meta.xml b/test/testcases/tests/level1/html/files/meta.xml new file mode 100644 index 0000000..bf89bbe --- /dev/null +++ b/test/testcases/tests/level1/html/files/meta.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<meta name="Meta-Name" http-equiv="Content-Type" content="text/html; CHARSET=utf-8" scheme="NIST"/> +<title>NIST DOM HTML Test - META</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<br/> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/mod.html b/test/testcases/tests/level1/html/files/mod.html new file mode 100644 index 0000000..1ab7969 --- /dev/null +++ b/test/testcases/tests/level1/html/files/mod.html @@ -0,0 +1,15 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - MOD</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<INS CITE="./files/ins-reasons.html" DATETIME="January 1, 2002">The INS element is used to indicate that a section of a document had been inserted.</INS> +<BR/> +<DEL CITE="./files/del-reasons.html" DATETIME="January 2, 2002">The DEL element is used to indicate that a section of a document had been removed.</DEL> +</P> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/mod.xhtml b/test/testcases/tests/level1/html/files/mod.xhtml new file mode 100644 index 0000000..b81432d --- /dev/null +++ b/test/testcases/tests/level1/html/files/mod.xhtml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - MOD</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<ins cite="./files/ins-reasons.html" datetime="January 1, 2002">The INS element is used to indicate that a section of a document had been inserted.</ins> +<br/> +<del cite="./files/del-reasons.html" datetime="January 2, 2002">The DEL element is used to indicate that a section of a document had been removed.</del> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/mod.xml b/test/testcases/tests/level1/html/files/mod.xml new file mode 100644 index 0000000..b81432d --- /dev/null +++ b/test/testcases/tests/level1/html/files/mod.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - MOD</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<ins cite="./files/ins-reasons.html" datetime="January 1, 2002">The INS element is used to indicate that a section of a document had been inserted.</ins> +<br/> +<del cite="./files/del-reasons.html" datetime="January 2, 2002">The DEL element is used to indicate that a section of a document had been removed.</del> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/object.html b/test/testcases/tests/level1/html/files/object.html new file mode 100644 index 0000000..7960549 --- /dev/null +++ b/test/testcases/tests/level1/html/files/object.html @@ -0,0 +1,18 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - OBJECT</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<OBJECT ALIGN="middle" ARCHIVE="" BORDER="0" CODEBASE="http://www.w3.org/DOM/" DATA="./pix/logo.gif" HEIGHT="60" HSPACE="0" STANDBY="Loading Image ..." TABINDEX="0" TYPE="image/gif" USEMAP="#DivLogo-map" VSPACE="0" WIDTH="550"></OBJECT> +</P> +<FORM NAME="OBJECT2" ACTION="./files/getData.pl" METHOD="post"> +<P> +<OBJECT DECLARE="declare" NAME="OBJECT2" CODETYPE="image/gif"></OBJECT> +</P> +</FORM> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/object.xhtml b/test/testcases/tests/level1/html/files/object.xhtml new file mode 100644 index 0000000..3399588 --- /dev/null +++ b/test/testcases/tests/level1/html/files/object.xhtml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - OBJECT</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<object align="middle" archive="" border="0" codebase="http://www.w3.org/DOM/" data="./pix/logo.gif" height="60" hspace="0" standby="Loading Image ..." tabindex="0" type="image/gif" usemap="#DivLogo-map" vspace="0" width="550"></object> +</p> +<form name="OBJECT2" action="./files/getData.pl" method="post"> +<p> +<object declare="declare" name="OBJECT2" codetype="image/gif"></object> +</p> +</form> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/object.xml b/test/testcases/tests/level1/html/files/object.xml new file mode 100644 index 0000000..824f7fc --- /dev/null +++ b/test/testcases/tests/level1/html/files/object.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - OBJECT</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<object align="middle" archive="" border="0" codebase="http://xw2k.sdct.itl.nist.gov/brady/dom/" data="./pix/logo.gif" height="60" hspace="0" standby="Loading Image ..." tabindex="0" type="image/gif" usemap="#DivLogo-map" vspace="0" width="550"></object> +</p> +<form name="OBJECT2" action="./files/getData.pl" method="post"> +<p> +<object declare="declare" name="OBJECT2" codetype="image/gif"></object> +</p> +</form> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/object2.html b/test/testcases/tests/level1/html/files/object2.html new file mode 100644 index 0000000..0a39363 --- /dev/null +++ b/test/testcases/tests/level1/html/files/object2.html @@ -0,0 +1,17 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - OBJECT</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<OBJECT ALIGN="middle" ARCHIVE="" BORDER="0" CODEBASE="http://www.w3.org/DOM/" DATA="./pix/logo.gif" HEIGHT="60" HSPACE="0" STANDBY="Loading Image ..." TABINDEX="0" TYPE="image/gif" USEMAP="#DivLogo-map" VSPACE="0" WIDTH="550"></OBJECT> +</P> +<FORM ID="object2" ACTION="./files/getData.pl" METHOD="post"> +<P> +<OBJECT DECLARE="declare" NAME="OBJECT2" CODETYPE="image/gif"></OBJECT> +</P> +</FORM> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/object2.xhtml b/test/testcases/tests/level1/html/files/object2.xhtml new file mode 100644 index 0000000..e318a3c --- /dev/null +++ b/test/testcases/tests/level1/html/files/object2.xhtml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - OBJECT</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<object align="middle" archive="" border="0" codebase="http://www.w3.org/DOM/" data="./pix/logo.gif" height="60" hspace="0" standby="Loading Image ..." tabindex="0" type="image/gif" usemap="#DivLogo-map" vspace="0" width="550"></object> +</p> +<form id="object2" action="./files/getData.pl" method="post"> +<p> +<object declare="declare" name="OBJECT2" codetype="image/gif"></object> +</p> +</form> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/object2.xml b/test/testcases/tests/level1/html/files/object2.xml new file mode 100644 index 0000000..a41e03d --- /dev/null +++ b/test/testcases/tests/level1/html/files/object2.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - OBJECT</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<object align="middle" archive="" border="0" codebase="http://xw2k.sdct.itl.nist.gov/brady/dom/" data="./pix/logo.gif" height="60" hspace="0" standby="Loading Image ..." tabindex="0" type="image/gif" usemap="#DivLogo-map" vspace="0" width="550"></object> +</p> +<form id="object2" action="./files/getData.pl" method="post"> +<p> +<object declare="declare" name="OBJECT2" codetype="image/gif"></object> +</p> +</form> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/olist.html b/test/testcases/tests/level1/html/files/olist.html new file mode 100644 index 0000000..f69c9de --- /dev/null +++ b/test/testcases/tests/level1/html/files/olist.html @@ -0,0 +1,32 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - OLIST</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<OL COMPACT="compact" START="1" TYPE="1"> +<LI>EMP0001 +<UL> +<LI>Margaret Martin +<DL> +<DD>Accountant</DD> +<DD>56,000</DD> +</DL> +</LI> +</UL> +</LI> +<LI>EMP0002 +<UL> +<LI>Martha Raynolds +<DL> +<DD>Secretary</DD> +<DD>35,000</DD> +</DL> +</LI> +</UL> +</LI> +</OL> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/olist.xhtml b/test/testcases/tests/level1/html/files/olist.xhtml new file mode 100644 index 0000000..cbe1ab6 --- /dev/null +++ b/test/testcases/tests/level1/html/files/olist.xhtml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - OLIST</title> +</head> +<body onload="parent.loadComplete()"> +<ol compact="compact" start="1" type="1"> +<li>EMP0001 +<ul> +<li>Margaret Martin +<dl> +<dd>Accountant</dd> +<dd>56,000</dd> +</dl> +</li> +</ul> +</li> +<li>EMP0002 +<ul> +<li>Martha Raynolds +<dl> +<dd>Secretary</dd> +<dd>35,000</dd> +</dl> +</li> +</ul> +</li> +</ol> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/olist.xml b/test/testcases/tests/level1/html/files/olist.xml new file mode 100644 index 0000000..cbe1ab6 --- /dev/null +++ b/test/testcases/tests/level1/html/files/olist.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - OLIST</title> +</head> +<body onload="parent.loadComplete()"> +<ol compact="compact" start="1" type="1"> +<li>EMP0001 +<ul> +<li>Margaret Martin +<dl> +<dd>Accountant</dd> +<dd>56,000</dd> +</dl> +</li> +</ul> +</li> +<li>EMP0002 +<ul> +<li>Martha Raynolds +<dl> +<dd>Secretary</dd> +<dd>35,000</dd> +</dl> +</li> +</ul> +</li> +</ol> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/optgroup.html b/test/testcases/tests/level1/html/files/optgroup.html new file mode 100644 index 0000000..a354af8 --- /dev/null +++ b/test/testcases/tests/level1/html/files/optgroup.html @@ -0,0 +1,25 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - OPTGROUP</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<FORM ID="Form1" ACTION="test.pl" METHOD="post"> +<P> +<SELECT NAME="select2"> +<OPTGROUP LABEL="Regular Employees"> +<OPTION>EMP0001</OPTION> +<OPTION>EMP0002</OPTION> +<OPTION>EMP0003A</OPTION> +</OPTGROUP> +<OPTGROUP DISABLED="disabled" LABEL="Temporary Employees"> +<OPTION>EMP0004</OPTION> +<OPTION>EMP0005</OPTION> +</OPTGROUP> +</SELECT> +</P> +</FORM> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/optgroup.xhtml b/test/testcases/tests/level1/html/files/optgroup.xhtml new file mode 100644 index 0000000..b421eca --- /dev/null +++ b/test/testcases/tests/level1/html/files/optgroup.xhtml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - OPTGROUP</title> +</head> +<body onload="parent.loadComplete()"> +<form id="Form1" action="test.pl" method="post"> +<p> +<select name="select2"> +<optgroup label="Regular Employees"> +<option>EMP0001</option> +<option>EMP0002</option> +<option>EMP0003A</option> +</optgroup> +<optgroup disabled="disabled" label="Temporary Employees"> +<option>EMP0004</option> +<option>EMP0005</option> +</optgroup> +</select> +</p> +</form> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/optgroup.xml b/test/testcases/tests/level1/html/files/optgroup.xml new file mode 100644 index 0000000..b421eca --- /dev/null +++ b/test/testcases/tests/level1/html/files/optgroup.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - OPTGROUP</title> +</head> +<body onload="parent.loadComplete()"> +<form id="Form1" action="test.pl" method="post"> +<p> +<select name="select2"> +<optgroup label="Regular Employees"> +<option>EMP0001</option> +<option>EMP0002</option> +<option>EMP0003A</option> +</optgroup> +<optgroup disabled="disabled" label="Temporary Employees"> +<option>EMP0004</option> +<option>EMP0005</option> +</optgroup> +</select> +</p> +</form> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/option.html b/test/testcases/tests/level1/html/files/option.html new file mode 100644 index 0000000..83707c3 --- /dev/null +++ b/test/testcases/tests/level1/html/files/option.html @@ -0,0 +1,36 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - OPTION</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<FORM ID="form1" NAME="form1" ACTION="./files/getData.pl" METHOD="post"> +<P> +<SELECT ID="selectId" DIR="ltr" TABINDEX="7" NAME="select1" MULTIPLE="multiple" SIZE="1"> +<OPTION SELECTED="selected" value="10001">EMP10001</OPTION> +<OPTION LABEL="l1">EMP10002</OPTION> +<OPTION>EMP10003</OPTION> +<OPTION>EMP10004</OPTION> +<OPTION>EMP10005</OPTION> +</SELECT> +</P> +</FORM> +<P> +<SELECT NAME="select2" disabled="disabled"> +<OPTION>EMP20001</OPTION> +<OPTION>EMP20002</OPTION> +<OPTION>EMP20003</OPTION> +<OPTION>EMP20004</OPTION> +<OPTION DISABLED="disabled">EMP20005</OPTION> +</SELECT> +</P> +</BODY> +</HTML> + + + + + + + diff --git a/test/testcases/tests/level1/html/files/option.xhtml b/test/testcases/tests/level1/html/files/option.xhtml new file mode 100644 index 0000000..8cf88d8 --- /dev/null +++ b/test/testcases/tests/level1/html/files/option.xhtml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - OPTION</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" action="./files/getData.pl" method="post"> +<p> +<select id="selectId" dir="ltr" tabindex="7" name="select1" multiple="multiple" size="1"> +<option selected="selected" value="10001">EMP10001</option> +<option label="l1">EMP10002</option> +<option>EMP10003</option> +<option>EMP10004</option> +<option>EMP10005</option> +</select> +</p> +</form> +<p> +<select name="select2" disabled="disabled"> +<option>EMP20001</option> +<option>EMP20002</option> +<option>EMP20003</option> +<option>EMP20004</option> +<option disabled="disabled">EMP20005</option> +</select> +</p> +</body> +</html> + + diff --git a/test/testcases/tests/level1/html/files/option.xml b/test/testcases/tests/level1/html/files/option.xml new file mode 100644 index 0000000..8cf88d8 --- /dev/null +++ b/test/testcases/tests/level1/html/files/option.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - OPTION</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" action="./files/getData.pl" method="post"> +<p> +<select id="selectId" dir="ltr" tabindex="7" name="select1" multiple="multiple" size="1"> +<option selected="selected" value="10001">EMP10001</option> +<option label="l1">EMP10002</option> +<option>EMP10003</option> +<option>EMP10004</option> +<option>EMP10005</option> +</select> +</p> +</form> +<p> +<select name="select2" disabled="disabled"> +<option>EMP20001</option> +<option>EMP20002</option> +<option>EMP20003</option> +<option>EMP20004</option> +<option disabled="disabled">EMP20005</option> +</select> +</p> +</body> +</html> + + diff --git a/test/testcases/tests/level1/html/files/paragraph.html b/test/testcases/tests/level1/html/files/paragraph.html new file mode 100644 index 0000000..0da4836 --- /dev/null +++ b/test/testcases/tests/level1/html/files/paragraph.html @@ -0,0 +1,13 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - PARAGRAPH</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P ALIGN="center"> +TEXT +</P> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/paragraph.xhtml b/test/testcases/tests/level1/html/files/paragraph.xhtml new file mode 100644 index 0000000..2cdb1df --- /dev/null +++ b/test/testcases/tests/level1/html/files/paragraph.xhtml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - PARAGRAPH</title> +</head> +<body onload="parent.loadComplete()"> +<p align="center"> +TEXT +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/paragraph.xml b/test/testcases/tests/level1/html/files/paragraph.xml new file mode 100644 index 0000000..2cdb1df --- /dev/null +++ b/test/testcases/tests/level1/html/files/paragraph.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - PARAGRAPH</title> +</head> +<body onload="parent.loadComplete()"> +<p align="center"> +TEXT +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/param.html b/test/testcases/tests/level1/html/files/param.html new file mode 100644 index 0000000..290e626 --- /dev/null +++ b/test/testcases/tests/level1/html/files/param.html @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - PARAM</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<OBJECT> +<PARAM NAME="image3" TYPE="image/gif" VALUE="image/file.gif" VALUETYPE="ref"> +</OBJECT> +</P> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/param.xhtml b/test/testcases/tests/level1/html/files/param.xhtml new file mode 100644 index 0000000..3e916eb --- /dev/null +++ b/test/testcases/tests/level1/html/files/param.xhtml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - PARAM</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<object> +<param name="image3" type="image/gif" value="image/file.gif" valuetype="ref"/> +</object> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/param.xml b/test/testcases/tests/level1/html/files/param.xml new file mode 100644 index 0000000..3e916eb --- /dev/null +++ b/test/testcases/tests/level1/html/files/param.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - PARAM</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<object> +<param name="image3" type="image/gif" value="image/file.gif" valuetype="ref"/> +</object> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/pre.html b/test/testcases/tests/level1/html/files/pre.html new file mode 100644 index 0000000..2a40206 --- /dev/null +++ b/test/testcases/tests/level1/html/files/pre.html @@ -0,0 +1,17 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - PRE</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<PRE WIDTH="277">The PRE is used to indicate pre-formatted text. Visual agents may: + + leave white space intact. + May render text with a fixed-pitch font. + May disable automatic word wrap. + Must not disable bidirectional processing. +</PRE> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/pre.xhtml b/test/testcases/tests/level1/html/files/pre.xhtml new file mode 100644 index 0000000..69f652b --- /dev/null +++ b/test/testcases/tests/level1/html/files/pre.xhtml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - PRE</title> +</head> +<body onload="parent.loadComplete()"> +<pre>The PRE is used to indicate pre-formatted text. Visual agents may: + + leave white space intact. + May render text with a fixed-pitch font. + May disable automatic word wrap. + Must not disable bidirectional processing. +</pre> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/pre.xml b/test/testcases/tests/level1/html/files/pre.xml new file mode 100644 index 0000000..69f652b --- /dev/null +++ b/test/testcases/tests/level1/html/files/pre.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - PRE</title> +</head> +<body onload="parent.loadComplete()"> +<pre>The PRE is used to indicate pre-formatted text. Visual agents may: + + leave white space intact. + May render text with a fixed-pitch font. + May disable automatic word wrap. + Must not disable bidirectional processing. +</pre> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/quote.html b/test/testcases/tests/level1/html/files/quote.html new file mode 100644 index 0000000..6bad2b8 --- /dev/null +++ b/test/testcases/tests/level1/html/files/quote.html @@ -0,0 +1,16 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - QUOTE</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<Q CITE="./files/Q.html">The Q element is intended for short quotations</Q> +</P> +<BLOCKQUOTE CITE="./files/BLOCKQUOTE.html"> +<P>The BLOCKQUOTE element is used for long quotations.</P> +</BLOCKQUOTE> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/quote.xhtml b/test/testcases/tests/level1/html/files/quote.xhtml new file mode 100644 index 0000000..93e6c42 --- /dev/null +++ b/test/testcases/tests/level1/html/files/quote.xhtml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - QUOTE</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<q cite="./files/Q.html">The Q element is intended for short quotations</q> +</p> +<blockquote cite="./files/BLOCKQUOTE.html"> +<p>The BLOCKQUOTE element is used for long quotations.</p> +</blockquote> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/quote.xml b/test/testcases/tests/level1/html/files/quote.xml new file mode 100644 index 0000000..93e6c42 --- /dev/null +++ b/test/testcases/tests/level1/html/files/quote.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - QUOTE</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<q cite="./files/Q.html">The Q element is intended for short quotations</q> +</p> +<blockquote cite="./files/BLOCKQUOTE.html"> +<p>The BLOCKQUOTE element is used for long quotations.</p> +</blockquote> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/right.png b/test/testcases/tests/level1/html/files/right.png Binary files differnew file mode 100644 index 0000000..41ad0bd --- /dev/null +++ b/test/testcases/tests/level1/html/files/right.png diff --git a/test/testcases/tests/level1/html/files/script.html b/test/testcases/tests/level1/html/files/script.html new file mode 100644 index 0000000..362860b --- /dev/null +++ b/test/testcases/tests/level1/html/files/script.html @@ -0,0 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - SCRIPT</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<SCRIPT CHARSET="US-ASCII" TYPE="text/javaScript" DEFER="defer" SRC="./files/script1.js">var a=2;</SCRIPT> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/script.xhtml b/test/testcases/tests/level1/html/files/script.xhtml new file mode 100644 index 0000000..ebdaa72 --- /dev/null +++ b/test/testcases/tests/level1/html/files/script.xhtml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - SCRIPT</title> +</head> +<body onload="parent.loadComplete()"> +<script charset="US-ASCII" type="text/javaScript" defer="defer" src="./files/script1.js">var a=2;</script> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/script.xml b/test/testcases/tests/level1/html/files/script.xml new file mode 100644 index 0000000..ebdaa72 --- /dev/null +++ b/test/testcases/tests/level1/html/files/script.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - SCRIPT</title> +</head> +<body onload="parent.loadComplete()"> +<script charset="US-ASCII" type="text/javaScript" defer="defer" src="./files/script1.js">var a=2;</script> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/select.html b/test/testcases/tests/level1/html/files/select.html new file mode 100644 index 0000000..7820624 --- /dev/null +++ b/test/testcases/tests/level1/html/files/select.html @@ -0,0 +1,44 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - SELECT</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<FORM ID="form1" ACTION="./files/getData.pl" METHOD="post"> +<P> +<SELECT ID="selectId" DIR="ltr" TABINDEX="7" NAME="select1" MULTIPLE="multiple" SIZE="1"> +<OPTION SELECTED="selected" value="EMP1">EMP10001</OPTION> +<OPTION>EMP10002</OPTION> +<OPTION>EMP10003</OPTION> +<OPTION>EMP10004</OPTION> +<OPTION>EMP10005</OPTION> +</SELECT> +</P> +</FORM> +<P> +<SELECT NAME="select2"> +<OPTION>EMP20001</OPTION> +<OPTION>EMP20002</OPTION> +<OPTION>EMP20003</OPTION> +<OPTION>EMP20004</OPTION> +<OPTION>EMP20005</OPTION> +</SELECT> +</P> +<P> +<SELECT NAME="select3" DISABLED="disabled" TABINDEX="1"> +<OPTION>EMP30001</OPTION> +<OPTION>EMP30002</OPTION> +<OPTION>EMP30003</OPTION> +<OPTION>EMP30004</OPTION> +<OPTION>EMP30005</OPTION> +</SELECT> +</P> +</BODY> +</HTML> + + + + + + diff --git a/test/testcases/tests/level1/html/files/select.xhtml b/test/testcases/tests/level1/html/files/select.xhtml new file mode 100644 index 0000000..491a74c --- /dev/null +++ b/test/testcases/tests/level1/html/files/select.xhtml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - SELECT</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" action="./files/getData.pl" method="post"> +<p> +<select id="selectId" dir="ltr" tabindex="7" name="select1" multiple="multiple" size="1"> +<option selected="selected" value="EMP1">EMP10001</option> +<option>EMP10002</option> +<option>EMP10003</option> +<option>EMP10004</option> +<option>EMP10005</option> +</select> +</p> +</form> +<p> +<select name="select2"> +<option>EMP20001</option> +<option>EMP20002</option> +<option>EMP20003</option> +<option>EMP20004</option> +<option>EMP20005</option> +</select> +</p> +<p> +<select name="select3" disabled="disabled" tabindex="1"> +<option>EMP30001</option> +<option>EMP30002</option> +<option>EMP30003</option> +<option>EMP30004</option> +<option>EMP30005</option> +</select> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/select.xml b/test/testcases/tests/level1/html/files/select.xml new file mode 100644 index 0000000..491a74c --- /dev/null +++ b/test/testcases/tests/level1/html/files/select.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - SELECT</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" action="./files/getData.pl" method="post"> +<p> +<select id="selectId" dir="ltr" tabindex="7" name="select1" multiple="multiple" size="1"> +<option selected="selected" value="EMP1">EMP10001</option> +<option>EMP10002</option> +<option>EMP10003</option> +<option>EMP10004</option> +<option>EMP10005</option> +</select> +</p> +</form> +<p> +<select name="select2"> +<option>EMP20001</option> +<option>EMP20002</option> +<option>EMP20003</option> +<option>EMP20004</option> +<option>EMP20005</option> +</select> +</p> +<p> +<select name="select3" disabled="disabled" tabindex="1"> +<option>EMP30001</option> +<option>EMP30002</option> +<option>EMP30003</option> +<option>EMP30004</option> +<option>EMP30005</option> +</select> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/style.html b/test/testcases/tests/level1/html/files/style.html new file mode 100644 index 0000000..c3df424 --- /dev/null +++ b/test/testcases/tests/level1/html/files/style.html @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<STYLE MEDIA="screen" type="text/css"></STYLE> +<TITLE>NIST DOM HTML Test - STYLE</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P>Hello, World.</P> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/style.xhtml b/test/testcases/tests/level1/html/files/style.xhtml new file mode 100644 index 0000000..b8477c1 --- /dev/null +++ b/test/testcases/tests/level1/html/files/style.xhtml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<style media="screen" type="text/css"></style> +<title>NIST DOM HTML Test - BR</title> +</head> +<body onload="parent.loadComplete()"> +<p>Hello, World.</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/style.xml b/test/testcases/tests/level1/html/files/style.xml new file mode 100644 index 0000000..b8477c1 --- /dev/null +++ b/test/testcases/tests/level1/html/files/style.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<style media="screen" type="text/css"></style> +<title>NIST DOM HTML Test - BR</title> +</head> +<body onload="parent.loadComplete()"> +<p>Hello, World.</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/table.html b/test/testcases/tests/level1/html/files/table.html new file mode 100644 index 0000000..b8f151e --- /dev/null +++ b/test/testcases/tests/level1/html/files/table.html @@ -0,0 +1,78 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - TABLE</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<TABLE ALIGN="center" SUMMARY="Table 1"> +<TR> +<TH>Id</TH> +<TH>Name</TH> +<TH>Position</TH> +<TH>Salary</TH> +</TR> +</TABLE> +<TABLE ID="table-1" ALIGN="center" BORDER="4" BGCOLOR="#ff0000" FRAME="border" CELLPADDING="2" CELLSPACING="2" SUMMARY="HTML Control Table" RULES="all" WIDTH="680"> +<CAPTION ALIGN="top">Table Caption</CAPTION> +<THEAD ALIGN="center" VALIGN="middle"> +<TR ALIGN="center" BGCOLOR="#00FFFF" VALIGN="middle"> +<TH ID="header-1">Employee Id</TH> +<TH ID="header-2" ABBR="maiden" AXIS="center" ALIGN="center" BGCOLOR="#00FFFF" COLSPAN="1" HEIGHT="50" NOWRAP="nowrap" ROWSPAN="1" SCOPE="col" HEADERS="header-1" VALIGN="middle" WIDTH="100">Employee Name</TH> +<TH>Position</TH> +<TH>Salary</TH> +<TH>Gender</TH> +<TH>Address</TH> +</TR> +</THEAD> +<TFOOT ALIGN="center" VALIGN="middle"> +<TR> +<TH>next page ...</TH> +<TH>next page ...</TH> +<TH>next page ...</TH> +<TH>next page ...</TH> +<TH>next page ...</TH> +<TH>next page ...</TH> +</TR> +</TFOOT> +<TBODY ALIGN="center" VALIGN="middle"> +<TR> +<TD AXIS="center" ID="Table-3" ABBR="maiden2" ALIGN="center" BGCOLOR="#FF0000" COLSPAN="1" HEIGHT="50" NOWRAP="nowrap" ROWSPAN="1" SCOPE="col" HEADERS="header-2" VALIGN="middle" WIDTH="175">EMP0001</TD> +<TD HEADERS="header-2">Margaret Martin</TD> +<TD>Accountant</TD> +<TD>56,000</TD> +<TD>Female</TD> +<TD>1230 North Ave. Dallas, Texas 98551</TD> +</TR> +<TR> +<TD>EMP0002</TD> +<TD>Martha Raynolds</TD> +<TD>Secretary</TD> +<TD>35,000</TD> +<TD>Female</TD> +<TD>1900 Dallas Road Dallas, Texas 98554</TD> +</TR> +</TBODY> +</TABLE> +<TABLE SUMMARY="Table 3"> +<TBODY> +<TR> +<TD> +</TD> +</TR> +</TBODY> +<TBODY> +<TR> +<TD> +</TD> +</TR> +</TBODY> +<TBODY> +<TR> +<TD> +</TD> +</TR> +</TBODY> +</TABLE> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/table.xhtml b/test/testcases/tests/level1/html/files/table.xhtml new file mode 100644 index 0000000..8300b90 --- /dev/null +++ b/test/testcases/tests/level1/html/files/table.xhtml @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - TABLE</title> +</head> +<body onload="parent.loadComplete()"> +<table align="center" summary="Table 1"> +<tr> +<th>Id</th> +<th>Name</th> +<th>Position</th> +<th>Salary</th> +</tr> +</table> +<table id="table-1" align="center" border="4" bgcolor="#ff0000" frame="border" cellpadding="2" cellspacing="2" summary="HTML Control Table" rules="all" width="680"> +<caption align="top">Table Caption</caption> +<thead align="center" valign="middle"> +<tr align="center" bgcolor="#00FFFF" valign="middle"> +<th id="header-1">Employee Id</th> +<th id="header-2" abbr="maiden" axis="center" align="center" bgcolor="#00FFFF" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-1" valign="middle" width="100">Employee Name</th> +<th>Position</th> +<th>Salary</th> +<th>Gender</th> +<th>Address</th> +</tr> +</thead> +<tfoot align="center" valign="middle"> +<tr> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +</tr> +</tfoot> +<tbody align="center" valign="middle"> +<tr> +<td axis="center" id="Table-3" abbr="maiden2" align="center" bgcolor="#FF0000" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-2" valign="middle" width="175">EMP0001</td> +<td headers="header-2">Margaret Martin</td> +<td>Accountant</td> +<td>56,000</td> +<td>Female</td> +<td>1230 North Ave. Dallas, Texas 98551</td> +</tr> +<tr> +<td>EMP0002</td> +<td>Martha Raynolds</td> +<td>Secretary</td> +<td>35,000</td> +<td>Female</td> +<td>1900 Dallas Road Dallas, Texas 98554</td> +</tr> +</tbody> +</table> +<table summary="Table 3"> +<tbody> +<tr> +<td> +</td> +</tr> +</tbody> +<tbody> +<tr> +<td> +</td> +</tr> +</tbody> +<tbody> +<tr> +<td> +</td> +</tr> +</tbody> +</table> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/table.xml b/test/testcases/tests/level1/html/files/table.xml new file mode 100644 index 0000000..8300b90 --- /dev/null +++ b/test/testcases/tests/level1/html/files/table.xml @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - TABLE</title> +</head> +<body onload="parent.loadComplete()"> +<table align="center" summary="Table 1"> +<tr> +<th>Id</th> +<th>Name</th> +<th>Position</th> +<th>Salary</th> +</tr> +</table> +<table id="table-1" align="center" border="4" bgcolor="#ff0000" frame="border" cellpadding="2" cellspacing="2" summary="HTML Control Table" rules="all" width="680"> +<caption align="top">Table Caption</caption> +<thead align="center" valign="middle"> +<tr align="center" bgcolor="#00FFFF" valign="middle"> +<th id="header-1">Employee Id</th> +<th id="header-2" abbr="maiden" axis="center" align="center" bgcolor="#00FFFF" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-1" valign="middle" width="100">Employee Name</th> +<th>Position</th> +<th>Salary</th> +<th>Gender</th> +<th>Address</th> +</tr> +</thead> +<tfoot align="center" valign="middle"> +<tr> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +</tr> +</tfoot> +<tbody align="center" valign="middle"> +<tr> +<td axis="center" id="Table-3" abbr="maiden2" align="center" bgcolor="#FF0000" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-2" valign="middle" width="175">EMP0001</td> +<td headers="header-2">Margaret Martin</td> +<td>Accountant</td> +<td>56,000</td> +<td>Female</td> +<td>1230 North Ave. Dallas, Texas 98551</td> +</tr> +<tr> +<td>EMP0002</td> +<td>Martha Raynolds</td> +<td>Secretary</td> +<td>35,000</td> +<td>Female</td> +<td>1900 Dallas Road Dallas, Texas 98554</td> +</tr> +</tbody> +</table> +<table summary="Table 3"> +<tbody> +<tr> +<td> +</td> +</tr> +</tbody> +<tbody> +<tr> +<td> +</td> +</tr> +</tbody> +<tbody> +<tr> +<td> +</td> +</tr> +</tbody> +</table> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/table1.html b/test/testcases/tests/level1/html/files/table1.html new file mode 100644 index 0000000..8f5d19b --- /dev/null +++ b/test/testcases/tests/level1/html/files/table1.html @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - TABLE</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<TABLE SUMMARY="Empty Table"> +<tr><td>HTML can't abide empty table</td></tr> +</TABLE> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/table1.xhtml b/test/testcases/tests/level1/html/files/table1.xhtml new file mode 100644 index 0000000..e174c63 --- /dev/null +++ b/test/testcases/tests/level1/html/files/table1.xhtml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - TABLE</title> +</head> +<body onload="parent.loadComplete()"> +<table summary="Empty Table"> +<tr><td>XHTML can't abide empty table</td></tr> +</table> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/table1.xml b/test/testcases/tests/level1/html/files/table1.xml new file mode 100644 index 0000000..e174c63 --- /dev/null +++ b/test/testcases/tests/level1/html/files/table1.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - TABLE</title> +</head> +<body onload="parent.loadComplete()"> +<table summary="Empty Table"> +<tr><td>XHTML can't abide empty table</td></tr> +</table> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/tablecaption.html b/test/testcases/tests/level1/html/files/tablecaption.html new file mode 100644 index 0000000..f9181c7 --- /dev/null +++ b/test/testcases/tests/level1/html/files/tablecaption.html @@ -0,0 +1,25 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - TABLECAPTION</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<TABLE SUMMARY="Table Summary"> +<CAPTION ALIGN="top">CAPTION 1</CAPTION> +<TR> +<TH>Employee Id</TH> +<TH>Employee Name</TH> +<TH>Position</TH> +<TH>Salary</TH> +</TR> +</TABLE> +</BODY> +</HTML> + + + + + + + diff --git a/test/testcases/tests/level1/html/files/tablecaption.xhtml b/test/testcases/tests/level1/html/files/tablecaption.xhtml new file mode 100644 index 0000000..67b72dc --- /dev/null +++ b/test/testcases/tests/level1/html/files/tablecaption.xhtml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - BR</title> +</head> +<body onload="parent.loadComplete()"> +<table summary="Table 1"> +<caption align="top">CAPTION 1</caption> +<tr> +<th>Employee Id</th> +<th>Employee Name</th> +<th>Position</th> +<th>Salary</th> +</tr> +</table> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/tablecaption.xml b/test/testcases/tests/level1/html/files/tablecaption.xml new file mode 100644 index 0000000..67b72dc --- /dev/null +++ b/test/testcases/tests/level1/html/files/tablecaption.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - BR</title> +</head> +<body onload="parent.loadComplete()"> +<table summary="Table 1"> +<caption align="top">CAPTION 1</caption> +<tr> +<th>Employee Id</th> +<th>Employee Name</th> +<th>Position</th> +<th>Salary</th> +</tr> +</table> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/tablecell.html b/test/testcases/tests/level1/html/files/tablecell.html new file mode 100644 index 0000000..c9adef2 --- /dev/null +++ b/test/testcases/tests/level1/html/files/tablecell.html @@ -0,0 +1,23 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - TABLECELL</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<TABLE SUMMARY="Table Summary"> +<TR> +<TH ID="header-1">Employee Id</TH> +<TH ID="header-2" ABBR="hd1" AXIS="center" ALIGN="center" BGCOLOR="#00FFFF" CHAR=":" CHAROFF="1" COLSPAN="1" HEIGHT="50" NOWRAP="nowrap" ROWSPAN="1" SCOPE="col" HEADERS="header-1" VALIGN="middle" WIDTH="170">Employee Name</TH> +<TH>Position</TH> +<TH>Salary</TH> +</TR> +<TR> +<TD ID="header-3">EMP0001</TD> +<TD ID="header-4" ABBR="hd2" AXIS="center" ALIGN="center" BGCOLOR="#FF0000" CHAR=":" CHAROFF="1" COLSPAN="1" HEIGHT="50" NOWRAP="nowrap" ROWSPAN="1" SCOPE="col" HEADERS="header-3" VALIGN="middle" WIDTH="175">Margaret Martin</TD> +<TD>Accountant</TD> +<TD>56,000</TD> +</TR> +</TABLE> +</BODY> +</HTML> diff --git a/test/testcases/tests/level1/html/files/tablecell.xhtml b/test/testcases/tests/level1/html/files/tablecell.xhtml new file mode 100644 index 0000000..0e8ee7f --- /dev/null +++ b/test/testcases/tests/level1/html/files/tablecell.xhtml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - TABLECELL</title> +</head> +<body onload="parent.loadComplete()"> +<table summary="Table 1"> +<tr> +<th id="header-1">Employee Id</th> +<th id="header-2" abbr="hd1" axis="center" align="center" bgcolor="#00FFFF" char=":" charoff="1" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-1" valign="middle" width="170">Employee Name</th> +<th>Position</th> +<th>Salary</th> +</tr> +<tr> +<td id="header-3">EMP0001</td> +<td id="header-4" abbr="hd2" axis="center" align="center" bgcolor="#FF0000" char=":" charoff="1" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-3" valign="middle" width="175">Margaret Martin</td> +<td>Accountant</td> +<td>56,000</td> +</tr> +</table> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/tablecell.xml b/test/testcases/tests/level1/html/files/tablecell.xml new file mode 100644 index 0000000..0e8ee7f --- /dev/null +++ b/test/testcases/tests/level1/html/files/tablecell.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - TABLECELL</title> +</head> +<body onload="parent.loadComplete()"> +<table summary="Table 1"> +<tr> +<th id="header-1">Employee Id</th> +<th id="header-2" abbr="hd1" axis="center" align="center" bgcolor="#00FFFF" char=":" charoff="1" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-1" valign="middle" width="170">Employee Name</th> +<th>Position</th> +<th>Salary</th> +</tr> +<tr> +<td id="header-3">EMP0001</td> +<td id="header-4" abbr="hd2" axis="center" align="center" bgcolor="#FF0000" char=":" charoff="1" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-3" valign="middle" width="175">Margaret Martin</td> +<td>Accountant</td> +<td>56,000</td> +</tr> +</table> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/tablecol.html b/test/testcases/tests/level1/html/files/tablecol.html new file mode 100644 index 0000000..c72a948 --- /dev/null +++ b/test/testcases/tests/level1/html/files/tablecol.html @@ -0,0 +1,35 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - TABLECOL</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<TABLE SUMMARY="Table Summary"> +<COLGROUP VALIGN="middle" SPAN="2" ALIGN="center" WIDTH="20" CHAR="$" CHAROFF="15"> +<COL VALIGN="middle" SPAN="1" ALIGN="center" WIDTH="20" CHAR="*" CHAROFF="20"> +</COLGROUP> +<TR> +<TH>Id</TH> +<TH>Name</TH> +<TH>Position</TH> +<TH>Salary</TH> +</TR> +<TR> +<TD>EMP0001</TD> +<TD>Martin</TD> +<TD>Accountant</TD> +<TD>56,000</TD> +</TR> +</TABLE> +</BODY> +</HTML> + + + + + + + + + diff --git a/test/testcases/tests/level1/html/files/tablecol.xhtml b/test/testcases/tests/level1/html/files/tablecol.xhtml new file mode 100644 index 0000000..a69c4fe --- /dev/null +++ b/test/testcases/tests/level1/html/files/tablecol.xhtml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - TABLECOL</title> +</head> +<body onload="parent.loadComplete()"> +<table summary="Table 1"> +<colgroup valign="middle" span="2" align="center" width="20" char="$" charoff="15"> +<col valign="middle" span="1" align="center" width="20" char="*" charoff="20"/> +</colgroup> +<tr> +<th>Id</th> +<th>Name</th> +<th>Position</th> +<th>Salary</th> +</tr> +<tr> +<td>EMP0001</td> +<td>Martin</td> +<td>Accountant</td> +<td>56,000</td> +</tr> +</table> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/tablecol.xml b/test/testcases/tests/level1/html/files/tablecol.xml new file mode 100644 index 0000000..a69c4fe --- /dev/null +++ b/test/testcases/tests/level1/html/files/tablecol.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - TABLECOL</title> +</head> +<body onload="parent.loadComplete()"> +<table summary="Table 1"> +<colgroup valign="middle" span="2" align="center" width="20" char="$" charoff="15"> +<col valign="middle" span="1" align="center" width="20" char="*" charoff="20"/> +</colgroup> +<tr> +<th>Id</th> +<th>Name</th> +<th>Position</th> +<th>Salary</th> +</tr> +<tr> +<td>EMP0001</td> +<td>Martin</td> +<td>Accountant</td> +<td>56,000</td> +</tr> +</table> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/tablerow.html b/test/testcases/tests/level1/html/files/tablerow.html new file mode 100644 index 0000000..9e76a4c --- /dev/null +++ b/test/testcases/tests/level1/html/files/tablerow.html @@ -0,0 +1,59 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - TABLEROW</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<TABLE ALIGN="center" SUMMARY="Table 1"> +<TR> +<TH>Id</TH> +<TH>Name</TH> +<TH>Position</TH> +<TH>Salary</TH> +</TR> +</TABLE> +<TABLE ID="table-1" ALIGN="center" BORDER="4" BGCOLOR="#ff0000" FRAME="border" CELLPADDING="2" CELLSPACING="2" SUMMARY="HTML Control Table" RULES="all" WIDTH="680"> +<CAPTION ALIGN="top">Table Caption</CAPTION> +<THEAD ALIGN="center" VALIGN="middle"> +<TR ALIGN="center" BGCOLOR="#00FFFF" VALIGN="middle" CHAR="*" CHAROFF="1"> +<TH ID="header-1">Employee Id</TH> +<TH ID="header-2" ABBR="maiden" AXIS="center" ALIGN="center" BGCOLOR="#00FFFF" COLSPAN="1" HEIGHT="50" NOWRAP="nowrap" ROWSPAN="1" SCOPE="col" HEADERS="header-1" VALIGN="middle" WIDTH="100">Employee Name</TH> +<TH>Position</TH> +<TH>Salary</TH> +<TH>Gender</TH> +<TH>Address</TH> +</TR> +</THEAD> +<TFOOT ALIGN="center" VALIGN="middle"> +<TR> +<TH>next page ...</TH> +<TH>next page ...</TH> +<TH>next page ...</TH> +<TH>next page ...</TH> +<TH>next page ...</TH> +<TH>next page ...</TH> +</TR> +</TFOOT> +<TBODY ALIGN="center" VALIGN="middle"> +<TR> +<TD AXIS="center" ID="Table-3" ABBR="maiden2" ALIGN="center" BGCOLOR="#FF0000" COLSPAN="1" HEIGHT="50" NOWRAP="nowrap" ROWSPAN="1" SCOPE="col" HEADERS="header-2" VALIGN="middle" WIDTH="175">EMP0001</TD> +<TD HEADERS="header-2">Margaret Martin</TD> +<TD>Accountant</TD> +<TD>56,000</TD> +<TD>Female</TD> +<TD>1230 North Ave. Dallas, Texas 98551</TD> +</TR> +<TR> +<TD>EMP0002</TD> +<TD>Martha Raynolds</TD> +<TD>Secretary</TD> +<TD>35,000</TD> +<TD>Female</TD> +<TD>1900 Dallas Road Dallas, Texas 98554</TD> +</TR> +</TBODY> +</TABLE> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/tablerow.xhtml b/test/testcases/tests/level1/html/files/tablerow.xhtml new file mode 100644 index 0000000..b901e3c --- /dev/null +++ b/test/testcases/tests/level1/html/files/tablerow.xhtml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - TABLE</title> +</head> +<body onload="parent.loadComplete()"> +<table align="center" summary="Table 1"> +<tr> +<th>Id</th> +<th>Name</th> +<th>Position</th> +<th>Salary</th> +</tr> +</table> +<table id="table-1" align="center" border="4" bgcolor="#ff0000" frame="border" cellpadding="2" cellspacing="2" summary="HTML Control Table" rules="all" width="680"> +<caption align="top">Table Caption</caption> +<thead align="center" valign="middle"> +<tr align="center" bgcolor="#00FFFF" valign="middle" char="*" charoff="1"> +<th id="header-1">Employee Id</th> +<th id="header-2" abbr="maiden" axis="center" align="center" bgcolor="#00FFFF" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-1" valign="middle" width="100">Employee Name</th> +<th>Position</th> +<th>Salary</th> +<th>Gender</th> +<th>Address</th> +</tr> +</thead> +<tfoot align="center" valign="middle"> +<tr> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +</tr> +</tfoot> +<tbody align="center" valign="middle"> +<tr> +<td axis="center" id="Table-3" abbr="maiden2" align="center" bgcolor="#FF0000" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-2" valign="middle" width="175">EMP0001</td> +<td headers="header-2">Margaret Martin</td> +<td>Accountant</td> +<td>56,000</td> +<td>Female</td> +<td>1230 North Ave. Dallas, Texas 98551</td> +</tr> +<tr> +<td>EMP0002</td> +<td>Martha Raynolds</td> +<td>Secretary</td> +<td>35,000</td> +<td>Female</td> +<td>1900 Dallas Road Dallas, Texas 98554</td> +</tr> +</tbody> +</table> +</body> +</html> + + diff --git a/test/testcases/tests/level1/html/files/tablerow.xml b/test/testcases/tests/level1/html/files/tablerow.xml new file mode 100644 index 0000000..b901e3c --- /dev/null +++ b/test/testcases/tests/level1/html/files/tablerow.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - TABLE</title> +</head> +<body onload="parent.loadComplete()"> +<table align="center" summary="Table 1"> +<tr> +<th>Id</th> +<th>Name</th> +<th>Position</th> +<th>Salary</th> +</tr> +</table> +<table id="table-1" align="center" border="4" bgcolor="#ff0000" frame="border" cellpadding="2" cellspacing="2" summary="HTML Control Table" rules="all" width="680"> +<caption align="top">Table Caption</caption> +<thead align="center" valign="middle"> +<tr align="center" bgcolor="#00FFFF" valign="middle" char="*" charoff="1"> +<th id="header-1">Employee Id</th> +<th id="header-2" abbr="maiden" axis="center" align="center" bgcolor="#00FFFF" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-1" valign="middle" width="100">Employee Name</th> +<th>Position</th> +<th>Salary</th> +<th>Gender</th> +<th>Address</th> +</tr> +</thead> +<tfoot align="center" valign="middle"> +<tr> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +</tr> +</tfoot> +<tbody align="center" valign="middle"> +<tr> +<td axis="center" id="Table-3" abbr="maiden2" align="center" bgcolor="#FF0000" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-2" valign="middle" width="175">EMP0001</td> +<td headers="header-2">Margaret Martin</td> +<td>Accountant</td> +<td>56,000</td> +<td>Female</td> +<td>1230 North Ave. Dallas, Texas 98551</td> +</tr> +<tr> +<td>EMP0002</td> +<td>Martha Raynolds</td> +<td>Secretary</td> +<td>35,000</td> +<td>Female</td> +<td>1900 Dallas Road Dallas, Texas 98554</td> +</tr> +</tbody> +</table> +</body> +</html> + + diff --git a/test/testcases/tests/level1/html/files/tablesection.html b/test/testcases/tests/level1/html/files/tablesection.html new file mode 100644 index 0000000..0c1a5f7 --- /dev/null +++ b/test/testcases/tests/level1/html/files/tablesection.html @@ -0,0 +1,62 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - TABLESECTION</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<TABLE ALIGN="center" SUMMARY="Table 1"> +<TBODY> +<TR> +<TH>Id</TH> +<TH>Name</TH> +<TH>Position</TH> +<TH>Salary</TH> +</TR> +</TBODY> +</TABLE> +<TABLE ID="table-1" ALIGN="center" BORDER="4" BGCOLOR="#ff0000" FRAME="border" CELLPADDING="2" CELLSPACING="2" SUMMARY="HTML Control Table" RULES="all" WIDTH="680"> +<CAPTION ALIGN="top">Table Caption</CAPTION> +<THEAD ALIGN="center" VALIGN="middle" CHAR="*" CHAROFF="1"> +<TR ALIGN="center" BGCOLOR="#00FFFF" VALIGN="middle" CHAR="*" CHAROFF="1"> +<TH ID="header-1">Employee Id</TH> +<TH ID="header-2" ABBR="maiden" AXIS="center" ALIGN="center" BGCOLOR="#00FFFF" COLSPAN="1" HEIGHT="50" NOWRAP="nowrap" ROWSPAN="1" SCOPE="col" HEADERS="header-1" VALIGN="middle" WIDTH="100">Employee Name</TH> +<TH>Position</TH> +<TH>Salary</TH> +<TH>Gender</TH> +<TH>Address</TH> +</TR> +</THEAD> +<TFOOT ALIGN="center" VALIGN="middle" CHAR="+" CHAROFF="2"> +<TR> +<TH>next page ...</TH> +<TH>next page ...</TH> +<TH>next page ...</TH> +<TH>next page ...</TH> +<TH>next page ...</TH> +<TH>next page ...</TH> +</TR> +</TFOOT> +<TBODY ALIGN="center" VALIGN="middle" CHAR="$" CHAROFF="3"> +<TR> +<TD AXIS="center" ID="Table-3" ABBR="maiden2" ALIGN="center" BGCOLOR="#FF0000" COLSPAN="1" HEIGHT="50" NOWRAP="nowrap" ROWSPAN="1" SCOPE="col" HEADERS="header-2" VALIGN="middle" WIDTH="175">EMP0001</TD> +<TD HEADERS="header-2">Margaret Martin</TD> +<TD>Accountant</TD> +<TD>56,000</TD> +<TD>Female</TD> +<TD>1230 North Ave. Dallas, Texas 98551</TD> +</TR> +<TR> +<TD>EMP0002</TD> +<TD>Martha Raynolds</TD> +<TD>Secretary</TD> +<TD>35,000</TD> +<TD>Female</TD> +<TD>1900 Dallas Road Dallas, Texas 98554</TD> +</TR> +</TBODY> +</TABLE> +</BODY> +</HTML> + + diff --git a/test/testcases/tests/level1/html/files/tablesection.xhtml b/test/testcases/tests/level1/html/files/tablesection.xhtml new file mode 100644 index 0000000..3498650 --- /dev/null +++ b/test/testcases/tests/level1/html/files/tablesection.xhtml @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - TABLESECTION</title> +</head> +<body onload="parent.loadComplete()"> +<table align="center" summary="Table 1"> +<tbody> +<tr> +<th>Id</th> +<th>Name</th> +<th>Position</th> +<th>Salary</th> +</tr> +</tbody> +</table> +<table id="table-1" align="center" border="4" bgcolor="#ff0000" frame="border" cellpadding="2" cellspacing="2" summary="HTML Control Table" rules="all" width="680"> +<caption align="top">Table Caption</caption> +<thead align="center" valign="middle" char="*" charoff="1"> +<tr align="center" bgcolor="#00FFFF" valign="middle" char="*" charoff="1"> +<th id="header-1">Employee Id</th> +<th id="header-2" abbr="maiden" axis="center" align="center" bgcolor="#00FFFF" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-1" valign="middle" width="100">Employee Name</th> +<th>Position</th> +<th>Salary</th> +<th>Gender</th> +<th>Address</th> +</tr> +</thead> +<tfoot align="center" valign="middle" char="+" charoff="2"> +<tr> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +</tr> +</tfoot> +<tbody align="center" valign="middle" char="$" charoff="3"> +<tr> +<td axis="center" id="Table-3" abbr="maiden2" align="center" bgcolor="#FF0000" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-2" valign="middle" width="175">EMP0001</td> +<td headers="header-2">Margaret Martin</td> +<td>Accountant</td> +<td>56,000</td> +<td>Female</td> +<td>1230 North Ave. Dallas, Texas 98551</td> +</tr> +<tr> +<td>EMP0002</td> +<td>Martha Raynolds</td> +<td>Secretary</td> +<td>35,000</td> +<td>Female</td> +<td>1900 Dallas Road Dallas, Texas 98554</td> +</tr> +</tbody> +</table> +</body> +</html> + + + diff --git a/test/testcases/tests/level1/html/files/tablesection.xml b/test/testcases/tests/level1/html/files/tablesection.xml new file mode 100644 index 0000000..3498650 --- /dev/null +++ b/test/testcases/tests/level1/html/files/tablesection.xml @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - TABLESECTION</title> +</head> +<body onload="parent.loadComplete()"> +<table align="center" summary="Table 1"> +<tbody> +<tr> +<th>Id</th> +<th>Name</th> +<th>Position</th> +<th>Salary</th> +</tr> +</tbody> +</table> +<table id="table-1" align="center" border="4" bgcolor="#ff0000" frame="border" cellpadding="2" cellspacing="2" summary="HTML Control Table" rules="all" width="680"> +<caption align="top">Table Caption</caption> +<thead align="center" valign="middle" char="*" charoff="1"> +<tr align="center" bgcolor="#00FFFF" valign="middle" char="*" charoff="1"> +<th id="header-1">Employee Id</th> +<th id="header-2" abbr="maiden" axis="center" align="center" bgcolor="#00FFFF" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-1" valign="middle" width="100">Employee Name</th> +<th>Position</th> +<th>Salary</th> +<th>Gender</th> +<th>Address</th> +</tr> +</thead> +<tfoot align="center" valign="middle" char="+" charoff="2"> +<tr> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +<th>next page ...</th> +</tr> +</tfoot> +<tbody align="center" valign="middle" char="$" charoff="3"> +<tr> +<td axis="center" id="Table-3" abbr="maiden2" align="center" bgcolor="#FF0000" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-2" valign="middle" width="175">EMP0001</td> +<td headers="header-2">Margaret Martin</td> +<td>Accountant</td> +<td>56,000</td> +<td>Female</td> +<td>1230 North Ave. Dallas, Texas 98551</td> +</tr> +<tr> +<td>EMP0002</td> +<td>Martha Raynolds</td> +<td>Secretary</td> +<td>35,000</td> +<td>Female</td> +<td>1900 Dallas Road Dallas, Texas 98554</td> +</tr> +</tbody> +</table> +</body> +</html> + + + diff --git a/test/testcases/tests/level1/html/files/textarea.html b/test/testcases/tests/level1/html/files/textarea.html new file mode 100644 index 0000000..b9aedc4 --- /dev/null +++ b/test/testcases/tests/level1/html/files/textarea.html @@ -0,0 +1,26 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - TEXTAREA</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<FORM ID="form1" ACCEPT-CHARSET="US-ASCII" ACTION="./files/getData.pl" METHOD="post"> +<P> +<TEXTAREA NAME="text1" COLS="20" ROWS="7" ACCESSKEY="c" TABINDEX="5">TEXTAREA1</TEXTAREA> +<INPUT TYPE="submit" NAME="submit1" VALUE="Submit1"/> +<INPUT TYPE="reset" NAME="reset1" VALUE="Reset1"/> +</P> +</FORM> +<P> +<TEXTAREA NAME="text2" COLS="50" ROWS="2" DISABLED="disabled">TEXTAREA2</TEXTAREA> +<INPUT TYPE="submit" NAME="submit2" VALUE="Submit2"/> +<INPUT TYPE="reset" NAME="reset2" VALUE="Reset2"/> +<TEXTAREA NAME="text2" COLS="50" ROWS="2" READONLY="readonly">TEXTAREA3</TEXTAREA> +<INPUT TYPE="submit" NAME="submit2" VALUE="Submit2"/> +<INPUT TYPE="reset" NAME="reset3" VALUE="Reset3"/> +</P> +</BODY> +</HTML> + + diff --git a/test/testcases/tests/level1/html/files/textarea.xhtml b/test/testcases/tests/level1/html/files/textarea.xhtml new file mode 100644 index 0000000..eb6ca48 --- /dev/null +++ b/test/testcases/tests/level1/html/files/textarea.xhtml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - TEXTAREA</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" action="./files/getData.pl" method="post"> +<p> +<textarea name="text1" cols="20" rows="7" accesskey="c" tabindex="5">TEXTAREA1</textarea> +<input type="submit" name="submit1" value="Submit1"/> +<input type="reset" name="reset1" value="Reset1"/> +</p> +</form> +<p> +<textarea name="text2" cols="50" rows="2" disabled="disabled">TEXTAREA2</textarea> +<input type="submit" name="submit2" value="Submit2"/> +<input type="reset" name="reset2" value="Reset2"/> +<textarea name="text2" cols="50" rows="2" readonly="readonly">TEXTAREA3</textarea> +<input type="submit" name="submit3" value="Submit3"/> +<input type="reset" name="reset3" value="Reset3"/> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/textarea.xml b/test/testcases/tests/level1/html/files/textarea.xml new file mode 100644 index 0000000..eb6ca48 --- /dev/null +++ b/test/testcases/tests/level1/html/files/textarea.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - TEXTAREA</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" action="./files/getData.pl" method="post"> +<p> +<textarea name="text1" cols="20" rows="7" accesskey="c" tabindex="5">TEXTAREA1</textarea> +<input type="submit" name="submit1" value="Submit1"/> +<input type="reset" name="reset1" value="Reset1"/> +</p> +</form> +<p> +<textarea name="text2" cols="50" rows="2" disabled="disabled">TEXTAREA2</textarea> +<input type="submit" name="submit2" value="Submit2"/> +<input type="reset" name="reset2" value="Reset2"/> +<textarea name="text2" cols="50" rows="2" readonly="readonly">TEXTAREA3</textarea> +<input type="submit" name="submit3" value="Submit3"/> +<input type="reset" name="reset3" value="Reset3"/> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/title.html b/test/testcases/tests/level1/html/files/title.html new file mode 100644 index 0000000..2078ee9 --- /dev/null +++ b/test/testcases/tests/level1/html/files/title.html @@ -0,0 +1,13 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - TITLE</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<P> +<BR/> +</P> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/title.xhtml b/test/testcases/tests/level1/html/files/title.xhtml new file mode 100644 index 0000000..e8ec6b5 --- /dev/null +++ b/test/testcases/tests/level1/html/files/title.xhtml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - TITLE</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<br/> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/title.xml b/test/testcases/tests/level1/html/files/title.xml new file mode 100644 index 0000000..e8ec6b5 --- /dev/null +++ b/test/testcases/tests/level1/html/files/title.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "xhtml1-strict.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - TITLE</title> +</head> +<body onload="parent.loadComplete()"> +<p> +<br/> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/ulist.html b/test/testcases/tests/level1/html/files/ulist.html new file mode 100644 index 0000000..75498e2 --- /dev/null +++ b/test/testcases/tests/level1/html/files/ulist.html @@ -0,0 +1,36 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - ULIST</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<OL> +<LI>EMP0001 +<UL COMPACT="compact" TYPE="disc"> +<LI>Margaret Martin +<DL> +<DD>Accountant</DD> +<DD>56,000</DD> +<DD>Female</DD> +<DD>1230 North Ave. Dallas, Texas 98551</DD> +</DL> +</LI> +</UL> +</LI> +<LI>EMP0002 +<UL> +<LI>Martha Raynolds +<DL> +<DD>Secretary</DD> +<DD>35,000</DD> +<DD>Female</DD> +<DD>1900 Dallas Road. Dallas, Texas 98554</DD> +</DL> +</LI> +</UL> +</LI> +</OL> +</BODY> +</HTML> + diff --git a/test/testcases/tests/level1/html/files/ulist.xhtml b/test/testcases/tests/level1/html/files/ulist.xhtml new file mode 100644 index 0000000..fd9d7a5 --- /dev/null +++ b/test/testcases/tests/level1/html/files/ulist.xhtml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - ULIST</title> +</head> +<body onload="parent.loadComplete()"> +<ol> +<li>EMP0001 +<ul compact="compact" type="disc"> +<li>Margaret Martin +<dl> +<dd>Accountant</dd> +<dd>56,000</dd> +<dd>Female</dd> +<dd>1230 North Ave. Dallas, Texas 98551</dd> +</dl> +</li> +</ul> +</li> +<li>EMP0002 +<ul> +<li>Martha Raynolds +<dl> +<dd>Secretary</dd> +<dd>35,000</dd> +<dd>Female</dd> +<dd>1900 Dallas Road. Dallas, Texas 98554</dd> +</dl> +</li> +</ul> +</li> +</ol> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/ulist.xml b/test/testcases/tests/level1/html/files/ulist.xml new file mode 100644 index 0000000..fd9d7a5 --- /dev/null +++ b/test/testcases/tests/level1/html/files/ulist.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - ULIST</title> +</head> +<body onload="parent.loadComplete()"> +<ol> +<li>EMP0001 +<ul compact="compact" type="disc"> +<li>Margaret Martin +<dl> +<dd>Accountant</dd> +<dd>56,000</dd> +<dd>Female</dd> +<dd>1230 North Ave. Dallas, Texas 98551</dd> +</dl> +</li> +</ul> +</li> +<li>EMP0002 +<ul> +<li>Martha Raynolds +<dl> +<dd>Secretary</dd> +<dd>35,000</dd> +<dd>Female</dd> +<dd>1900 Dallas Road. Dallas, Texas 98554</dd> +</dl> +</li> +</ul> +</li> +</ol> +</body> +</html> + diff --git a/test/testcases/tests/level1/html/files/w3c_main.png b/test/testcases/tests/level1/html/files/w3c_main.png Binary files differnew file mode 100644 index 0000000..ac0ecd3 --- /dev/null +++ b/test/testcases/tests/level1/html/files/w3c_main.png diff --git a/test/testcases/tests/level1/html/hasFeature01.xml b/test/testcases/tests/level1/html/hasFeature01.xml new file mode 100644 index 0000000..5ac8b93 --- /dev/null +++ b/test/testcases/tests/level1/html/hasFeature01.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +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="hasFeature01"> +<metadata> +<title>hasFeature01</title> +<creator>Curt Arnold</creator> +<description> +hasFeature("hTmL", null) should return true. +</description> +<date qualifier="created">2004-03-18</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-5CED94D7"/> +</metadata> +<var name="doc" type="Document"/> +<var name="domImpl" type="DOMImplementation"/> +<var name="version" type="DOMString" isNull="true"/> +<var name="state" type="boolean"/> +<implementation var="domImpl"/> +<hasFeature obj="domImpl" var="state" feature='"hTmL"' version="version"/> +<assertTrue actual="state" id="hasHTMLnull"/> +</test> diff --git a/test/testcases/tests/level1/html/index.htm b/test/testcases/tests/level1/html/index.htm new file mode 100644 index 0000000..9349596 --- /dev/null +++ b/test/testcases/tests/level1/html/index.htm @@ -0,0 +1,240 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html +xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; +charset=us-ascii" /> +<title>Document Object Model (DOM) Conformance Test + Suites, Level 1 HTML</title> +<link type="text/css" rel="stylesheet" href="resources/activity-home.css" /> +<script type="text/javascript" +src="resources/toc.js"> +</script> +</head> + + +<body onload="init()"> +<p class="navbar" align="right"><a href="http://www.w3.org/"><img +align="left" src="resources/w3c_home.png" border="0" +alt="W3C" /></a><a href="http://www.nist.gov/"><img +src="resources/nist_home.gif" alt="National Institute of +Standards and Technology" height="45" width="231" align="left" +border="0" /></a><small><a href="http://www.w3.org/DOM/">About +DOM</a> . +<a href="http://www.w3.org/DOM/Activity">DOM Activity statement</a><br /> +<a href="http://www.w3.org/DOM/DOMTR">Technical Reports</a> . <a +href="http://www.w3.org/DOM/DOMTM">Technical +Materials</a><br /> +<a href="http://www.w3.org/DOM/Test/">Test Suites</a> . <a +href="http://www.w3.org/DOM/Test/Documents/DOMTSFAQ">Test Suites FAQ</a> . +<a href="http://www.w3.org/DOM/Test/MailingList">Mailing +Lists</a><br /> +Members only resource: <a href="http://www.w3.org/DOM/Group/">DOM Working +Group</a></small></p> + +<h1>DOM Conformance Test Suite, Level 1 HTML</h1> + +<div id="thisdoc"> +<h2>This document</h2> +</div> + +<p> +This document describes how to run the DOM Level 1 HTML Test Suite. It also includes pointers to relevant software as well as relevant resources. +</p> +<p>The DOM TS has been developed in accordance with the <a +href="http://www.w3.org/DOM/DOMTS-Process">DOM Conformance Test Suites Process Document</a>. For +additional information and to download other DOM Test Suites, visit the <a +href="http://www.w3.org/DOM/Test">DOM Conformance Test Suites page</a>.</p> + +<div id="overview"> +<h2>Overview</h2> +</div> + +<p> +The DOM Conformance Test Suite consist of a series of tests that have been generated from XML test descriptions, then transformed into the two official DOM +bindings, Java and ECMA. In order to run the test suite, we have provided the possibility to run the +tests using the <a href="http://www.junit.org">JUnit</a> and <a href="http://www.jsunit.net">JsUnit</a> testing frameworks, both included in this +distribution. +</p> +<p>The DOM Level 1 HTML TS was released on February 13, 2002.</p> + +<div id="latestVersion"> +<h2>Latest Version</h2> +</div> +<p>Download the <a +href="http://www.w3.org/DOM/Test/Downloads/DOMTSL1HTML">latest version</a> +of the DOM Level 1 HTML Test Suite.</p> + +<div id="distribution"> +<h2>Distribution</h2> +</div> +<p>This distribution is organized as follows:</p> +<table width="100%" border="0"> +<tr> + <td width="20%">index.html</td><td>This file</td> +</tr> +<tr> + <td><a href="dom1-html-matrix.html">dom1-html-matrix.html</a></td> + <td>A cross reference of the tests to the DOM 1 HTML Recommendation, pointers to the tests and documentation.</td> +</tr> +<tr> + <td><a href="ecmascript/jsunit/testRunner.html">ecmascript/jsunit/testRunner.html</a></td> + <td>A modified <a href="http://www.jsunit.net">JSUnit</a> test runner. JSUnit is licensed under the <a href="ecmascript/jsunit/docs/gnugpl.html">GNU Public License</a></td> +</tr> +<tr> + <td>ecmascript/jsunit/app, ecmascript/jsunit/docs, ecmascript/jsunit/images, ecmascript/jsunit/tests</td> + <td>JSUnit support files</td> +</tr> +<tr> + <td>ecmascript/level1/html</td> + <td>DOM tests for use with JSUnit</td> +</tr> +<tr> + <td>java/dom1-html.jar</td> + <td>DOM tests for Java implementations, includes source code.</td> +</tr> +<tr> + <td>java/junit-run.jar</td> + <td>A test framework adapter that supports running dom1-html.jar with the JUnit 3.7 test framework.</td> +</tr> +<tr> + <td>java/junit.jar</td> + <td><a href="http://www.junit.org">JUnit 3.7</a>. JUnit 3.7 is licensed under the <a href="java/junit-license.html">IBM Public License</a>.</td> +</tr> +<tr> + <td>tests/*.xml</td> + <td>Test definitions in XML.</td> +</tr> +<tr> + <td><a href="tests/dom1.dtd">tests/dom1.dtd</a></td> + <td>Document Type Definition for DOM 1 HTML tests.</td> +</tr> +<tr> + <td><a href="tests/dom1.xsd">tests/dom1.xsd</a></td> + <td>XML Schema for DOM 1 HTML tests.</td> +</tr> +<tr> + <td>tests/files/</td> + <td>Test documents</td> +</tr> +<tr> + <td>doxygen/</td> + <td>Documentation generated by <a href="http://www.doxygen.org">doxygen</a> from the generated Java code. Useful in diagnosing test failures. + Click <a href="doxygen/html/hierarchy.html">here</a> for a class hierarchy.</td> +</tr> +</table> + +<div id="runningECMA"> +<h2>Running the ECMAScript tests</h2> +</div> +<p>The DOM TS currently tests XML and SVG implementations of DOM Level 1 HTML. Later revisions will provide testing of HTML implementation conformance with DOM Level +1.</p> +<p>To run the ECMAScript tests, open the <a +href="ecmascript/jsunit/testRunner.html">JsUnit test runner</a> in the browser +you want to test, press the browse button and look for the file +"ecmascript/level1/html/alltests.html". +After that, press Run to run all DOM 1 tests compatible +with the implementation. If you choose to run individual tests, the +above procedure works similarly, just browse for the test you want to +run in the "ecmascript/level1/html" directory.</p> +<p>These tests have been run with Microsoft +Internet Explorer 5.0 and later for Microsoft Windows and +Mozilla 0.9.8 and Netscape Navigator 6.2 and later for Microsoft Windows, Linux and Apple OS X. +Use on Apple OS X required replacing colon (:) in the test case name with slashes (/).</p> +<p>To test the DOM implementation of the <a href="http://www.adobe.com/svg">Adobe SVG Viewer</a>, select +"ecmascript/level1/html/svg-alltests.html" and press Run.</p> +<p>For JsUnit reference, please visit the <a href="http://www.jsunit.net">JsUnit +home page</a>. JsUnit will provide output with indication on how many tests that were run, how many failed and +how many errors were found while running. The error log points to the actual test, so identifying +what you need to do in your implementation is simplified.</p> + +<div id="runningJava"> +<h2>Running the Java tests</h2> +</div> +<p>Running the Java tests will require placing a JAXP 1.1 compatible parser on the classpath or +placing a common JAXP 1.1 parser (<a href="http://xml.apache.org/crimson/index.html">Apache Xerces</a>, <a href="http://xml.apache.org/crimson/index.html">Apache Crimson</a>, <a href="http://otn.oracle.com/software/tech/xml/xdk_java/content.html">Oracle XML Developer Kit</a>, or <a href="http://www.gnu.org/software/classpathx/jaxp/">GNUJAXP</a>) in the java/ directory.</p> +<p>Running "java -jar dom1-html.jar" from the java/ directory will write to the console a summary of the parser under +test and the results of the tests run in two distinct configurations. The parser under test can +be selected by any mechanism supported by JAXP 1.1.</p> + +<p>The Java tests may also be run using from JUnit TestRunner's. To run +all tests against the default JAXP parser in a default configuration from the JUnit text user interface, run " +java -classpath dom1-html.jar junit.textui.TestRunner org.w3c.domts.level1.html.TestDefaultParser". +The run the Swing or AWT user interfaces, replace "textui" with "swingui" or "awtui" and add "-noloading" before the +test case to not use JUnit's custom ClassLoader, for example, "java -classpath dom1-html.jar +junit.swingui.TestRunner -noloading org.w3c.domts.level1.html.TestDefaultParser"</p> + +<p>Running "java -jar junit-run.jar" will launch the JUnit SwingUI without the custom ClassLoader.</p> + +<p>The following TestSuite's are provided for use within JUnit TestRunner's. These provide +the only mechanism for testing implementations that do not support JAXP 1.1 such as Batik or +DOM4J.</p> +<table border="0" width="100%"> +<tr><td width="20%">org.w3c.domts.level1.html.TestBatik</td><td>Tests the <a href="http://xml.apache.org/batik">Apache Batik</a> SVG project (currently fails loading test documents).</td></tr> +<tr><td>org.w3c.domts.level1.html.TestCrimson</td><td>Tests the Apache Crimson Parser in the default configuration.</td></tr> +<tr><td>org.w3c.domts.level1.html.TestCrimsonAltConfig</td><td>Tests the Apache Crimson Parser in an alternative configuration.</td></tr> +<tr><td>org.w3c.domts.level1.html.TestDefaultParser</td><td>Tests the current JAXP 1.1 Parser in the default configuration.</td></tr> +<tr><td>org.w3c.domts.level1.html.TestDefaultParserAltConfig</td><td>Tests the current JAXP 1.1 Parser in an alternative configuration.</td></tr> +<tr><td>org.w3c.domts.level1.html.TestDOM4J</td><td>Tests <a href="http://www.dom4j.org">DOM4J</a>.</td></tr> +<tr><td>org.w3c.domts.level1.html.TestGNUJAXP</td><td>Tests the GNUJAXP Parser in the default configuration.</td></tr> +<tr><td>org.w3c.domts.level1.html.TestGNUJAXPAltConfig</td><td>Tests the GNUJAXP Parser in an alternative configuration.</td></tr> +<tr><td>org.w3c.domts.level1.html.TestOracle</td><td>Tests the Oracle XML Parser in the default configuration.</td></tr> +<tr><td>org.w3c.domts.level1.html.TestOracleAltConfig</td><td>Tests the Oracle XML Parser in an alternative configuration.</td></tr> +<tr><td>org.w3c.domts.level1.html.TestXerces</td><td>Tests the Apache Xerces Parser in the default configuration.</td></tr> +<tr><td>org.w3c.domts.level1.html.TestXercesAltConfig</td><td>Tests the Apache Xerces Parser in an alternative configuration.</td></tr> +</table> + + + +<div id="feedback"> +<h2>Feedback</h2> +</div> +<p>We look forward to your comments. The DOM TS Group communicates primarily through the <a href="mailto:www-dom-ts@w3.org">DOM TS mailing list</a> (<a +href="http://lists.w3.org/Archives/Public/www-dom-ts/">archive</a>).</p> + + +<div id="copyright"> +<h2>Copyright</h2> +</div> +<p>Tests in this table are released under the <a +href="http://www.w3.org/Consortium/Legal/copyright-software-19980720.html">W3C +Software Copyright Notice and license</a>:<br /><a +href="resources/COPYRIGHT.html">Copyright</a> (c) +2002 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.<br />See W3C License <a href="http://www.w3.org/Consortium/Legal/">http://www.w3.org/Consortium/Legal/</a> for more +details.</p> + + + +<div id="Acknowledgments"> +<h2>Acknowledgments</h2> +</div> + +<p>The DOM TS was jointly launched by the <a href="www.w3.org">W3C</a> and <a +href="www.nist.org">NIST</a>. It is, however, a publically developed and open +framework. Reaching the point of being able to finalize and release the DOM +TS would not have been possible were it not for the contribution from several +people in the developer community, especially <a +href="mailto:Curt.Arnold@hyprotech.com">Curt Arnold</a> and <a +href="mailto:fdrake@acm.org">Fred Drake</a>.</p> +<hr /> +<address> +<small><a href="mailto:mary.brady@nist.gov">Mary Brady</a>, <a +href="http://www.nist.gov">NIST</a> representative<br /> +<a href="mailto:dimitris@ontologicon.com">Dimitris Dimitriadis</a>, DOM TS + Representative for the <a href="Group/">W3C DOM Working Group</a> <br /> +<a href="/People/LeHegaret/">Philippe Le Hégaret</a>, DOM + Activity Lead<br /> +</small> +</address> +</body> +</html> + + diff --git a/test/testcases/tests/level1/html/metadata.xml b/test/testcases/tests/level1/html/metadata.xml new file mode 100644 index 0000000..6826b5c --- /dev/null +++ b/test/testcases/tests/level1/html/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Copyright (c) 2001 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. +See W3C License http://www.w3.org/Consortium/Legal/ for more details. +--><!DOCTYPE metadata SYSTEM "dom1.dtd"> + +<metadata xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"> +</metadata> diff --git a/test/testcases/tests/level1/html/object01.xml b/test/testcases/tests/level1/html/object01.xml new file mode 100644 index 0000000..52e053c --- /dev/null +++ b/test/testcases/tests/level1/html/object01.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="object01"> +<metadata> +<title>object01</title> +<creator>Netscape</creator> +<description> +Returns the FORM element containing this control. Returns null if this control is not within the context of a form. +The value of attribute form of the object element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-46094773"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vform" type="HTMLFormElement" /> +<var name="doc" type="Node"/> +<load var="doc" href="object" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<form interface="HTMLObjectElement" obj="testNode" var="vform"/> +<assertNull actual="vform" id="formLink"/> +</test> diff --git a/test/testcases/tests/level1/html/object02.xml b/test/testcases/tests/level1/html/object02.xml new file mode 100644 index 0000000..fc3c215 --- /dev/null +++ b/test/testcases/tests/level1/html/object02.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="object02"> +<metadata> +<title>object02</title> +<creator>Netscape</creator> +<description> +Aligns this object (vertically or horizontally) with respect to its surrounding text. +The value of attribute align of the object element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-16962097"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="valign" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="object" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<align interface="HTMLObjectElement" obj="testNode" var="valign"/> +<assertEquals actual="valign" expected='"middle"' id="alignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/object03.xml b/test/testcases/tests/level1/html/object03.xml new file mode 100644 index 0000000..e2591ad --- /dev/null +++ b/test/testcases/tests/level1/html/object03.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="object03"> +<metadata> +<title>object03</title> +<creator>Netscape</creator> +<description> +Space-separated list of archives +The value of attribute archive of the object element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-47783837"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="varchive" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="object" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<archive interface="HTMLObjectElement" obj="testNode" var="varchive"/> +<assertEquals actual="varchive" expected='""' id="archiveLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/object04.xml b/test/testcases/tests/level1/html/object04.xml new file mode 100644 index 0000000..33a99a5 --- /dev/null +++ b/test/testcases/tests/level1/html/object04.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="object04"> +<metadata> +<title>object04</title> +<creator>Netscape</creator> +<description> +Width of border around the object. +The value of attribute border of the object element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-82818419"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vborder" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="object" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<border interface="HTMLObjectElement" obj="testNode" var="vborder"/> +<assertEquals actual="vborder" expected='"0"' id="borderLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/object05.xml b/test/testcases/tests/level1/html/object05.xml new file mode 100644 index 0000000..93e2967 --- /dev/null +++ b/test/testcases/tests/level1/html/object05.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="object05"> +<metadata> +<title>object05</title> +<creator>Netscape</creator> +<description> +Base URI for classid, data, and archive attributes. +The value of attribute codebase of the object element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-25709136"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vcodebase" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="object" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<codeBase interface="HTMLObjectElement" obj="testNode" var="vcodebase"/> +<assertEquals actual="vcodebase" expected='"http://xw2k.sdct.itl.nist.gov/brady/dom/"' id="codebaseLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/object06.xml b/test/testcases/tests/level1/html/object06.xml new file mode 100644 index 0000000..6f9e613 --- /dev/null +++ b/test/testcases/tests/level1/html/object06.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="object06"> +<metadata> +<title>object06</title> +<creator>Netscape</creator> +<description> +A URI specifying the location of the object's data. +The value of attribute data of the object element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-81766986"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vdata" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="object" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<data interface="HTMLObjectElement" obj="testNode" var="vdata"/> +<assertEquals actual="vdata" expected='"./pix/logo.gif"' id="dataLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/object07.xml b/test/testcases/tests/level1/html/object07.xml new file mode 100644 index 0000000..aff1fcc --- /dev/null +++ b/test/testcases/tests/level1/html/object07.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="object07"> +<metadata> +<title>object07</title> +<creator>Netscape</creator> +<description> +The value of attribute height of the object element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-88925838"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vheight" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="object" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<height interface="HTMLObjectElement" obj="testNode" var="vheight"/> +<assertEquals actual="vheight" expected='"60"' id="heightLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/object08.xml b/test/testcases/tests/level1/html/object08.xml new file mode 100644 index 0000000..f9f9055 --- /dev/null +++ b/test/testcases/tests/level1/html/object08.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="object08"> +<metadata> +<title>object08</title> +<creator>Netscape</creator> +<description> +Horizontal space to the left and right of this image, applet, or object. +The value of attribute hspace of the object element is read and checked against the expected value. + + This test is incompatible with L2 HTML implementations due to a change in the type of the attribute. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-17085376"/> +<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="object" 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='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<hspace interface="HTMLObjectElement" obj="testNode" var="vhspace"/> +<assertEquals actual="vhspace" expected='"0"' id="hspaceLink" ignoreCase="false"/> +</if> +</test> diff --git a/test/testcases/tests/level1/html/object09.xml b/test/testcases/tests/level1/html/object09.xml new file mode 100644 index 0000000..4b9d336 --- /dev/null +++ b/test/testcases/tests/level1/html/object09.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="object09"> +<metadata> +<title>object09</title> +<creator>Netscape</creator> +<description> +Message to render while loading the object. +The value of attribute standby of the object element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-25039673"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vstandby" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="object" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<standby interface="HTMLObjectElement" obj="testNode" var="vstandby"/> +<assertEquals actual="vstandby" expected='"Loading Image ..."' id="standbyLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/object10.xml b/test/testcases/tests/level1/html/object10.xml new file mode 100644 index 0000000..7dd5741 --- /dev/null +++ b/test/testcases/tests/level1/html/object10.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="object10"> +<metadata> +<title>object10</title> +<creator>Netscape</creator> +<description> +Index that represents the element's position in the tabbing order. +The value of attribute tabIndex of the object element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-27083787"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vtabindex" type="int" /> +<var name="doc" type="Node"/> +<load var="doc" href="object" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<tabIndex interface="HTMLObjectElement" obj="testNode" var="vtabindex"/> +<assertEquals actual="vtabindex" expected="0" id="tabIndexLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/object11.xml b/test/testcases/tests/level1/html/object11.xml new file mode 100644 index 0000000..332ca50 --- /dev/null +++ b/test/testcases/tests/level1/html/object11.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="object11"> +<metadata> +<title>object11</title> +<creator>Netscape</creator> +<description> +Content type for data downloaded via data attribute. +The value of attribute type of the object element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-91665621"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vtype" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="object" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<type interface="HTMLObjectElement" obj="testNode" var="vtype"/> +<assertEquals actual="vtype" expected='"image/gif"' id="typeLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/object12.xml b/test/testcases/tests/level1/html/object12.xml new file mode 100644 index 0000000..4af4455 --- /dev/null +++ b/test/testcases/tests/level1/html/object12.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="object12"> +<metadata> +<title>object12</title> +<creator>Netscape</creator> +<description> +The value of attribute usemap of the object element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-6649772"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vusemap" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="object" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<useMap interface="HTMLObjectElement" obj="testNode" var="vusemap"/> +<assertEquals actual="vusemap" expected='"#DivLogo-map"' id="useMapLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/object13.xml b/test/testcases/tests/level1/html/object13.xml new file mode 100644 index 0000000..7782e4e --- /dev/null +++ b/test/testcases/tests/level1/html/object13.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="object13"> +<metadata> +<title>object13</title> +<creator>Netscape</creator> +<description> +Vertical space above and below this image, applet, or object. +The value of attribute vspace of the object element is read and checked against the expected value. + + This test is incompatible with L2 HTML implementations due to a change in the type of the attribute. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-8682483"/> +<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="object" 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='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<vspace interface="HTMLObjectElement" obj="testNode" var="vvspace"/> +<assertEquals actual="vvspace" expected='"0"' id="vspaceLink" ignoreCase="false"/> +</if> +</test> diff --git a/test/testcases/tests/level1/html/object14.xml b/test/testcases/tests/level1/html/object14.xml new file mode 100644 index 0000000..0a8fce5 --- /dev/null +++ b/test/testcases/tests/level1/html/object14.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="object14"> +<metadata> +<title>object14</title> +<creator>Netscape</creator> +<description> +The value of attribute width of the object element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-38538620"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vwidth" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="object" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<width interface="HTMLObjectElement" obj="testNode" var="vwidth"/> +<assertEquals actual="vwidth" expected='"550"' id="widthLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/object15.xml b/test/testcases/tests/level1/html/object15.xml new file mode 100644 index 0000000..37182c0 --- /dev/null +++ b/test/testcases/tests/level1/html/object15.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="object15"> +<metadata> +<title>object15</title> +<creator>Netscape</creator> +<description> +Content type for data downloaded via classid attribute. +The value of attribute codetype of the object element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-19945008"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vcodetype" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="object" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"object"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<codeType interface="HTMLObjectElement" obj="testNode" var="vcodetype"/> +<assertEquals actual="vcodetype" expected='"image/gif"' id="codeTypeLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table01.xml b/test/testcases/tests/level1/html/table01.xml new file mode 100644 index 0000000..4cee6f7 --- /dev/null +++ b/test/testcases/tests/level1/html/table01.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table01"> +<metadata> +<title>table01</title> +<creator>Netscape</creator> +<description> +Returns the table's CAPTION, or void if none exists. +The value of attribute caption of the table element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-14594520"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vcaption" type="Node"/> +<var name="doc" type="Node"/> +<load var="doc" href="table1" 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"/> +<caption interface="HTMLTableElement" obj="testNode" var="vcaption"/> +<assertNull actual="vcaption" id="captionLink"/> +</test> diff --git a/test/testcases/tests/level1/html/table02.xml b/test/testcases/tests/level1/html/table02.xml new file mode 100644 index 0000000..2433751 --- /dev/null +++ b/test/testcases/tests/level1/html/table02.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table02"> +<metadata> +<title>table02</title> +<creator>Netscape</creator> +<description> +Caption alignment with respect to the table. +The value of attribute align of the tablecaption element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-14594520"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vcaption" type="HTMLTableCaptionElement" /> +<var name="valign" type="DOMString"/> +<var name="doc" type="Node"/> +<load var="doc" href="tablesection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<caption interface="HTMLTableElement" obj="testNode" var="vcaption"/> +<align interface="HTMLTableCaptionElement" obj="vcaption" var="valign"/> +<assertEquals actual="valign" expected='"top"' id="alignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table03.xml b/test/testcases/tests/level1/html/table03.xml new file mode 100644 index 0000000..b8c3ef6 --- /dev/null +++ b/test/testcases/tests/level1/html/table03.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table03"> +<metadata> +<title>table03</title> +<creator>Netscape</creator> +<description> +Alignment character for cells in a column. +The value of attribute ch of the tablesection element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-9530944"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection" type="HTMLTableSectionElement" /> +<var name="vch" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablesection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<tHead interface="HTMLTableElement" obj="testNode" var="vsection"/> +<ch interface="HTMLTableSectionElement" obj="vsection" var="vch"/> +<assertEquals actual="vch" expected='"*"' id="chLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table04.xml b/test/testcases/tests/level1/html/table04.xml new file mode 100644 index 0000000..2d4fcf8 --- /dev/null +++ b/test/testcases/tests/level1/html/table04.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table04"> +<metadata> +<title>table04</title> +<creator>Netscape</creator> +<description> +Horizontal alignment of data in cells. +The value of attribute align of the tablesection element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-9530944"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection" type="HTMLTableSectionElement" /> +<var name="valign" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablesection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<tHead interface="HTMLTableElement" obj="testNode" var="vsection"/> +<align interface="HTMLTableSectionElement" obj="vsection" var="valign"/> +<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table06.xml b/test/testcases/tests/level1/html/table06.xml new file mode 100644 index 0000000..3d461f6 --- /dev/null +++ b/test/testcases/tests/level1/html/table06.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table06"> +<metadata> +<title>table06</title> +<creator>Netscape</creator> +<description> +Vertical alignment of data in cells. +The value of attribute valign of the tablesection element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-64197097"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection" type="HTMLTableSectionElement" /> +<var name="vvAlign" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablesection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<tFoot interface="HTMLTableElement" obj="testNode" var="vsection"/> +<vAlign interface="HTMLTableSectionElement" obj="vsection" var="vvAlign"/> +<assertEquals actual="vvAlign" expected='"middle"' id="vAlignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table07.xml b/test/testcases/tests/level1/html/table07.xml new file mode 100644 index 0000000..4a04d77 --- /dev/null +++ b/test/testcases/tests/level1/html/table07.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table07"> +<metadata> +<title>table07</title> +<creator>Netscape</creator> +<description> +The collection of rows in this table section. +The value of attribute rows of the tablesection element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-64197097"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection" type="HTMLTableSectionElement" /> +<var name="vcollection" type="HTMLCollection" /> +<var name="vrows" type="int" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablesection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<tFoot interface="HTMLTableElement" obj="testNode" var="vsection"/> +<rows interface="HTMLTableSectionElement" obj="vsection" var="vcollection"/> +<length interface="HTMLCollection" obj="vcollection" var="vrows" /> +<assertEquals actual="vrows" expected="1" id="vrowsLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table08.xml b/test/testcases/tests/level1/html/table08.xml new file mode 100644 index 0000000..ea77b80 --- /dev/null +++ b/test/testcases/tests/level1/html/table08.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table08"> +<metadata> +<title>table08</title> +<creator>Netscape</creator> +<description> +Horizontal alignment of data in cells. +The value of attribute align of the tablesection element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-64197097"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection" type="HTMLTableSectionElement" /> +<var name="valign" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablesection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<tFoot interface="HTMLTableElement" obj="testNode" var="vsection"/> +<align interface="HTMLTableSectionElement" obj="vsection" var="valign"/> +<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table09.xml b/test/testcases/tests/level1/html/table09.xml new file mode 100644 index 0000000..fcb9018 --- /dev/null +++ b/test/testcases/tests/level1/html/table09.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table09"> +<metadata> +<title>table09</title> +<creator>Netscape</creator> +<description> +Vertical alignment of data in cells. +The value of attribute valign of the table element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-9530944"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection" type="HTMLTableSectionElement" /> +<var name="vvalign" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablesection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<tHead interface="HTMLTableElement" obj="testNode" var="vsection"/> +<vAlign interface="HTMLTableSectionElement" obj="vsection" var="vvalign"/> +<assertEquals actual="vvalign" expected='"middle"' id="alignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table10.xml b/test/testcases/tests/level1/html/table10.xml new file mode 100644 index 0000000..aa05594 --- /dev/null +++ b/test/testcases/tests/level1/html/table10.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table10"> +<metadata> +<title>table10</title> +<creator>Netscape</creator> +<description> +Alignment character for cells in a column. +The value of attribute ch of the tablesection element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-64197097"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection" type="HTMLTableSectionElement" /> +<var name="vch" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablesection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<tFoot interface="HTMLTableElement" obj="testNode" var="vsection"/> +<ch interface="HTMLTableSectionElement" obj="vsection" var="vch"/> +<assertEquals actual="vch" expected='"+"' id="chLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table12.xml b/test/testcases/tests/level1/html/table12.xml new file mode 100644 index 0000000..93e475b --- /dev/null +++ b/test/testcases/tests/level1/html/table12.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table12"> +<metadata> +<title>table12</title> +<creator>Netscape</creator> +<description> +Offset of alignment character. +The value of attribute choff of the tablesection element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-64197097"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection" type="HTMLTableSectionElement" /> +<var name="vchoff" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablesection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<tHead interface="HTMLTableElement" obj="testNode" var="vsection"/> +<chOff interface="HTMLTableSectionElement" obj="vsection" var="vchoff"/> +<assertEquals actual="vchoff" expected='"1"' id="choffLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table15.xml b/test/testcases/tests/level1/html/table15.xml new file mode 100644 index 0000000..89455c3 --- /dev/null +++ b/test/testcases/tests/level1/html/table15.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table15"> +<metadata> +<title>table15</title> +<creator>Netscape</creator> +<description> +The collection of rows in this table section. +The value of attribute rows of the tablesection element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-64197097"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection" type="HTMLTableSectionElement" /> +<var name="vcollection" type="HTMLCollection" /> +<var name="vrows" type="int" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablesection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<tHead interface="HTMLTableElement" obj="testNode" var="vsection"/> +<rows interface="HTMLTableSectionElement" obj="vsection" var="vcollection"/> +<length interface="HTMLCollection" obj="vcollection" var="vrows" /> +<assertEquals actual="vrows" expected="1" id="vrowsLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table17.xml b/test/testcases/tests/level1/html/table17.xml new file mode 100644 index 0000000..7223562 --- /dev/null +++ b/test/testcases/tests/level1/html/table17.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table17"> +<metadata> +<title>table17</title> +<creator>Netscape</creator> +<description> +Offset of alignment character. +The value of attribute chOff of the tablesection element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-64197097"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsection" type="HTMLTableSectionElement" /> +<var name="vchoff" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablesection" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="2" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<tFoot interface="HTMLTableElement" obj="testNode" var="vsection"/> +<chOff interface="HTMLTableSectionElement" obj="vsection" var="vchoff"/> +<assertEquals actual="vchoff" expected='"2"' id="choffLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table18.xml b/test/testcases/tests/level1/html/table18.xml new file mode 100644 index 0000000..db8c161 --- /dev/null +++ b/test/testcases/tests/level1/html/table18.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table18"> +<metadata> +<title>table18</title> +<creator>Netscape</creator> +<description> +The index of this cell in the row. +The value of attribute cellIndex of the tablecell element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-80748363"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vcindex" type="int" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<cellIndex interface="HTMLTableCellElement" obj="testNode" var="vcindex"/> +<assertEquals actual="vcindex" expected="1" id="cellIndexLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table19.xml b/test/testcases/tests/level1/html/table19.xml new file mode 100644 index 0000000..e88be88 --- /dev/null +++ b/test/testcases/tests/level1/html/table19.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table19"> +<metadata> +<title>table19</title> +<creator>Netscape</creator> +<description> +Abbreviation for header cells. +The index of this cell in the row. +The value of attribute abbr of the tablecell element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-74444037"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vabbr" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<abbr interface="HTMLTableCellElement" obj="testNode" var="vabbr"/> +<assertEquals actual="vabbr" expected='"hd2"' id="abbrLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table20.xml b/test/testcases/tests/level1/html/table20.xml new file mode 100644 index 0000000..2205987 --- /dev/null +++ b/test/testcases/tests/level1/html/table20.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table20"> +<metadata> +<title>table20</title> +<creator>Netscape</creator> +<description> +Names group of related headers. +The value of attribute axis of the tablecell element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-76554418"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vaxis" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<axis interface="HTMLTableCellElement" obj="testNode" var="vaxis"/> +<assertEquals actual="vaxis" expected='"center"' id="axisLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table21.xml b/test/testcases/tests/level1/html/table21.xml new file mode 100644 index 0000000..fa22103 --- /dev/null +++ b/test/testcases/tests/level1/html/table21.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table21"> +<metadata> +<title>table21</title> +<creator>Netscape</creator> +<description> +Horizontal alignment of data in cell. +The value of attribute align of the tablecell element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-98433879"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="valign" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<align interface="HTMLTableCellElement" obj="testNode" var="valign"/> +<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table22.xml b/test/testcases/tests/level1/html/table22.xml new file mode 100644 index 0000000..7c097b4 --- /dev/null +++ b/test/testcases/tests/level1/html/table22.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table22"> +<metadata> +<title>table22</title> +<creator>Netscape</creator> +<description> +Cell background color. +The value of attribute bgColor of the tablecell element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-88135431"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vbgcolor" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<bgColor interface="HTMLTableCellElement" obj="testNode" var="vbgcolor"/> +<assertEquals actual="vbgcolor" expected='"#FF0000"' id="bgcolorLink" ignoreCase="true"/> +</test> diff --git a/test/testcases/tests/level1/html/table23.xml b/test/testcases/tests/level1/html/table23.xml new file mode 100644 index 0000000..4ea8ace --- /dev/null +++ b/test/testcases/tests/level1/html/table23.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table23"> +<metadata> +<title>table23</title> +<creator>Netscape</creator> +<description> +Alignment character for cells in a column. +The value of attribute char of the tablecell element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-30914780"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vch" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<ch interface="HTMLTableCellElement" obj="testNode" var="vch"/> +<assertEquals actual="vch" expected='":"' id="chLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table24.xml b/test/testcases/tests/level1/html/table24.xml new file mode 100644 index 0000000..7606917 --- /dev/null +++ b/test/testcases/tests/level1/html/table24.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table24"> +<metadata> +<title>table24</title> +<creator>Netscape</creator> +<description> +offset of alignment character. +The value of attribute chOff of the tablecell element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-20144310"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vchoff" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<chOff interface="HTMLTableCellElement" obj="testNode" var="vchoff"/> +<assertEquals actual="vchoff" expected='"1"' id="chOffLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table25.xml b/test/testcases/tests/level1/html/table25.xml new file mode 100644 index 0000000..b8e10dd --- /dev/null +++ b/test/testcases/tests/level1/html/table25.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table25"> +<metadata> +<title>table25</title> +<creator>Netscape</creator> +<description> +Number of columns spanned by cell. +The value of attribute colspan of the tablecell element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-84645244"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vcolspan" type="int" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<colSpan interface="HTMLTableCellElement" obj="testNode" var="vcolspan"/> +<assertEquals actual="vcolspan" expected="1" id="colSpanLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table26.xml b/test/testcases/tests/level1/html/table26.xml new file mode 100644 index 0000000..9f09d4f --- /dev/null +++ b/test/testcases/tests/level1/html/table26.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table26"> +<metadata> +<title>table26</title> +<creator>Netscape</creator> +<description> +The value of attribute height of the tablecell element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-83679212"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vheight" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<height interface="HTMLTableCellElement" obj="testNode" var="vheight"/> +<assertEquals actual="vheight" expected='"50"' id="heightLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table27.xml b/test/testcases/tests/level1/html/table27.xml new file mode 100644 index 0000000..e0dc78d --- /dev/null +++ b/test/testcases/tests/level1/html/table27.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table27"> +<metadata> +<title>table27</title> +<creator>Netscape</creator> +<description> +Suppress word wrapping. +The value of attribute nowrap of the tablecell element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-62922045"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vnowrap" type="boolean" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<noWrap interface="HTMLTableCellElement" obj="testNode" var="vnowrap"/> +<assertTrue actual="vnowrap" id="nowrapLink"/> +</test> diff --git a/test/testcases/tests/level1/html/table28.xml b/test/testcases/tests/level1/html/table28.xml new file mode 100644 index 0000000..d445a1c --- /dev/null +++ b/test/testcases/tests/level1/html/table28.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table28"> +<metadata> +<title>table28</title> +<creator>Netscape</creator> +<description> +Number of rows spanned by cell. +The value of attribute rowspan of the tablecell element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-48237625"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vrowspan" type="int" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<rowSpan interface="HTMLTableCellElement" obj="testNode" var="vrowspan"/> +<assertEquals actual="vrowspan" expected="1" id="rowSpanLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table29.xml b/test/testcases/tests/level1/html/table29.xml new file mode 100644 index 0000000..ae483d4 --- /dev/null +++ b/test/testcases/tests/level1/html/table29.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table29"> +<metadata> +<title>table29</title> +<creator>Netscape</creator> +<description> +Scope covered by header cells. +The value of attribute scope of the tablecell element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-36139952"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vscope" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<scope interface="HTMLTableCellElement" obj="testNode" var="vscope"/> +<assertEquals actual="vscope" expected='"col"' id="scopeLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table30.xml b/test/testcases/tests/level1/html/table30.xml new file mode 100644 index 0000000..837be29 --- /dev/null +++ b/test/testcases/tests/level1/html/table30.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table30"> +<metadata> +<title>table30</title> +<creator>Netscape</creator> +<description> +List of id attribute values for header cells. +The value of attribute headers of the tablecell element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-89104817"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vheaders" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<headers interface="HTMLTableCellElement" obj="testNode" var="vheaders"/> +<assertEquals actual="vheaders" expected='"header-3"' id="headersLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table31.xml b/test/testcases/tests/level1/html/table31.xml new file mode 100644 index 0000000..f5c3fa6 --- /dev/null +++ b/test/testcases/tests/level1/html/table31.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table31"> +<metadata> +<title>table31</title> +<creator>Netscape</creator> +<description> +Vertical alignment of data in cell. +The value of attribute valign of the tablecell element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-58284221"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vvalign" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<vAlign interface="HTMLTableCellElement" obj="testNode" var="vvalign"/> +<assertEquals actual="vvalign" expected='"middle"' id="vAlignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table32.xml b/test/testcases/tests/level1/html/table32.xml new file mode 100644 index 0000000..cf7e0cd --- /dev/null +++ b/test/testcases/tests/level1/html/table32.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table32"> +<metadata> +<title>table32</title> +<creator>Netscape</creator> +<description> +cell width. +The value of attribute width of the table element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-27480795"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vwidth" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecell" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/> +<assertSize collection="nodeList" size="4" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<width interface="HTMLTableCellElement" obj="testNode" var="vwidth"/> +<assertEquals actual="vwidth" expected='"175"' id="vwidthLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table33.xml b/test/testcases/tests/level1/html/table33.xml new file mode 100644 index 0000000..5c0e447 --- /dev/null +++ b/test/testcases/tests/level1/html/table33.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table33"> +<metadata> +<title>table33</title> +<creator>Netscape</creator> +<description> +Specifies the table's position with respect to the rest of the document. +The value of attribute align of the table element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-23180977"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="valign" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="table" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<align interface="HTMLTableElement" obj="testNode" var="valign"/> +<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table34.xml b/test/testcases/tests/level1/html/table34.xml new file mode 100644 index 0000000..07443ef --- /dev/null +++ b/test/testcases/tests/level1/html/table34.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table34"> +<metadata> +<title>table34</title> +<creator>Netscape</creator> +<description> +The width of the border around the table. +The value of attribute border of the table element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-50969400"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vborder" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="table" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<border interface="HTMLTableElement" obj="testNode" var="vborder"/> +<assertEquals actual="vborder" expected='"4"' id="borderLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table35.xml b/test/testcases/tests/level1/html/table35.xml new file mode 100644 index 0000000..32cce60 --- /dev/null +++ b/test/testcases/tests/level1/html/table35.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table35"> +<metadata> +<title>table35</title> +<creator>Netscape</creator> +<description> +Cell background color. +The value of attribute bgcolor of the table element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-83532985"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vbgcolor" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="table" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<bgColor interface="HTMLTableElement" obj="testNode" var="vbgcolor"/> +<assertEquals actual="vbgcolor" expected='"#ff0000"' id="bgcolorLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table36.xml b/test/testcases/tests/level1/html/table36.xml new file mode 100644 index 0000000..2bdded8 --- /dev/null +++ b/test/testcases/tests/level1/html/table36.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table36"> +<metadata> +<title>table36</title> +<creator>Netscape</creator> +<description> +Specifies which external table borders to render. +The value of attribute frame of the table element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-64808476"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vframe" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="table" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<frame interface="HTMLTableElement" obj="testNode" var="vframe"/> +<assertEquals actual="vframe" expected='"border"' id="frameLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table37.xml b/test/testcases/tests/level1/html/table37.xml new file mode 100644 index 0000000..cdf5b73 --- /dev/null +++ b/test/testcases/tests/level1/html/table37.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table37"> +<metadata> +<title>table37</title> +<creator>Netscape</creator> +<description> +Specifies the horizontal and vertical space between cell content and cell borders. The value of attribute cellpadding of the table element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-59162158"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vcellpadding" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="table" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<cellPadding interface="HTMLTableElement" obj="testNode" var="vcellpadding"/> +<assertEquals actual="vcellpadding" expected='"2"' id="cellpaddingLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table38.xml b/test/testcases/tests/level1/html/table38.xml new file mode 100644 index 0000000..fad8dfe --- /dev/null +++ b/test/testcases/tests/level1/html/table38.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table38"> +<metadata> +<title>table38</title> +<creator>Netscape</creator> +<description> +Specifies the horizontal and vertical separation between cells. +The value of attribute cellspacing of the table element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-68907883"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vcellspacing" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="table" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<cellSpacing interface="HTMLTableElement" obj="testNode" var="vcellspacing"/> +<assertEquals actual="vcellspacing" expected='"2"' id="cellspacingLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table39.xml b/test/testcases/tests/level1/html/table39.xml new file mode 100644 index 0000000..1fd66db --- /dev/null +++ b/test/testcases/tests/level1/html/table39.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table39"> +<metadata> +<title>table39</title> +<creator>Netscape</creator> +<description> +Supplementary description about the purpose or structure of a table. +The value of attribute summary of the table element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-44998528"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vsummary" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="table" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<summary interface="HTMLTableElement" obj="testNode" var="vsummary"/> +<assertEquals actual="vsummary" expected='"HTML Control Table"' id="summaryLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table40.xml b/test/testcases/tests/level1/html/table40.xml new file mode 100644 index 0000000..31a9763 --- /dev/null +++ b/test/testcases/tests/level1/html/table40.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table40"> +<metadata> +<title>table40</title> +<creator>Netscape</creator> +<description> +Specifies which internal table borders to render. +The value of attribute rules of the table element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-26347553"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vrules" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="table" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<rules interface="HTMLTableElement" obj="testNode" var="vrules"/> +<assertEquals actual="vrules" expected='"all"' id="rulesLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table41.xml b/test/testcases/tests/level1/html/table41.xml new file mode 100644 index 0000000..4030b09 --- /dev/null +++ b/test/testcases/tests/level1/html/table41.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table41"> +<metadata> +<title>table41</title> +<creator>Netscape</creator> +<description> +Specifies the desired table width. +The value of attribute width of the table element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-77447361"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vwidth" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="table" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/> +<assertSize collection="nodeList" size="3" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<width interface="HTMLTableElement" obj="testNode" var="vwidth"/> +<assertEquals actual="vwidth" expected='"680"' id="widthLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table42.xml b/test/testcases/tests/level1/html/table42.xml new file mode 100644 index 0000000..8fa86f1 --- /dev/null +++ b/test/testcases/tests/level1/html/table42.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table42"> +<metadata> +<title>table42</title> +<creator>Netscape</creator> +<description> +Horizontal alignment of data within cells of this row. +The value of attribute align of the tablerow element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-74098257"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="valign" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="table" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/> +<assertSize collection="nodeList" size="8" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<align interface="HTMLTableRowElement" obj="testNode" var="valign"/> +<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table43.xml b/test/testcases/tests/level1/html/table43.xml new file mode 100644 index 0000000..ea9e5de --- /dev/null +++ b/test/testcases/tests/level1/html/table43.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table43"> +<metadata> +<title>table43</title> +<creator>Netscape</creator> +<description> +Background color for rows. +The value of attribute bgcolor of the tablerow element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-18161327"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vbgcolor" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="table" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/> +<assertSize collection="nodeList" size="8" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<bgColor interface="HTMLTableRowElement" obj="testNode" var="vbgcolor"/> +<assertEquals actual="vbgcolor" expected='"#00FFFF"' id="bgcolorLink" ignoreCase="true"/> +</test> diff --git a/test/testcases/tests/level1/html/table44.xml b/test/testcases/tests/level1/html/table44.xml new file mode 100644 index 0000000..a893f76 --- /dev/null +++ b/test/testcases/tests/level1/html/table44.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table44"> +<metadata> +<title>table44</title> +<creator>Netscape</creator> +<description> +Vertical alignment of data within cells of this row. +The value of attribute valign of the tablerow element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-90000058"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vvalign" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="table" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/> +<assertSize collection="nodeList" size="8" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<vAlign interface="HTMLTableRowElement" obj="testNode" var="vvalign"/> +<assertEquals actual="vvalign" expected='"middle"' id="valignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table45.xml b/test/testcases/tests/level1/html/table45.xml new file mode 100644 index 0000000..b1717db --- /dev/null +++ b/test/testcases/tests/level1/html/table45.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table45"> +<metadata> +<title>table45</title> +<creator>Netscape</creator> +<description> +Alignment character for cells in a column. +The value of attribute ch of the tablerow element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-16230502"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vch" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablerow" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/> +<assertSize collection="nodeList" size="5" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<ch interface="HTMLTableRowElement" obj="testNode" var="vch"/> +<assertEquals actual="vch" expected='"*"' id="vchLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table46.xml b/test/testcases/tests/level1/html/table46.xml new file mode 100644 index 0000000..096b892 --- /dev/null +++ b/test/testcases/tests/level1/html/table46.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table46"> +<metadata> +<title>table46</title> +<creator>Netscape</creator> +<description> +Offset of alignment character. +The value of attribute choff of the tablerow element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-68207461"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vchoff" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablerow" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/> +<assertSize collection="nodeList" size="5" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="1"/> +<chOff interface="HTMLTableRowElement" obj="testNode" var="vchoff"/> +<assertEquals actual="vchoff" expected='"1"' id="choffLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table47.xml b/test/testcases/tests/level1/html/table47.xml new file mode 100644 index 0000000..4d8340b --- /dev/null +++ b/test/testcases/tests/level1/html/table47.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table47"> +<metadata> +<title>table47</title> +<creator>Netscape</creator> +<description> +The index of this row, relative to the entire table. +The value of attribute rowIndex of the table element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-67347567"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vrindex" type="int" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablerow" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"tr"'/> +<assertSize collection="nodeList" size="5" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="4"/> +<rowIndex interface="HTMLTableRowElement" obj="testNode" var="vrindex"/> +<assertEquals actual="vrindex" expected="2" id="rowIndexLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table48.xml b/test/testcases/tests/level1/html/table48.xml new file mode 100644 index 0000000..1910883 --- /dev/null +++ b/test/testcases/tests/level1/html/table48.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table48"> +<metadata> +<title>HTMLTableColElement align</title> +<creator>Netscape</creator> +<description> +Horizontal alignment of cell data in column. +The value of attribute align of the tablecol element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-74098257"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="valign" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecol" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"col"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<align interface="HTMLTableColElement" obj="testNode" var="valign"/> +<assertEquals actual="valign" expected='"center"' id="alignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table49.xml b/test/testcases/tests/level1/html/table49.xml new file mode 100644 index 0000000..1db690b --- /dev/null +++ b/test/testcases/tests/level1/html/table49.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table49"> +<metadata> +<title>table49</title> +<creator>Netscape</creator> +<description> +Alignment character for cells in a column. +The value of attribute ch of the tablecol element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-16230502"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vch" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecol" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"col"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<ch interface="HTMLTableColElement" obj="testNode" var="vch"/> +<assertEquals actual="vch" expected='"*"' id="chLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table50.xml b/test/testcases/tests/level1/html/table50.xml new file mode 100644 index 0000000..8f60638 --- /dev/null +++ b/test/testcases/tests/level1/html/table50.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table50"> +<metadata> +<title>table50</title> +<creator>Netscape</creator> +<description> +Offset of alignment character. +The value of attribute choff of the tablecol element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-68207461"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vchoff" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecol" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"col"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<chOff interface="HTMLTableColElement" obj="testNode" var="vchoff"/> +<assertEquals actual="vchoff" expected='"20"' id="chOffLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table51.xml b/test/testcases/tests/level1/html/table51.xml new file mode 100644 index 0000000..c917f27 --- /dev/null +++ b/test/testcases/tests/level1/html/table51.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table51"> +<metadata> +<title>table51</title> +<creator>Netscape</creator> +<description> +Indicates the number of columns in a group or affected by a grouping. +The value of attribute span of the tablecol element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-96511335"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vspan" type="int"/> +<var name="doc" type="Node"/> +<load var="doc" href="tablecol" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"col"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<span interface="HTMLTableColElement" obj="testNode" var="vspan"/> +<assertEquals actual="vspan" expected="1" id="spanLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table52.xml b/test/testcases/tests/level1/html/table52.xml new file mode 100644 index 0000000..bf94572 --- /dev/null +++ b/test/testcases/tests/level1/html/table52.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table52"> +<metadata> +<title>table52</title> +<creator>Netscape</creator> +<description> +Vertical alignment of cell data in column. +The value of attribute valign of the tablecol element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-83291710"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vvalign" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecol" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"col"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<vAlign interface="HTMLTableColElement" obj="testNode" var="vvalign"/> +<assertEquals actual="vvalign" expected='"middle"' id="vAlignLink" ignoreCase="false"/> +</test> diff --git a/test/testcases/tests/level1/html/table53.xml b/test/testcases/tests/level1/html/table53.xml new file mode 100644 index 0000000..210c7e1 --- /dev/null +++ b/test/testcases/tests/level1/html/table53.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. + +See W3C License http://www.w3.org/Consortium/Legal/ for more details. + +--> +<!DOCTYPE test SYSTEM "dom1.dtd"> +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table53"> +<metadata> +<title>table53</title> +<creator>Netscape</creator> +<description> +Default column width. +The value of attribute width of the tablecol element is read and checked against the expected value. +</description> +<contributor>Sivakiran Tummala</contributor> +<date qualifier="created">2002-02-15</date> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-25196799"/> +</metadata> +<var name="nodeList" type="NodeList"/> +<var name="testNode" type="Node"/> +<var name="vwidth" type="DOMString" /> +<var name="doc" type="Node"/> +<load var="doc" href="tablecol" willBeModified="false"/> +<getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"col"'/> +<assertSize collection="nodeList" size="1" id="Asize"/> +<item interface="NodeList" obj="nodeList" var="testNode" index="0"/> +<width interface="HTMLTableColElement" obj="testNode" var="vwidth"/> +<assertEquals actual="vwidth" expected='"20"' id="widthLink" ignoreCase="false"/> +</test> |