From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- dom/tests/mochitest/dom-level2-html/DOMTestCase.js | 718 ++++ .../mochitest/dom-level2-html/files/anchor.html | 12 + .../mochitest/dom-level2-html/files/anchor.xhtml | 14 + .../mochitest/dom-level2-html/files/anchor.xml | 14 + .../mochitest/dom-level2-html/files/anchor2.html | 13 + .../mochitest/dom-level2-html/files/anchor2.xhtml | 14 + .../mochitest/dom-level2-html/files/anchor2.xml | 14 + .../mochitest/dom-level2-html/files/applet.html | 12 + .../mochitest/dom-level2-html/files/applet.xhtml | 15 + .../mochitest/dom-level2-html/files/applet.xml | 15 + .../mochitest/dom-level2-html/files/applet2.class | 14 + .../mochitest/dom-level2-html/files/applet2.html | 12 + .../mochitest/dom-level2-html/files/applet2.xhtml | 15 + .../mochitest/dom-level2-html/files/applet2.xml | 15 + .../files/applets/org/w3c/domts/DOMTSApplet.class | Bin 0 -> 1584 bytes .../mochitest/dom-level2-html/files/area.html | 14 + .../mochitest/dom-level2-html/files/area.xhtml | 17 + dom/tests/mochitest/dom-level2-html/files/area.xml | 17 + .../mochitest/dom-level2-html/files/area2.html | 15 + .../mochitest/dom-level2-html/files/area2.xhtml | 16 + .../mochitest/dom-level2-html/files/area2.xml | 16 + .../mochitest/dom-level2-html/files/base.html | 11 + .../mochitest/dom-level2-html/files/base.xhtml | 13 + dom/tests/mochitest/dom-level2-html/files/base.xml | 13 + .../mochitest/dom-level2-html/files/base2.html | 15 + .../mochitest/dom-level2-html/files/base2.xhtml | 16 + .../mochitest/dom-level2-html/files/base2.xml | 16 + .../mochitest/dom-level2-html/files/body.html | 10 + .../mochitest/dom-level2-html/files/body.xhtml | 13 + dom/tests/mochitest/dom-level2-html/files/body.xml | 13 + dom/tests/mochitest/dom-level2-html/files/br.html | 12 + dom/tests/mochitest/dom-level2-html/files/br.xhtml | 14 + dom/tests/mochitest/dom-level2-html/files/br.xml | 14 + .../mochitest/dom-level2-html/files/button.html | 21 + .../mochitest/dom-level2-html/files/button.xhtml | 24 + .../mochitest/dom-level2-html/files/button.xml | 24 + .../dom-level2-html/files/collection.html | 79 + .../dom-level2-html/files/collection.xhtml | 82 + .../mochitest/dom-level2-html/files/collection.xml | 82 + .../mochitest/dom-level2-html/files/directory.html | 14 + .../dom-level2-html/files/directory.xhtml | 16 + .../mochitest/dom-level2-html/files/directory.xml | 16 + dom/tests/mochitest/dom-level2-html/files/div.html | 10 + .../mochitest/dom-level2-html/files/div.xhtml | 12 + dom/tests/mochitest/dom-level2-html/files/div.xml | 12 + dom/tests/mochitest/dom-level2-html/files/dl.html | 15 + dom/tests/mochitest/dom-level2-html/files/dl.xhtml | 17 + dom/tests/mochitest/dom-level2-html/files/dl.xml | 17 + .../files/document-with-applet.html | 36 + .../mochitest/dom-level2-html/files/document.html | 34 + .../mochitest/dom-level2-html/files/document.xhtml | 39 + .../mochitest/dom-level2-html/files/document.xml | 39 + .../mochitest/dom-level2-html/files/element.html | 81 + .../mochitest/dom-level2-html/files/element.xhtml | 83 + .../mochitest/dom-level2-html/files/element.xml | 83 + .../mochitest/dom-level2-html/files/fieldset.html | 23 + .../mochitest/dom-level2-html/files/fieldset.xhtml | 25 + .../mochitest/dom-level2-html/files/fieldset.xml | 25 + .../mochitest/dom-level2-html/files/font.html | 10 + .../mochitest/dom-level2-html/files/font.xhtml | 12 + dom/tests/mochitest/dom-level2-html/files/font.xml | 12 + .../mochitest/dom-level2-html/files/form.html | 17 + .../mochitest/dom-level2-html/files/form.xhtml | 18 + dom/tests/mochitest/dom-level2-html/files/form.xml | 18 + .../mochitest/dom-level2-html/files/form2.html | 17 + .../mochitest/dom-level2-html/files/form2.xhtml | 18 + .../mochitest/dom-level2-html/files/form2.xml | 18 + .../mochitest/dom-level2-html/files/form3.html | 17 + .../mochitest/dom-level2-html/files/form3.xhtml | 18 + .../mochitest/dom-level2-html/files/form3.xml | 18 + .../mochitest/dom-level2-html/files/frame.html | 14 + .../mochitest/dom-level2-html/files/frame.xhtml | 15 + .../mochitest/dom-level2-html/files/frame.xml | 15 + .../mochitest/dom-level2-html/files/frame2.html | 16 + .../mochitest/dom-level2-html/files/frame2.xhtml | 17 + .../mochitest/dom-level2-html/files/frame2.xml | 16 + .../mochitest/dom-level2-html/files/frameset.html | 14 + .../mochitest/dom-level2-html/files/frameset.xhtml | 15 + .../mochitest/dom-level2-html/files/frameset.xml | 15 + .../mochitest/dom-level2-html/files/heading.html | 16 + .../mochitest/dom-level2-html/files/heading.xhtml | 18 + .../mochitest/dom-level2-html/files/heading.xml | 18 + dom/tests/mochitest/dom-level2-html/files/hr.html | 11 + dom/tests/mochitest/dom-level2-html/files/hr.xhtml | 13 + dom/tests/mochitest/dom-level2-html/files/hr.xml | 13 + .../mochitest/dom-level2-html/files/html.html | 12 + .../mochitest/dom-level2-html/files/html.xhtml | 14 + dom/tests/mochitest/dom-level2-html/files/html.xml | 14 + .../mochitest/dom-level2-html/files/iframe.html | 10 + .../mochitest/dom-level2-html/files/iframe.xhtml | 12 + .../mochitest/dom-level2-html/files/iframe.xml | 12 + .../mochitest/dom-level2-html/files/iframe2.html | 13 + .../mochitest/dom-level2-html/files/iframe2.xhtml | 15 + .../mochitest/dom-level2-html/files/iframe2.xml | 15 + dom/tests/mochitest/dom-level2-html/files/img.html | 13 + .../mochitest/dom-level2-html/files/img.xhtml | 15 + dom/tests/mochitest/dom-level2-html/files/img.xml | 15 + .../mochitest/dom-level2-html/files/index.html | 216 ++ .../mochitest/dom-level2-html/files/input.html | 60 + .../mochitest/dom-level2-html/files/input.xhtml | 62 + .../mochitest/dom-level2-html/files/input.xml | 62 + .../mochitest/dom-level2-html/files/isindex.html | 14 + .../mochitest/dom-level2-html/files/isindex.xhtml | 15 + .../mochitest/dom-level2-html/files/isindex.xml | 15 + .../mochitest/dom-level2-html/files/label.html | 21 + .../mochitest/dom-level2-html/files/label.xhtml | 22 + .../mochitest/dom-level2-html/files/label.xml | 22 + .../mochitest/dom-level2-html/files/legend.html | 22 + .../mochitest/dom-level2-html/files/legend.xhtml | 23 + .../mochitest/dom-level2-html/files/legend.xml | 23 + dom/tests/mochitest/dom-level2-html/files/li.html | 23 + dom/tests/mochitest/dom-level2-html/files/li.xhtml | 25 + dom/tests/mochitest/dom-level2-html/files/li.xml | 25 + .../mochitest/dom-level2-html/files/link.html | 15 + .../mochitest/dom-level2-html/files/link.xhtml | 17 + dom/tests/mochitest/dom-level2-html/files/link.xml | 17 + .../mochitest/dom-level2-html/files/link2.html | 15 + .../mochitest/dom-level2-html/files/link2.xhtml | 17 + .../mochitest/dom-level2-html/files/link2.xml | 17 + dom/tests/mochitest/dom-level2-html/files/map.html | 16 + .../mochitest/dom-level2-html/files/map.xhtml | 18 + dom/tests/mochitest/dom-level2-html/files/map.xml | 18 + .../mochitest/dom-level2-html/files/menu.html | 15 + .../mochitest/dom-level2-html/files/menu.xhtml | 17 + dom/tests/mochitest/dom-level2-html/files/menu.xml | 17 + .../mochitest/dom-level2-html/files/meta.html | 13 + .../mochitest/dom-level2-html/files/meta.xhtml | 16 + dom/tests/mochitest/dom-level2-html/files/meta.xml | 16 + dom/tests/mochitest/dom-level2-html/files/mod.html | 15 + .../mochitest/dom-level2-html/files/mod.xhtml | 17 + dom/tests/mochitest/dom-level2-html/files/mod.xml | 17 + .../mochitest/dom-level2-html/files/object.html | 18 + .../mochitest/dom-level2-html/files/object.xhtml | 20 + .../mochitest/dom-level2-html/files/object.xml | 20 + .../mochitest/dom-level2-html/files/object2.html | 17 + .../mochitest/dom-level2-html/files/object2.xhtml | 20 + .../mochitest/dom-level2-html/files/object2.xml | 20 + .../mochitest/dom-level2-html/files/olist.html | 32 + .../mochitest/dom-level2-html/files/olist.xhtml | 34 + .../mochitest/dom-level2-html/files/olist.xml | 34 + .../mochitest/dom-level2-html/files/optgroup.html | 25 + .../mochitest/dom-level2-html/files/optgroup.xhtml | 27 + .../mochitest/dom-level2-html/files/optgroup.xml | 27 + .../mochitest/dom-level2-html/files/option.html | 36 + .../mochitest/dom-level2-html/files/option.xhtml | 33 + .../mochitest/dom-level2-html/files/option.xml | 33 + .../dom-level2-html/files/optionscollection.html | 36 + .../dom-level2-html/files/optionscollection.xhtml | 33 + .../dom-level2-html/files/optionscollection.xml | 33 + .../mochitest/dom-level2-html/files/paragraph.html | 13 + .../dom-level2-html/files/paragraph.xhtml | 15 + .../mochitest/dom-level2-html/files/paragraph.xml | 15 + .../mochitest/dom-level2-html/files/param.html | 14 + .../mochitest/dom-level2-html/files/param.xhtml | 17 + .../mochitest/dom-level2-html/files/param.xml | 17 + dom/tests/mochitest/dom-level2-html/files/pre.html | 17 + .../mochitest/dom-level2-html/files/pre.xhtml | 19 + dom/tests/mochitest/dom-level2-html/files/pre.xml | 19 + .../mochitest/dom-level2-html/files/quote.html | 16 + .../mochitest/dom-level2-html/files/quote.xhtml | 18 + .../mochitest/dom-level2-html/files/quote.xml | 18 + .../mochitest/dom-level2-html/files/right.png | Bin 0 -> 137 bytes .../mochitest/dom-level2-html/files/script.html | 11 + .../mochitest/dom-level2-html/files/script.xhtml | 13 + .../mochitest/dom-level2-html/files/script.xml | 13 + .../mochitest/dom-level2-html/files/select.html | 44 + .../mochitest/dom-level2-html/files/select.xhtml | 41 + .../mochitest/dom-level2-html/files/select.xml | 41 + .../mochitest/dom-level2-html/files/style.html | 12 + .../mochitest/dom-level2-html/files/style.xhtml | 14 + .../mochitest/dom-level2-html/files/style.xml | 14 + .../mochitest/dom-level2-html/files/table.html | 78 + .../mochitest/dom-level2-html/files/table.xhtml | 81 + .../mochitest/dom-level2-html/files/table.xml | 81 + .../mochitest/dom-level2-html/files/table1.html | 12 + .../mochitest/dom-level2-html/files/table1.xhtml | 15 + .../mochitest/dom-level2-html/files/table1.xml | 15 + .../dom-level2-html/files/tablecaption.html | 25 + .../dom-level2-html/files/tablecaption.xhtml | 21 + .../dom-level2-html/files/tablecaption.xml | 21 + .../mochitest/dom-level2-html/files/tablecell.html | 23 + .../dom-level2-html/files/tablecell.xhtml | 26 + .../mochitest/dom-level2-html/files/tablecell.xml | 26 + .../mochitest/dom-level2-html/files/tablecol.html | 35 + .../mochitest/dom-level2-html/files/tablecol.xhtml | 29 + .../mochitest/dom-level2-html/files/tablecol.xml | 29 + .../mochitest/dom-level2-html/files/tablerow.html | 59 + .../mochitest/dom-level2-html/files/tablerow.xhtml | 62 + .../mochitest/dom-level2-html/files/tablerow.xml | 62 + .../dom-level2-html/files/tablesection.html | 62 + .../dom-level2-html/files/tablesection.xhtml | 65 + .../dom-level2-html/files/tablesection.xml | 65 + .../mochitest/dom-level2-html/files/textarea.html | 26 + .../mochitest/dom-level2-html/files/textarea.xhtml | 27 + .../mochitest/dom-level2-html/files/textarea.xml | 27 + .../mochitest/dom-level2-html/files/title.html | 13 + .../mochitest/dom-level2-html/files/title.xhtml | 15 + .../mochitest/dom-level2-html/files/title.xml | 15 + .../mochitest/dom-level2-html/files/ulist.html | 36 + .../mochitest/dom-level2-html/files/ulist.xhtml | 38 + .../mochitest/dom-level2-html/files/ulist.xml | 38 + .../mochitest/dom-level2-html/files/w3c_main.png | Bin 0 -> 5904 bytes .../mochitest/dom-level2-html/files/xhtml-lat1.ent | 196 + .../dom-level2-html/files/xhtml-special.ent | 80 + .../dom-level2-html/files/xhtml-symbol.ent | 237 ++ .../dom-level2-html/files/xhtml1-frameset.dtd | 1235 ++++++ .../dom-level2-html/files/xhtml1-strict.dtd | 978 +++++ .../dom-level2-html/files/xhtml1-transitional.dtd | 1201 ++++++ dom/tests/mochitest/dom-level2-html/mochitest.ini | 863 +++++ .../dom-level2-html/test_HTMLAnchorElement01.html | 137 + .../dom-level2-html/test_HTMLAnchorElement02.html | 137 + .../dom-level2-html/test_HTMLAnchorElement03.html | 137 + .../dom-level2-html/test_HTMLAnchorElement04.html | 135 + .../dom-level2-html/test_HTMLAnchorElement05.html | 135 + .../dom-level2-html/test_HTMLAnchorElement06.html | 135 + .../dom-level2-html/test_HTMLAnchorElement07.html | 135 + .../dom-level2-html/test_HTMLAnchorElement08.html | 135 + .../dom-level2-html/test_HTMLAnchorElement09.html | 135 + .../dom-level2-html/test_HTMLAnchorElement10.html | 137 + .../dom-level2-html/test_HTMLAnchorElement11.html | 135 + .../dom-level2-html/test_HTMLAnchorElement12.html | 135 + .../dom-level2-html/test_HTMLAnchorElement13.html | 126 + .../dom-level2-html/test_HTMLAnchorElement14.html | 126 + .../dom-level2-html/test_HTMLAreaElement01.html | 137 + .../dom-level2-html/test_HTMLAreaElement02.html | 137 + .../dom-level2-html/test_HTMLAreaElement03.html | 137 + .../dom-level2-html/test_HTMLAreaElement04.html | 135 + .../dom-level2-html/test_HTMLAreaElement05.html | 135 + .../dom-level2-html/test_HTMLAreaElement06.html | 135 + .../dom-level2-html/test_HTMLAreaElement07.html | 137 + .../dom-level2-html/test_HTMLAreaElement08.html | 135 + .../dom-level2-html/test_HTMLBRElement01.html | 135 + .../dom-level2-html/test_HTMLBaseElement01.html | 135 + .../dom-level2-html/test_HTMLBaseElement02.html | 135 + .../dom-level2-html/test_HTMLBodyElement01.html | 135 + .../dom-level2-html/test_HTMLBodyElement02.html | 136 + .../dom-level2-html/test_HTMLBodyElement03.html | 135 + .../dom-level2-html/test_HTMLBodyElement04.html | 137 + .../dom-level2-html/test_HTMLBodyElement05.html | 135 + .../dom-level2-html/test_HTMLBodyElement06.html | 137 + .../dom-level2-html/test_HTMLButtonElement01.html | 138 + .../dom-level2-html/test_HTMLButtonElement02.html | 137 + .../dom-level2-html/test_HTMLButtonElement03.html | 137 + .../dom-level2-html/test_HTMLButtonElement04.html | 137 + .../dom-level2-html/test_HTMLButtonElement05.html | 137 + .../dom-level2-html/test_HTMLButtonElement06.html | 137 + .../dom-level2-html/test_HTMLButtonElement07.html | 135 + .../dom-level2-html/test_HTMLButtonElement08.html | 135 + .../dom-level2-html/test_HTMLCollection01.html | 146 + .../dom-level2-html/test_HTMLCollection02.html | 146 + .../dom-level2-html/test_HTMLCollection03.html | 146 + .../dom-level2-html/test_HTMLCollection04.html | 158 + .../dom-level2-html/test_HTMLCollection05.html | 142 + .../dom-level2-html/test_HTMLCollection06.html | 148 + .../dom-level2-html/test_HTMLCollection07.html | 146 + .../dom-level2-html/test_HTMLCollection08.html | 146 + .../dom-level2-html/test_HTMLCollection09.html | 142 + .../dom-level2-html/test_HTMLCollection10.html | 150 + .../dom-level2-html/test_HTMLCollection11.html | 150 + .../dom-level2-html/test_HTMLCollection12.html | 149 + .../test_HTMLDirectoryElement01.html | 137 + .../dom-level2-html/test_HTMLDivElement01.html | 135 + .../dom-level2-html/test_HTMLDlistElement01.html | 137 + .../dom-level2-html/test_HTMLDocument01.html | 131 + .../dom-level2-html/test_HTMLDocument02.html | 138 + .../dom-level2-html/test_HTMLDocument03.html | 134 + .../dom-level2-html/test_HTMLDocument04.html | 132 + .../dom-level2-html/test_HTMLDocument05.html | 137 + .../dom-level2-html/test_HTMLDocument07.html | 135 + .../dom-level2-html/test_HTMLDocument09.html | 137 + .../dom-level2-html/test_HTMLDocument10.html | 135 + .../dom-level2-html/test_HTMLDocument11.html | 137 + .../dom-level2-html/test_HTMLDocument12.html | 137 + .../dom-level2-html/test_HTMLDocument13.html | 133 + .../dom-level2-html/test_HTMLDocument14.html | 135 + .../dom-level2-html/test_HTMLDocument15.html | 142 + .../dom-level2-html/test_HTMLDocument16.html | 142 + .../dom-level2-html/test_HTMLDocument17.html | 139 + .../dom-level2-html/test_HTMLDocument18.html | 123 + .../dom-level2-html/test_HTMLDocument19.html | 152 + .../dom-level2-html/test_HTMLDocument20.html | 152 + .../dom-level2-html/test_HTMLDocument21.html | 162 + .../dom-level2-html/test_HTMLElement01.html | 135 + .../dom-level2-html/test_HTMLElement02.html | 135 + .../dom-level2-html/test_HTMLElement03.html | 135 + .../dom-level2-html/test_HTMLElement04.html | 135 + .../dom-level2-html/test_HTMLElement05.html | 135 + .../dom-level2-html/test_HTMLElement06.html | 135 + .../dom-level2-html/test_HTMLElement07.html | 135 + .../dom-level2-html/test_HTMLElement08.html | 135 + .../dom-level2-html/test_HTMLElement09.html | 135 + .../dom-level2-html/test_HTMLElement10.html | 135 + .../dom-level2-html/test_HTMLElement100.html | 135 + .../dom-level2-html/test_HTMLElement101.html | 135 + .../dom-level2-html/test_HTMLElement102.html | 135 + .../dom-level2-html/test_HTMLElement103.html | 135 + .../dom-level2-html/test_HTMLElement104.html | 135 + .../dom-level2-html/test_HTMLElement105.html | 135 + .../dom-level2-html/test_HTMLElement106.html | 135 + .../dom-level2-html/test_HTMLElement107.html | 135 + .../dom-level2-html/test_HTMLElement108.html | 135 + .../dom-level2-html/test_HTMLElement109.html | 135 + .../dom-level2-html/test_HTMLElement11.html | 135 + .../dom-level2-html/test_HTMLElement110.html | 135 + .../dom-level2-html/test_HTMLElement111.html | 135 + .../dom-level2-html/test_HTMLElement112.html | 135 + .../dom-level2-html/test_HTMLElement113.html | 135 + .../dom-level2-html/test_HTMLElement114.html | 135 + .../dom-level2-html/test_HTMLElement115.html | 135 + .../dom-level2-html/test_HTMLElement116.html | 135 + .../dom-level2-html/test_HTMLElement117.html | 135 + .../dom-level2-html/test_HTMLElement118.html | 135 + .../dom-level2-html/test_HTMLElement119.html | 135 + .../dom-level2-html/test_HTMLElement12.html | 135 + .../dom-level2-html/test_HTMLElement120.html | 135 + .../dom-level2-html/test_HTMLElement121.html | 135 + .../dom-level2-html/test_HTMLElement122.html | 135 + .../dom-level2-html/test_HTMLElement123.html | 135 + .../dom-level2-html/test_HTMLElement124.html | 135 + .../dom-level2-html/test_HTMLElement125.html | 135 + .../dom-level2-html/test_HTMLElement126.html | 135 + .../dom-level2-html/test_HTMLElement127.html | 135 + .../dom-level2-html/test_HTMLElement128.html | 135 + .../dom-level2-html/test_HTMLElement129.html | 135 + .../dom-level2-html/test_HTMLElement13.html | 135 + .../dom-level2-html/test_HTMLElement130.html | 135 + .../dom-level2-html/test_HTMLElement131.html | 135 + .../dom-level2-html/test_HTMLElement132.html | 135 + .../dom-level2-html/test_HTMLElement133.html | 135 + .../dom-level2-html/test_HTMLElement134.html | 135 + .../dom-level2-html/test_HTMLElement135.html | 135 + .../dom-level2-html/test_HTMLElement136.html | 135 + .../dom-level2-html/test_HTMLElement137.html | 135 + .../dom-level2-html/test_HTMLElement138.html | 135 + .../dom-level2-html/test_HTMLElement139.html | 135 + .../dom-level2-html/test_HTMLElement14.html | 135 + .../dom-level2-html/test_HTMLElement140.html | 135 + .../dom-level2-html/test_HTMLElement141.html | 135 + .../dom-level2-html/test_HTMLElement142.html | 135 + .../dom-level2-html/test_HTMLElement143.html | 135 + .../dom-level2-html/test_HTMLElement144.html | 135 + .../dom-level2-html/test_HTMLElement145.html | 135 + .../dom-level2-html/test_HTMLElement15.html | 135 + .../dom-level2-html/test_HTMLElement16.html | 135 + .../dom-level2-html/test_HTMLElement17.html | 135 + .../dom-level2-html/test_HTMLElement18.html | 135 + .../dom-level2-html/test_HTMLElement19.html | 135 + .../dom-level2-html/test_HTMLElement20.html | 135 + .../dom-level2-html/test_HTMLElement21.html | 135 + .../dom-level2-html/test_HTMLElement22.html | 135 + .../dom-level2-html/test_HTMLElement23.html | 135 + .../dom-level2-html/test_HTMLElement24.html | 135 + .../dom-level2-html/test_HTMLElement25.html | 135 + .../dom-level2-html/test_HTMLElement26.html | 135 + .../dom-level2-html/test_HTMLElement27.html | 135 + .../dom-level2-html/test_HTMLElement28.html | 135 + .../dom-level2-html/test_HTMLElement29.html | 135 + .../dom-level2-html/test_HTMLElement30.html | 135 + .../dom-level2-html/test_HTMLElement31.html | 135 + .../dom-level2-html/test_HTMLElement32.html | 135 + .../dom-level2-html/test_HTMLElement33.html | 135 + .../dom-level2-html/test_HTMLElement34.html | 135 + .../dom-level2-html/test_HTMLElement35.html | 135 + .../dom-level2-html/test_HTMLElement36.html | 135 + .../dom-level2-html/test_HTMLElement37.html | 135 + .../dom-level2-html/test_HTMLElement38.html | 135 + .../dom-level2-html/test_HTMLElement39.html | 135 + .../dom-level2-html/test_HTMLElement40.html | 135 + .../dom-level2-html/test_HTMLElement41.html | 135 + .../dom-level2-html/test_HTMLElement42.html | 135 + .../dom-level2-html/test_HTMLElement43.html | 135 + .../dom-level2-html/test_HTMLElement44.html | 135 + .../dom-level2-html/test_HTMLElement45.html | 135 + .../dom-level2-html/test_HTMLElement46.html | 135 + .../dom-level2-html/test_HTMLElement47.html | 135 + .../dom-level2-html/test_HTMLElement48.html | 135 + .../dom-level2-html/test_HTMLElement49.html | 135 + .../dom-level2-html/test_HTMLElement50.html | 135 + .../dom-level2-html/test_HTMLElement51.html | 135 + .../dom-level2-html/test_HTMLElement52.html | 135 + .../dom-level2-html/test_HTMLElement53.html | 135 + .../dom-level2-html/test_HTMLElement54.html | 135 + .../dom-level2-html/test_HTMLElement55.html | 135 + .../dom-level2-html/test_HTMLElement56.html | 135 + .../dom-level2-html/test_HTMLElement57.html | 135 + .../dom-level2-html/test_HTMLElement58.html | 135 + .../dom-level2-html/test_HTMLElement59.html | 135 + .../dom-level2-html/test_HTMLElement60.html | 135 + .../dom-level2-html/test_HTMLElement61.html | 135 + .../dom-level2-html/test_HTMLElement62.html | 135 + .../dom-level2-html/test_HTMLElement63.html | 135 + .../dom-level2-html/test_HTMLElement64.html | 135 + .../dom-level2-html/test_HTMLElement65.html | 135 + .../dom-level2-html/test_HTMLElement66.html | 135 + .../dom-level2-html/test_HTMLElement67.html | 135 + .../dom-level2-html/test_HTMLElement68.html | 135 + .../dom-level2-html/test_HTMLElement69.html | 135 + .../dom-level2-html/test_HTMLElement70.html | 135 + .../dom-level2-html/test_HTMLElement71.html | 135 + .../dom-level2-html/test_HTMLElement72.html | 135 + .../dom-level2-html/test_HTMLElement73.html | 135 + .../dom-level2-html/test_HTMLElement74.html | 135 + .../dom-level2-html/test_HTMLElement75.html | 135 + .../dom-level2-html/test_HTMLElement76.html | 135 + .../dom-level2-html/test_HTMLElement77.html | 135 + .../dom-level2-html/test_HTMLElement78.html | 135 + .../dom-level2-html/test_HTMLElement79.html | 135 + .../dom-level2-html/test_HTMLElement80.html | 135 + .../dom-level2-html/test_HTMLElement81.html | 135 + .../dom-level2-html/test_HTMLElement82.html | 135 + .../dom-level2-html/test_HTMLElement83.html | 135 + .../dom-level2-html/test_HTMLElement84.html | 135 + .../dom-level2-html/test_HTMLElement85.html | 135 + .../dom-level2-html/test_HTMLElement86.html | 135 + .../dom-level2-html/test_HTMLElement87.html | 135 + .../dom-level2-html/test_HTMLElement88.html | 135 + .../dom-level2-html/test_HTMLElement89.html | 135 + .../dom-level2-html/test_HTMLElement90.html | 135 + .../dom-level2-html/test_HTMLElement91.html | 135 + .../dom-level2-html/test_HTMLElement92.html | 135 + .../dom-level2-html/test_HTMLElement93.html | 135 + .../dom-level2-html/test_HTMLElement94.html | 135 + .../dom-level2-html/test_HTMLElement95.html | 135 + .../dom-level2-html/test_HTMLElement96.html | 135 + .../dom-level2-html/test_HTMLElement97.html | 135 + .../dom-level2-html/test_HTMLElement98.html | 135 + .../dom-level2-html/test_HTMLElement99.html | 135 + .../test_HTMLFieldSetElement01.html | 138 + .../test_HTMLFieldSetElement02.html | 137 + .../dom-level2-html/test_HTMLFontElement01.html | 135 + .../dom-level2-html/test_HTMLFontElement02.html | 137 + .../dom-level2-html/test_HTMLFontElement03.html | 135 + .../dom-level2-html/test_HTMLFormElement01.html | 140 + .../dom-level2-html/test_HTMLFormElement02.html | 139 + .../dom-level2-html/test_HTMLFormElement03.html | 135 + .../dom-level2-html/test_HTMLFormElement04.html | 137 + .../dom-level2-html/test_HTMLFormElement05.html | 135 + .../dom-level2-html/test_HTMLFormElement06.html | 135 + .../dom-level2-html/test_HTMLFormElement07.html | 135 + .../dom-level2-html/test_HTMLFormElement08.html | 135 + .../dom-level2-html/test_HTMLFormElement09.html | 126 + .../dom-level2-html/test_HTMLFormElement10.html | 126 + .../dom-level2-html/test_HTMLFrameElement01.html | 141 + .../dom-level2-html/test_HTMLFrameElement02.html | 139 + .../dom-level2-html/test_HTMLFrameElement03.html | 137 + .../dom-level2-html/test_HTMLFrameElement04.html | 137 + .../dom-level2-html/test_HTMLFrameElement05.html | 139 + .../dom-level2-html/test_HTMLFrameElement06.html | 139 + .../dom-level2-html/test_HTMLFrameElement07.html | 139 + .../dom-level2-html/test_HTMLFrameElement08.html | 137 + .../dom-level2-html/test_HTMLFrameElement09.html | 139 + .../test_HTMLFrameSetElement01.html | 139 + .../test_HTMLFrameSetElement02.html | 139 + .../dom-level2-html/test_HTMLHRElement01.html | 135 + .../dom-level2-html/test_HTMLHRElement02.html | 137 + .../dom-level2-html/test_HTMLHRElement03.html | 135 + .../dom-level2-html/test_HTMLHRElement04.html | 135 + .../dom-level2-html/test_HTMLHeadingElement01.html | 135 + .../dom-level2-html/test_HTMLHeadingElement02.html | 135 + .../dom-level2-html/test_HTMLHeadingElement03.html | 135 + .../dom-level2-html/test_HTMLHeadingElement04.html | 135 + .../dom-level2-html/test_HTMLHeadingElement05.html | 135 + .../dom-level2-html/test_HTMLHeadingElement06.html | 135 + .../dom-level2-html/test_HTMLHtmlElement01.html | 149 + .../dom-level2-html/test_HTMLIFrameElement01.html | 139 + .../dom-level2-html/test_HTMLIFrameElement02.html | 141 + .../dom-level2-html/test_HTMLIFrameElement03.html | 137 + .../dom-level2-html/test_HTMLIFrameElement04.html | 139 + .../dom-level2-html/test_HTMLIFrameElement05.html | 137 + .../dom-level2-html/test_HTMLIFrameElement06.html | 137 + .../dom-level2-html/test_HTMLIFrameElement07.html | 139 + .../dom-level2-html/test_HTMLIFrameElement08.html | 139 + .../dom-level2-html/test_HTMLIFrameElement09.html | 137 + .../dom-level2-html/test_HTMLIFrameElement10.html | 137 + .../dom-level2-html/test_HTMLIFrameElement11.html | 133 + .../dom-level2-html/test_HTMLImageElement01.html | 135 + .../dom-level2-html/test_HTMLImageElement02.html | 137 + .../dom-level2-html/test_HTMLImageElement03.html | 137 + .../dom-level2-html/test_HTMLImageElement04.html | 135 + .../dom-level2-html/test_HTMLImageElement05.html | 135 + .../dom-level2-html/test_HTMLImageElement06.html | 137 + .../dom-level2-html/test_HTMLImageElement07.html | 135 + .../dom-level2-html/test_HTMLImageElement08.html | 137 + .../dom-level2-html/test_HTMLImageElement09.html | 135 + .../dom-level2-html/test_HTMLImageElement10.html | 135 + .../dom-level2-html/test_HTMLImageElement11.html | 137 + .../dom-level2-html/test_HTMLImageElement12.html | 135 + .../dom-level2-html/test_HTMLInputElement01.html | 139 + .../dom-level2-html/test_HTMLInputElement02.html | 139 + .../dom-level2-html/test_HTMLInputElement03.html | 138 + .../dom-level2-html/test_HTMLInputElement04.html | 139 + .../dom-level2-html/test_HTMLInputElement05.html | 139 + .../dom-level2-html/test_HTMLInputElement06.html | 139 + .../dom-level2-html/test_HTMLInputElement07.html | 139 + .../dom-level2-html/test_HTMLInputElement08.html | 139 + .../dom-level2-html/test_HTMLInputElement09.html | 137 + .../dom-level2-html/test_HTMLInputElement10.html | 139 + .../dom-level2-html/test_HTMLInputElement11.html | 139 + .../dom-level2-html/test_HTMLInputElement12.html | 139 + .../dom-level2-html/test_HTMLInputElement13.html | 139 + .../dom-level2-html/test_HTMLInputElement14.html | 139 + .../dom-level2-html/test_HTMLInputElement15.html | 139 + .../dom-level2-html/test_HTMLInputElement16.html | 137 + .../dom-level2-html/test_HTMLInputElement17.html | 137 + .../dom-level2-html/test_HTMLInputElement18.html | 139 + .../dom-level2-html/test_HTMLInputElement19.html | 126 + .../dom-level2-html/test_HTMLInputElement20.html | 126 + .../dom-level2-html/test_HTMLInputElement21.html | 133 + .../dom-level2-html/test_HTMLInputElement22.html | 127 + .../dom-level2-html/test_HTMLLIElement01.html | 135 + .../dom-level2-html/test_HTMLLIElement02.html | 135 + .../dom-level2-html/test_HTMLLabelElement01.html | 138 + .../dom-level2-html/test_HTMLLabelElement02.html | 137 + .../dom-level2-html/test_HTMLLabelElement03.html | 137 + .../dom-level2-html/test_HTMLLabelElement04.html | 139 + .../dom-level2-html/test_HTMLLegendElement01.html | 140 + .../dom-level2-html/test_HTMLLegendElement02.html | 137 + .../dom-level2-html/test_HTMLLegendElement03.html | 137 + .../dom-level2-html/test_HTMLLegendElement04.html | 135 + .../dom-level2-html/test_HTMLLinkElement01.html | 135 + .../dom-level2-html/test_HTMLLinkElement02.html | 137 + .../dom-level2-html/test_HTMLLinkElement03.html | 135 + .../dom-level2-html/test_HTMLLinkElement04.html | 135 + .../dom-level2-html/test_HTMLLinkElement05.html | 135 + .../dom-level2-html/test_HTMLLinkElement06.html | 135 + .../dom-level2-html/test_HTMLLinkElement07.html | 135 + .../dom-level2-html/test_HTMLLinkElement08.html | 135 + .../dom-level2-html/test_HTMLLinkElement09.html | 135 + .../dom-level2-html/test_HTMLMapElement01.html | 138 + .../dom-level2-html/test_HTMLMapElement02.html | 135 + .../dom-level2-html/test_HTMLMenuElement01.html | 137 + .../dom-level2-html/test_HTMLMetaElement01.html | 135 + .../dom-level2-html/test_HTMLMetaElement02.html | 135 + .../dom-level2-html/test_HTMLMetaElement03.html | 135 + .../dom-level2-html/test_HTMLMetaElement04.html | 135 + .../dom-level2-html/test_HTMLModElement01.html | 137 + .../dom-level2-html/test_HTMLModElement02.html | 135 + .../dom-level2-html/test_HTMLModElement03.html | 137 + .../dom-level2-html/test_HTMLModElement04.html | 135 + .../dom-level2-html/test_HTMLOListElement01.html | 137 + .../dom-level2-html/test_HTMLOListElement02.html | 135 + .../dom-level2-html/test_HTMLOListElement03.html | 135 + .../dom-level2-html/test_HTMLObjectElement01.html | 138 + .../dom-level2-html/test_HTMLObjectElement02.html | 137 + .../dom-level2-html/test_HTMLObjectElement03.html | 139 + .../dom-level2-html/test_HTMLObjectElement04.html | 137 + .../dom-level2-html/test_HTMLObjectElement05.html | 137 + .../dom-level2-html/test_HTMLObjectElement06.html | 139 + .../dom-level2-html/test_HTMLObjectElement07.html | 139 + .../dom-level2-html/test_HTMLObjectElement08.html | 137 + .../dom-level2-html/test_HTMLObjectElement09.html | 139 + .../dom-level2-html/test_HTMLObjectElement10.html | 139 + .../dom-level2-html/test_HTMLObjectElement11.html | 139 + .../dom-level2-html/test_HTMLObjectElement12.html | 139 + .../dom-level2-html/test_HTMLObjectElement13.html | 139 + .../dom-level2-html/test_HTMLObjectElement14.html | 139 + .../dom-level2-html/test_HTMLObjectElement15.html | 137 + .../dom-level2-html/test_HTMLObjectElement16.html | 139 + .../dom-level2-html/test_HTMLObjectElement17.html | 137 + .../dom-level2-html/test_HTMLObjectElement18.html | 139 + .../dom-level2-html/test_HTMLObjectElement19.html | 137 + .../dom-level2-html/test_HTMLObjectElement20.html | 133 + .../test_HTMLOptGroupElement01.html | 137 + .../test_HTMLOptGroupElement02.html | 135 + .../dom-level2-html/test_HTMLOptionElement01.html | 140 + .../dom-level2-html/test_HTMLOptionElement02.html | 139 + .../dom-level2-html/test_HTMLOptionElement03.html | 139 + .../dom-level2-html/test_HTMLOptionElement04.html | 137 + .../dom-level2-html/test_HTMLOptionElement05.html | 139 + .../dom-level2-html/test_HTMLOptionElement06.html | 139 + .../dom-level2-html/test_HTMLOptionElement07.html | 139 + .../dom-level2-html/test_HTMLOptionElement08.html | 139 + .../dom-level2-html/test_HTMLOptionElement09.html | 137 + .../test_HTMLOptionsCollection01.html | 144 + .../test_HTMLOptionsCollection02.html | 157 + .../test_HTMLOptionsCollection03.html | 158 + .../test_HTMLOptionsCollection04.html | 158 + .../test_HTMLOptionsCollection05.html | 160 + .../test_HTMLOptionsCollection06.html | 153 + .../test_HTMLOptionsCollection07.html | 157 + .../test_HTMLParagraphElement01.html | 135 + .../dom-level2-html/test_HTMLParamElement01.html | 135 + .../dom-level2-html/test_HTMLParamElement02.html | 135 + .../dom-level2-html/test_HTMLParamElement03.html | 137 + .../dom-level2-html/test_HTMLParamElement04.html | 137 + .../dom-level2-html/test_HTMLPreElement01.html | 135 + .../dom-level2-html/test_HTMLQuoteElement01.html | 137 + .../dom-level2-html/test_HTMLQuoteElement02.html | 139 + .../dom-level2-html/test_HTMLScriptElement01.html | 135 + .../dom-level2-html/test_HTMLScriptElement02.html | 137 + .../dom-level2-html/test_HTMLScriptElement03.html | 137 + .../dom-level2-html/test_HTMLScriptElement04.html | 135 + .../dom-level2-html/test_HTMLScriptElement05.html | 135 + .../dom-level2-html/test_HTMLScriptElement06.html | 128 + .../dom-level2-html/test_HTMLScriptElement07.html | 128 + .../dom-level2-html/test_HTMLSelectElement01.html | 139 + .../dom-level2-html/test_HTMLSelectElement02.html | 139 + .../dom-level2-html/test_HTMLSelectElement03.html | 146 + .../dom-level2-html/test_HTMLSelectElement04.html | 137 + .../dom-level2-html/test_HTMLSelectElement05.html | 137 + .../dom-level2-html/test_HTMLSelectElement06.html | 140 + .../dom-level2-html/test_HTMLSelectElement07.html | 139 + .../dom-level2-html/test_HTMLSelectElement08.html | 158 + .../dom-level2-html/test_HTMLSelectElement09.html | 139 + .../dom-level2-html/test_HTMLSelectElement10.html | 139 + .../dom-level2-html/test_HTMLSelectElement11.html | 139 + .../dom-level2-html/test_HTMLSelectElement12.html | 137 + .../dom-level2-html/test_HTMLSelectElement13.html | 139 + .../dom-level2-html/test_HTMLSelectElement14.html | 126 + .../dom-level2-html/test_HTMLSelectElement15.html | 126 + .../dom-level2-html/test_HTMLSelectElement16.html | 134 + .../dom-level2-html/test_HTMLSelectElement17.html | 134 + .../dom-level2-html/test_HTMLSelectElement18.html | 152 + .../dom-level2-html/test_HTMLSelectElement19.html | 156 + .../dom-level2-html/test_HTMLSelectElement20.html | 153 + .../dom-level2-html/test_HTMLStyleElement01.html | 135 + .../dom-level2-html/test_HTMLStyleElement02.html | 135 + .../dom-level2-html/test_HTMLStyleElement03.html | 135 + .../test_HTMLTableCaptionElement01.html | 137 + .../test_HTMLTableCellElement01.html | 137 + .../test_HTMLTableCellElement02.html | 137 + .../test_HTMLTableCellElement03.html | 137 + .../test_HTMLTableCellElement04.html | 137 + .../test_HTMLTableCellElement05.html | 139 + .../test_HTMLTableCellElement06.html | 139 + .../test_HTMLTableCellElement07.html | 139 + .../test_HTMLTableCellElement08.html | 139 + .../test_HTMLTableCellElement09.html | 139 + .../test_HTMLTableCellElement10.html | 139 + .../test_HTMLTableCellElement11.html | 139 + .../test_HTMLTableCellElement12.html | 139 + .../test_HTMLTableCellElement13.html | 139 + .../test_HTMLTableCellElement14.html | 139 + .../test_HTMLTableCellElement15.html | 139 + .../test_HTMLTableCellElement16.html | 139 + .../test_HTMLTableCellElement17.html | 139 + .../test_HTMLTableCellElement18.html | 139 + .../test_HTMLTableCellElement19.html | 137 + .../test_HTMLTableCellElement20.html | 137 + .../test_HTMLTableCellElement21.html | 137 + .../test_HTMLTableCellElement22.html | 137 + .../test_HTMLTableCellElement23.html | 139 + .../test_HTMLTableCellElement24.html | 139 + .../test_HTMLTableCellElement25.html | 137 + .../test_HTMLTableCellElement26.html | 137 + .../test_HTMLTableCellElement27.html | 137 + .../test_HTMLTableCellElement28.html | 137 + .../test_HTMLTableCellElement29.html | 137 + .../test_HTMLTableCellElement30.html | 137 + .../test_HTMLTableColElement01.html | 139 + .../test_HTMLTableColElement02.html | 139 + .../test_HTMLTableColElement03.html | 139 + .../test_HTMLTableColElement04.html | 139 + .../test_HTMLTableColElement05.html | 137 + .../test_HTMLTableColElement06.html | 137 + .../test_HTMLTableColElement07.html | 139 + .../test_HTMLTableColElement08.html | 139 + .../test_HTMLTableColElement09.html | 139 + .../test_HTMLTableColElement10.html | 139 + .../test_HTMLTableColElement11.html | 137 + .../test_HTMLTableColElement12.html | 137 + .../dom-level2-html/test_HTMLTableElement01.html | 140 + .../dom-level2-html/test_HTMLTableElement02.html | 139 + .../dom-level2-html/test_HTMLTableElement03.html | 140 + .../dom-level2-html/test_HTMLTableElement04.html | 139 + .../dom-level2-html/test_HTMLTableElement05.html | 140 + .../dom-level2-html/test_HTMLTableElement06.html | 139 + .../dom-level2-html/test_HTMLTableElement07.html | 156 + .../dom-level2-html/test_HTMLTableElement08.html | 153 + .../dom-level2-html/test_HTMLTableElement09.html | 157 + .../dom-level2-html/test_HTMLTableElement10.html | 139 + .../dom-level2-html/test_HTMLTableElement11.html | 137 + .../dom-level2-html/test_HTMLTableElement12.html | 137 + .../dom-level2-html/test_HTMLTableElement13.html | 139 + .../dom-level2-html/test_HTMLTableElement14.html | 139 + .../dom-level2-html/test_HTMLTableElement15.html | 137 + .../dom-level2-html/test_HTMLTableElement16.html | 137 + .../dom-level2-html/test_HTMLTableElement17.html | 139 + .../dom-level2-html/test_HTMLTableElement18.html | 137 + .../dom-level2-html/test_HTMLTableElement19.html | 149 + .../dom-level2-html/test_HTMLTableElement20.html | 148 + .../dom-level2-html/test_HTMLTableElement21.html | 164 + .../dom-level2-html/test_HTMLTableElement22.html | 149 + .../dom-level2-html/test_HTMLTableElement23.html | 148 + .../dom-level2-html/test_HTMLTableElement24.html | 164 + .../dom-level2-html/test_HTMLTableElement25.html | 145 + .../dom-level2-html/test_HTMLTableElement26.html | 150 + .../dom-level2-html/test_HTMLTableElement27.html | 141 + .../dom-level2-html/test_HTMLTableElement28.html | 159 + .../dom-level2-html/test_HTMLTableElement29.html | 163 + .../dom-level2-html/test_HTMLTableElement30.html | 171 + .../dom-level2-html/test_HTMLTableElement31.html | 169 + .../dom-level2-html/test_HTMLTableElement32.html | 150 + .../dom-level2-html/test_HTMLTableElement33.html | 148 + .../dom-level2-html/test_HTMLTableElement34.html | 151 + .../dom-level2-html/test_HTMLTableElement35.html | 151 + .../dom-level2-html/test_HTMLTableElement36.html | 150 + .../dom-level2-html/test_HTMLTableElement37.html | 152 + .../dom-level2-html/test_HTMLTableElement38.html | 150 + .../dom-level2-html/test_HTMLTableElement39.html | 177 + .../dom-level2-html/test_HTMLTableElement40.html | 150 + .../test_HTMLTableRowElement01.html | 143 + .../test_HTMLTableRowElement02.html | 139 + .../test_HTMLTableRowElement03.html | 139 + .../test_HTMLTableRowElement04.html | 139 + .../test_HTMLTableRowElement05.html | 140 + .../test_HTMLTableRowElement06.html | 139 + .../test_HTMLTableRowElement07.html | 137 + .../test_HTMLTableRowElement08.html | 137 + .../test_HTMLTableRowElement09.html | 137 + .../test_HTMLTableRowElement10.html | 139 + .../test_HTMLTableRowElement11.html | 173 + .../test_HTMLTableRowElement12.html | 171 + .../test_HTMLTableRowElement13.html | 172 + .../test_HTMLTableRowElement14.html | 172 + .../test_HTMLTableRowElement15.html | 151 + .../test_HTMLTableRowElement16.html | 151 + .../test_HTMLTableRowElement17.html | 150 + .../test_HTMLTableRowElement18.html | 150 + .../test_HTMLTableRowElement19.html | 150 + .../test_HTMLTableRowElement20.html | 177 + .../test_HTMLTableRowElement21.html | 176 + .../test_HTMLTableSectionElement01.html | 139 + .../test_HTMLTableSectionElement02.html | 139 + .../test_HTMLTableSectionElement03.html | 139 + .../test_HTMLTableSectionElement04.html | 139 + .../test_HTMLTableSectionElement05.html | 139 + .../test_HTMLTableSectionElement06.html | 139 + .../test_HTMLTableSectionElement07.html | 137 + .../test_HTMLTableSectionElement08.html | 137 + .../test_HTMLTableSectionElement09.html | 137 + .../test_HTMLTableSectionElement10.html | 139 + .../test_HTMLTableSectionElement11.html | 139 + .../test_HTMLTableSectionElement12.html | 139 + .../test_HTMLTableSectionElement13.html | 140 + .../test_HTMLTableSectionElement14.html | 140 + .../test_HTMLTableSectionElement15.html | 140 + .../test_HTMLTableSectionElement16.html | 151 + .../test_HTMLTableSectionElement17.html | 151 + .../test_HTMLTableSectionElement18.html | 151 + .../test_HTMLTableSectionElement19.html | 153 + .../test_HTMLTableSectionElement20.html | 153 + .../test_HTMLTableSectionElement21.html | 155 + .../test_HTMLTableSectionElement22.html | 150 + .../test_HTMLTableSectionElement23.html | 150 + .../test_HTMLTableSectionElement24.html | 150 + .../test_HTMLTableSectionElement25.html | 151 + .../test_HTMLTableSectionElement26.html | 151 + .../test_HTMLTableSectionElement27.html | 152 + .../test_HTMLTableSectionElement28.html | 152 + .../test_HTMLTableSectionElement29.html | 150 + .../test_HTMLTableSectionElement30.html | 159 + .../test_HTMLTableSectionElement31.html | 156 + .../test_HTMLTextAreaElement01.html | 139 + .../test_HTMLTextAreaElement02.html | 140 + .../test_HTMLTextAreaElement03.html | 139 + .../test_HTMLTextAreaElement04.html | 139 + .../test_HTMLTextAreaElement05.html | 137 + .../test_HTMLTextAreaElement06.html | 139 + .../test_HTMLTextAreaElement07.html | 139 + .../test_HTMLTextAreaElement08.html | 137 + .../test_HTMLTextAreaElement09.html | 137 + .../test_HTMLTextAreaElement10.html | 139 + .../test_HTMLTextAreaElement11.html | 139 + .../test_HTMLTextAreaElement12.html | 139 + .../test_HTMLTextAreaElement13.html | 126 + .../test_HTMLTextAreaElement14.html | 126 + .../test_HTMLTextAreaElement15.html | 126 + .../dom-level2-html/test_HTMLTitleElement01.html | 135 + .../dom-level2-html/test_HTMLUListElement01.html | 137 + .../dom-level2-html/test_HTMLUListElement02.html | 135 + .../mochitest/dom-level2-html/test_alltests.html | 3933 ++++++++++++++++++++ .../mochitest/dom-level2-html/test_anchor01.html | 133 + .../mochitest/dom-level2-html/test_anchor02.html | 133 + .../mochitest/dom-level2-html/test_anchor03.html | 133 + .../mochitest/dom-level2-html/test_anchor04.html | 133 + .../mochitest/dom-level2-html/test_anchor05.html | 133 + .../mochitest/dom-level2-html/test_anchor06.html | 133 + .../mochitest/dom-level2-html/test_area01.html | 131 + .../mochitest/dom-level2-html/test_area02.html | 131 + .../mochitest/dom-level2-html/test_area03.html | 131 + .../mochitest/dom-level2-html/test_area04.html | 131 + .../mochitest/dom-level2-html/test_body01.html | 133 + .../mochitest/dom-level2-html/test_button01.html | 131 + .../mochitest/dom-level2-html/test_button02.html | 136 + .../mochitest/dom-level2-html/test_button03.html | 138 + .../mochitest/dom-level2-html/test_button04.html | 136 + .../mochitest/dom-level2-html/test_button05.html | 133 + .../mochitest/dom-level2-html/test_button06.html | 133 + .../mochitest/dom-level2-html/test_button07.html | 133 + .../mochitest/dom-level2-html/test_button08.html | 133 + .../mochitest/dom-level2-html/test_button09.html | 133 + .../mochitest/dom-level2-html/test_dlist01.html | 131 + .../mochitest/dom-level2-html/test_doc01.html | 126 + .../dom-level2-html/test_hasFeature01.html | 113 + .../dom-level2-html/test_hasFeature02.html | 112 + .../dom-level2-html/test_hasFeature03.html | 115 + .../dom-level2-html/test_hasFeature04.html | 114 + .../dom-level2-html/test_hasFeature05.html | 113 + .../dom-level2-html/test_hasFeature06.html | 112 + .../mochitest/dom-level2-html/test_object01.html | 133 + .../mochitest/dom-level2-html/test_object02.html | 133 + .../mochitest/dom-level2-html/test_object03.html | 133 + .../mochitest/dom-level2-html/test_object04.html | 133 + .../mochitest/dom-level2-html/test_object05.html | 133 + .../mochitest/dom-level2-html/test_object06.html | 134 + .../mochitest/dom-level2-html/test_object07.html | 131 + .../mochitest/dom-level2-html/test_object08.html | 133 + .../mochitest/dom-level2-html/test_object09.html | 133 + .../mochitest/dom-level2-html/test_object10.html | 133 + .../mochitest/dom-level2-html/test_object11.html | 133 + .../mochitest/dom-level2-html/test_object12.html | 131 + .../mochitest/dom-level2-html/test_object13.html | 133 + .../mochitest/dom-level2-html/test_object14.html | 131 + .../mochitest/dom-level2-html/test_object15.html | 133 + .../mochitest/dom-level2-html/test_table01.html | 133 + .../mochitest/dom-level2-html/test_table02.html | 136 + .../mochitest/dom-level2-html/test_table03.html | 136 + .../mochitest/dom-level2-html/test_table04.html | 136 + .../mochitest/dom-level2-html/test_table06.html | 136 + .../mochitest/dom-level2-html/test_table07.html | 139 + .../mochitest/dom-level2-html/test_table08.html | 136 + .../mochitest/dom-level2-html/test_table09.html | 136 + .../mochitest/dom-level2-html/test_table10.html | 136 + .../mochitest/dom-level2-html/test_table12.html | 136 + .../mochitest/dom-level2-html/test_table15.html | 139 + .../mochitest/dom-level2-html/test_table17.html | 136 + .../mochitest/dom-level2-html/test_table18.html | 133 + .../mochitest/dom-level2-html/test_table19.html | 135 + .../mochitest/dom-level2-html/test_table20.html | 133 + .../mochitest/dom-level2-html/test_table21.html | 133 + .../mochitest/dom-level2-html/test_table22.html | 133 + .../mochitest/dom-level2-html/test_table23.html | 133 + .../mochitest/dom-level2-html/test_table24.html | 133 + .../mochitest/dom-level2-html/test_table25.html | 133 + .../mochitest/dom-level2-html/test_table26.html | 131 + .../mochitest/dom-level2-html/test_table27.html | 133 + .../mochitest/dom-level2-html/test_table28.html | 133 + .../mochitest/dom-level2-html/test_table29.html | 133 + .../mochitest/dom-level2-html/test_table30.html | 133 + .../mochitest/dom-level2-html/test_table31.html | 133 + .../mochitest/dom-level2-html/test_table32.html | 133 + .../mochitest/dom-level2-html/test_table33.html | 133 + .../mochitest/dom-level2-html/test_table34.html | 133 + .../mochitest/dom-level2-html/test_table35.html | 133 + .../mochitest/dom-level2-html/test_table36.html | 133 + .../mochitest/dom-level2-html/test_table37.html | 131 + .../mochitest/dom-level2-html/test_table38.html | 133 + .../mochitest/dom-level2-html/test_table39.html | 133 + .../mochitest/dom-level2-html/test_table40.html | 133 + .../mochitest/dom-level2-html/test_table41.html | 133 + .../mochitest/dom-level2-html/test_table42.html | 133 + .../mochitest/dom-level2-html/test_table43.html | 133 + .../mochitest/dom-level2-html/test_table44.html | 133 + .../mochitest/dom-level2-html/test_table45.html | 133 + .../mochitest/dom-level2-html/test_table46.html | 133 + .../mochitest/dom-level2-html/test_table47.html | 133 + .../mochitest/dom-level2-html/test_table48.html | 133 + .../mochitest/dom-level2-html/test_table49.html | 133 + .../mochitest/dom-level2-html/test_table50.html | 133 + .../mochitest/dom-level2-html/test_table51.html | 133 + .../mochitest/dom-level2-html/test_table52.html | 133 + .../mochitest/dom-level2-html/test_table53.html | 133 + 863 files changed, 104332 insertions(+) create mode 100644 dom/tests/mochitest/dom-level2-html/DOMTestCase.js create mode 100644 dom/tests/mochitest/dom-level2-html/files/anchor.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/anchor.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/anchor.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/anchor2.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/anchor2.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/anchor2.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/applet.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/applet.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/applet.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/applet2.class create mode 100644 dom/tests/mochitest/dom-level2-html/files/applet2.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/applet2.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/applet2.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/applets/org/w3c/domts/DOMTSApplet.class create mode 100644 dom/tests/mochitest/dom-level2-html/files/area.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/area.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/area.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/area2.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/area2.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/area2.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/base.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/base.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/base.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/base2.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/base2.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/base2.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/body.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/body.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/body.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/br.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/br.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/br.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/button.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/button.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/button.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/collection.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/collection.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/collection.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/directory.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/directory.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/directory.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/div.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/div.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/div.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/dl.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/dl.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/dl.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/document-with-applet.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/document.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/document.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/document.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/element.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/element.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/element.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/fieldset.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/fieldset.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/fieldset.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/font.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/font.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/font.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/form.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/form.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/form.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/form2.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/form2.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/form2.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/form3.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/form3.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/form3.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/frame.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/frame.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/frame.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/frame2.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/frame2.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/frame2.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/frameset.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/frameset.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/frameset.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/heading.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/heading.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/heading.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/hr.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/hr.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/hr.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/html.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/html.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/html.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/iframe.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/iframe.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/iframe.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/iframe2.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/iframe2.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/iframe2.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/img.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/img.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/img.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/index.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/input.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/input.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/input.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/isindex.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/isindex.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/isindex.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/label.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/label.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/label.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/legend.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/legend.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/legend.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/li.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/li.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/li.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/link.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/link.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/link.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/link2.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/link2.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/link2.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/map.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/map.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/map.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/menu.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/menu.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/menu.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/meta.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/meta.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/meta.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/mod.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/mod.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/mod.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/object.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/object.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/object.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/object2.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/object2.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/object2.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/olist.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/olist.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/olist.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/optgroup.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/optgroup.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/optgroup.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/option.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/option.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/option.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/optionscollection.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/optionscollection.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/optionscollection.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/paragraph.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/paragraph.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/paragraph.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/param.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/param.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/param.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/pre.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/pre.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/pre.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/quote.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/quote.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/quote.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/right.png create mode 100644 dom/tests/mochitest/dom-level2-html/files/script.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/script.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/script.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/select.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/select.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/select.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/style.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/style.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/style.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/table.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/table.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/table.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/table1.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/table1.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/table1.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/tablecaption.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/tablecaption.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/tablecaption.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/tablecell.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/tablecell.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/tablecell.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/tablecol.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/tablecol.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/tablecol.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/tablerow.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/tablerow.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/tablerow.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/tablesection.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/tablesection.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/tablesection.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/textarea.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/textarea.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/textarea.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/title.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/title.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/title.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/ulist.html create mode 100644 dom/tests/mochitest/dom-level2-html/files/ulist.xhtml create mode 100644 dom/tests/mochitest/dom-level2-html/files/ulist.xml create mode 100644 dom/tests/mochitest/dom-level2-html/files/w3c_main.png create mode 100644 dom/tests/mochitest/dom-level2-html/files/xhtml-lat1.ent create mode 100644 dom/tests/mochitest/dom-level2-html/files/xhtml-special.ent create mode 100644 dom/tests/mochitest/dom-level2-html/files/xhtml-symbol.ent create mode 100644 dom/tests/mochitest/dom-level2-html/files/xhtml1-frameset.dtd create mode 100644 dom/tests/mochitest/dom-level2-html/files/xhtml1-strict.dtd create mode 100644 dom/tests/mochitest/dom-level2-html/files/xhtml1-transitional.dtd create mode 100644 dom/tests/mochitest/dom-level2-html/mochitest.ini create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement11.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement12.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement13.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement14.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLBRElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLBaseElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLBaseElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLCollection01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLCollection02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLCollection03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLCollection04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLCollection05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLCollection06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLCollection07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLCollection08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLCollection09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLCollection10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLCollection11.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLCollection12.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDirectoryElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDivElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDlistElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument11.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument12.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument13.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument14.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument15.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument16.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument17.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument18.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument19.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument20.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLDocument21.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement100.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement101.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement102.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement103.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement104.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement105.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement106.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement107.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement108.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement109.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement11.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement110.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement111.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement112.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement113.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement114.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement115.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement116.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement117.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement118.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement119.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement12.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement120.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement121.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement122.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement123.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement124.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement125.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement126.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement127.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement128.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement129.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement13.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement130.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement131.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement132.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement133.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement134.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement135.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement136.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement137.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement138.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement139.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement14.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement140.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement141.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement142.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement143.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement144.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement145.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement15.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement16.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement17.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement18.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement19.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement20.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement21.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement22.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement23.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement24.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement25.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement26.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement27.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement28.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement29.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement30.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement31.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement32.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement33.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement34.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement35.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement36.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement37.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement38.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement39.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement40.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement41.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement42.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement43.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement44.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement45.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement46.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement47.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement48.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement49.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement50.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement51.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement52.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement53.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement54.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement55.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement56.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement57.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement58.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement59.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement60.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement61.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement62.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement63.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement64.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement65.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement66.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement67.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement68.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement69.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement70.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement71.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement72.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement73.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement74.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement75.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement76.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement77.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement78.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement79.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement80.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement81.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement82.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement83.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement84.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement85.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement86.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement87.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement88.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement89.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement90.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement91.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement92.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement93.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement94.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement95.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement96.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement97.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement98.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLElement99.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFieldSetElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFieldSetElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFontElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFontElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFontElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFormElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFormElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFormElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFormElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFormElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFormElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFormElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFormElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFormElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFormElement10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFrameSetElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLFrameSetElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLHRElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLHRElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLHRElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLHRElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLHtmlElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement11.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLImageElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLImageElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLImageElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLImageElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLImageElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLImageElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLImageElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLImageElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLImageElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLImageElement10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLImageElement11.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLImageElement12.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement11.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement12.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement13.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement14.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement15.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement16.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement17.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement18.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement19.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement20.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement21.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLInputElement22.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLIElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLIElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLabelElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLabelElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLabelElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLabelElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLegendElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLegendElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLegendElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLegendElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLMapElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLMapElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLMenuElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLMetaElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLMetaElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLMetaElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLMetaElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLModElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLModElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLModElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLModElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOListElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOListElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOListElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement11.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement12.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement13.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement14.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement15.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement16.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement17.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement18.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement19.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement20.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptGroupElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptGroupElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLParagraphElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLParamElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLParamElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLParamElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLParamElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLPreElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLQuoteElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLQuoteElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement11.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement12.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement13.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement14.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement15.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement16.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement17.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement18.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement19.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement20.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLStyleElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLStyleElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLStyleElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCaptionElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement11.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement12.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement13.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement14.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement15.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement16.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement17.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement18.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement19.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement20.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement21.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement22.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement23.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement24.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement25.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement26.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement27.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement28.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement29.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement30.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement11.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement12.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement11.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement12.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement13.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement14.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement15.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement16.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement17.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement18.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement19.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement20.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement21.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement22.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement23.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement24.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement25.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement26.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement27.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement28.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement29.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement30.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement31.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement32.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement33.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement34.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement35.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement36.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement37.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement38.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement39.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableElement40.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement11.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement12.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement13.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement14.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement15.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement16.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement17.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement18.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement19.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement20.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement21.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement11.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement12.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement13.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement14.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement15.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement16.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement17.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement18.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement19.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement20.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement21.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement22.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement23.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement24.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement25.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement26.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement27.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement28.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement29.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement30.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement31.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement11.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement12.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement13.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement14.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement15.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLTitleElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLUListElement01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_HTMLUListElement02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_alltests.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_anchor01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_anchor02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_anchor03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_anchor04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_anchor05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_anchor06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_area01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_area02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_area03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_area04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_body01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_button01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_button02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_button03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_button04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_button05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_button06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_button07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_button08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_button09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_dlist01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_doc01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_hasFeature01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_hasFeature02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_hasFeature03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_hasFeature04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_hasFeature05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_hasFeature06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_object01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_object02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_object03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_object04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_object05.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_object06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_object07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_object08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_object09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_object10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_object11.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_object12.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_object13.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_object14.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_object15.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table01.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table02.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table03.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table04.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table06.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table07.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table08.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table09.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table10.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table12.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table15.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table17.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table18.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table19.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table20.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table21.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table22.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table23.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table24.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table25.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table26.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table27.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table28.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table29.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table30.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table31.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table32.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table33.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table34.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table35.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table36.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table37.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table38.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table39.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table40.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table41.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table42.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table43.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table44.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table45.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table46.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table47.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table48.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table49.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table50.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table51.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table52.html create mode 100644 dom/tests/mochitest/dom-level2-html/test_table53.html (limited to 'dom/tests/mochitest/dom-level2-html') diff --git a/dom/tests/mochitest/dom-level2-html/DOMTestCase.js b/dom/tests/mochitest/dom-level2-html/DOMTestCase.js new file mode 100644 index 0000000000..3747e3962c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/DOMTestCase.js @@ -0,0 +1,718 @@ +/* +Copyright (c) 2001-2005 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. +See W3C License http://www.w3.org/Consortium/Legal/ for more details. +*/ + +function assertNull(descr, actual) { + return ok(actual === null, descr); +} + + +function assertNotNull(descr, actual) { + return ok(actual !== null, descr); +} + +function assertTrue(descr, actual) { + return ok(actual === true, descr); +} + +function assertFalse(descr, actual) { + return ok(actual === false, descr); +} + +function assertEquals(descr, expected, actual) { + return is(actual, expected, descr); +} + + function assertSize(descr, expected, actual) { + ok(actual !== null, descr); +/* + // Work around too strict checks. + if (!actual) { + ok(actual, "[assertSize()] 'actual' has a value"); + return; + } +*/ + + is(actual.length, expected, descr); + } + + function assertEqualsAutoCase(context, descr, expected, actual) { + if (builder.contentType == "text/html") { + if(context == "attribute") { + is(actual.toLowerCase(), expected.toLowerCase(), descr); + } else { + is(actual, expected.toUpperCase(), descr); + } + } else { + is(actual, expected, descr); + } + } + + + function assertEqualsCollectionAutoCase(context, descr, expected, actual) { + // + // if they aren't the same size, they aren't equal + is(actual.length, expected.length, descr); + + // + // if there length is the same, then every entry in the expected list + // must appear once and only once in the actual list + var expectedLen = expected.length; + var expectedValue; + var actualLen = actual.length; + var i; + var j; + var matches; + for(i = 0; i < expectedLen; i++) { + matches = 0; + expectedValue = expected[i]; + for(j = 0; j < actualLen; j++) { + if (builder.contentType == "text/html") { + if (context == "attribute") { + if (expectedValue.toLowerCase() == actual[j].toLowerCase()) { + matches++; + } + } else { + if (expectedValue.toUpperCase() == actual[j]) { + matches++; + } + } + } else { + if(expectedValue == actual[j]) { + matches++; + } + } + } + if(matches == 0) { + ok(false, descr + ": No match found for " + expectedValue); + } + if(matches > 1) { + ok(false, descr + ": Multiple matches found for " + expectedValue); + } + } + } + + function assertEqualsCollection(descr, expected, actual) { + // + // if they aren't the same size, they aren't equal + is(actual.length, expected.length, descr); + // + // if there length is the same, then every entry in the expected list + // must appear once and only once in the actual list + var expectedLen = expected.length; + var expectedValue; + var actualLen = actual.length; + var i; + var j; + var matches; + for(i = 0; i < expectedLen; i++) { + matches = 0; + expectedValue = expected[i]; + for(j = 0; j < actualLen; j++) { + if(expectedValue == actual[j]) { + matches++; + } + } + if(matches == 0) { + ok(false, descr + ": No match found for " + expectedValue); + } + if(matches > 1) { + ok(false, descr + ": Multiple matches found for " + expectedValue); + } + } + } + + + function assertEqualsListAutoCase(context, descr, expected, actual) { + var minLength = expected.length; + if (actual.length < minLength) { + minLength = actual.length; + } + // + for(var i = 0; i < minLength; i++) { + assertEqualsAutoCase(context, descr, expected[i], actual[i]); + } + // + // if they aren't the same size, they aren't equal + is(actual.length, expected.length, descr); + } + + + function assertEqualsList(descr, expected, actual) { + var minLength = expected.length; + if (actual.length < minLength) { + minLength = actual.length; + } + // + for(var i = 0; i < minLength; i++) { + if(expected[i] != actual[i]) { + is(actual[i], expected[i], descr); + } + } + // + // if they aren't the same size, they aren't equal + is(actual.length, expected.length, descr); + } + + function assertInstanceOf(descr, type, obj) { + if(type == "Attr") { + is(2, obj.nodeType, descr); + var specd = obj.specified; + } +/* + else { + // Ensure at least one SimpleTest check is reported. (Bug 483992) + todo_is(type, "Attr", "[DOMTestCase.assertInstanceOf()] Fake default check."); + } +*/ + } + + function assertSame(descr, expected, actual) { + if(expected != actual) { + is(expected.nodeType, actual.nodeType, descr); + is(expected.nodeValue, actual.nodeValue, descr); + } +/* + else { + // Ensure at least one SimpleTest check is reported. (Bug 483992) + todo_isnot(expected, actual, "[DOMTestCase.assertSame()] Fake default check." + + " (Type=" + actual.nodeType + ", Value=" + actual.nodeValue + ")"); + } +*/ + } + + function assertURIEquals(assertID, scheme, path, host, file, name, query, fragment, isAbsolute, actual) { + // + // URI must be non-null + ok(assertID, "[assertURIEquals()] 'assertID' has a value"); + ok(actual, "[assertURIEquals()] 'actual' has a value"); +/* + // Add missing early return. + if (!actual) + return; +*/ + + var uri = actual; + + var lastPound = actual.lastIndexOf("#"); + var actualFragment = ""; + if(lastPound != -1) { + // + // substring before pound + // + uri = actual.substring(0,lastPound); + actualFragment = actual.substring(lastPound+1); + } + if(fragment != null) is(actualFragment, fragment, assertID); + + var lastQuestion = uri.lastIndexOf("?"); + var actualQuery = ""; + if(lastQuestion != -1) { + // + // substring before pound + // + uri = actual.substring(0,lastQuestion); + actualQuery = actual.substring(lastQuestion+1); + } + if(query != null) is(actualQuery, query, assertID); + + var firstColon = uri.indexOf(":"); + var firstSlash = uri.indexOf("/"); + var actualPath = uri; + var actualScheme = ""; + if(firstColon != -1 && firstColon < firstSlash) { + actualScheme = uri.substring(0,firstColon); + actualPath = uri.substring(firstColon + 1); + } + + if(scheme != null) { + is(scheme, actualScheme, assertID); + } + + if(path != null) { + is(path, actualPath, assertID); + } + + if(host != null) { + var actualHost = ""; + if(actualPath.substring(0,2) == "//") { + var termSlash = actualPath.substring(2).indexOf("/") + 2; + actualHost = actualPath.substring(0,termSlash); + } + is(actualHost, host, assertID); + } + + if(file != null || name != null) { + var actualFile = actualPath; + var finalSlash = actualPath.lastIndexOf("/"); + if(finalSlash != -1) { + actualFile = actualPath.substring(finalSlash+1); + } + if (file != null) { + is(actualFile, file, assertID); + } + if (name != null) { + var actualName = actualFile; + var finalDot = actualFile.lastIndexOf("."); + if (finalDot != -1) { + actualName = actualName.substring(0, finalDot); + } + is(actualName, name, assertID); + } + } + + if(isAbsolute != null) { + is(actualPath.substring(0,1) == "/", isAbsolute, assertID); + } + } + + +// size() used by assertSize element +function size(collection) +{ + return collection.length; +} + +function same(expected, actual) +{ + return expected === actual; +} + +function getSuffix(contentType) { + switch(contentType) { + case "text/html": + return ".html"; + + case "text/xml": + return ".xml"; + + case "application/xhtml+xml": + return ".xhtml"; + + case "image/svg+xml": + return ".svg"; + + case "text/mathml": + return ".mml"; + } + return ".html"; +} + +function equalsAutoCase(context, expected, actual) { + if (builder.contentType == "text/html") { + if (context == "attribute") { + return expected.toLowerCase() == actual; + } + return expected.toUpperCase() == actual; + } + return expected == actual; +} + +function catchInitializationError(blder, ex) { + if (blder == null) { + alert(ex); + } else { + blder.initializationError = ex; + blder.initializationFatalError = ex; + } +} + +function checkInitialization(blder, testname) { + if (blder.initializationError != null) { + // Fake a "warn()" function, as it was missing :-| + function warn(msg) { + info("[checkInitialization() warning] " + msg); + } + + if (blder.skipIncompatibleTests) { + warn(testname + " not run:" + blder.initializationError); + return blder.initializationError; + } else { + // + // if an exception was thrown + // rethrow it and do not run the test + if (blder.initializationFatalError != null) { + throw blder.initializationFatalError; + } else { + // + // might be recoverable, warn but continue the test + warn(testname + ": " + blder.initializationError); + } + } + } + return null; +} +function createTempURI(scheme) { + if (scheme == "http") { + return "http://localhost:8080/webdav/tmp" + Math.floor(Math.random() * 100000) + ".xml"; + } + return "file:///tmp/domts" + Math.floor(Math.random() * 100000) + ".xml"; +} + + +function EventMonitor() { + this.atEvents = new Array(); + this.bubbledEvents = new Array(); + this.capturedEvents = new Array(); + this.allEvents = new Array(); +} + +EventMonitor.prototype.handleEvent = function(evt) { + switch(evt.eventPhase) { + case 1: + monitor.capturedEvents[monitor.capturedEvents.length] = evt; + break; + + case 2: + monitor.atEvents[monitor.atEvents.length] = evt; + break; + + case 3: + monitor.bubbledEvents[monitor.bubbledEvents.length] = evt; + break; + } + monitor.allEvents[monitor.allEvents.length] = evt; +} + +function DOMErrorImpl(err) { + this.severity = err.severity; + this.message = err.message; + this.type = err.type; + this.relatedException = err.relatedException; + this.relatedData = err.relatedData; + this.location = err.location; +} + + + +function DOMErrorMonitor() { + this.allErrors = new Array(); +} + +DOMErrorMonitor.prototype.handleError = function(err) { + errorMonitor.allErrors[errorMonitor.allErrors.length] = new DOMErrorImpl(err); +} + +DOMErrorMonitor.prototype.assertLowerSeverity = function(id, severity) { + var i; + for (i = 0; i < errorMonitor.allErrors.length; i++) { + if (errorMonitor.allErrors[i].severity >= severity) { + assertEquals(id, severity - 1, errorMonitor.allErrors[i].severity); + } + } +} + +function UserDataNotification(operation, key, data, src, dst) { + this.operation = operation; + this.key = key; + this.data = data; + this.src = src; + this.dst = dst; +} + +function UserDataMonitor() { + this.allNotifications = new Array(); +} + +UserDataMonitor.prototype.handle = function(operation, key, data, src, dst) { + userDataMonitor.allNotifications[this.allNotifications.length] = + new UserDataNotification(operation, key, data, src, dst); +} + + + +function IFrameBuilder() { + this.contentType = "text/html"; + this.supportedContentTypes = [ "text/html", + "text/xml", + "image/svg+xml", + "application/xhtml+xml" ]; + + this.supportsAsyncChange = false; + this.async = true; + this.fixedAttributeNames = [ + "validating", "expandEntityReferences", "coalescing", + "signed", "hasNullString", "ignoringElementContentWhitespace", "namespaceAware", "ignoringComments", "schemaValidating"]; + + this.fixedAttributeValues = [false, true, false, true, true , false, false, true, false ]; + this.configurableAttributeNames = [ ]; + this.configurableAttributeValues = [ ]; + this.initializationError = null; + this.initializationFatalError = null; + this.skipIncompatibleTests = false; +} + +IFrameBuilder.prototype.hasFeature = function(feature, version) { + return document.implementation.hasFeature(feature, version); +} + +IFrameBuilder.prototype.getImplementation = function() { + return document.implementation; +} + +IFrameBuilder.prototype.setContentType = function(contentType) { + this.contentType = contentType; + if (contentType == "text/html") { + this.fixedAttributeValues[6] = false; + } else { + this.fixedAttributeValues[6] = true; + } +} + + + +IFrameBuilder.prototype.preload = function(frame, varname, url) { + var suffix; + if (this.contentType == "text/html" || + this.contentType == "application/xhtml+xml") { + if (url.substring(0,5) == "staff" || url == "nodtdstaff" || + url == "datatype_normalization") { + suffix = ".xml"; + } + } + + if (!suffix) suffix = getSuffix(this.contentType); + + var iframe = document.createElement("iframe"); + var srcname = url + suffix; + iframe.setAttribute("name", srcname); + iframe.setAttribute("src", fileBase + srcname); + // + // HTML and XHTML have onload attributes that will invoke loadComplete + // + if (suffix.indexOf("html") < 0) { + iframe.addEventListener("load", loadComplete, false); + } + document.getElementsByTagName("body").item(0).appendChild(iframe); + return 0; +} + +IFrameBuilder.prototype.load = function(frame, varname, url) { + var suffix; + if (url.substring(0,5) == "staff" || url == "nodtdstaff" || url == "datatype_normalization") { + suffix = ".xml"; + } + if (!suffix) suffix = getSuffix(this.contentType); + var name = url + suffix; + var iframes = document.getElementsByTagName("iframe"); + for(var i = 0; i < iframes.length; i++) { + if (iframes.item(i).getAttribute("name") == name) { + var item = iframes.item(i); + if (typeof(item.contentDocument) != 'undefined') { + return item.contentDocument; + } + if (typeof(item.document) != 'undefined') { + return item.document; + } + return null; + } + } + return null; +} + +IFrameBuilder.prototype.getImplementationAttribute = function(attr) { + for (var i = 0; i < this.fixedAttributeNames.length; i++) { + if (this.fixedAttributeNames[i] == attr) { + return this.fixedAttributeValues[i]; + } + } + throw "Unrecognized implementation attribute: " + attr; +} + + + +IFrameBuilder.prototype.setImplementationAttribute = function(attribute, value) { + var supported = this.getImplementationAttribute(attribute); + if (supported != value) { + this.initializationError = "IFrame loader does not support " + attribute + "=" + value; + } +} + + +IFrameBuilder.prototype.canSetImplementationAttribute = function(attribute, value) { + var supported = this.getImplementationAttribute(attribute); + return (supported == value); +} + + +function createBuilder(implementation) { + if (implementation == null) { + return new IFrameBuilder(); + } + switch(implementation) { +/* case "msxml3": + return new MSXMLBuilder("Msxml2.DOMDocument.3.0"); + + case "msxml4": + return new MSXMLBuilder("Msxml2.DOMDocument.4.0");*/ + + case "mozillaXML": + return new MozillaXMLBuilder(); +/* + case "svgplugin": + return new SVGPluginBuilder(); + + case "dom3ls": + return new DOM3LSBuilder(); */ + + case "iframe": + return new IFrameBuilder(); + + case "xmlhttprequest": + return new XMLHttpRequestBuilder(); + + default: + alert ("unrecognized implementation " + implementation); + } + return new IFrameBuilder(); +} + +function checkFeature(feature, version) +{ + if (!builder.hasFeature(feature, version)) + { + // + // don't throw exception so that users can select to ignore the precondition + // + builder.initializationError = "builder does not support feature " + feature + " version " + version; + } +} + +function createConfiguredBuilder() { + var builder = null; + var contentType = null; + var i; + var contentTypeSet = false; + var parm = null; + builder = new IFrameBuilder(); + return builder; +} + + +function preload(frame, varname, url) { + return builder.preload(frame, varname, url); +} + +function load(frame, varname, url) { + return builder.load(frame, varname, url); +} + +function getImplementationAttribute(attr) { + return builder.getImplementationAttribute(attr); +} + + +function setImplementationAttribute(attribute, value) { + builder.setImplementationAttribute(attribute, value); +} + +function setAsynchronous(value) { + if (builder.supportsAsyncChange) { + builder.async = value; + } else { + update(); + } +} + + +function createXPathEvaluator(doc) { + try { + return doc.getFeature("XPath", null); + } + catch(ex) { + } + return doc; +} + +function toLowerArray(src) { + var newArray = new Array(); + var i; + for (i = 0; i < src.length; i++) { + newArray[i] = src[i].toLowerCase(); + } + return newArray; +} + +function MSXMLBuilder_onreadystatechange() { + if (builder.parser.readyState == 4) { + loadComplete(); + } +} + + + +var fileBase = location.href; +if (fileBase.indexOf('?') != -1) { + fileBase = fileBase.substring(0, fileBase.indexOf('?')); +} +fileBase = fileBase.substring(0, fileBase.lastIndexOf('/') + 1) + "files/"; + +function getResourceURI(name, scheme, contentType) { + return fileBase + name + getSuffix(contentType); +} + + +function getImplementation() { + return builder.getImplementation(); +} + +/* +// Count of failures overridden as todos. +var gFailuresAsTodos = 0; + +// Override SimpleTest result logger. +var ST_logResult = SimpleTest._logResult; +SimpleTest._logResult = function overrideSTlR(test, passString, failString) { + if (todoTests[docName] && !test.result && !test.todo) { + test.name = "[failure as todo] " + test.name; + test.todo = true; + failString = "TEST-KNOWN-FAIL"; + + ++gFailuresAsTodos; + } + + ST_logResult(test, passString, failString); +} +*/ + +window.doc = window; +SimpleTest.waitForExplicitFinish(); +addLoadEvent(function(){ setUpPage(); }); + +/* +// Actual marking code is in overrideSTlR() now. +function markTodos() { + if (todoTests[docName]) { + isnot(gFailuresAsTodos, 0, "test marked todo should have failed somewhere"); + } +} +*/ + +function runJSUnitTests() { + builder = createConfiguredBuilder(); + try { + var tests = exposeTestFunctionNames(); + for (var i = 0; i < tests.length; i++) { + window[tests[i]](); + } + } catch (ex) { +/* + if (todoTests[docName]) { + todo(false, "[failure as todo] Test threw exception: " + ex); + ++gFailuresAsTodos; + } else { +*/ + ok(false, "Test threw exception: " + ex); +/* + } +*/ + } +} diff --git a/dom/tests/mochitest/dom-level2-html/files/anchor.html b/dom/tests/mochitest/dom-level2-html/files/anchor.html new file mode 100644 index 0000000000..952e8d9288 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/anchor.html @@ -0,0 +1,12 @@ + + + + +NIST DOM HTML Test - Anchor + + +

+View Submit Button +

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/anchor.xhtml b/dom/tests/mochitest/dom-level2-html/files/anchor.xhtml new file mode 100644 index 0000000000..1be5755330 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/anchor.xhtml @@ -0,0 +1,14 @@ + + + + +NIST DOM HTML Test - Anchor + + +

+View Submit Button +

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/anchor.xml b/dom/tests/mochitest/dom-level2-html/files/anchor.xml new file mode 100644 index 0000000000..1be5755330 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/anchor.xml @@ -0,0 +1,14 @@ + + + + +NIST DOM HTML Test - Anchor + + +

+View Submit Button +

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/anchor2.html b/dom/tests/mochitest/dom-level2-html/files/anchor2.html new file mode 100644 index 0000000000..1b04fb9ff1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/anchor2.html @@ -0,0 +1,13 @@ + + + + +NIST DOM HTML Test - Anchor + + +

+View Submit Button +

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/anchor2.xhtml b/dom/tests/mochitest/dom-level2-html/files/anchor2.xhtml new file mode 100644 index 0000000000..096eb60148 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/anchor2.xhtml @@ -0,0 +1,14 @@ + + + + +NIST DOM HTML Test - Anchor + + +

+View Submit Button +

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/anchor2.xml b/dom/tests/mochitest/dom-level2-html/files/anchor2.xml new file mode 100644 index 0000000000..096eb60148 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/anchor2.xml @@ -0,0 +1,14 @@ + + + + +NIST DOM HTML Test - Anchor + + +

+View Submit Button +

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/applet.html b/dom/tests/mochitest/dom-level2-html/files/applet.html new file mode 100644 index 0000000000..d721cf1d9d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/applet.html @@ -0,0 +1,12 @@ + + + + +NIST DOM HTML Test - Applet + + +

+ +

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/applet.xhtml b/dom/tests/mochitest/dom-level2-html/files/applet.xhtml new file mode 100644 index 0000000000..cf2070cf28 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/applet.xhtml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - Applet + + +

+ +

+ + + diff --git a/dom/tests/mochitest/dom-level2-html/files/applet.xml b/dom/tests/mochitest/dom-level2-html/files/applet.xml new file mode 100644 index 0000000000..cf2070cf28 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/applet.xml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - Applet + + +

+ +

+ + + diff --git a/dom/tests/mochitest/dom-level2-html/files/applet2.class b/dom/tests/mochitest/dom-level2-html/files/applet2.class new file mode 100644 index 0000000000..3faee91d31 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/applet2.class @@ -0,0 +1,14 @@ + + +300 Multiple Choices + +

Multiple Choices

+The document name you requested (/2004/04/ecmascript/level2/html/files/applet2.class) could not be found on this server. +However, we found documents with names similar to the one you requested.

Available documents: +

+Please consider informing the owner of the referring page about the broken link. + diff --git a/dom/tests/mochitest/dom-level2-html/files/applet2.html b/dom/tests/mochitest/dom-level2-html/files/applet2.html new file mode 100644 index 0000000000..0379ed1267 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/applet2.html @@ -0,0 +1,12 @@ + + + + +NIST DOM HTML Test - Applet + + +

+ +

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/applet2.xhtml b/dom/tests/mochitest/dom-level2-html/files/applet2.xhtml new file mode 100644 index 0000000000..43b27daeff --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/applet2.xhtml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - Applet + + +

+ +

+ + + diff --git a/dom/tests/mochitest/dom-level2-html/files/applet2.xml b/dom/tests/mochitest/dom-level2-html/files/applet2.xml new file mode 100644 index 0000000000..43b27daeff --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/applet2.xml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - Applet + + +

+ +

+ + + diff --git a/dom/tests/mochitest/dom-level2-html/files/applets/org/w3c/domts/DOMTSApplet.class b/dom/tests/mochitest/dom-level2-html/files/applets/org/w3c/domts/DOMTSApplet.class new file mode 100644 index 0000000000..17933091f7 Binary files /dev/null and b/dom/tests/mochitest/dom-level2-html/files/applets/org/w3c/domts/DOMTSApplet.class differ diff --git a/dom/tests/mochitest/dom-level2-html/files/area.html b/dom/tests/mochitest/dom-level2-html/files/area.html new file mode 100644 index 0000000000..dddff68493 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/area.html @@ -0,0 +1,14 @@ + + + + +NIST DOM HTML Test - Area + + +

+ +Domain + +

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/area.xhtml b/dom/tests/mochitest/dom-level2-html/files/area.xhtml new file mode 100644 index 0000000000..1e497f36c2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/area.xhtml @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - Area + + +

+ +Domain + +

+ + + diff --git a/dom/tests/mochitest/dom-level2-html/files/area.xml b/dom/tests/mochitest/dom-level2-html/files/area.xml new file mode 100644 index 0000000000..1e497f36c2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/area.xml @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - Area + + +

+ +Domain + +

+ + + diff --git a/dom/tests/mochitest/dom-level2-html/files/area2.html b/dom/tests/mochitest/dom-level2-html/files/area2.html new file mode 100644 index 0000000000..f1ae08161d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/area2.html @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - Area + + +

+ +Domain + +

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/area2.xhtml b/dom/tests/mochitest/dom-level2-html/files/area2.xhtml new file mode 100644 index 0000000000..5476bee9ef --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/area2.xhtml @@ -0,0 +1,16 @@ + + + + +NIST DOM HTML Test - Area + + +

+ +Domain + +

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/area2.xml b/dom/tests/mochitest/dom-level2-html/files/area2.xml new file mode 100644 index 0000000000..5476bee9ef --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/area2.xml @@ -0,0 +1,16 @@ + + + + +NIST DOM HTML Test - Area + + +

+ +Domain + +

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/base.html b/dom/tests/mochitest/dom-level2-html/files/base.html new file mode 100644 index 0000000000..53d151d8b1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/base.html @@ -0,0 +1,11 @@ + + + + + +NIST DOM HTML Test - Base + + +

Some Text

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/base.xhtml b/dom/tests/mochitest/dom-level2-html/files/base.xhtml new file mode 100644 index 0000000000..bc41a1d029 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/base.xhtml @@ -0,0 +1,13 @@ + + + + + +NIST DOM HTML Test - Base + + +

Some Text

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/base.xml b/dom/tests/mochitest/dom-level2-html/files/base.xml new file mode 100644 index 0000000000..bc41a1d029 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/base.xml @@ -0,0 +1,13 @@ + + + + + +NIST DOM HTML Test - Base + + +

Some Text

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/base2.html b/dom/tests/mochitest/dom-level2-html/files/base2.html new file mode 100644 index 0000000000..514d534fc7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/base2.html @@ -0,0 +1,15 @@ + + + + + +NIST DOM HTML Test - Base2 + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/base2.xhtml b/dom/tests/mochitest/dom-level2-html/files/base2.xhtml new file mode 100644 index 0000000000..3d15b902f6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/base2.xhtml @@ -0,0 +1,16 @@ + + + + + +NIST DOM HTML Test - Base2 + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/base2.xml b/dom/tests/mochitest/dom-level2-html/files/base2.xml new file mode 100644 index 0000000000..3d15b902f6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/base2.xml @@ -0,0 +1,16 @@ + + + + + +NIST DOM HTML Test - Base2 + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/body.html b/dom/tests/mochitest/dom-level2-html/files/body.html new file mode 100644 index 0000000000..6468cd0180 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/body.html @@ -0,0 +1,10 @@ + + + + +NIST DOM HTML Test - Body + + +

Hello, World

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/body.xhtml b/dom/tests/mochitest/dom-level2-html/files/body.xhtml new file mode 100644 index 0000000000..fa6d1b795c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/body.xhtml @@ -0,0 +1,13 @@ + + + + + +NIST DOM HTML Test - Body + + +

Hello, World.

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/body.xml b/dom/tests/mochitest/dom-level2-html/files/body.xml new file mode 100644 index 0000000000..fa6d1b795c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/body.xml @@ -0,0 +1,13 @@ + + + + + +NIST DOM HTML Test - Body + + +

Hello, World.

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/br.html b/dom/tests/mochitest/dom-level2-html/files/br.html new file mode 100644 index 0000000000..0a3a3d4e20 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/br.html @@ -0,0 +1,12 @@ + + + + +NIST DOM HTML Test - BR + + +

+
+

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/br.xhtml b/dom/tests/mochitest/dom-level2-html/files/br.xhtml new file mode 100644 index 0000000000..99c9c1ef8c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/br.xhtml @@ -0,0 +1,14 @@ + + + + +NIST DOM HTML Test - BR + + +

+
+

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/br.xml b/dom/tests/mochitest/dom-level2-html/files/br.xml new file mode 100644 index 0000000000..99c9c1ef8c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/br.xml @@ -0,0 +1,14 @@ + + + + +NIST DOM HTML Test - BR + + +

+
+

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/button.html b/dom/tests/mochitest/dom-level2-html/files/button.html new file mode 100644 index 0000000000..c891ba4a5f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/button.html @@ -0,0 +1,21 @@ + + + + +NIST DOM HTML Test - Button + + +
+

+ +

+
+ + + + +
+ +
+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/button.xhtml b/dom/tests/mochitest/dom-level2-html/files/button.xhtml new file mode 100644 index 0000000000..3136988242 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/button.xhtml @@ -0,0 +1,24 @@ + + + + +NIST DOM HTML Test - Button + + +
+

+ +

+
+ + + + +
+ +
+ + + diff --git a/dom/tests/mochitest/dom-level2-html/files/button.xml b/dom/tests/mochitest/dom-level2-html/files/button.xml new file mode 100644 index 0000000000..3136988242 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/button.xml @@ -0,0 +1,24 @@ + + + + +NIST DOM HTML Test - Button + + +
+

+ +

+
+ + + + +
+ +
+ + + diff --git a/dom/tests/mochitest/dom-level2-html/files/collection.html b/dom/tests/mochitest/dom-level2-html/files/collection.html new file mode 100644 index 0000000000..885202df4e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/collection.html @@ -0,0 +1,79 @@ + + + + +NIST DOM HTML Test - SELECT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table Caption
Employee IdEmployee NamePositionSalaryGenderAddress
next page ...next page ...next page ...next page ...next page ...next page ...
EMP0001Margaret MartinAccountant56,000Female1230 North Ave. Dallas, Texas 98551
EMP0002Martha RaynoldsSecretary35,000Female1900 Dallas Road Dallas, Texas 98554
+
+

+ +

+
+

+ +

+

+ +

+ + diff --git a/dom/tests/mochitest/dom-level2-html/files/collection.xhtml b/dom/tests/mochitest/dom-level2-html/files/collection.xhtml new file mode 100644 index 0000000000..9da52c1ec5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/collection.xhtml @@ -0,0 +1,82 @@ + + + + +NIST DOM HTML Test - BR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table Caption
Employee IdEmployee NamePositionSalaryGenderAddress
next page ...next page ...next page ...next page ...next page ...next page ...
EMP0001Margaret MartinAccountant56,000Female1230 North Ave. Dallas, Texas 98551
EMP0002Martha RaynoldsSecretary35,000Female1900 Dallas Road Dallas, Texas 98554
+
+

+ +

+
+

+ +

+

+ +

+ + + diff --git a/dom/tests/mochitest/dom-level2-html/files/collection.xml b/dom/tests/mochitest/dom-level2-html/files/collection.xml new file mode 100644 index 0000000000..9da52c1ec5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/collection.xml @@ -0,0 +1,82 @@ + + + + +NIST DOM HTML Test - BR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table Caption
Employee IdEmployee NamePositionSalaryGenderAddress
next page ...next page ...next page ...next page ...next page ...next page ...
EMP0001Margaret MartinAccountant56,000Female1230 North Ave. Dallas, Texas 98551
EMP0002Martha RaynoldsSecretary35,000Female1900 Dallas Road Dallas, Texas 98554
+
+

+ +

+
+

+ +

+

+ +

+ + + diff --git a/dom/tests/mochitest/dom-level2-html/files/directory.html b/dom/tests/mochitest/dom-level2-html/files/directory.html new file mode 100644 index 0000000000..0e2f460916 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/directory.html @@ -0,0 +1,14 @@ + + + + +NIST DOM HTML Test - Directory + + + +
  • DIR item number 1.
  • +
  • DIR item number 2.
  • +
  • DIR item number 3.
  • +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/directory.xhtml b/dom/tests/mochitest/dom-level2-html/files/directory.xhtml new file mode 100644 index 0000000000..bf70ef8453 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/directory.xhtml @@ -0,0 +1,16 @@ + + + + +NIST DOM HTML Test - Directory + + + +
  • DIR item number 1.
  • +
  • DIR item number 2.
  • +
  • DIR item number 3.
  • +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/directory.xml b/dom/tests/mochitest/dom-level2-html/files/directory.xml new file mode 100644 index 0000000000..bf70ef8453 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/directory.xml @@ -0,0 +1,16 @@ + + + + +NIST DOM HTML Test - Directory + + + +
  • DIR item number 1.
  • +
  • DIR item number 2.
  • +
  • DIR item number 3.
  • +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/div.html b/dom/tests/mochitest/dom-level2-html/files/div.html new file mode 100644 index 0000000000..6b83646216 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/div.html @@ -0,0 +1,10 @@ + + + + +NIST DOM HTML Test - DIV + + +
    The DIV element is a generic block container. This text should be centered.
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/div.xhtml b/dom/tests/mochitest/dom-level2-html/files/div.xhtml new file mode 100644 index 0000000000..7a1059a38e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/div.xhtml @@ -0,0 +1,12 @@ + + + + +NIST DOM HTML Test - DIV + + +
    The DIV element is a generic block container. This text should be centered.
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/div.xml b/dom/tests/mochitest/dom-level2-html/files/div.xml new file mode 100644 index 0000000000..7a1059a38e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/div.xml @@ -0,0 +1,12 @@ + + + + +NIST DOM HTML Test - DIV + + +
    The DIV element is a generic block container. This text should be centered.
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/dl.html b/dom/tests/mochitest/dom-level2-html/files/dl.html new file mode 100644 index 0000000000..5dec3affe3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/dl.html @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - DL + + +
    +
    Accountant
    +
    56,000
    +
    Female
    +
    1230 North Ave. Dallas, Texas 98551
    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/dl.xhtml b/dom/tests/mochitest/dom-level2-html/files/dl.xhtml new file mode 100644 index 0000000000..72c6475d40 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/dl.xhtml @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - DL + + +
    +
    Accountant
    +
    56,000
    +
    Female
    +
    1230 North Ave. Dallas, Texas 98551
    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/dl.xml b/dom/tests/mochitest/dom-level2-html/files/dl.xml new file mode 100644 index 0000000000..72c6475d40 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/dl.xml @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - DL + + +
    +
    Accountant
    +
    56,000
    +
    Female
    +
    1230 North Ave. Dallas, Texas 98551
    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/document-with-applet.html b/dom/tests/mochitest/dom-level2-html/files/document-with-applet.html new file mode 100644 index 0000000000..4e6025b2d7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/document-with-applet.html @@ -0,0 +1,36 @@ + + + + +NIST DOM HTML Test - DOCUMENT + + +
    +

    + + + +

    +
    +

    + +Domain +Domain + +

    +

    +DTS IMAGE LOGO +

    +

    + + + + + + +

    +

    +View Submit Button +

    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/document.html b/dom/tests/mochitest/dom-level2-html/files/document.html new file mode 100644 index 0000000000..530b92f189 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/document.html @@ -0,0 +1,34 @@ + + + + +NIST DOM HTML Test - DOCUMENT + + +
    +

    + + + +

    +
    +

    + +Domain +Domain + +

    +

    +DTS IMAGE LOGO +

    +

    + + + + +

    +

    +View Submit Button +

    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/document.xhtml b/dom/tests/mochitest/dom-level2-html/files/document.xhtml new file mode 100644 index 0000000000..3cc6ccf10f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/document.xhtml @@ -0,0 +1,39 @@ + + + + +NIST DOM HTML Test - DOCUMENT + + +
    +

    + + + +

    +
    +

    + +Domain +Domain + +

    +

    +DTS IMAGE LOGO +

    +

    + + + + + + +

    +

    +View Submit Button +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/document.xml b/dom/tests/mochitest/dom-level2-html/files/document.xml new file mode 100644 index 0000000000..3cc6ccf10f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/document.xml @@ -0,0 +1,39 @@ + + + + +NIST DOM HTML Test - DOCUMENT + + +
    +

    + + + +

    +
    +

    + +Domain +Domain + +

    +

    +DTS IMAGE LOGO +

    +

    + + + + + + +

    +

    +View Submit Button +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/element.html b/dom/tests/mochitest/dom-level2-html/files/element.html new file mode 100644 index 0000000000..a0c198e815 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/element.html @@ -0,0 +1,81 @@ + + + + +NIST DOM HTML Test - Element + + +
    + +
    +
    +

    Test Lists

    +
    +
    +
      +
    1. EMP0001 +
        +
      • Margaret Martin +
        +
        Accountant
        +
        56,000
        +
        Female
        +
        1230 North Ave. Dallas, Texas 98551
        +
        +
      • +
      +
    2. +
    +
    +Bold +
    +
    +
    DT element
    +
    +
    +Bidirectional algorithm overide + +
    +Italicized +
    + +
    +Teletype +
    +Subscript +
    +SuperScript +
    +Strike Through (S) +
    +Strike Through (STRIKE) +
    +Small +
    +Big +
    +Emphasis +
    +Strong +
    + + 10 Computer Code Fragment 20 Temp = 10 + Temp = 20 + *2 + Temp + Citation + +
    +Temp +
    +NIST +
    +
    Gaithersburg, MD 20899
    +
    +Not +
    + +
    +Underlined + + diff --git a/dom/tests/mochitest/dom-level2-html/files/element.xhtml b/dom/tests/mochitest/dom-level2-html/files/element.xhtml new file mode 100644 index 0000000000..ee996015d1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/element.xhtml @@ -0,0 +1,83 @@ + + + + +NIST DOM HTML Test - Element + + +
    + +
    +
    +

    Test Lists

    +
    +
    +
      +
    1. EMP0001 +
        +
      • Margaret Martin +
        +
        Accountant
        +
        56,000
        +
        Female
        +
        1230 North Ave. Dallas, Texas 98551
        +
        +
      • +
      +
    2. +
    +
    +Bold +
    +
    +
    DT element
    +
    +
    +Bidirectional algorithm overide + +
    +Italicized +
    + +
    +Teletype +
    +Subscript +
    +SuperScript +
    +Strike Through (S) +
    +Strike Through (STRIKE) +
    +Small +
    +Big +
    +Emphasis +
    +Strong +
    + + 10 Computer Code Fragment 20 Temp = 10 + Temp = 20 + *2 + Temp + Citation + +
    +Temp +
    +NIST +
    +
    Gaithersburg, MD 20899
    +
    +Not +
    + +
    +Underlined + + diff --git a/dom/tests/mochitest/dom-level2-html/files/element.xml b/dom/tests/mochitest/dom-level2-html/files/element.xml new file mode 100644 index 0000000000..ee996015d1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/element.xml @@ -0,0 +1,83 @@ + + + + +NIST DOM HTML Test - Element + + +
    + +
    +
    +

    Test Lists

    +
    +
    +
      +
    1. EMP0001 +
        +
      • Margaret Martin +
        +
        Accountant
        +
        56,000
        +
        Female
        +
        1230 North Ave. Dallas, Texas 98551
        +
        +
      • +
      +
    2. +
    +
    +Bold +
    +
    +
    DT element
    +
    +
    +Bidirectional algorithm overide + +
    +Italicized +
    + +
    +Teletype +
    +Subscript +
    +SuperScript +
    +Strike Through (S) +
    +Strike Through (STRIKE) +
    +Small +
    +Big +
    +Emphasis +
    +Strong +
    + + 10 Computer Code Fragment 20 Temp = 10 + Temp = 20 + *2 + Temp + Citation + +
    +Temp +
    +NIST +
    +
    Gaithersburg, MD 20899
    +
    +Not +
    + +
    +Underlined + + diff --git a/dom/tests/mochitest/dom-level2-html/files/fieldset.html b/dom/tests/mochitest/dom-level2-html/files/fieldset.html new file mode 100644 index 0000000000..312ea44208 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/fieldset.html @@ -0,0 +1,23 @@ + + + + +NIST DOM HTML Test - FieldSet + + +
    +
    +All data entered must be valid +
    +
    + + + + +
    +
    +All data entered must be valid +
    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/fieldset.xhtml b/dom/tests/mochitest/dom-level2-html/files/fieldset.xhtml new file mode 100644 index 0000000000..dcfeba133e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/fieldset.xhtml @@ -0,0 +1,25 @@ + + + + +NIST DOM HTML Test - FieldSet + + +
    +
    +All data entered must be valid +
    +
    + + + + +
    +
    +All data entered must be valid +
    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/fieldset.xml b/dom/tests/mochitest/dom-level2-html/files/fieldset.xml new file mode 100644 index 0000000000..dcfeba133e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/fieldset.xml @@ -0,0 +1,25 @@ + + + + +NIST DOM HTML Test - FieldSet + + +
    +
    +All data entered must be valid +
    +
    + + + + +
    +
    +All data entered must be valid +
    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/font.html b/dom/tests/mochitest/dom-level2-html/files/font.html new file mode 100644 index 0000000000..894e442417 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/font.html @@ -0,0 +1,10 @@ + + + + +NIST DOM HTML Test - Font + + +Test Tables + + diff --git a/dom/tests/mochitest/dom-level2-html/files/font.xhtml b/dom/tests/mochitest/dom-level2-html/files/font.xhtml new file mode 100644 index 0000000000..818db76bc9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/font.xhtml @@ -0,0 +1,12 @@ + + + + +NIST DOM HTML Test - BaseFont + + +Test Tables + + diff --git a/dom/tests/mochitest/dom-level2-html/files/font.xml b/dom/tests/mochitest/dom-level2-html/files/font.xml new file mode 100644 index 0000000000..818db76bc9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/font.xml @@ -0,0 +1,12 @@ + + + + +NIST DOM HTML Test - BaseFont + + +Test Tables + + diff --git a/dom/tests/mochitest/dom-level2-html/files/form.html b/dom/tests/mochitest/dom-level2-html/files/form.html new file mode 100644 index 0000000000..d8bf02424c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/form.html @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - FORM + + +
    +

    + + + +

    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/form.xhtml b/dom/tests/mochitest/dom-level2-html/files/form.xhtml new file mode 100644 index 0000000000..40d6bf0faf --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/form.xhtml @@ -0,0 +1,18 @@ + + + + +NIST DOM HTML Test - FORM + + +
    +

    + + + +

    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/form.xml b/dom/tests/mochitest/dom-level2-html/files/form.xml new file mode 100644 index 0000000000..40d6bf0faf --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/form.xml @@ -0,0 +1,18 @@ + + + + +NIST DOM HTML Test - FORM + + +
    +

    + + + +

    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/form2.html b/dom/tests/mochitest/dom-level2-html/files/form2.html new file mode 100644 index 0000000000..c44b6726d5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/form2.html @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - FORM + + +
    +

    + + + +

    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/form2.xhtml b/dom/tests/mochitest/dom-level2-html/files/form2.xhtml new file mode 100644 index 0000000000..e639432bfc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/form2.xhtml @@ -0,0 +1,18 @@ + + + + +NIST DOM HTML Test - FORM + + +
    +

    + + + +

    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/form2.xml b/dom/tests/mochitest/dom-level2-html/files/form2.xml new file mode 100644 index 0000000000..e639432bfc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/form2.xml @@ -0,0 +1,18 @@ + + + + +NIST DOM HTML Test - FORM + + +
    +

    + + + +

    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/form3.html b/dom/tests/mochitest/dom-level2-html/files/form3.html new file mode 100644 index 0000000000..543d09efb4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/form3.html @@ -0,0 +1,17 @@ + + + + +FORM3 + + +
    +

    + + + +

    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/form3.xhtml b/dom/tests/mochitest/dom-level2-html/files/form3.xhtml new file mode 100644 index 0000000000..48f5019cba --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/form3.xhtml @@ -0,0 +1,18 @@ + + + + +FORM3 + + +
    +

    + + + +

    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/form3.xml b/dom/tests/mochitest/dom-level2-html/files/form3.xml new file mode 100644 index 0000000000..bbed66fbe9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/form3.xml @@ -0,0 +1,18 @@ + + + + +FORM3 + + +
    +

    + + + +

    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/frame.html b/dom/tests/mochitest/dom-level2-html/files/frame.html new file mode 100644 index 0000000000..41182c9be3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/frame.html @@ -0,0 +1,14 @@ + + + + +NIST DOM HTML Test - FRAME + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/frame.xhtml b/dom/tests/mochitest/dom-level2-html/files/frame.xhtml new file mode 100644 index 0000000000..bbe00fac1e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/frame.xhtml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - FRAME + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/frame.xml b/dom/tests/mochitest/dom-level2-html/files/frame.xml new file mode 100644 index 0000000000..bbe00fac1e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/frame.xml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - FRAME + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/frame2.html b/dom/tests/mochitest/dom-level2-html/files/frame2.html new file mode 100644 index 0000000000..6030ec5f54 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/frame2.html @@ -0,0 +1,16 @@ + + + + +NIST DOM HTML Test - FRAME2 + + + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/frame2.xhtml b/dom/tests/mochitest/dom-level2-html/files/frame2.xhtml new file mode 100644 index 0000000000..09008eb864 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/frame2.xhtml @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - FRAME2 + + + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/frame2.xml b/dom/tests/mochitest/dom-level2-html/files/frame2.xml new file mode 100644 index 0000000000..615f234068 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/frame2.xml @@ -0,0 +1,16 @@ + + + + +NIST DOM HTML Test - FRAME2 + + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/frameset.html b/dom/tests/mochitest/dom-level2-html/files/frameset.html new file mode 100644 index 0000000000..f208fe0559 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/frameset.html @@ -0,0 +1,14 @@ + + + + +NIST DOM HTML Test - FRAMESET + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/frameset.xhtml b/dom/tests/mochitest/dom-level2-html/files/frameset.xhtml new file mode 100644 index 0000000000..2035bd9c80 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/frameset.xhtml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - FRAMESET + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/frameset.xml b/dom/tests/mochitest/dom-level2-html/files/frameset.xml new file mode 100644 index 0000000000..2035bd9c80 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/frameset.xml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - FRAMESET + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/heading.html b/dom/tests/mochitest/dom-level2-html/files/heading.html new file mode 100644 index 0000000000..90d388c0f6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/heading.html @@ -0,0 +1,16 @@ + + + + +NIST DOM HTML Test - HEADING + + +

    Head Element 1

    +

    Head Element 2

    +

    Head Element 3

    +

    Head Element 4

    +
    Head Element 5
    +
    Head Element 6
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/heading.xhtml b/dom/tests/mochitest/dom-level2-html/files/heading.xhtml new file mode 100644 index 0000000000..3fda259f19 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/heading.xhtml @@ -0,0 +1,18 @@ + + + + +NIST DOM HTML Test - HEADING + + +

    Head Element 1

    +

    Head Element 2

    +

    Head Element 3

    +

    Head Element 4

    +
    Head Element 5
    +
    Head Element 6
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/heading.xml b/dom/tests/mochitest/dom-level2-html/files/heading.xml new file mode 100644 index 0000000000..3fda259f19 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/heading.xml @@ -0,0 +1,18 @@ + + + + +NIST DOM HTML Test - HEADING + + +

    Head Element 1

    +

    Head Element 2

    +

    Head Element 3

    +

    Head Element 4

    +
    Head Element 5
    +
    Head Element 6
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/hr.html b/dom/tests/mochitest/dom-level2-html/files/hr.html new file mode 100644 index 0000000000..9c4faccd0b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/hr.html @@ -0,0 +1,11 @@ + + + + +NIST DOM HTML Test - HR + + +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/hr.xhtml b/dom/tests/mochitest/dom-level2-html/files/hr.xhtml new file mode 100644 index 0000000000..685de35151 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/hr.xhtml @@ -0,0 +1,13 @@ + + + + +NIST DOM HTML Test - HR + + +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/hr.xml b/dom/tests/mochitest/dom-level2-html/files/hr.xml new file mode 100644 index 0000000000..685de35151 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/hr.xml @@ -0,0 +1,13 @@ + + + + +NIST DOM HTML Test - HR + + +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/html.html b/dom/tests/mochitest/dom-level2-html/files/html.html new file mode 100644 index 0000000000..2c91731e45 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/html.html @@ -0,0 +1,12 @@ + + + + +NIST DOM HTML Test - Html + + +

    Hello, World.

    + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/html.xhtml b/dom/tests/mochitest/dom-level2-html/files/html.xhtml new file mode 100644 index 0000000000..f07d2c1387 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/html.xhtml @@ -0,0 +1,14 @@ + + + + +NIST DOM HTML Test - Html + + +

    Hello, World.

    + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/html.xml b/dom/tests/mochitest/dom-level2-html/files/html.xml new file mode 100644 index 0000000000..f07d2c1387 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/html.xml @@ -0,0 +1,14 @@ + + + + +NIST DOM HTML Test - Html + + +

    Hello, World.

    + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/iframe.html b/dom/tests/mochitest/dom-level2-html/files/iframe.html new file mode 100644 index 0000000000..0a44fc3354 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/iframe.html @@ -0,0 +1,10 @@ + + + + +NIST DOM HTML Test - IFRAME + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/iframe.xhtml b/dom/tests/mochitest/dom-level2-html/files/iframe.xhtml new file mode 100644 index 0000000000..93326c8178 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/iframe.xhtml @@ -0,0 +1,12 @@ + + + + +NIST DOM HTML Test - IFRAME + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/iframe.xml b/dom/tests/mochitest/dom-level2-html/files/iframe.xml new file mode 100644 index 0000000000..93326c8178 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/iframe.xml @@ -0,0 +1,12 @@ + + + + +NIST DOM HTML Test - IFRAME + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/iframe2.html b/dom/tests/mochitest/dom-level2-html/files/iframe2.html new file mode 100644 index 0000000000..7f302b8433 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/iframe2.html @@ -0,0 +1,13 @@ + + + + +NIST DOM HTML Test - IFRAME2 + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/iframe2.xhtml b/dom/tests/mochitest/dom-level2-html/files/iframe2.xhtml new file mode 100644 index 0000000000..a1b1011396 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/iframe2.xhtml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - IFRAME2 + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/iframe2.xml b/dom/tests/mochitest/dom-level2-html/files/iframe2.xml new file mode 100644 index 0000000000..a1b1011396 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/iframe2.xml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - IFRAME2 + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/img.html b/dom/tests/mochitest/dom-level2-html/files/img.html new file mode 100644 index 0000000000..b4e8b270eb --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/img.html @@ -0,0 +1,13 @@ + + + + +NIST DOM HTML Test - IMG + + +

    +DTS IMAGE LOGO +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/img.xhtml b/dom/tests/mochitest/dom-level2-html/files/img.xhtml new file mode 100644 index 0000000000..40e3695b9c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/img.xhtml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - IMG + + +

    +DTS IMAGE LOGO +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/img.xml b/dom/tests/mochitest/dom-level2-html/files/img.xml new file mode 100644 index 0000000000..40e3695b9c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/img.xml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - IMG + + +

    +DTS IMAGE LOGO +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/index.html b/dom/tests/mochitest/dom-level2-html/files/index.html new file mode 100644 index 0000000000..ee49e443c4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/index.html @@ -0,0 +1,216 @@ + + + + Index of /2004/04/ecmascript/level2/html/files + + +

    Index of /2004/04/ecmascript/level2/html/files

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    [ICO]NameLast modifiedSizeDescription

    [DIR]Parent Directory  -
    [TXT]anchor.html05-Apr-2004 14:39 490 NIST DOM HTML Test - Anchor
    [   ]anchor.xhtml05-Apr-2004 14:39 530
    [   ]anchor.xml05-Apr-2004 14:39 530
    [TXT]anchor2.html05-Apr-2004 14:39 367 NIST DOM HTML Test - Anchor
    [   ]anchor2.xhtml05-Apr-2004 14:39 367
    [   ]anchor2.xml05-Apr-2004 14:39 367
    [TXT]applet.html05-Apr-2004 14:39 446 NIST DOM HTML Test - Applet
    [   ]applet.xhtml05-Apr-2004 14:39 487
    [   ]applet.xml05-Apr-2004 14:39 487
    [TXT]applet2.html05-Apr-2004 14:39 432 NIST DOM HTML Test - Applet
    [   ]applet2.xhtml05-Apr-2004 14:39 473
    [   ]applet2.xml05-Apr-2004 14:39 473
    [TXT]area.html05-Apr-2004 14:39 405 NIST DOM HTML Test - Area
    [   ]area.xhtml05-Apr-2004 14:39 448
    [   ]area.xml05-Apr-2004 14:39 448
    [TXT]area2.html05-Apr-2004 14:39 400 NIST DOM HTML Test - Area
    [   ]area2.xhtml05-Apr-2004 14:39 401
    [   ]area2.xml05-Apr-2004 14:39 401
    [TXT]base.html05-Apr-2004 14:39 292 NIST DOM HTML Test - Base
    [   ]base.xhtml05-Apr-2004 14:39 321
    [   ]base.xml05-Apr-2004 14:39 321
    [TXT]base2.html05-Apr-2004 14:39 544 NIST DOM HTML Test - Base2
    [   ]base2.xhtml05-Apr-2004 14:39 542
    [   ]base2.xml05-Apr-2004 14:39 542
    [TXT]body.html05-Apr-2004 14:39 379 NIST DOM HTML Test - Body
    [   ]body.xhtml05-Apr-2004 14:39 476
    [   ]body.xml05-Apr-2004 14:39 476
    [TXT]br.html05-Apr-2004 14:39 274 NIST DOM HTML Test - BR
    [   ]br.xhtml05-Apr-2004 14:39 315
    [   ]br.xml05-Apr-2004 14:39 315
    [TXT]button.html05-Apr-2004 14:39 550 NIST DOM HTML Test - Button
    [   ]button.xhtml05-Apr-2004 14:39 592
    [   ]button.xml05-Apr-2004 14:39 592
    [TXT]collection.html05-Apr-2004 14:39 2.1KNIST DOM HTML Test - SELECT
    [   ]collection.xhtml05-Apr-2004 14:39 2.2K
    [   ]collection.xml05-Apr-2004 14:39 2.2K
    [TXT]directory.html05-Apr-2004 14:39 369 NIST DOM HTML Test - Directory
    [   ]directory.xhtml05-Apr-2004 14:39 409
    [   ]directory.xml05-Apr-2004 14:39 409
    [TXT]div.html05-Apr-2004 14:39 351 NIST DOM HTML Test - DIV
    [   ]div.xhtml05-Apr-2004 14:39 391
    [   ]div.xml05-Apr-2004 14:39 391
    [TXT]dl.html05-Apr-2004 14:39 373 NIST DOM HTML Test - DL
    [   ]dl.xhtml05-Apr-2004 14:39 413
    [   ]dl.xml05-Apr-2004 14:39 413
    [TXT]document.html05-Apr-2004 14:39 1.5KNIST DOM HTML Test - DOCUMENT
    [   ]document.xhtml05-Apr-2004 14:39 1.6K
    [   ]document.xml05-Apr-2004 14:39 1.6K
    [TXT]element.html05-Apr-2004 14:39 3.5KNIST DOM HTML Test - Element
    [   ]element.xhtml05-Apr-2004 14:39 3.5K
    [   ]element.xml05-Apr-2004 14:39 3.5K
    [TXT]fieldset.html05-Apr-2004 14:39 505 NIST DOM HTML Test - FieldSet
    [   ]fieldset.xhtml05-Apr-2004 14:39 545
    [   ]fieldset.xml05-Apr-2004 14:39 545
    [TXT]font.html05-Apr-2004 14:39 322 NIST DOM HTML Test - Font
    [   ]font.xhtml05-Apr-2004 14:39 366
    [   ]font.xml05-Apr-2004 14:39 366
    [TXT]form.html05-Apr-2004 14:39 544 NIST DOM HTML Test - FORM
    [   ]form.xhtml05-Apr-2004 14:39 594
    [   ]form.xml05-Apr-2004 14:39 594
    [TXT]form2.html05-Apr-2004 14:39 613 NIST DOM HTML Test - FORM
    [   ]form2.xhtml05-Apr-2004 14:39 611
    [   ]form2.xml05-Apr-2004 14:39 611
    [TXT]form3.html05-Apr-2004 14:39 433 FORM3
    [   ]form3.xhtml05-Apr-2004 14:39 489
    [   ]form3.xml05-Apr-2004 14:39 471
    [TXT]frame.html05-Apr-2004 14:39 524 NIST DOM HTML Test - FRAME
    [   ]frame.xhtml05-Apr-2004 14:39 522
    [   ]frame.xml05-Apr-2004 14:39 522
    [TXT]frame2.html05-Apr-2004 14:39 560 NIST DOM HTML Test - FRAME2
    [   ]frame2.xhtml05-Apr-2004 14:39 558
    [   ]frame2.xml05-Apr-2004 14:39 518
    [TXT]frameset.html05-Apr-2004 14:39 403 NIST DOM HTML Test - FRAMESET
    [   ]frameset.xhtml05-Apr-2004 14:39 402
    [   ]frameset.xml05-Apr-2004 14:39 402
    [TXT]heading.html05-Apr-2004 14:39 483 NIST DOM HTML Test - HEADING
    [   ]heading.xhtml05-Apr-2004 14:39 521
    [   ]heading.xml05-Apr-2004 14:39 521
    [TXT]hr.html05-Apr-2004 14:39 309 NIST DOM HTML Test - HR
    [   ]hr.xhtml05-Apr-2004 14:39 348
    [   ]hr.xml05-Apr-2004 14:39 348
    [TXT]html.html05-Apr-2004 14:39 321 NIST DOM HTML Test - Html
    [   ]html.xhtml05-Apr-2004 14:39 300
    [   ]html.xml05-Apr-2004 14:39 300
    [TXT]iframe.html05-Apr-2004 14:39 431 NIST DOM HTML Test - IFRAME
    [   ]iframe.xhtml05-Apr-2004 14:39 471
    [   ]iframe.xml05-Apr-2004 14:39 471
    [TXT]iframe2.html05-Apr-2004 14:39 499 NIST DOM HTML Test - IFRAME2
    [   ]iframe2.xhtml05-Apr-2004 14:39 539
    [   ]iframe2.xml05-Apr-2004 14:39 539
    [TXT]img.html05-Apr-2004 14:39 454 NIST DOM HTML Test - IMG
    [   ]img.xhtml05-Apr-2004 14:39 494
    [   ]img.xml05-Apr-2004 14:39 494
    [TXT]input.html05-Apr-2004 14:39 1.7KNIST DOM HTML Test - INPUT
    [   ]input.xhtml05-Apr-2004 14:39 1.7K
    [   ]input.xml05-Apr-2004 14:39 1.7K
    [TXT]isindex.html05-Apr-2004 14:39 389 NIST DOM HTML Test - ISINDEX
    [   ]isindex.xhtml05-Apr-2004 14:39 430
    [   ]isindex.xml05-Apr-2004 14:39 430
    [TXT]label.html05-Apr-2004 14:39 572 NIST DOM HTML Test - LABEL
    [   ]label.xhtml05-Apr-2004 14:39 612
    [   ]label.xml05-Apr-2004 14:39 612
    [TXT]legend.html05-Apr-2004 14:39 599 NIST DOM HTML Test - LEGEND
    [   ]legend.xhtml05-Apr-2004 14:39 638
    [   ]legend.xml05-Apr-2004 14:39 638
    [TXT]li.html05-Apr-2004 14:39 401 NIST DOM HTML Test - LI
    [   ]li.xhtml05-Apr-2004 14:39 441
    [   ]li.xml05-Apr-2004 14:39 441
    [TXT]link.html05-Apr-2004 14:39 492 NIST DOM HTML Test - LINK
    [   ]link.xhtml05-Apr-2004 14:39 535
    [   ]link.xml05-Apr-2004 14:39 535
    [TXT]link2.html05-Apr-2004 14:39 548 NIST DOM HTML Test - LINK
    [   ]link2.xhtml05-Apr-2004 14:39 552
    [   ]link2.xml05-Apr-2004 14:39 552
    [TXT]map.html05-Apr-2004 14:39 479 NIST DOM HTML Test - MAP
    [   ]map.xhtml05-Apr-2004 14:39 523
    [   ]map.xml05-Apr-2004 14:39 523
    [TXT]menu.html05-Apr-2004 14:39 346 NIST DOM HTML Test - MENU
    [   ]menu.xhtml05-Apr-2004 14:39 386
    [   ]menu.xml05-Apr-2004 14:39 386
    [TXT]meta.html05-Apr-2004 14:39 283 NIST DOM HTML Test - META
    [   ]meta.xhtml05-Apr-2004 14:39 393
    [   ]meta.xml05-Apr-2004 14:39 393
    [TXT]mod.html05-Apr-2004 14:39 558 NIST DOM HTML Test - MOD
    [   ]mod.xhtml05-Apr-2004 14:39 599
    [   ]mod.xml05-Apr-2004 14:39 599
    [TXT]object.html05-Apr-2004 14:39 669 NIST DOM HTML Test - OBJECT
    [   ]object.xhtml05-Apr-2004 14:39 709
    [   ]object.xml05-Apr-2004 14:39 709
    [TXT]object2.html05-Apr-2004 14:39 666 NIST DOM HTML Test - OBJECT
    [   ]object2.xhtml05-Apr-2004 14:39 707
    [   ]object2.xml05-Apr-2004 14:39 707
    [TXT]olist.html05-Apr-2004 14:39 502 NIST DOM HTML Test - OLIST
    [   ]olist.xhtml05-Apr-2004 14:39 542
    [   ]olist.xml05-Apr-2004 14:39 542
    [TXT]optgroup.html05-Apr-2004 14:39 587 NIST DOM HTML Test - OPTGROUP
    [   ]optgroup.xhtml05-Apr-2004 14:39 628
    [   ]optgroup.xml05-Apr-2004 14:39 628
    [TXT]option.html05-Apr-2004 14:39 836 NIST DOM HTML Test - OPTION
    [   ]option.xhtml05-Apr-2004 14:39 858
    [   ]option.xml05-Apr-2004 14:39 858
    [TXT]optionscollection.html05-Apr-2004 14:39 847 NIST DOM HTML Test - OPTIONSCOLLECTION
    [   ]optionscollection.xhtml05-Apr-2004 14:39 869
    [   ]optionscollection.xml05-Apr-2004 14:39 869
    [TXT]paragraph.html05-Apr-2004 14:39 284 NIST DOM HTML Test - PARAGRAPH
    [   ]paragraph.xhtml05-Apr-2004 14:39 324
    [   ]paragraph.xml05-Apr-2004 14:39 324
    [TXT]param.html05-Apr-2004 14:39 343 NIST DOM HTML Test - PARAM
    [   ]param.xhtml05-Apr-2004 14:39 386
    [   ]param.xml05-Apr-2004 14:39 386
    [TXT]pre.html05-Apr-2004 14:39 549 NIST DOM HTML Test - PRE
    [   ]pre.xhtml05-Apr-2004 14:39 565
    [   ]pre.xml05-Apr-2004 14:39 565
    [TXT]quote.html05-Apr-2004 14:39 440 NIST DOM HTML Test - QUOTE
    [   ]quote.xhtml05-Apr-2004 14:39 481
    [   ]quote.xml05-Apr-2004 14:39 481
    [IMG]right.png05-Apr-2004 14:39 137
    [TXT]script.html05-Apr-2004 14:39 359 NIST DOM HTML Test - SCRIPT
    [   ]script.xhtml05-Apr-2004 14:39 399
    [   ]script.xml05-Apr-2004 14:39 399
    [TXT]select.html05-Apr-2004 14:39 1.0KNIST DOM HTML Test - SELECT
    [   ]select.xhtml05-Apr-2004 14:39 1.0K
    [   ]select.xml05-Apr-2004 14:39 1.0K
    [TXT]style.html05-Apr-2004 14:39 319 NIST DOM HTML Test - STYLE
    [   ]style.xhtml05-Apr-2004 14:39 356
    [   ]style.xml05-Apr-2004 14:39 356
    [TXT]table.html05-Apr-2004 14:39 1.9KNIST DOM HTML Test - TABLE
    [   ]table.xhtml05-Apr-2004 14:39 1.9K
    [   ]table.xml05-Apr-2004 14:39 1.9K
    [TXT]table1.html05-Apr-2004 14:39 336 NIST DOM HTML Test - TABLE
    [   ]table1.xhtml05-Apr-2004 14:39 378
    [   ]table1.xml05-Apr-2004 14:39 378
    [TXT]tablecaption.html05-Apr-2004 14:39 435 NIST DOM HTML Test - TABLECAPTION
    [   ]tablecaption.xhtml05-Apr-2004 14:39 453
    [   ]tablecaption.xml05-Apr-2004 14:39 453
    [TXT]tablecell.html05-Apr-2004 14:39 909 NIST DOM HTML Test - TABLECELL
    [   ]tablecell.xhtml05-Apr-2004 14:39 944
    [   ]tablecell.xml05-Apr-2004 14:39 944
    [TXT]tablecol.html05-Apr-2004 14:39 629 NIST DOM HTML Test - TABLECOL
    [   ]tablecol.xhtml05-Apr-2004 14:39 656
    [   ]tablecol.xml05-Apr-2004 14:39 656
    [TXT]tablerow.html05-Apr-2004 14:39 1.7KNIST DOM HTML Test - TABLEROW
    [   ]tablerow.xhtml05-Apr-2004 14:39 1.8K
    [   ]tablerow.xml05-Apr-2004 14:39 1.8K
    [TXT]tablesection.html05-Apr-2004 14:39 1.8KNIST DOM HTML Test - TABLESECTION
    [   ]tablesection.xhtml05-Apr-2004 14:39 1.9K
    [   ]tablesection.xml05-Apr-2004 14:39 1.9K
    [TXT]textarea.html05-Apr-2004 14:39 938 NIST DOM HTML Test - TEXTAREA
    [   ]textarea.xhtml05-Apr-2004 14:39 951
    [   ]textarea.xml05-Apr-2004 14:39 951
    [TXT]title.html05-Apr-2004 14:39 266 NIST DOM HTML Test - TITLE
    [   ]title.xhtml05-Apr-2004 14:39 294
    [   ]title.xml05-Apr-2004 14:39 294
    [TXT]ulist.html05-Apr-2004 14:39 619 NIST DOM HTML Test - ULIST
    [   ]ulist.xhtml05-Apr-2004 14:39 659
    [   ]ulist.xml05-Apr-2004 14:39 659
    [IMG]w3c_main.png05-Apr-2004 14:39 5.8K
    [   ]xhtml-lat1.ent05-Apr-2004 14:39 11K
    [   ]xhtml-special.ent05-Apr-2004 14:39 4.0K
    [   ]xhtml-symbol.ent05-Apr-2004 14:39 14K
    [TXT]xhtml1-frameset.dtd05-Apr-2004 14:39 32K
    [TXT]xhtml1-strict.dtd05-Apr-2004 14:39 25K
    [TXT]xhtml1-transitional.dtd05-Apr-2004 14:39 31K

    + diff --git a/dom/tests/mochitest/dom-level2-html/files/input.html b/dom/tests/mochitest/dom-level2-html/files/input.html new file mode 100644 index 0000000000..c36e87d504 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/input.html @@ -0,0 +1,60 @@ + + + + +NIST DOM HTML Test - INPUT + + + + + + +
    Under a FORM control +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    +ReHire +
    +NewHire +
    Hours available to work +EarlyMornings +
    +Afternoon +
    +Evenings +
    +Closing +
    +
    + +
    + +
    +
    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/input.xhtml b/dom/tests/mochitest/dom-level2-html/files/input.xhtml new file mode 100644 index 0000000000..b7704ad10e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/input.xhtml @@ -0,0 +1,62 @@ + + + + +NIST DOM HTML Test - INPUT + + + + + + +
    Under a FORM control +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    + +
    + +
    Hours available to work + +
    + +
    + +
    + +
    +
    + +
    + +
    +
    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/input.xml b/dom/tests/mochitest/dom-level2-html/files/input.xml new file mode 100644 index 0000000000..b7704ad10e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/input.xml @@ -0,0 +1,62 @@ + + + + +NIST DOM HTML Test - INPUT + + + + + + +
    Under a FORM control +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    + +
    + +
    Hours available to work + +
    + +
    + +
    + +
    +
    + +
    + +
    +
    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/isindex.html b/dom/tests/mochitest/dom-level2-html/files/isindex.html new file mode 100644 index 0000000000..0fd50ceae2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/isindex.html @@ -0,0 +1,14 @@ + + + + +NIST DOM HTML Test - ISINDEX + + +
    + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/isindex.xhtml b/dom/tests/mochitest/dom-level2-html/files/isindex.xhtml new file mode 100644 index 0000000000..a48d9a5851 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/isindex.xhtml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - ISINDEX + + +
    + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/isindex.xml b/dom/tests/mochitest/dom-level2-html/files/isindex.xml new file mode 100644 index 0000000000..a48d9a5851 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/isindex.xml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - ISINDEX + + +
    + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/label.html b/dom/tests/mochitest/dom-level2-html/files/label.html new file mode 100644 index 0000000000..d0abc044ba --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/label.html @@ -0,0 +1,21 @@ + + + + +NIST DOM HTML Test - LABEL + + +
    +

    + + +

    +
    +

    + + +

    + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/label.xhtml b/dom/tests/mochitest/dom-level2-html/files/label.xhtml new file mode 100644 index 0000000000..902584fdeb --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/label.xhtml @@ -0,0 +1,22 @@ + + + + +NIST DOM HTML Test - LABEL + + +
    +

    + + +

    +
    +

    + + +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/label.xml b/dom/tests/mochitest/dom-level2-html/files/label.xml new file mode 100644 index 0000000000..902584fdeb --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/label.xml @@ -0,0 +1,22 @@ + + + + +NIST DOM HTML Test - LABEL + + +
    +

    + + +

    +
    +

    + + +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/legend.html b/dom/tests/mochitest/dom-level2-html/files/legend.html new file mode 100644 index 0000000000..53160eeafa --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/legend.html @@ -0,0 +1,22 @@ + + + + +NIST DOM HTML Test - LEGEND + + +
    +
    +Enter Password1: + +
    +
    +
    +Enter Password2: + +
    + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/legend.xhtml b/dom/tests/mochitest/dom-level2-html/files/legend.xhtml new file mode 100644 index 0000000000..c95e6852a9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/legend.xhtml @@ -0,0 +1,23 @@ + + + + +NIST DOM HTML Test - LEGEND + + +
    +
    +Enter Password1: + +
    +
    +
    +Enter Password2: + +
    + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/legend.xml b/dom/tests/mochitest/dom-level2-html/files/legend.xml new file mode 100644 index 0000000000..c95e6852a9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/legend.xml @@ -0,0 +1,23 @@ + + + + +NIST DOM HTML Test - LEGEND + + +
    +
    +Enter Password1: + +
    +
    +
    +Enter Password2: + +
    + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/li.html b/dom/tests/mochitest/dom-level2-html/files/li.html new file mode 100644 index 0000000000..0c97b4c922 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/li.html @@ -0,0 +1,23 @@ + + + + +NIST DOM HTML Test - LI + + +
      +
    1. EMP0001 +
        +
      • Margaret Martin +
        +
        Accountant
        +
        56,000
        +
        Female
        +
        +
      • +
      +
    2. +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/li.xhtml b/dom/tests/mochitest/dom-level2-html/files/li.xhtml new file mode 100644 index 0000000000..79af811120 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/li.xhtml @@ -0,0 +1,25 @@ + + + + +NIST DOM HTML Test - LI + + +
      +
    1. EMP0001 +
        +
      • Margaret Martin +
        +
        Accountant
        +
        56,000
        +
        Female
        +
        +
      • +
      +
    2. +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/li.xml b/dom/tests/mochitest/dom-level2-html/files/li.xml new file mode 100644 index 0000000000..79af811120 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/li.xml @@ -0,0 +1,25 @@ + + + + +NIST DOM HTML Test - LI + + +
      +
    1. EMP0001 +
        +
      • Margaret Martin +
        +
        Accountant
        +
        56,000
        +
        Female
        +
        +
      • +
      +
    2. +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/link.html b/dom/tests/mochitest/dom-level2-html/files/link.html new file mode 100644 index 0000000000..2d4c082b4f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/link.html @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - LINK + + + + +

    +
    +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/link.xhtml b/dom/tests/mochitest/dom-level2-html/files/link.xhtml new file mode 100644 index 0000000000..5a0f18c241 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/link.xhtml @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - LINK + + + + +

    +
    +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/link.xml b/dom/tests/mochitest/dom-level2-html/files/link.xml new file mode 100644 index 0000000000..5a0f18c241 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/link.xml @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - LINK + + + + +

    +
    +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/link2.html b/dom/tests/mochitest/dom-level2-html/files/link2.html new file mode 100644 index 0000000000..12fac9daa6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/link2.html @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - LINK + + + + +

    +
    +

    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/link2.xhtml b/dom/tests/mochitest/dom-level2-html/files/link2.xhtml new file mode 100644 index 0000000000..95c80048f2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/link2.xhtml @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - LINK + + + + +

    +
    +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/link2.xml b/dom/tests/mochitest/dom-level2-html/files/link2.xml new file mode 100644 index 0000000000..95c80048f2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/link2.xml @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - LINK + + + + +

    +
    +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/map.html b/dom/tests/mochitest/dom-level2-html/files/map.html new file mode 100644 index 0000000000..a636fa5899 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/map.html @@ -0,0 +1,16 @@ + + + + +NIST DOM HTML Test - MAP + + +

    + +Domain1 +Domain2 +Domain3 + +

    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/map.xhtml b/dom/tests/mochitest/dom-level2-html/files/map.xhtml new file mode 100644 index 0000000000..f61a2adb9a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/map.xhtml @@ -0,0 +1,18 @@ + + + + +NIST DOM HTML Test - MAP + + +

    + +Domain1 +Domain2 +Domain3 + +

    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/map.xml b/dom/tests/mochitest/dom-level2-html/files/map.xml new file mode 100644 index 0000000000..f61a2adb9a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/map.xml @@ -0,0 +1,18 @@ + + + + +NIST DOM HTML Test - MAP + + +

    + +Domain1 +Domain2 +Domain3 + +

    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/menu.html b/dom/tests/mochitest/dom-level2-html/files/menu.html new file mode 100644 index 0000000000..e07204f1dc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/menu.html @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - MENU + + + +
  • Interview
  • +
  • Paperwork
  • +
  • Give start date
  • +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/menu.xhtml b/dom/tests/mochitest/dom-level2-html/files/menu.xhtml new file mode 100644 index 0000000000..9f020ff8b9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/menu.xhtml @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - MENU + + + +
  • Interview
  • +
  • Paperwork
  • +
  • Give start date
  • +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/menu.xml b/dom/tests/mochitest/dom-level2-html/files/menu.xml new file mode 100644 index 0000000000..9f020ff8b9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/menu.xml @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - MENU + + + +
  • Interview
  • +
  • Paperwork
  • +
  • Give start date
  • +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/meta.html b/dom/tests/mochitest/dom-level2-html/files/meta.html new file mode 100644 index 0000000000..e88fe8fc1d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/meta.html @@ -0,0 +1,13 @@ + + + + +NIST DOM HTML Test - META + + +

    +
    +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/meta.xhtml b/dom/tests/mochitest/dom-level2-html/files/meta.xhtml new file mode 100644 index 0000000000..bf89bbeeab --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/meta.xhtml @@ -0,0 +1,16 @@ + + + + + +NIST DOM HTML Test - META + + +

    +
    +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/meta.xml b/dom/tests/mochitest/dom-level2-html/files/meta.xml new file mode 100644 index 0000000000..bf89bbeeab --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/meta.xml @@ -0,0 +1,16 @@ + + + + + +NIST DOM HTML Test - META + + +

    +
    +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/mod.html b/dom/tests/mochitest/dom-level2-html/files/mod.html new file mode 100644 index 0000000000..1ab79696de --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/mod.html @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - MOD + + +

    +The INS element is used to indicate that a section of a document had been inserted. +
    +The DEL element is used to indicate that a section of a document had been removed. +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/mod.xhtml b/dom/tests/mochitest/dom-level2-html/files/mod.xhtml new file mode 100644 index 0000000000..b81432d52f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/mod.xhtml @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - MOD + + +

    +The INS element is used to indicate that a section of a document had been inserted. +
    +The DEL element is used to indicate that a section of a document had been removed. +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/mod.xml b/dom/tests/mochitest/dom-level2-html/files/mod.xml new file mode 100644 index 0000000000..b81432d52f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/mod.xml @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - MOD + + +

    +The INS element is used to indicate that a section of a document had been inserted. +
    +The DEL element is used to indicate that a section of a document had been removed. +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/object.html b/dom/tests/mochitest/dom-level2-html/files/object.html new file mode 100644 index 0000000000..31da31cdc8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/object.html @@ -0,0 +1,18 @@ + + + + +NIST DOM HTML Test - OBJECT + + +

    + +

    +
    +

    + +

    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/object.xhtml b/dom/tests/mochitest/dom-level2-html/files/object.xhtml new file mode 100644 index 0000000000..824f7fc60e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/object.xhtml @@ -0,0 +1,20 @@ + + + + +NIST DOM HTML Test - OBJECT + + +

    + +

    +
    +

    + +

    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/object.xml b/dom/tests/mochitest/dom-level2-html/files/object.xml new file mode 100644 index 0000000000..824f7fc60e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/object.xml @@ -0,0 +1,20 @@ + + + + +NIST DOM HTML Test - OBJECT + + +

    + +

    +
    +

    + +

    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/object2.html b/dom/tests/mochitest/dom-level2-html/files/object2.html new file mode 100644 index 0000000000..44680cd726 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/object2.html @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - OBJECT + + +

    + +

    +
    +

    + +

    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/object2.xhtml b/dom/tests/mochitest/dom-level2-html/files/object2.xhtml new file mode 100644 index 0000000000..a41e03dd8f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/object2.xhtml @@ -0,0 +1,20 @@ + + + + +NIST DOM HTML Test - OBJECT + + +

    + +

    +
    +

    + +

    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/object2.xml b/dom/tests/mochitest/dom-level2-html/files/object2.xml new file mode 100644 index 0000000000..a41e03dd8f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/object2.xml @@ -0,0 +1,20 @@ + + + + +NIST DOM HTML Test - OBJECT + + +

    + +

    +
    +

    + +

    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/olist.html b/dom/tests/mochitest/dom-level2-html/files/olist.html new file mode 100644 index 0000000000..f69c9ded98 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/olist.html @@ -0,0 +1,32 @@ + + + + +NIST DOM HTML Test - OLIST + + +
      +
    1. EMP0001 +
        +
      • Margaret Martin +
        +
        Accountant
        +
        56,000
        +
        +
      • +
      +
    2. +
    3. EMP0002 +
        +
      • Martha Raynolds +
        +
        Secretary
        +
        35,000
        +
        +
      • +
      +
    4. +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/olist.xhtml b/dom/tests/mochitest/dom-level2-html/files/olist.xhtml new file mode 100644 index 0000000000..cbe1ab6add --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/olist.xhtml @@ -0,0 +1,34 @@ + + + + +NIST DOM HTML Test - OLIST + + +
      +
    1. EMP0001 +
        +
      • Margaret Martin +
        +
        Accountant
        +
        56,000
        +
        +
      • +
      +
    2. +
    3. EMP0002 +
        +
      • Martha Raynolds +
        +
        Secretary
        +
        35,000
        +
        +
      • +
      +
    4. +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/olist.xml b/dom/tests/mochitest/dom-level2-html/files/olist.xml new file mode 100644 index 0000000000..cbe1ab6add --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/olist.xml @@ -0,0 +1,34 @@ + + + + +NIST DOM HTML Test - OLIST + + +
      +
    1. EMP0001 +
        +
      • Margaret Martin +
        +
        Accountant
        +
        56,000
        +
        +
      • +
      +
    2. +
    3. EMP0002 +
        +
      • Martha Raynolds +
        +
        Secretary
        +
        35,000
        +
        +
      • +
      +
    4. +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/optgroup.html b/dom/tests/mochitest/dom-level2-html/files/optgroup.html new file mode 100644 index 0000000000..a354af8066 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/optgroup.html @@ -0,0 +1,25 @@ + + + + +NIST DOM HTML Test - OPTGROUP + + +
    +

    + +

    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/optgroup.xhtml b/dom/tests/mochitest/dom-level2-html/files/optgroup.xhtml new file mode 100644 index 0000000000..b421ecabb3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/optgroup.xhtml @@ -0,0 +1,27 @@ + + + + +NIST DOM HTML Test - OPTGROUP + + +
    +

    + +

    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/optgroup.xml b/dom/tests/mochitest/dom-level2-html/files/optgroup.xml new file mode 100644 index 0000000000..b421ecabb3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/optgroup.xml @@ -0,0 +1,27 @@ + + + + +NIST DOM HTML Test - OPTGROUP + + +
    +

    + +

    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/option.html b/dom/tests/mochitest/dom-level2-html/files/option.html new file mode 100644 index 0000000000..83707c3929 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/option.html @@ -0,0 +1,36 @@ + + + + +NIST DOM HTML Test - OPTION + + +
    +

    + +

    +
    +

    + +

    + + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/option.xhtml b/dom/tests/mochitest/dom-level2-html/files/option.xhtml new file mode 100644 index 0000000000..8cf88d8878 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/option.xhtml @@ -0,0 +1,33 @@ + + + + +NIST DOM HTML Test - OPTION + + +
    +

    + +

    +
    +

    + +

    + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/option.xml b/dom/tests/mochitest/dom-level2-html/files/option.xml new file mode 100644 index 0000000000..8cf88d8878 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/option.xml @@ -0,0 +1,33 @@ + + + + +NIST DOM HTML Test - OPTION + + +
    +

    + +

    +
    +

    + +

    + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/optionscollection.html b/dom/tests/mochitest/dom-level2-html/files/optionscollection.html new file mode 100644 index 0000000000..d1e8743eae --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/optionscollection.html @@ -0,0 +1,36 @@ + + + + +NIST DOM HTML Test - OPTIONSCOLLECTION + + +
    +

    + +

    +
    +

    + +

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

    + +

    +
    +

    + +

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

    + +

    +
    +

    + +

    + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/paragraph.html b/dom/tests/mochitest/dom-level2-html/files/paragraph.html new file mode 100644 index 0000000000..0da4836097 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/paragraph.html @@ -0,0 +1,13 @@ + + + + +NIST DOM HTML Test - PARAGRAPH + + +

    +TEXT +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/paragraph.xhtml b/dom/tests/mochitest/dom-level2-html/files/paragraph.xhtml new file mode 100644 index 0000000000..2cdb1dfe15 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/paragraph.xhtml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - PARAGRAPH + + +

    +TEXT +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/paragraph.xml b/dom/tests/mochitest/dom-level2-html/files/paragraph.xml new file mode 100644 index 0000000000..2cdb1dfe15 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/paragraph.xml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - PARAGRAPH + + +

    +TEXT +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/param.html b/dom/tests/mochitest/dom-level2-html/files/param.html new file mode 100644 index 0000000000..290e626601 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/param.html @@ -0,0 +1,14 @@ + + + + +NIST DOM HTML Test - PARAM + + +

    + + + +

    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/param.xhtml b/dom/tests/mochitest/dom-level2-html/files/param.xhtml new file mode 100644 index 0000000000..3e916eb5a2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/param.xhtml @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - PARAM + + +

    + + + +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/param.xml b/dom/tests/mochitest/dom-level2-html/files/param.xml new file mode 100644 index 0000000000..3e916eb5a2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/param.xml @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - PARAM + + +

    + + + +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/pre.html b/dom/tests/mochitest/dom-level2-html/files/pre.html new file mode 100644 index 0000000000..2a402065e4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/pre.html @@ -0,0 +1,17 @@ + + + + +NIST DOM HTML Test - 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.
    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/pre.xhtml b/dom/tests/mochitest/dom-level2-html/files/pre.xhtml new file mode 100644 index 0000000000..69f652b14f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/pre.xhtml @@ -0,0 +1,19 @@ + + + + +NIST DOM HTML Test - 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.
    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/pre.xml b/dom/tests/mochitest/dom-level2-html/files/pre.xml new file mode 100644 index 0000000000..69f652b14f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/pre.xml @@ -0,0 +1,19 @@ + + + + +NIST DOM HTML Test - 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.
    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/quote.html b/dom/tests/mochitest/dom-level2-html/files/quote.html new file mode 100644 index 0000000000..6bad2b83f6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/quote.html @@ -0,0 +1,16 @@ + + + + +NIST DOM HTML Test - QUOTE + + +

    +The Q element is intended for short quotations +

    +
    +

    The BLOCKQUOTE element is used for long quotations.

    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/quote.xhtml b/dom/tests/mochitest/dom-level2-html/files/quote.xhtml new file mode 100644 index 0000000000..93e6c422f9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/quote.xhtml @@ -0,0 +1,18 @@ + + + + +NIST DOM HTML Test - QUOTE + + +

    +The Q element is intended for short quotations +

    +
    +

    The BLOCKQUOTE element is used for long quotations.

    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/quote.xml b/dom/tests/mochitest/dom-level2-html/files/quote.xml new file mode 100644 index 0000000000..93e6c422f9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/quote.xml @@ -0,0 +1,18 @@ + + + + +NIST DOM HTML Test - QUOTE + + +

    +The Q element is intended for short quotations +

    +
    +

    The BLOCKQUOTE element is used for long quotations.

    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/right.png b/dom/tests/mochitest/dom-level2-html/files/right.png new file mode 100644 index 0000000000..41ad0bdad2 Binary files /dev/null and b/dom/tests/mochitest/dom-level2-html/files/right.png differ diff --git a/dom/tests/mochitest/dom-level2-html/files/script.html b/dom/tests/mochitest/dom-level2-html/files/script.html new file mode 100644 index 0000000000..362860b393 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/script.html @@ -0,0 +1,11 @@ + + + + +NIST DOM HTML Test - SCRIPT + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/script.xhtml b/dom/tests/mochitest/dom-level2-html/files/script.xhtml new file mode 100644 index 0000000000..ebdaa7246f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/script.xhtml @@ -0,0 +1,13 @@ + + + + +NIST DOM HTML Test - SCRIPT + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/script.xml b/dom/tests/mochitest/dom-level2-html/files/script.xml new file mode 100644 index 0000000000..ebdaa7246f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/script.xml @@ -0,0 +1,13 @@ + + + + +NIST DOM HTML Test - SCRIPT + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/select.html b/dom/tests/mochitest/dom-level2-html/files/select.html new file mode 100644 index 0000000000..78206240f0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/select.html @@ -0,0 +1,44 @@ + + + + +NIST DOM HTML Test - SELECT + + +
    +

    + +

    +
    +

    + +

    +

    + +

    + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/select.xhtml b/dom/tests/mochitest/dom-level2-html/files/select.xhtml new file mode 100644 index 0000000000..491a74c6ac --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/select.xhtml @@ -0,0 +1,41 @@ + + + + +NIST DOM HTML Test - SELECT + + +
    +

    + +

    +
    +

    + +

    +

    + +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/select.xml b/dom/tests/mochitest/dom-level2-html/files/select.xml new file mode 100644 index 0000000000..491a74c6ac --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/select.xml @@ -0,0 +1,41 @@ + + + + +NIST DOM HTML Test - SELECT + + +
    +

    + +

    +
    +

    + +

    +

    + +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/style.html b/dom/tests/mochitest/dom-level2-html/files/style.html new file mode 100644 index 0000000000..c3df42432d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/style.html @@ -0,0 +1,12 @@ + + + + + +NIST DOM HTML Test - STYLE + + +

    Hello, World.

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/style.xhtml b/dom/tests/mochitest/dom-level2-html/files/style.xhtml new file mode 100644 index 0000000000..b8477c1f6d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/style.xhtml @@ -0,0 +1,14 @@ + + + + + +NIST DOM HTML Test - BR + + +

    Hello, World.

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/style.xml b/dom/tests/mochitest/dom-level2-html/files/style.xml new file mode 100644 index 0000000000..b8477c1f6d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/style.xml @@ -0,0 +1,14 @@ + + + + + +NIST DOM HTML Test - BR + + +

    Hello, World.

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/table.html b/dom/tests/mochitest/dom-level2-html/files/table.html new file mode 100644 index 0000000000..b8f151e069 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/table.html @@ -0,0 +1,78 @@ + + + + +NIST DOM HTML Test - TABLE + + + + + + + + + +
    IdNamePositionSalary
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table Caption
    Employee IdEmployee NamePositionSalaryGenderAddress
    next page ...next page ...next page ...next page ...next page ...next page ...
    EMP0001Margaret MartinAccountant56,000Female1230 North Ave. Dallas, Texas 98551
    EMP0002Martha RaynoldsSecretary35,000Female1900 Dallas Road Dallas, Texas 98554
    + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/table.xhtml b/dom/tests/mochitest/dom-level2-html/files/table.xhtml new file mode 100644 index 0000000000..8300b90a17 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/table.xhtml @@ -0,0 +1,81 @@ + + + + +NIST DOM HTML Test - TABLE + + + + + + + + + +
    IdNamePositionSalary
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table Caption
    Employee IdEmployee NamePositionSalaryGenderAddress
    next page ...next page ...next page ...next page ...next page ...next page ...
    EMP0001Margaret MartinAccountant56,000Female1230 North Ave. Dallas, Texas 98551
    EMP0002Martha RaynoldsSecretary35,000Female1900 Dallas Road Dallas, Texas 98554
    + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/table.xml b/dom/tests/mochitest/dom-level2-html/files/table.xml new file mode 100644 index 0000000000..8300b90a17 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/table.xml @@ -0,0 +1,81 @@ + + + + +NIST DOM HTML Test - TABLE + + + + + + + + + +
    IdNamePositionSalary
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table Caption
    Employee IdEmployee NamePositionSalaryGenderAddress
    next page ...next page ...next page ...next page ...next page ...next page ...
    EMP0001Margaret MartinAccountant56,000Female1230 North Ave. Dallas, Texas 98551
    EMP0002Martha RaynoldsSecretary35,000Female1900 Dallas Road Dallas, Texas 98554
    + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/table1.html b/dom/tests/mochitest/dom-level2-html/files/table1.html new file mode 100644 index 0000000000..8f5d19b282 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/table1.html @@ -0,0 +1,12 @@ + + + + +NIST DOM HTML Test - TABLE + + + + +
    HTML can't abide empty table
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/table1.xhtml b/dom/tests/mochitest/dom-level2-html/files/table1.xhtml new file mode 100644 index 0000000000..e174c63dfd --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/table1.xhtml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - TABLE + + + + +
    XHTML can't abide empty table
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/table1.xml b/dom/tests/mochitest/dom-level2-html/files/table1.xml new file mode 100644 index 0000000000..e174c63dfd --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/table1.xml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - TABLE + + + + +
    XHTML can't abide empty table
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/tablecaption.html b/dom/tests/mochitest/dom-level2-html/files/tablecaption.html new file mode 100644 index 0000000000..f9181c739c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/tablecaption.html @@ -0,0 +1,25 @@ + + + + +NIST DOM HTML Test - TABLECAPTION + + + + + + + + + + +
    CAPTION 1
    Employee IdEmployee NamePositionSalary
    + + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/tablecaption.xhtml b/dom/tests/mochitest/dom-level2-html/files/tablecaption.xhtml new file mode 100644 index 0000000000..67b72dcc36 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/tablecaption.xhtml @@ -0,0 +1,21 @@ + + + + +NIST DOM HTML Test - BR + + + + + + + + + + +
    CAPTION 1
    Employee IdEmployee NamePositionSalary
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/tablecaption.xml b/dom/tests/mochitest/dom-level2-html/files/tablecaption.xml new file mode 100644 index 0000000000..67b72dcc36 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/tablecaption.xml @@ -0,0 +1,21 @@ + + + + +NIST DOM HTML Test - BR + + + + + + + + + + +
    CAPTION 1
    Employee IdEmployee NamePositionSalary
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/tablecell.html b/dom/tests/mochitest/dom-level2-html/files/tablecell.html new file mode 100644 index 0000000000..c9adef2a41 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/tablecell.html @@ -0,0 +1,23 @@ + + + + +NIST DOM HTML Test - TABLECELL + + + + + + + + + + + + + + + +
    Employee IdEmployee NamePositionSalary
    EMP0001Margaret MartinAccountant56,000
    + + diff --git a/dom/tests/mochitest/dom-level2-html/files/tablecell.xhtml b/dom/tests/mochitest/dom-level2-html/files/tablecell.xhtml new file mode 100644 index 0000000000..0e8ee7f0dd --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/tablecell.xhtml @@ -0,0 +1,26 @@ + + + + +NIST DOM HTML Test - TABLECELL + + + + + + + + + + + + + + + +
    Employee IdEmployee NamePositionSalary
    EMP0001Margaret MartinAccountant56,000
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/tablecell.xml b/dom/tests/mochitest/dom-level2-html/files/tablecell.xml new file mode 100644 index 0000000000..0e8ee7f0dd --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/tablecell.xml @@ -0,0 +1,26 @@ + + + + +NIST DOM HTML Test - TABLECELL + + + + + + + + + + + + + + + +
    Employee IdEmployee NamePositionSalary
    EMP0001Margaret MartinAccountant56,000
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/tablecol.html b/dom/tests/mochitest/dom-level2-html/files/tablecol.html new file mode 100644 index 0000000000..c72a948990 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/tablecol.html @@ -0,0 +1,35 @@ + + + + +NIST DOM HTML Test - TABLECOL + + + +++ + + + + + + + + + + + + +
    IdNamePositionSalary
    EMP0001MartinAccountant56,000
    + + + + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/tablecol.xhtml b/dom/tests/mochitest/dom-level2-html/files/tablecol.xhtml new file mode 100644 index 0000000000..a69c4fec46 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/tablecol.xhtml @@ -0,0 +1,29 @@ + + + + +NIST DOM HTML Test - TABLECOL + + + +++ + + + + + + + + + + + + +
    IdNamePositionSalary
    EMP0001MartinAccountant56,000
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/tablecol.xml b/dom/tests/mochitest/dom-level2-html/files/tablecol.xml new file mode 100644 index 0000000000..a69c4fec46 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/tablecol.xml @@ -0,0 +1,29 @@ + + + + +NIST DOM HTML Test - TABLECOL + + + +++ + + + + + + + + + + + + +
    IdNamePositionSalary
    EMP0001MartinAccountant56,000
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/tablerow.html b/dom/tests/mochitest/dom-level2-html/files/tablerow.html new file mode 100644 index 0000000000..9e76a4cdb5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/tablerow.html @@ -0,0 +1,59 @@ + + + + +NIST DOM HTML Test - TABLEROW + + + + + + + + + +
    IdNamePositionSalary
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table Caption
    Employee IdEmployee NamePositionSalaryGenderAddress
    next page ...next page ...next page ...next page ...next page ...next page ...
    EMP0001Margaret MartinAccountant56,000Female1230 North Ave. Dallas, Texas 98551
    EMP0002Martha RaynoldsSecretary35,000Female1900 Dallas Road Dallas, Texas 98554
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/tablerow.xhtml b/dom/tests/mochitest/dom-level2-html/files/tablerow.xhtml new file mode 100644 index 0000000000..b901e3ce0e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/tablerow.xhtml @@ -0,0 +1,62 @@ + + + + +NIST DOM HTML Test - TABLE + + + + + + + + + +
    IdNamePositionSalary
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table Caption
    Employee IdEmployee NamePositionSalaryGenderAddress
    next page ...next page ...next page ...next page ...next page ...next page ...
    EMP0001Margaret MartinAccountant56,000Female1230 North Ave. Dallas, Texas 98551
    EMP0002Martha RaynoldsSecretary35,000Female1900 Dallas Road Dallas, Texas 98554
    + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/tablerow.xml b/dom/tests/mochitest/dom-level2-html/files/tablerow.xml new file mode 100644 index 0000000000..b901e3ce0e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/tablerow.xml @@ -0,0 +1,62 @@ + + + + +NIST DOM HTML Test - TABLE + + + + + + + + + +
    IdNamePositionSalary
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table Caption
    Employee IdEmployee NamePositionSalaryGenderAddress
    next page ...next page ...next page ...next page ...next page ...next page ...
    EMP0001Margaret MartinAccountant56,000Female1230 North Ave. Dallas, Texas 98551
    EMP0002Martha RaynoldsSecretary35,000Female1900 Dallas Road Dallas, Texas 98554
    + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/tablesection.html b/dom/tests/mochitest/dom-level2-html/files/tablesection.html new file mode 100644 index 0000000000..0c1a5f784d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/tablesection.html @@ -0,0 +1,62 @@ + + + + +NIST DOM HTML Test - TABLESECTION + + + + + + + + + + + +
    IdNamePositionSalary
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table Caption
    Employee IdEmployee NamePositionSalaryGenderAddress
    next page ...next page ...next page ...next page ...next page ...next page ...
    EMP0001Margaret MartinAccountant56,000Female1230 North Ave. Dallas, Texas 98551
    EMP0002Martha RaynoldsSecretary35,000Female1900 Dallas Road Dallas, Texas 98554
    + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/tablesection.xhtml b/dom/tests/mochitest/dom-level2-html/files/tablesection.xhtml new file mode 100644 index 0000000000..34986508bc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/tablesection.xhtml @@ -0,0 +1,65 @@ + + + + +NIST DOM HTML Test - TABLESECTION + + + + + + + + + + + +
    IdNamePositionSalary
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table Caption
    Employee IdEmployee NamePositionSalaryGenderAddress
    next page ...next page ...next page ...next page ...next page ...next page ...
    EMP0001Margaret MartinAccountant56,000Female1230 North Ave. Dallas, Texas 98551
    EMP0002Martha RaynoldsSecretary35,000Female1900 Dallas Road Dallas, Texas 98554
    + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/tablesection.xml b/dom/tests/mochitest/dom-level2-html/files/tablesection.xml new file mode 100644 index 0000000000..34986508bc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/tablesection.xml @@ -0,0 +1,65 @@ + + + + +NIST DOM HTML Test - TABLESECTION + + + + + + + + + + + +
    IdNamePositionSalary
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table Caption
    Employee IdEmployee NamePositionSalaryGenderAddress
    next page ...next page ...next page ...next page ...next page ...next page ...
    EMP0001Margaret MartinAccountant56,000Female1230 North Ave. Dallas, Texas 98551
    EMP0002Martha RaynoldsSecretary35,000Female1900 Dallas Road Dallas, Texas 98554
    + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/textarea.html b/dom/tests/mochitest/dom-level2-html/files/textarea.html new file mode 100644 index 0000000000..b9aedc4997 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/textarea.html @@ -0,0 +1,26 @@ + + + + +NIST DOM HTML Test - TEXTAREA + + +
    +

    + + + +

    +
    +

    + + + + + + +

    + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/textarea.xhtml b/dom/tests/mochitest/dom-level2-html/files/textarea.xhtml new file mode 100644 index 0000000000..eb6ca48bac --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/textarea.xhtml @@ -0,0 +1,27 @@ + + + + +NIST DOM HTML Test - TEXTAREA + + +
    +

    + + + +

    +
    +

    + + + + + + +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/textarea.xml b/dom/tests/mochitest/dom-level2-html/files/textarea.xml new file mode 100644 index 0000000000..eb6ca48bac --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/textarea.xml @@ -0,0 +1,27 @@ + + + + +NIST DOM HTML Test - TEXTAREA + + +
    +

    + + + +

    +
    +

    + + + + + + +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/title.html b/dom/tests/mochitest/dom-level2-html/files/title.html new file mode 100644 index 0000000000..2078ee95d3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/title.html @@ -0,0 +1,13 @@ + + + + +NIST DOM HTML Test - TITLE + + +

    +
    +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/title.xhtml b/dom/tests/mochitest/dom-level2-html/files/title.xhtml new file mode 100644 index 0000000000..e8ec6b55a3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/title.xhtml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - TITLE + + +

    +
    +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/title.xml b/dom/tests/mochitest/dom-level2-html/files/title.xml new file mode 100644 index 0000000000..e8ec6b55a3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/title.xml @@ -0,0 +1,15 @@ + + + + +NIST DOM HTML Test - TITLE + + +

    +
    +

    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/ulist.html b/dom/tests/mochitest/dom-level2-html/files/ulist.html new file mode 100644 index 0000000000..75498e2cbc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/ulist.html @@ -0,0 +1,36 @@ + + + + +NIST DOM HTML Test - ULIST + + +
      +
    1. EMP0001 +
        +
      • Margaret Martin +
        +
        Accountant
        +
        56,000
        +
        Female
        +
        1230 North Ave. Dallas, Texas 98551
        +
        +
      • +
      +
    2. +
    3. EMP0002 +
        +
      • Martha Raynolds +
        +
        Secretary
        +
        35,000
        +
        Female
        +
        1900 Dallas Road. Dallas, Texas 98554
        +
        +
      • +
      +
    4. +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/ulist.xhtml b/dom/tests/mochitest/dom-level2-html/files/ulist.xhtml new file mode 100644 index 0000000000..fd9d7a5a46 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/ulist.xhtml @@ -0,0 +1,38 @@ + + + + +NIST DOM HTML Test - ULIST + + +
      +
    1. EMP0001 +
        +
      • Margaret Martin +
        +
        Accountant
        +
        56,000
        +
        Female
        +
        1230 North Ave. Dallas, Texas 98551
        +
        +
      • +
      +
    2. +
    3. EMP0002 +
        +
      • Martha Raynolds +
        +
        Secretary
        +
        35,000
        +
        Female
        +
        1900 Dallas Road. Dallas, Texas 98554
        +
        +
      • +
      +
    4. +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/ulist.xml b/dom/tests/mochitest/dom-level2-html/files/ulist.xml new file mode 100644 index 0000000000..fd9d7a5a46 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/ulist.xml @@ -0,0 +1,38 @@ + + + + +NIST DOM HTML Test - ULIST + + +
      +
    1. EMP0001 +
        +
      • Margaret Martin +
        +
        Accountant
        +
        56,000
        +
        Female
        +
        1230 North Ave. Dallas, Texas 98551
        +
        +
      • +
      +
    2. +
    3. EMP0002 +
        +
      • Martha Raynolds +
        +
        Secretary
        +
        35,000
        +
        Female
        +
        1900 Dallas Road. Dallas, Texas 98554
        +
        +
      • +
      +
    4. +
    + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/w3c_main.png b/dom/tests/mochitest/dom-level2-html/files/w3c_main.png new file mode 100644 index 0000000000..ac0ecd37eb Binary files /dev/null and b/dom/tests/mochitest/dom-level2-html/files/w3c_main.png differ diff --git a/dom/tests/mochitest/dom-level2-html/files/xhtml-lat1.ent b/dom/tests/mochitest/dom-level2-html/files/xhtml-lat1.ent new file mode 100644 index 0000000000..ffee223eb1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/xhtml-lat1.ent @@ -0,0 +1,196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/xhtml-special.ent b/dom/tests/mochitest/dom-level2-html/files/xhtml-special.ent new file mode 100644 index 0000000000..ca358b2fec --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/xhtml-special.ent @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/xhtml-symbol.ent b/dom/tests/mochitest/dom-level2-html/files/xhtml-symbol.ent new file mode 100644 index 0000000000..63c2abfa6f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/xhtml-symbol.ent @@ -0,0 +1,237 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/xhtml1-frameset.dtd b/dom/tests/mochitest/dom-level2-html/files/xhtml1-frameset.dtd new file mode 100644 index 0000000000..c22b666d19 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/xhtml1-frameset.dtd @@ -0,0 +1,1235 @@ + + + + + +%HTMLlat1; + + +%HTMLsymbol; + + +%HTMLspecial; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/xhtml1-strict.dtd b/dom/tests/mochitest/dom-level2-html/files/xhtml1-strict.dtd new file mode 100644 index 0000000000..06228785f7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/xhtml1-strict.dtd @@ -0,0 +1,978 @@ + + + + + +%HTMLlat1; + + +%HTMLsymbol; + + +%HTMLspecial; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/files/xhtml1-transitional.dtd b/dom/tests/mochitest/dom-level2-html/files/xhtml1-transitional.dtd new file mode 100644 index 0000000000..215a4b078b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/files/xhtml1-transitional.dtd @@ -0,0 +1,1201 @@ + + + + + +%HTMLlat1; + + +%HTMLsymbol; + + +%HTMLspecial; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dom/tests/mochitest/dom-level2-html/mochitest.ini b/dom/tests/mochitest/dom-level2-html/mochitest.ini new file mode 100644 index 0000000000..17c9ec57a3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/mochitest.ini @@ -0,0 +1,863 @@ +[DEFAULT] +support-files = + DOMTestCase.js + files/anchor.html + files/anchor.xhtml + files/anchor.xml + files/anchor2.html + files/anchor2.xhtml + files/anchor2.xml + files/applet.html + files/applet.xhtml + files/applet.xml + files/applet2.class + files/applet2.html + files/applet2.xhtml + files/applet2.xml + files/area.html + files/area.xhtml + files/area.xml + files/area2.html + files/area2.xhtml + files/area2.xml + files/base.html + files/base.xhtml + files/base.xml + files/base2.html + files/base2.xhtml + files/base2.xml + files/body.html + files/body.xhtml + files/body.xml + files/br.html + files/br.xhtml + files/br.xml + files/button.html + files/button.xhtml + files/button.xml + files/collection.html + files/collection.xhtml + files/collection.xml + files/directory.html + files/directory.xhtml + files/directory.xml + files/div.html + files/div.xhtml + files/div.xml + files/dl.html + files/dl.xhtml + files/dl.xml + files/document.html + files/document-with-applet.html + files/document.xhtml + files/document.xml + files/element.html + files/element.xhtml + files/element.xml + files/fieldset.html + files/fieldset.xhtml + files/fieldset.xml + files/font.html + files/font.xhtml + files/font.xml + files/form.html + files/form.xhtml + files/form.xml + files/form2.html + files/form2.xhtml + files/form2.xml + files/form3.html + files/form3.xhtml + files/form3.xml + files/frame.html + files/frame.xhtml + files/frame.xml + files/frame2.html + files/frame2.xhtml + files/frame2.xml + files/frameset.html + files/frameset.xhtml + files/frameset.xml + files/heading.html + files/heading.xhtml + files/heading.xml + files/hr.html + files/hr.xhtml + files/hr.xml + files/html.html + files/html.xhtml + files/html.xml + files/iframe.html + files/iframe.xhtml + files/iframe.xml + files/iframe2.html + files/iframe2.xhtml + files/iframe2.xml + files/img.html + files/img.xhtml + files/img.xml + files/index.html + files/input.html + files/input.xhtml + files/input.xml + files/isindex.html + files/isindex.xhtml + files/isindex.xml + files/label.html + files/label.xhtml + files/label.xml + files/legend.html + files/legend.xhtml + files/legend.xml + files/li.html + files/li.xhtml + files/li.xml + files/link.html + files/link.xhtml + files/link.xml + files/link2.html + files/link2.xhtml + files/link2.xml + files/map.html + files/map.xhtml + files/map.xml + files/menu.html + files/menu.xhtml + files/menu.xml + files/meta.html + files/meta.xhtml + files/meta.xml + files/mod.html + files/mod.xhtml + files/mod.xml + files/object.html + files/object.xhtml + files/object.xml + files/object2.html + files/object2.xhtml + files/object2.xml + files/olist.html + files/olist.xhtml + files/olist.xml + files/optgroup.html + files/optgroup.xhtml + files/optgroup.xml + files/option.html + files/option.xhtml + files/option.xml + files/optionscollection.html + files/optionscollection.xhtml + files/optionscollection.xml + files/paragraph.html + files/paragraph.xhtml + files/paragraph.xml + files/param.html + files/param.xhtml + files/param.xml + files/pre.html + files/pre.xhtml + files/pre.xml + files/quote.html + files/quote.xhtml + files/quote.xml + files/right.png + files/script.html + files/script.xhtml + files/script.xml + files/select.html + files/select.xhtml + files/select.xml + files/style.html + files/style.xhtml + files/style.xml + files/table.html + files/table.xhtml + files/table.xml + files/table1.html + files/table1.xhtml + files/table1.xml + files/tablecaption.html + files/tablecaption.xhtml + files/tablecaption.xml + files/tablecell.html + files/tablecell.xhtml + files/tablecell.xml + files/tablecol.html + files/tablecol.xhtml + files/tablecol.xml + files/tablerow.html + files/tablerow.xhtml + files/tablerow.xml + files/tablesection.html + files/tablesection.xhtml + files/tablesection.xml + files/textarea.html + files/textarea.xhtml + files/textarea.xml + files/title.html + files/title.xhtml + files/title.xml + files/ulist.html + files/ulist.xhtml + files/ulist.xml + files/w3c_main.png + files/xhtml-lat1.ent + files/xhtml-special.ent + files/xhtml-symbol.ent + files/xhtml1-frameset.dtd + files/xhtml1-strict.dtd + files/xhtml1-transitional.dtd + +[test_HTMLAnchorElement01.html] +[test_HTMLAnchorElement02.html] +[test_HTMLAnchorElement03.html] +[test_HTMLAnchorElement04.html] +[test_HTMLAnchorElement05.html] +[test_HTMLAnchorElement06.html] +[test_HTMLAnchorElement07.html] +[test_HTMLAnchorElement08.html] +[test_HTMLAnchorElement09.html] +[test_HTMLAnchorElement10.html] +[test_HTMLAnchorElement11.html] +[test_HTMLAnchorElement12.html] +[test_HTMLAnchorElement13.html] +[test_HTMLAnchorElement14.html] +[test_HTMLAreaElement01.html] +[test_HTMLAreaElement02.html] +[test_HTMLAreaElement03.html] +[test_HTMLAreaElement04.html] +[test_HTMLAreaElement05.html] +[test_HTMLAreaElement06.html] +[test_HTMLAreaElement07.html] +[test_HTMLAreaElement08.html] +[test_HTMLBRElement01.html] +[test_HTMLBaseElement01.html] +[test_HTMLBaseElement02.html] +[test_HTMLBodyElement01.html] +[test_HTMLBodyElement02.html] +[test_HTMLBodyElement03.html] +[test_HTMLBodyElement04.html] +[test_HTMLBodyElement05.html] +[test_HTMLBodyElement06.html] +[test_HTMLButtonElement01.html] +[test_HTMLButtonElement02.html] +[test_HTMLButtonElement03.html] +[test_HTMLButtonElement04.html] +[test_HTMLButtonElement05.html] +[test_HTMLButtonElement06.html] +[test_HTMLButtonElement07.html] +[test_HTMLButtonElement08.html] +[test_HTMLCollection01.html] +[test_HTMLCollection02.html] +[test_HTMLCollection03.html] +[test_HTMLCollection04.html] +[test_HTMLCollection05.html] +[test_HTMLCollection06.html] +[test_HTMLCollection07.html] +[test_HTMLCollection08.html] +[test_HTMLCollection09.html] +[test_HTMLCollection10.html] +[test_HTMLCollection11.html] +[test_HTMLCollection12.html] +[test_HTMLDirectoryElement01.html] +[test_HTMLDivElement01.html] +[test_HTMLDlistElement01.html] +[test_HTMLDocument01.html] +[test_HTMLDocument02.html] +[test_HTMLDocument03.html] +[test_HTMLDocument04.html] +[test_HTMLDocument05.html] +[test_HTMLDocument07.html] +[test_HTMLDocument09.html] +[test_HTMLDocument10.html] +[test_HTMLDocument11.html] +[test_HTMLDocument12.html] +[test_HTMLDocument13.html] +[test_HTMLDocument14.html] +[test_HTMLDocument15.html] +[test_HTMLDocument16.html] +[test_HTMLDocument17.html] +[test_HTMLDocument18.html] +[test_HTMLDocument19.html] +[test_HTMLDocument20.html] +[test_HTMLDocument21.html] +[test_HTMLElement01.html] +[test_HTMLElement02.html] +[test_HTMLElement03.html] +[test_HTMLElement04.html] +[test_HTMLElement05.html] +[test_HTMLElement06.html] +[test_HTMLElement07.html] +[test_HTMLElement08.html] +[test_HTMLElement09.html] +[test_HTMLElement10.html] +[test_HTMLElement100.html] +[test_HTMLElement101.html] +[test_HTMLElement102.html] +[test_HTMLElement103.html] +[test_HTMLElement104.html] +[test_HTMLElement105.html] +[test_HTMLElement106.html] +[test_HTMLElement107.html] +[test_HTMLElement108.html] +[test_HTMLElement109.html] +[test_HTMLElement11.html] +[test_HTMLElement110.html] +[test_HTMLElement111.html] +[test_HTMLElement112.html] +[test_HTMLElement113.html] +[test_HTMLElement114.html] +[test_HTMLElement115.html] +[test_HTMLElement116.html] +[test_HTMLElement117.html] +[test_HTMLElement118.html] +[test_HTMLElement119.html] +[test_HTMLElement12.html] +[test_HTMLElement120.html] +[test_HTMLElement121.html] +[test_HTMLElement122.html] +[test_HTMLElement123.html] +[test_HTMLElement124.html] +[test_HTMLElement125.html] +[test_HTMLElement126.html] +[test_HTMLElement127.html] +[test_HTMLElement128.html] +[test_HTMLElement129.html] +[test_HTMLElement13.html] +[test_HTMLElement130.html] +[test_HTMLElement131.html] +[test_HTMLElement132.html] +[test_HTMLElement133.html] +[test_HTMLElement134.html] +[test_HTMLElement135.html] +[test_HTMLElement136.html] +[test_HTMLElement137.html] +[test_HTMLElement138.html] +[test_HTMLElement139.html] +[test_HTMLElement14.html] +[test_HTMLElement140.html] +[test_HTMLElement141.html] +[test_HTMLElement142.html] +[test_HTMLElement143.html] +[test_HTMLElement144.html] +[test_HTMLElement145.html] +[test_HTMLElement15.html] +[test_HTMLElement16.html] +[test_HTMLElement17.html] +[test_HTMLElement18.html] +[test_HTMLElement19.html] +[test_HTMLElement20.html] +[test_HTMLElement21.html] +[test_HTMLElement22.html] +[test_HTMLElement23.html] +[test_HTMLElement24.html] +[test_HTMLElement25.html] +[test_HTMLElement26.html] +[test_HTMLElement27.html] +[test_HTMLElement28.html] +[test_HTMLElement29.html] +[test_HTMLElement30.html] +[test_HTMLElement31.html] +[test_HTMLElement32.html] +[test_HTMLElement33.html] +[test_HTMLElement34.html] +[test_HTMLElement35.html] +[test_HTMLElement36.html] +[test_HTMLElement37.html] +[test_HTMLElement38.html] +[test_HTMLElement39.html] +[test_HTMLElement40.html] +[test_HTMLElement41.html] +[test_HTMLElement42.html] +[test_HTMLElement43.html] +[test_HTMLElement44.html] +[test_HTMLElement45.html] +[test_HTMLElement46.html] +[test_HTMLElement47.html] +[test_HTMLElement48.html] +[test_HTMLElement49.html] +[test_HTMLElement50.html] +[test_HTMLElement51.html] +[test_HTMLElement52.html] +[test_HTMLElement53.html] +[test_HTMLElement54.html] +[test_HTMLElement55.html] +[test_HTMLElement56.html] +[test_HTMLElement57.html] +[test_HTMLElement58.html] +[test_HTMLElement59.html] +[test_HTMLElement60.html] +[test_HTMLElement61.html] +[test_HTMLElement62.html] +[test_HTMLElement63.html] +[test_HTMLElement64.html] +[test_HTMLElement65.html] +[test_HTMLElement66.html] +[test_HTMLElement67.html] +[test_HTMLElement68.html] +[test_HTMLElement69.html] +[test_HTMLElement70.html] +[test_HTMLElement71.html] +[test_HTMLElement72.html] +[test_HTMLElement73.html] +[test_HTMLElement74.html] +[test_HTMLElement75.html] +[test_HTMLElement76.html] +[test_HTMLElement77.html] +[test_HTMLElement78.html] +[test_HTMLElement79.html] +[test_HTMLElement80.html] +[test_HTMLElement81.html] +[test_HTMLElement82.html] +[test_HTMLElement83.html] +[test_HTMLElement84.html] +[test_HTMLElement85.html] +[test_HTMLElement86.html] +[test_HTMLElement87.html] +[test_HTMLElement88.html] +[test_HTMLElement89.html] +[test_HTMLElement90.html] +[test_HTMLElement91.html] +[test_HTMLElement92.html] +[test_HTMLElement93.html] +[test_HTMLElement94.html] +[test_HTMLElement95.html] +[test_HTMLElement96.html] +[test_HTMLElement97.html] +[test_HTMLElement98.html] +[test_HTMLElement99.html] +[test_HTMLFieldSetElement01.html] +[test_HTMLFieldSetElement02.html] +[test_HTMLFontElement01.html] +[test_HTMLFontElement02.html] +[test_HTMLFontElement03.html] +[test_HTMLFormElement01.html] +[test_HTMLFormElement02.html] +[test_HTMLFormElement03.html] +[test_HTMLFormElement04.html] +[test_HTMLFormElement05.html] +[test_HTMLFormElement06.html] +[test_HTMLFormElement07.html] +[test_HTMLFormElement08.html] +[test_HTMLFormElement09.html] +[test_HTMLFormElement10.html] +[test_HTMLFrameElement01.html] +[test_HTMLFrameElement02.html] +[test_HTMLFrameElement03.html] +[test_HTMLFrameElement04.html] +[test_HTMLFrameElement05.html] +[test_HTMLFrameElement06.html] +[test_HTMLFrameElement07.html] +[test_HTMLFrameElement08.html] +[test_HTMLFrameElement09.html] +[test_HTMLFrameSetElement01.html] +[test_HTMLFrameSetElement02.html] +[test_HTMLHRElement01.html] +[test_HTMLHRElement02.html] +[test_HTMLHRElement03.html] +[test_HTMLHRElement04.html] +[test_HTMLHeadingElement01.html] +[test_HTMLHeadingElement02.html] +[test_HTMLHeadingElement03.html] +[test_HTMLHeadingElement04.html] +[test_HTMLHeadingElement05.html] +[test_HTMLHeadingElement06.html] +[test_HTMLHtmlElement01.html] +[test_HTMLIFrameElement01.html] +[test_HTMLIFrameElement02.html] +[test_HTMLIFrameElement03.html] +[test_HTMLIFrameElement04.html] +[test_HTMLIFrameElement05.html] +[test_HTMLIFrameElement06.html] +[test_HTMLIFrameElement07.html] +[test_HTMLIFrameElement08.html] +[test_HTMLIFrameElement09.html] +[test_HTMLIFrameElement10.html] +[test_HTMLIFrameElement11.html] +[test_HTMLImageElement01.html] +[test_HTMLImageElement02.html] +[test_HTMLImageElement03.html] +[test_HTMLImageElement04.html] +[test_HTMLImageElement05.html] +[test_HTMLImageElement06.html] +[test_HTMLImageElement07.html] +[test_HTMLImageElement08.html] +[test_HTMLImageElement09.html] +[test_HTMLImageElement10.html] +[test_HTMLImageElement11.html] +[test_HTMLImageElement12.html] +[test_HTMLInputElement01.html] +[test_HTMLInputElement02.html] +[test_HTMLInputElement03.html] +[test_HTMLInputElement04.html] +[test_HTMLInputElement05.html] +[test_HTMLInputElement06.html] +[test_HTMLInputElement07.html] +[test_HTMLInputElement08.html] +[test_HTMLInputElement09.html] +[test_HTMLInputElement10.html] +[test_HTMLInputElement11.html] +[test_HTMLInputElement12.html] +[test_HTMLInputElement13.html] +[test_HTMLInputElement14.html] +[test_HTMLInputElement15.html] +[test_HTMLInputElement16.html] +[test_HTMLInputElement17.html] +[test_HTMLInputElement18.html] +[test_HTMLInputElement19.html] +[test_HTMLInputElement20.html] +[test_HTMLInputElement21.html] +[test_HTMLInputElement22.html] +[test_HTMLLIElement01.html] +[test_HTMLLIElement02.html] +[test_HTMLLabelElement01.html] +[test_HTMLLabelElement02.html] +[test_HTMLLabelElement03.html] +[test_HTMLLabelElement04.html] +[test_HTMLLegendElement01.html] +[test_HTMLLegendElement02.html] +[test_HTMLLegendElement03.html] +[test_HTMLLegendElement04.html] +[test_HTMLLinkElement01.html] +[test_HTMLLinkElement02.html] +[test_HTMLLinkElement03.html] +[test_HTMLLinkElement04.html] +[test_HTMLLinkElement05.html] +[test_HTMLLinkElement06.html] +[test_HTMLLinkElement07.html] +[test_HTMLLinkElement08.html] +[test_HTMLLinkElement09.html] +[test_HTMLMapElement01.html] +[test_HTMLMapElement02.html] +[test_HTMLMenuElement01.html] +[test_HTMLMetaElement01.html] +[test_HTMLMetaElement02.html] +[test_HTMLMetaElement03.html] +[test_HTMLMetaElement04.html] +[test_HTMLModElement01.html] +[test_HTMLModElement02.html] +[test_HTMLModElement03.html] +[test_HTMLModElement04.html] +[test_HTMLOListElement01.html] +[test_HTMLOListElement02.html] +[test_HTMLOListElement03.html] +[test_HTMLObjectElement01.html] +[test_HTMLObjectElement02.html] +[test_HTMLObjectElement03.html] +[test_HTMLObjectElement04.html] +[test_HTMLObjectElement05.html] +[test_HTMLObjectElement06.html] +[test_HTMLObjectElement07.html] +[test_HTMLObjectElement08.html] +[test_HTMLObjectElement09.html] +[test_HTMLObjectElement10.html] +[test_HTMLObjectElement11.html] +[test_HTMLObjectElement12.html] +[test_HTMLObjectElement13.html] +[test_HTMLObjectElement14.html] +[test_HTMLObjectElement15.html] +[test_HTMLObjectElement16.html] +[test_HTMLObjectElement17.html] +[test_HTMLObjectElement18.html] +[test_HTMLObjectElement19.html] +[test_HTMLObjectElement20.html] +[test_HTMLOptGroupElement01.html] +[test_HTMLOptGroupElement02.html] +[test_HTMLOptionElement01.html] +[test_HTMLOptionElement02.html] +[test_HTMLOptionElement03.html] +[test_HTMLOptionElement04.html] +[test_HTMLOptionElement05.html] +[test_HTMLOptionElement06.html] +[test_HTMLOptionElement07.html] +[test_HTMLOptionElement08.html] +[test_HTMLOptionElement09.html] +[test_HTMLOptionsCollection01.html] +[test_HTMLOptionsCollection02.html] +[test_HTMLOptionsCollection03.html] +[test_HTMLOptionsCollection04.html] +[test_HTMLOptionsCollection05.html] +[test_HTMLOptionsCollection06.html] +[test_HTMLOptionsCollection07.html] +[test_HTMLParagraphElement01.html] +[test_HTMLParamElement01.html] +[test_HTMLParamElement02.html] +[test_HTMLParamElement03.html] +[test_HTMLParamElement04.html] +[test_HTMLPreElement01.html] +[test_HTMLQuoteElement01.html] +[test_HTMLQuoteElement02.html] +[test_HTMLScriptElement01.html] +[test_HTMLScriptElement02.html] +[test_HTMLScriptElement03.html] +[test_HTMLScriptElement04.html] +[test_HTMLScriptElement05.html] +[test_HTMLScriptElement06.html] +[test_HTMLScriptElement07.html] +[test_HTMLSelectElement01.html] +[test_HTMLSelectElement02.html] +[test_HTMLSelectElement03.html] +[test_HTMLSelectElement04.html] +[test_HTMLSelectElement05.html] +[test_HTMLSelectElement06.html] +[test_HTMLSelectElement07.html] +[test_HTMLSelectElement08.html] +[test_HTMLSelectElement09.html] +[test_HTMLSelectElement10.html] +[test_HTMLSelectElement11.html] +[test_HTMLSelectElement12.html] +[test_HTMLSelectElement13.html] +[test_HTMLSelectElement14.html] +[test_HTMLSelectElement15.html] +[test_HTMLSelectElement16.html] +[test_HTMLSelectElement17.html] +[test_HTMLSelectElement18.html] +[test_HTMLSelectElement19.html] +[test_HTMLSelectElement20.html] +[test_HTMLStyleElement01.html] +[test_HTMLStyleElement02.html] +[test_HTMLStyleElement03.html] +[test_HTMLTableCaptionElement01.html] +[test_HTMLTableCellElement01.html] +[test_HTMLTableCellElement02.html] +[test_HTMLTableCellElement03.html] +[test_HTMLTableCellElement04.html] +[test_HTMLTableCellElement05.html] +[test_HTMLTableCellElement06.html] +[test_HTMLTableCellElement07.html] +[test_HTMLTableCellElement08.html] +[test_HTMLTableCellElement09.html] +[test_HTMLTableCellElement10.html] +[test_HTMLTableCellElement11.html] +[test_HTMLTableCellElement12.html] +[test_HTMLTableCellElement13.html] +[test_HTMLTableCellElement14.html] +[test_HTMLTableCellElement15.html] +[test_HTMLTableCellElement16.html] +[test_HTMLTableCellElement17.html] +[test_HTMLTableCellElement18.html] +[test_HTMLTableCellElement19.html] +[test_HTMLTableCellElement20.html] +[test_HTMLTableCellElement21.html] +[test_HTMLTableCellElement22.html] +[test_HTMLTableCellElement23.html] +[test_HTMLTableCellElement24.html] +[test_HTMLTableCellElement25.html] +[test_HTMLTableCellElement26.html] +[test_HTMLTableCellElement27.html] +[test_HTMLTableCellElement28.html] +[test_HTMLTableCellElement29.html] +[test_HTMLTableCellElement30.html] +[test_HTMLTableColElement01.html] +[test_HTMLTableColElement02.html] +[test_HTMLTableColElement03.html] +[test_HTMLTableColElement04.html] +[test_HTMLTableColElement05.html] +[test_HTMLTableColElement06.html] +[test_HTMLTableColElement07.html] +[test_HTMLTableColElement08.html] +[test_HTMLTableColElement09.html] +[test_HTMLTableColElement10.html] +[test_HTMLTableColElement11.html] +[test_HTMLTableColElement12.html] +[test_HTMLTableElement01.html] +[test_HTMLTableElement02.html] +[test_HTMLTableElement03.html] +[test_HTMLTableElement04.html] +[test_HTMLTableElement05.html] +[test_HTMLTableElement06.html] +[test_HTMLTableElement07.html] +[test_HTMLTableElement08.html] +[test_HTMLTableElement09.html] +[test_HTMLTableElement10.html] +[test_HTMLTableElement11.html] +[test_HTMLTableElement12.html] +[test_HTMLTableElement13.html] +[test_HTMLTableElement14.html] +[test_HTMLTableElement15.html] +[test_HTMLTableElement16.html] +[test_HTMLTableElement17.html] +[test_HTMLTableElement18.html] +[test_HTMLTableElement19.html] +[test_HTMLTableElement20.html] +[test_HTMLTableElement21.html] +[test_HTMLTableElement22.html] +[test_HTMLTableElement23.html] +[test_HTMLTableElement24.html] +[test_HTMLTableElement25.html] +[test_HTMLTableElement26.html] +[test_HTMLTableElement27.html] +[test_HTMLTableElement28.html] +[test_HTMLTableElement29.html] +[test_HTMLTableElement30.html] +[test_HTMLTableElement31.html] +[test_HTMLTableElement32.html] +[test_HTMLTableElement33.html] +[test_HTMLTableElement34.html] +[test_HTMLTableElement35.html] +[test_HTMLTableElement36.html] +[test_HTMLTableElement37.html] +[test_HTMLTableElement38.html] +[test_HTMLTableElement39.html] +[test_HTMLTableElement40.html] +[test_HTMLTableRowElement01.html] +[test_HTMLTableRowElement02.html] +[test_HTMLTableRowElement03.html] +[test_HTMLTableRowElement04.html] +[test_HTMLTableRowElement05.html] +[test_HTMLTableRowElement06.html] +[test_HTMLTableRowElement07.html] +[test_HTMLTableRowElement08.html] +[test_HTMLTableRowElement09.html] +[test_HTMLTableRowElement10.html] +[test_HTMLTableRowElement11.html] +[test_HTMLTableRowElement12.html] +[test_HTMLTableRowElement13.html] +[test_HTMLTableRowElement14.html] +[test_HTMLTableRowElement15.html] +[test_HTMLTableRowElement16.html] +[test_HTMLTableRowElement17.html] +[test_HTMLTableRowElement18.html] +[test_HTMLTableRowElement19.html] +[test_HTMLTableRowElement20.html] +[test_HTMLTableRowElement21.html] +[test_HTMLTableSectionElement01.html] +[test_HTMLTableSectionElement02.html] +[test_HTMLTableSectionElement03.html] +[test_HTMLTableSectionElement04.html] +[test_HTMLTableSectionElement05.html] +[test_HTMLTableSectionElement06.html] +[test_HTMLTableSectionElement07.html] +[test_HTMLTableSectionElement08.html] +[test_HTMLTableSectionElement09.html] +[test_HTMLTableSectionElement10.html] +[test_HTMLTableSectionElement11.html] +[test_HTMLTableSectionElement12.html] +[test_HTMLTableSectionElement13.html] +[test_HTMLTableSectionElement14.html] +[test_HTMLTableSectionElement15.html] +[test_HTMLTableSectionElement16.html] +[test_HTMLTableSectionElement17.html] +[test_HTMLTableSectionElement18.html] +[test_HTMLTableSectionElement19.html] +[test_HTMLTableSectionElement20.html] +[test_HTMLTableSectionElement21.html] +[test_HTMLTableSectionElement22.html] +[test_HTMLTableSectionElement23.html] +[test_HTMLTableSectionElement24.html] +[test_HTMLTableSectionElement25.html] +[test_HTMLTableSectionElement26.html] +[test_HTMLTableSectionElement27.html] +[test_HTMLTableSectionElement28.html] +[test_HTMLTableSectionElement29.html] +[test_HTMLTableSectionElement30.html] +[test_HTMLTableSectionElement31.html] +[test_HTMLTextAreaElement01.html] +[test_HTMLTextAreaElement02.html] +[test_HTMLTextAreaElement03.html] +[test_HTMLTextAreaElement04.html] +[test_HTMLTextAreaElement05.html] +[test_HTMLTextAreaElement06.html] +[test_HTMLTextAreaElement07.html] +[test_HTMLTextAreaElement08.html] +[test_HTMLTextAreaElement09.html] +[test_HTMLTextAreaElement10.html] +[test_HTMLTextAreaElement11.html] +[test_HTMLTextAreaElement12.html] +[test_HTMLTextAreaElement13.html] +[test_HTMLTextAreaElement14.html] +[test_HTMLTextAreaElement15.html] +[test_HTMLTitleElement01.html] +[test_HTMLUListElement01.html] +[test_HTMLUListElement02.html] +[test_anchor01.html] +[test_anchor02.html] +[test_anchor03.html] +[test_anchor04.html] +[test_anchor05.html] +[test_anchor06.html] +[test_area01.html] +[test_area02.html] +[test_area03.html] +[test_area04.html] +[test_body01.html] +[test_button01.html] +[test_button02.html] +[test_button03.html] +[test_button04.html] +[test_button05.html] +[test_button06.html] +[test_button07.html] +[test_button08.html] +[test_button09.html] +[test_dlist01.html] +[test_doc01.html] +[test_hasFeature01.html] +[test_hasFeature02.html] +[test_hasFeature03.html] +[test_hasFeature04.html] +[test_hasFeature05.html] +[test_hasFeature06.html] +[test_object01.html] +[test_object02.html] +[test_object03.html] +[test_object04.html] +[test_object05.html] +[test_object06.html] +[test_object07.html] +[test_object08.html] +[test_object09.html] +[test_object10.html] +[test_object11.html] +[test_object12.html] +[test_object13.html] +[test_object14.html] +[test_object15.html] +[test_table01.html] +[test_table02.html] +[test_table03.html] +[test_table04.html] +[test_table06.html] +[test_table07.html] +[test_table08.html] +[test_table09.html] +[test_table10.html] +[test_table12.html] +[test_table15.html] +[test_table17.html] +[test_table18.html] +[test_table19.html] +[test_table20.html] +[test_table21.html] +[test_table22.html] +[test_table23.html] +[test_table24.html] +[test_table25.html] +[test_table26.html] +[test_table27.html] +[test_table28.html] +[test_table29.html] +[test_table30.html] +[test_table31.html] +[test_table32.html] +[test_table33.html] +[test_table34.html] +[test_table35.html] +[test_table36.html] +[test_table37.html] +[test_table38.html] +[test_table39.html] +[test_table40.html] +[test_table41.html] +[test_table42.html] +[test_table43.html] +[test_table44.html] +[test_table45.html] +[test_table46.html] +[test_table47.html] +[test_table48.html] +[test_table49.html] +[test_table50.html] +[test_table51.html] +[test_table52.html] +[test_table53.html] diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement01.html new file mode 100644 index 0000000000..dc899e3861 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement01.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement01

    +

    <test name='HTMLAnchorElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement02.html new file mode 100644 index 0000000000..9df6310722 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement02.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement02

    +

    <test name='HTMLAnchorElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement03.html new file mode 100644 index 0000000000..8255bd3067 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement03.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement03

    +

    <test name='HTMLAnchorElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement04.html new file mode 100644 index 0000000000..01342aa7af --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement04.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement04

    +

    <test name='HTMLAnchorElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement05.html new file mode 100644 index 0000000000..679063c4ff --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement05.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement05

    +

    <test name='HTMLAnchorElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement06.html new file mode 100644 index 0000000000..e28bcbcdd5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement06.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement06

    +

    <test name='HTMLAnchorElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement07.html new file mode 100644 index 0000000000..6780083dab --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement07.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement07

    +

    <test name='HTMLAnchorElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement08.html new file mode 100644 index 0000000000..7a615e662c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement08.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement08

    +

    <test name='HTMLAnchorElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement09.html new file mode 100644 index 0000000000..30453216fe --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement09.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement09

    +

    <test name='HTMLAnchorElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement10.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement10.html new file mode 100644 index 0000000000..8b377e7da9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement10.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement10

    +

    <test name='HTMLAnchorElement10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement11.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement11.html new file mode 100644 index 0000000000..64e54da9b4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement11.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement11 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement11

    +

    <test name='HTMLAnchorElement11' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement12.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement12.html new file mode 100644 index 0000000000..cf48f9dc99 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement12.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement12 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement12

    +

    <test name='HTMLAnchorElement12' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement13.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement13.html new file mode 100644 index 0000000000..750832dd47 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement13.html @@ -0,0 +1,126 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement13 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement13

    +

    <test name='HTMLAnchorElement13' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement14.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement14.html new file mode 100644 index 0000000000..7daee66eb2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAnchorElement14.html @@ -0,0 +1,126 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement14 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAnchorElement14

    +

    <test name='HTMLAnchorElement14' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement01.html new file mode 100644 index 0000000000..33cb668b00 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement01.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement01

    +

    <test name='HTMLAreaElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement02.html new file mode 100644 index 0000000000..c863149863 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement02.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement02

    +

    <test name='HTMLAreaElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement03.html new file mode 100644 index 0000000000..fcfc102c6c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement03.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement03

    +

    <test name='HTMLAreaElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement04.html new file mode 100644 index 0000000000..fd2f9ed7a4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement04.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement04

    +

    <test name='HTMLAreaElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement05.html new file mode 100644 index 0000000000..91f422ba57 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement05.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement05

    +

    <test name='HTMLAreaElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement06.html new file mode 100644 index 0000000000..4573ad5e9f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement06.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement06

    +

    <test name='HTMLAreaElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement07.html new file mode 100644 index 0000000000..51a20af37d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement07.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement07

    +

    <test name='HTMLAreaElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement08.html new file mode 100644 index 0000000000..34beaca59b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLAreaElement08.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement08

    +

    <test name='HTMLAreaElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLBRElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLBRElement01.html new file mode 100644 index 0000000000..d214e9c4c3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLBRElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBRElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBRElement01

    +

    <test name='HTMLBRElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLBaseElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLBaseElement01.html new file mode 100644 index 0000000000..b5301beb83 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLBaseElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseElement01

    +

    <test name='HTMLBaseElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLBaseElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLBaseElement02.html new file mode 100644 index 0000000000..c271e9565a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLBaseElement02.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseElement02

    +

    <test name='HTMLBaseElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement01.html new file mode 100644 index 0000000000..3e1fa8e484 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement01

    +

    <test name='HTMLBodyElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement02.html new file mode 100644 index 0000000000..1aaa2e3782 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement02.html @@ -0,0 +1,136 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement02

    +

    <test name='HTMLBodyElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement03.html new file mode 100644 index 0000000000..1cb2e6d2ff --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement03.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement03

    +

    <test name='HTMLBodyElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement04.html new file mode 100644 index 0000000000..313430d770 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement04.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement04

    +

    <test name='HTMLBodyElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement05.html new file mode 100644 index 0000000000..b81ef57bc3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement05.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement05

    +

    <test name='HTMLBodyElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement06.html new file mode 100644 index 0000000000..090cf5784c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLBodyElement06.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement06

    +

    <test name='HTMLBodyElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement01.html new file mode 100644 index 0000000000..a2671e0db7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement01.html @@ -0,0 +1,138 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement01

    +

    <test name='HTMLButtonElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement02.html new file mode 100644 index 0000000000..6a5549ddc2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement02.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement02

    +

    <test name='HTMLButtonElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement03.html new file mode 100644 index 0000000000..51d5ecdb0a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement03.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement03

    +

    <test name='HTMLButtonElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement04.html new file mode 100644 index 0000000000..eb437b66e5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement04.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement04

    +

    <test name='HTMLButtonElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement05.html new file mode 100644 index 0000000000..3dda0c1285 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement05.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement05

    +

    <test name='HTMLButtonElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement06.html new file mode 100644 index 0000000000..a35ce44be9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement06.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement06

    +

    <test name='HTMLButtonElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement07.html new file mode 100644 index 0000000000..121bd16258 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement07.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement07

    +

    <test name='HTMLButtonElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement08.html new file mode 100644 index 0000000000..e3e688a6c8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLButtonElement08.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement08

    +

    <test name='HTMLButtonElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLCollection01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection01.html new file mode 100644 index 0000000000..a9db5018a1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection01.html @@ -0,0 +1,146 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection01

    +

    <test name='HTMLCollection01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLCollection02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection02.html new file mode 100644 index 0000000000..250be450b6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection02.html @@ -0,0 +1,146 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection02

    +

    <test name='HTMLCollection02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLCollection03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection03.html new file mode 100644 index 0000000000..4106a252f9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection03.html @@ -0,0 +1,146 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection03

    +

    <test name='HTMLCollection03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLCollection04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection04.html new file mode 100644 index 0000000000..1dd77c08d8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection04.html @@ -0,0 +1,158 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection04

    +

    <test name='HTMLCollection04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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/>
              <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLCollection05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection05.html new file mode 100644 index 0000000000..9e5cbc4d75 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection05.html @@ -0,0 +1,142 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection05

    +

    <test name='HTMLCollection05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLCollection06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection06.html new file mode 100644 index 0000000000..065f33a9a4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection06.html @@ -0,0 +1,148 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection06

    +

    <test name='HTMLCollection06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLCollection07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection07.html new file mode 100644 index 0000000000..6bf2f46144 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection07.html @@ -0,0 +1,146 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection07

    +

    <test name='HTMLCollection07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLCollection08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection08.html new file mode 100644 index 0000000000..3a808d8246 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection08.html @@ -0,0 +1,146 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection08

    +

    <test name='HTMLCollection08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLCollection09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection09.html new file mode 100644 index 0000000000..dc68289b4c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection09.html @@ -0,0 +1,142 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection09

    +

    <test name='HTMLCollection09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLCollection10.html b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection10.html new file mode 100644 index 0000000000..13f4ea3753 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection10.html @@ -0,0 +1,150 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection10

    +

    <test name='HTMLCollection10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLCollection11.html b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection11.html new file mode 100644 index 0000000000..226c6e35c2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection11.html @@ -0,0 +1,150 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection11 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection11

    +

    <test name='HTMLCollection11' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLCollection12.html b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection12.html new file mode 100644 index 0000000000..f19b0b4a9c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLCollection12.html @@ -0,0 +1,149 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection12 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLCollection12

    +

    <test name='HTMLCollection12' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDirectoryElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDirectoryElement01.html new file mode 100644 index 0000000000..d83de76aff --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDirectoryElement01.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDirectoryElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDirectoryElement01

    +

    <test name='HTMLDirectoryElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDivElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDivElement01.html new file mode 100644 index 0000000000..6e345f6955 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDivElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDivElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDivElement01

    +

    <test name='HTMLDivElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDlistElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDlistElement01.html new file mode 100644 index 0000000000..3d537a71c1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDlistElement01.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDlistElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDlistElement01

    +

    <test name='HTMLDlistElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument01.html new file mode 100644 index 0000000000..b5a1e2bbf7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument01.html @@ -0,0 +1,131 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument01

    +

    <test name='HTMLDocument01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument02.html new file mode 100644 index 0000000000..274877d02c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument02.html @@ -0,0 +1,138 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument02

    +

    <test name='HTMLDocument02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument03.html new file mode 100644 index 0000000000..b3036dfff2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument03.html @@ -0,0 +1,134 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument03

    +

    <test name='HTMLDocument03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument04.html new file mode 100644 index 0000000000..ea6cd77bd0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument04.html @@ -0,0 +1,132 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument04

    +

    <test name='HTMLDocument04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument05.html new file mode 100644 index 0000000000..942c8c914f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument05.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument05

    +

    <test name='HTMLDocument05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument07.html new file mode 100644 index 0000000000..82f8a6cae3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument07.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument07

    +

    <test name='HTMLDocument07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument09.html new file mode 100644 index 0000000000..bab6a50f0a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument09.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument09

    +

    <test name='HTMLDocument09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument10.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument10.html new file mode 100644 index 0000000000..c9b128b99e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument10.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument10

    +

    <test name='HTMLDocument10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument11.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument11.html new file mode 100644 index 0000000000..58dee1d5d9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument11.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument11 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument11

    +

    <test name='HTMLDocument11' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument12.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument12.html new file mode 100644 index 0000000000..0788ec7b3f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument12.html @@ -0,0 +1,137 @@ + + + + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument12 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument12

    +

    <test name='HTMLDocument12' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument13.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument13.html new file mode 100644 index 0000000000..5ccb3fdd41 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument13.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument13 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument13

    +

    <test name='HTMLDocument13' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument14.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument14.html new file mode 100644 index 0000000000..a0e0080cdc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument14.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument14 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument14

    +

    <test name='HTMLDocument14' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument15.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument15.html new file mode 100644 index 0000000000..b5e8940dd6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument15.html @@ -0,0 +1,142 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument15 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument15

    +

    <test name='HTMLDocument15' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument16.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument16.html new file mode 100644 index 0000000000..98946ccd49 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument16.html @@ -0,0 +1,142 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument16 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument16

    +

    <test name='HTMLDocument16' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument17.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument17.html new file mode 100644 index 0000000000..e922831ad4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument17.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument17 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument17

    +

    <test name='HTMLDocument17' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument18.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument18.html new file mode 100644 index 0000000000..737f79ad8a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument18.html @@ -0,0 +1,123 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument18 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument18

    +

    <test name='HTMLDocument18' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument19.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument19.html new file mode 100644 index 0000000000..c7a67609db --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument19.html @@ -0,0 +1,152 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument19 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument19

    +

    <test name='HTMLDocument19' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument20.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument20.html new file mode 100644 index 0000000000..81dbb8a10f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument20.html @@ -0,0 +1,152 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument20 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument20

    +

    <test name='HTMLDocument20' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLDocument21.html b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument21.html new file mode 100644 index 0000000000..cd6d9a5a7b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLDocument21.html @@ -0,0 +1,162 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument21 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument21

    +

    <test name='HTMLDocument21' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement01.html new file mode 100644 index 0000000000..33f5659ea2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement01

    +

    <test name='HTMLElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement02.html new file mode 100644 index 0000000000..b3e0d001d3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement02.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement02

    +

    <test name='HTMLElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement03.html new file mode 100644 index 0000000000..154524f9da --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement03.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement03

    +

    <test name='HTMLElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement04.html new file mode 100644 index 0000000000..99c4255625 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement04.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement04

    +

    <test name='HTMLElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement05.html new file mode 100644 index 0000000000..5365551c11 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement05.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement05

    +

    <test name='HTMLElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement06.html new file mode 100644 index 0000000000..c4390b512b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement06.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement06

    +

    <test name='HTMLElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement07.html new file mode 100644 index 0000000000..7ccf12b5e7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement07.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement07

    +

    <test name='HTMLElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement08.html new file mode 100644 index 0000000000..8738e2cdf2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement08.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement08

    +

    <test name='HTMLElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement09.html new file mode 100644 index 0000000000..42ed5bd096 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement09.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement09

    +

    <test name='HTMLElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement10.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement10.html new file mode 100644 index 0000000000..dee669c99d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement10.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement10

    +

    <test name='HTMLElement10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement100.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement100.html new file mode 100644 index 0000000000..b8ca6a8daa --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement100.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement100 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement100

    +

    <test name='HTMLElement100' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement101.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement101.html new file mode 100644 index 0000000000..8162c4ce0d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement101.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement101 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement101

    +

    <test name='HTMLElement101' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement102.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement102.html new file mode 100644 index 0000000000..9a987c9455 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement102.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement102 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement102

    +

    <test name='HTMLElement102' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement103.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement103.html new file mode 100644 index 0000000000..d1aa2e053c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement103.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement103 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement103

    +

    <test name='HTMLElement103' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement104.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement104.html new file mode 100644 index 0000000000..2aa66e4d34 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement104.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement104 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement104

    +

    <test name='HTMLElement104' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement105.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement105.html new file mode 100644 index 0000000000..a7fd6bcb0a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement105.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement105 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement105

    +

    <test name='HTMLElement105' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement106.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement106.html new file mode 100644 index 0000000000..93cc16acdf --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement106.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement106 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement106

    +

    <test name='HTMLElement106' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement107.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement107.html new file mode 100644 index 0000000000..1de43c43dc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement107.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement107 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement107

    +

    <test name='HTMLElement107' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement108.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement108.html new file mode 100644 index 0000000000..34549391e1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement108.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement108 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement108

    +

    <test name='HTMLElement108' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement109.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement109.html new file mode 100644 index 0000000000..9173777d56 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement109.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement109 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement109

    +

    <test name='HTMLElement109' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement11.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement11.html new file mode 100644 index 0000000000..cc7bb65547 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement11.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement11 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement11

    +

    <test name='HTMLElement11' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement110.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement110.html new file mode 100644 index 0000000000..8acf8ce736 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement110.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement110 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement110

    +

    <test name='HTMLElement110' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement111.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement111.html new file mode 100644 index 0000000000..8a4105f4cd --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement111.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement111 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement111

    +

    <test name='HTMLElement111' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement112.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement112.html new file mode 100644 index 0000000000..091c72bdf3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement112.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement112 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement112

    +

    <test name='HTMLElement112' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement113.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement113.html new file mode 100644 index 0000000000..ab360118a8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement113.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement113 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement113

    +

    <test name='HTMLElement113' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement114.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement114.html new file mode 100644 index 0000000000..7dc20c8941 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement114.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement114 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement114

    +

    <test name='HTMLElement114' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement115.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement115.html new file mode 100644 index 0000000000..8e56fd081a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement115.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement115 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement115

    +

    <test name='HTMLElement115' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement116.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement116.html new file mode 100644 index 0000000000..68961a6071 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement116.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement116 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement116

    +

    <test name='HTMLElement116' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement117.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement117.html new file mode 100644 index 0000000000..69d1299219 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement117.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement117 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement117

    +

    <test name='HTMLElement117' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement118.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement118.html new file mode 100644 index 0000000000..d386dd4051 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement118.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement118 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement118

    +

    <test name='HTMLElement118' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement119.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement119.html new file mode 100644 index 0000000000..426000c4c7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement119.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement119 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement119

    +

    <test name='HTMLElement119' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement12.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement12.html new file mode 100644 index 0000000000..b71fbb4414 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement12.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement12 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement12

    +

    <test name='HTMLElement12' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement120.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement120.html new file mode 100644 index 0000000000..d947b07426 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement120.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement120 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement120

    +

    <test name='HTMLElement120' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement121.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement121.html new file mode 100644 index 0000000000..b4beea87cd --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement121.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement121 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement121

    +

    <test name='HTMLElement121' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement122.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement122.html new file mode 100644 index 0000000000..e5da51a91c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement122.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement122 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement122

    +

    <test name='HTMLElement122' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement123.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement123.html new file mode 100644 index 0000000000..e2bec40d6f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement123.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement123 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement123

    +

    <test name='HTMLElement123' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement124.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement124.html new file mode 100644 index 0000000000..03d51cb312 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement124.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement124 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement124

    +

    <test name='HTMLElement124' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement125.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement125.html new file mode 100644 index 0000000000..7ca302486a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement125.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement125 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement125

    +

    <test name='HTMLElement125' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement126.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement126.html new file mode 100644 index 0000000000..512100c986 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement126.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement126 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement126

    +

    <test name='HTMLElement126' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement127.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement127.html new file mode 100644 index 0000000000..ce9589a053 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement127.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement127 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement127

    +

    <test name='HTMLElement127' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement128.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement128.html new file mode 100644 index 0000000000..93a8c76b48 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement128.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement128 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement128

    +

    <test name='HTMLElement128' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement129.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement129.html new file mode 100644 index 0000000000..f0ff2117dc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement129.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement129 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement129

    +

    <test name='HTMLElement129' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement13.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement13.html new file mode 100644 index 0000000000..166b0fe143 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement13.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement13 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement13

    +

    <test name='HTMLElement13' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement130.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement130.html new file mode 100644 index 0000000000..4aefeef5d6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement130.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement130 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement130

    +

    <test name='HTMLElement130' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement131.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement131.html new file mode 100644 index 0000000000..26c779f804 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement131.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement131 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement131

    +

    <test name='HTMLElement131' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement132.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement132.html new file mode 100644 index 0000000000..53d4e6a436 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement132.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement132 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement132

    +

    <test name='HTMLElement132' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement133.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement133.html new file mode 100644 index 0000000000..27cd339f0a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement133.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement133 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement133

    +

    <test name='HTMLElement133' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement134.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement134.html new file mode 100644 index 0000000000..d64f1fd210 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement134.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement134 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement134

    +

    <test name='HTMLElement134' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement135.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement135.html new file mode 100644 index 0000000000..b0377bcd21 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement135.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement135 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement135

    +

    <test name='HTMLElement135' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement136.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement136.html new file mode 100644 index 0000000000..7d35fe2685 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement136.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement136 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement136

    +

    <test name='HTMLElement136' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement137.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement137.html new file mode 100644 index 0000000000..52fcc7b508 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement137.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement137 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement137

    +

    <test name='HTMLElement137' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement138.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement138.html new file mode 100644 index 0000000000..a634219242 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement138.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement138 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement138

    +

    <test name='HTMLElement138' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement139.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement139.html new file mode 100644 index 0000000000..db97835538 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement139.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement139 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement139

    +

    <test name='HTMLElement139' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement14.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement14.html new file mode 100644 index 0000000000..9986bfef1e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement14.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement14 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement14

    +

    <test name='HTMLElement14' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement140.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement140.html new file mode 100644 index 0000000000..0a66a41e0c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement140.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement140 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement140

    +

    <test name='HTMLElement140' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement141.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement141.html new file mode 100644 index 0000000000..c960b5fd7e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement141.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement141 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement141

    +

    <test name='HTMLElement141' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement142.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement142.html new file mode 100644 index 0000000000..aaf0545103 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement142.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement142 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement142

    +

    <test name='HTMLElement142' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement143.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement143.html new file mode 100644 index 0000000000..561c26d161 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement143.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement143 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement143

    +

    <test name='HTMLElement143' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement144.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement144.html new file mode 100644 index 0000000000..578ebe20b6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement144.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement144 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement144

    +

    <test name='HTMLElement144' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement145.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement145.html new file mode 100644 index 0000000000..6df3fd8a89 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement145.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement145 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement145

    +

    <test name='HTMLElement145' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement15.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement15.html new file mode 100644 index 0000000000..3970167dc1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement15.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement15 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement15

    +

    <test name='HTMLElement15' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement16.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement16.html new file mode 100644 index 0000000000..9599f1d74f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement16.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement16 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement16

    +

    <test name='HTMLElement16' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement17.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement17.html new file mode 100644 index 0000000000..7d90786de6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement17.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement17 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement17

    +

    <test name='HTMLElement17' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement18.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement18.html new file mode 100644 index 0000000000..b3a41f9f08 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement18.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement18 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement18

    +

    <test name='HTMLElement18' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement19.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement19.html new file mode 100644 index 0000000000..0500241bca --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement19.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement19 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement19

    +

    <test name='HTMLElement19' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement20.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement20.html new file mode 100644 index 0000000000..0a4a135580 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement20.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement20 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement20

    +

    <test name='HTMLElement20' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement21.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement21.html new file mode 100644 index 0000000000..2eeafa7472 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement21.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement21 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement21

    +

    <test name='HTMLElement21' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement22.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement22.html new file mode 100644 index 0000000000..cdc2f0019b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement22.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement22 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement22

    +

    <test name='HTMLElement22' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement23.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement23.html new file mode 100644 index 0000000000..3d204d201b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement23.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement23 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement23

    +

    <test name='HTMLElement23' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement24.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement24.html new file mode 100644 index 0000000000..35f95826f7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement24.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement24 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement24

    +

    <test name='HTMLElement24' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement25.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement25.html new file mode 100644 index 0000000000..80e3cca658 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement25.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement25 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement25

    +

    <test name='HTMLElement25' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement26.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement26.html new file mode 100644 index 0000000000..d76b252f66 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement26.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement26 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement26

    +

    <test name='HTMLElement26' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement27.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement27.html new file mode 100644 index 0000000000..bc78722b68 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement27.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement27 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement27

    +

    <test name='HTMLElement27' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement28.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement28.html new file mode 100644 index 0000000000..99ff340b42 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement28.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement28 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement28

    +

    <test name='HTMLElement28' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement29.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement29.html new file mode 100644 index 0000000000..05ac44dde3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement29.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement29 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement29

    +

    <test name='HTMLElement29' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement30.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement30.html new file mode 100644 index 0000000000..f6d34d3c95 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement30.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement30 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement30

    +

    <test name='HTMLElement30' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement31.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement31.html new file mode 100644 index 0000000000..545c044e00 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement31.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement31 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement31

    +

    <test name='HTMLElement31' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement32.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement32.html new file mode 100644 index 0000000000..77ba145d9b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement32.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement32 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement32

    +

    <test name='HTMLElement32' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement33.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement33.html new file mode 100644 index 0000000000..92b86a42af --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement33.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement33 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement33

    +

    <test name='HTMLElement33' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement34.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement34.html new file mode 100644 index 0000000000..eecbf1d458 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement34.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement34 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement34

    +

    <test name='HTMLElement34' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement35.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement35.html new file mode 100644 index 0000000000..e396a94428 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement35.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement35 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement35

    +

    <test name='HTMLElement35' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement36.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement36.html new file mode 100644 index 0000000000..03c536929b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement36.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement36 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement36

    +

    <test name='HTMLElement36' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement37.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement37.html new file mode 100644 index 0000000000..9d3c38af1d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement37.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement37 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement37

    +

    <test name='HTMLElement37' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement38.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement38.html new file mode 100644 index 0000000000..3475291755 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement38.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement38 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement38

    +

    <test name='HTMLElement38' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement39.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement39.html new file mode 100644 index 0000000000..d1077d2f01 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement39.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement39 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement39

    +

    <test name='HTMLElement39' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement40.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement40.html new file mode 100644 index 0000000000..59068fce67 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement40.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement40 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement40

    +

    <test name='HTMLElement40' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement41.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement41.html new file mode 100644 index 0000000000..7585e950fa --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement41.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement41 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement41

    +

    <test name='HTMLElement41' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement42.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement42.html new file mode 100644 index 0000000000..329d1cd5f2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement42.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement42 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement42

    +

    <test name='HTMLElement42' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement43.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement43.html new file mode 100644 index 0000000000..a4ca5977c4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement43.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement43 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement43

    +

    <test name='HTMLElement43' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement44.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement44.html new file mode 100644 index 0000000000..56f5e9cbf6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement44.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement44 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement44

    +

    <test name='HTMLElement44' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement45.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement45.html new file mode 100644 index 0000000000..c0457ff67b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement45.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement45 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement45

    +

    <test name='HTMLElement45' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement46.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement46.html new file mode 100644 index 0000000000..ebfb593d13 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement46.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement46 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement46

    +

    <test name='HTMLElement46' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement47.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement47.html new file mode 100644 index 0000000000..7d01dfb3f2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement47.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement47 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement47

    +

    <test name='HTMLElement47' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement48.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement48.html new file mode 100644 index 0000000000..bf2535a366 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement48.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement48 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement48

    +

    <test name='HTMLElement48' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement49.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement49.html new file mode 100644 index 0000000000..6fa0e76e02 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement49.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement49 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement49

    +

    <test name='HTMLElement49' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement50.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement50.html new file mode 100644 index 0000000000..dbea976bec --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement50.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement50 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement50

    +

    <test name='HTMLElement50' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement51.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement51.html new file mode 100644 index 0000000000..9d48ce5d04 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement51.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement51 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement51

    +

    <test name='HTMLElement51' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement52.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement52.html new file mode 100644 index 0000000000..c76b615a16 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement52.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement52 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement52

    +

    <test name='HTMLElement52' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement53.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement53.html new file mode 100644 index 0000000000..92d168a89f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement53.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement53 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement53

    +

    <test name='HTMLElement53' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement54.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement54.html new file mode 100644 index 0000000000..2916e0187c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement54.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement54 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement54

    +

    <test name='HTMLElement54' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement55.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement55.html new file mode 100644 index 0000000000..532e13f69f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement55.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement55 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement55

    +

    <test name='HTMLElement55' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement56.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement56.html new file mode 100644 index 0000000000..f839b6bf1b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement56.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement56 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement56

    +

    <test name='HTMLElement56' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement57.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement57.html new file mode 100644 index 0000000000..e075ab5f2a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement57.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement57 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement57

    +

    <test name='HTMLElement57' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement58.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement58.html new file mode 100644 index 0000000000..cc793c9a1e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement58.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement58 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement58

    +

    <test name='HTMLElement58' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement59.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement59.html new file mode 100644 index 0000000000..61a12495aa --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement59.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement59 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement59

    +

    <test name='HTMLElement59' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement60.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement60.html new file mode 100644 index 0000000000..ec9fa2e8ce --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement60.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement60 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement60

    +

    <test name='HTMLElement60' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement61.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement61.html new file mode 100644 index 0000000000..5960690bb8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement61.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement61 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement61

    +

    <test name='HTMLElement61' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement62.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement62.html new file mode 100644 index 0000000000..43f4d603ab --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement62.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement62 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement62

    +

    <test name='HTMLElement62' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement63.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement63.html new file mode 100644 index 0000000000..619ac4cba5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement63.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement63 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement63

    +

    <test name='HTMLElement63' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement64.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement64.html new file mode 100644 index 0000000000..36af3dc1af --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement64.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement64 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement64

    +

    <test name='HTMLElement64' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement65.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement65.html new file mode 100644 index 0000000000..2b885c7b31 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement65.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement65 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement65

    +

    <test name='HTMLElement65' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement66.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement66.html new file mode 100644 index 0000000000..9fe2113f1d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement66.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement66 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement66

    +

    <test name='HTMLElement66' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement67.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement67.html new file mode 100644 index 0000000000..9da62642c0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement67.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement67 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement67

    +

    <test name='HTMLElement67' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement68.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement68.html new file mode 100644 index 0000000000..1ba4fdeea6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement68.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement68 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement68

    +

    <test name='HTMLElement68' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement69.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement69.html new file mode 100644 index 0000000000..3eec8ec8ab --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement69.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement69 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement69

    +

    <test name='HTMLElement69' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement70.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement70.html new file mode 100644 index 0000000000..8247d2fc63 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement70.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement70 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement70

    +

    <test name='HTMLElement70' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement71.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement71.html new file mode 100644 index 0000000000..3faa251eae --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement71.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement71 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement71

    +

    <test name='HTMLElement71' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement72.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement72.html new file mode 100644 index 0000000000..ae85358b29 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement72.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement72 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement72

    +

    <test name='HTMLElement72' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement73.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement73.html new file mode 100644 index 0000000000..8f0334f13f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement73.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement73 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement73

    +

    <test name='HTMLElement73' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement74.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement74.html new file mode 100644 index 0000000000..be11da8aaa --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement74.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement74 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement74

    +

    <test name='HTMLElement74' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement75.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement75.html new file mode 100644 index 0000000000..7f351ac550 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement75.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement75 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement75

    +

    <test name='HTMLElement75' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement76.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement76.html new file mode 100644 index 0000000000..3e821ac7f9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement76.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement76 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement76

    +

    <test name='HTMLElement76' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement77.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement77.html new file mode 100644 index 0000000000..b5fff09002 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement77.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement77 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement77

    +

    <test name='HTMLElement77' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement78.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement78.html new file mode 100644 index 0000000000..dae8008331 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement78.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement78 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement78

    +

    <test name='HTMLElement78' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement79.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement79.html new file mode 100644 index 0000000000..3cab31d8d0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement79.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement79 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement79

    +

    <test name='HTMLElement79' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement80.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement80.html new file mode 100644 index 0000000000..a064e4cff0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement80.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement80 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement80

    +

    <test name='HTMLElement80' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement81.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement81.html new file mode 100644 index 0000000000..da67f24eae --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement81.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement81 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement81

    +

    <test name='HTMLElement81' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement82.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement82.html new file mode 100644 index 0000000000..7a5ca9ee3c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement82.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement82 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement82

    +

    <test name='HTMLElement82' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement83.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement83.html new file mode 100644 index 0000000000..da5d9aff84 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement83.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement83 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement83

    +

    <test name='HTMLElement83' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement84.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement84.html new file mode 100644 index 0000000000..f40fdf3c87 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement84.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement84 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement84

    +

    <test name='HTMLElement84' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement85.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement85.html new file mode 100644 index 0000000000..d6373f3978 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement85.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement85 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement85

    +

    <test name='HTMLElement85' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement86.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement86.html new file mode 100644 index 0000000000..d509540c80 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement86.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement86 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement86

    +

    <test name='HTMLElement86' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement87.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement87.html new file mode 100644 index 0000000000..cf14b95c9d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement87.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement87 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement87

    +

    <test name='HTMLElement87' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement88.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement88.html new file mode 100644 index 0000000000..092b098c1b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement88.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement88 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement88

    +

    <test name='HTMLElement88' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement89.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement89.html new file mode 100644 index 0000000000..e4ad0850e8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement89.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement89 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement89

    +

    <test name='HTMLElement89' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement90.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement90.html new file mode 100644 index 0000000000..38feff556f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement90.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement90 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement90

    +

    <test name='HTMLElement90' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement91.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement91.html new file mode 100644 index 0000000000..5e4a617c0b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement91.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement91 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement91

    +

    <test name='HTMLElement91' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement92.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement92.html new file mode 100644 index 0000000000..faf54c2759 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement92.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement92 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement92

    +

    <test name='HTMLElement92' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement93.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement93.html new file mode 100644 index 0000000000..a9ee0d3ddb --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement93.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement93 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement93

    +

    <test name='HTMLElement93' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement94.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement94.html new file mode 100644 index 0000000000..27f9d9a140 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement94.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement94 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement94

    +

    <test name='HTMLElement94' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement95.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement95.html new file mode 100644 index 0000000000..2979e1c77f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement95.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement95 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement95

    +

    <test name='HTMLElement95' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement96.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement96.html new file mode 100644 index 0000000000..b8b0b915d7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement96.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement96 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement96

    +

    <test name='HTMLElement96' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement97.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement97.html new file mode 100644 index 0000000000..af72e7a4ba --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement97.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement97 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement97

    +

    <test name='HTMLElement97' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement98.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement98.html new file mode 100644 index 0000000000..0e54b74031 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement98.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement98 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement98

    +

    <test name='HTMLElement98' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLElement99.html b/dom/tests/mochitest/dom-level2-html/test_HTMLElement99.html new file mode 100644 index 0000000000..20d47bbc0f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLElement99.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement99 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement99

    +

    <test name='HTMLElement99' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFieldSetElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFieldSetElement01.html new file mode 100644 index 0000000000..99fb8119a3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFieldSetElement01.html @@ -0,0 +1,138 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFieldSetElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFieldSetElement01

    +

    <test name='HTMLFieldSetElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFieldSetElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFieldSetElement02.html new file mode 100644 index 0000000000..e4b21432f4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFieldSetElement02.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFieldSetElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFieldSetElement02

    +

    <test name='HTMLFieldSetElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFontElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFontElement01.html new file mode 100644 index 0000000000..0b29d8be1c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFontElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFontElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFontElement01

    +

    <test name='HTMLFontElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFontElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFontElement02.html new file mode 100644 index 0000000000..be9b470e18 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFontElement02.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFontElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFontElement02

    +

    <test name='HTMLFontElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFontElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFontElement03.html new file mode 100644 index 0000000000..055a52d10a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFontElement03.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFontElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFontElement03

    +

    <test name='HTMLFontElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement01.html new file mode 100644 index 0000000000..6915eeffd4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement01.html @@ -0,0 +1,140 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement01

    +

    <test name='HTMLFormElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement02.html new file mode 100644 index 0000000000..109a308a6d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement02.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement02

    +

    <test name='HTMLFormElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement03.html new file mode 100644 index 0000000000..a014f1fbc6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement03.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement03

    +

    <test name='HTMLFormElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement04.html new file mode 100644 index 0000000000..7c5b42a1e9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement04.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement04

    +

    <test name='HTMLFormElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement05.html new file mode 100644 index 0000000000..975cc5274f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement05.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement05

    +

    <test name='HTMLFormElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement06.html new file mode 100644 index 0000000000..da41587654 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement06.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement06

    +

    <test name='HTMLFormElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement07.html new file mode 100644 index 0000000000..d9467ffc09 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement07.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement07

    +

    <test name='HTMLFormElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement08.html new file mode 100644 index 0000000000..e22ff74842 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement08.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement08

    +

    <test name='HTMLFormElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement09.html new file mode 100644 index 0000000000..f4f4a8c4da --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement09.html @@ -0,0 +1,126 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement09

    +

    <test name='HTMLFormElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement10.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement10.html new file mode 100644 index 0000000000..584a43b8c8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFormElement10.html @@ -0,0 +1,126 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFormElement10

    +

    <test name='HTMLFormElement10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement01.html new file mode 100644 index 0000000000..f871ac85de --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement01.html @@ -0,0 +1,141 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement01

    +

    <test name='HTMLFrameElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement02.html new file mode 100644 index 0000000000..4a6a00fccf --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement02.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement02

    +

    <test name='HTMLFrameElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement03.html new file mode 100644 index 0000000000..b39e74e197 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement03.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement03

    +

    <test name='HTMLFrameElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement04.html new file mode 100644 index 0000000000..3bc2423d0c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement04.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement04

    +

    <test name='HTMLFrameElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement05.html new file mode 100644 index 0000000000..d027d6e38e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement05.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement05

    +

    <test name='HTMLFrameElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement06.html new file mode 100644 index 0000000000..571774cead --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement06.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement06

    +

    <test name='HTMLFrameElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement07.html new file mode 100644 index 0000000000..9fb425376c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement07.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement07

    +

    <test name='HTMLFrameElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement08.html new file mode 100644 index 0000000000..f2a74c41ba --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement08.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement08

    +

    <test name='HTMLFrameElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement09.html new file mode 100644 index 0000000000..344df70670 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameElement09.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameElement09

    +

    <test name='HTMLFrameElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLFrameElement09</title> +
              <creator>NIST</creator> +
              <description> + The contentDocument attribute specifies the document this frame contains, + if there is any and it is available, or null otherwise. + + Retrieve the contentDocument attribute of the first FRAME element + and examine its TITLE value. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-07-03</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-78799536'/> +
    </metadata>
         <var name='testNode' type='Element'/>
         <var name='cd' type='Document'/>
         <var name='vtitle' type='DOMString'/>
         <var name='doc' type='Document'/>
         <load var='doc' href='frame2' willBeModified='false'/>
         <getElementById interface='Document' obj='doc' var='testNode' elementId='"Frame1"'/>
         <contentDocument interface='HTMLFrameElement' obj='testNode' var='cd'/>
         <title interface='HTMLDocument' obj='cd' var='vtitle'/>
         <assertEquals actual='vtitle' expected='"NIST DOM HTML Test - FRAMESET"' id='titleLink' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFrameSetElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameSetElement01.html new file mode 100644 index 0000000000..06f52a0873 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameSetElement01.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameSetElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameSetElement01

    +

    <test name='HTMLFrameSetElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLFrameSetElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameSetElement02.html new file mode 100644 index 0000000000..4a767a9d6b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLFrameSetElement02.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameSetElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLFrameSetElement02

    +

    <test name='HTMLFrameSetElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLHRElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLHRElement01.html new file mode 100644 index 0000000000..1eadba1215 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLHRElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHRElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHRElement01

    +

    <test name='HTMLHRElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLHRElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLHRElement02.html new file mode 100644 index 0000000000..18ad685e81 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLHRElement02.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHRElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHRElement02

    +

    <test name='HTMLHRElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLHRElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLHRElement03.html new file mode 100644 index 0000000000..2820932898 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLHRElement03.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHRElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHRElement03

    +

    <test name='HTMLHRElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLHRElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLHRElement04.html new file mode 100644 index 0000000000..301edc1bdb --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLHRElement04.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHRElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHRElement04

    +

    <test name='HTMLHRElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement01.html new file mode 100644 index 0000000000..df5f7d886a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHeadingElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHeadingElement01

    +

    <test name='HTMLHeadingElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement02.html new file mode 100644 index 0000000000..e6e8d3b264 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement02.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHeadingElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHeadingElement02

    +

    <test name='HTMLHeadingElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement03.html new file mode 100644 index 0000000000..72d16f779f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement03.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHeadingElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHeadingElement03

    +

    <test name='HTMLHeadingElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement04.html new file mode 100644 index 0000000000..e50f4dce72 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement04.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHeadingElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHeadingElement04

    +

    <test name='HTMLHeadingElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement05.html new file mode 100644 index 0000000000..1ea1487337 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement05.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHeadingElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHeadingElement05

    +

    <test name='HTMLHeadingElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement06.html new file mode 100644 index 0000000000..f93610a501 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLHeadingElement06.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHeadingElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHeadingElement06

    +

    <test name='HTMLHeadingElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLHtmlElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLHtmlElement01.html new file mode 100644 index 0000000000..69c90c2adc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLHtmlElement01.html @@ -0,0 +1,149 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHtmlElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLHtmlElement01

    +

    <test name='HTMLHtmlElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement01.html new file mode 100644 index 0000000000..74bc9e5bf3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement01.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement01

    +

    <test name='HTMLIFrameElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement02.html new file mode 100644 index 0000000000..161b4264e6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement02.html @@ -0,0 +1,141 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement02

    +

    <test name='HTMLIFrameElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement03.html new file mode 100644 index 0000000000..c84981f86b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement03.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement03

    +

    <test name='HTMLIFrameElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement04.html new file mode 100644 index 0000000000..c8e09efefc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement04.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement04

    +

    <test name='HTMLIFrameElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement05.html new file mode 100644 index 0000000000..66fb0fc39d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement05.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement05

    +

    <test name='HTMLIFrameElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement06.html new file mode 100644 index 0000000000..8efbabba8f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement06.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement06

    +

    <test name='HTMLIFrameElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement07.html new file mode 100644 index 0000000000..4bb0465f4d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement07.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement07

    +

    <test name='HTMLIFrameElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement08.html new file mode 100644 index 0000000000..78d8445ce5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement08.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement08

    +

    <test name='HTMLIFrameElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement09.html new file mode 100644 index 0000000000..c44d2a9a82 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement09.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement09

    +

    <test name='HTMLIFrameElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement10.html b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement10.html new file mode 100644 index 0000000000..241740df36 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement10.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement10

    +

    <test name='HTMLIFrameElement10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement11.html b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement11.html new file mode 100644 index 0000000000..a53e0cab28 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLIFrameElement11.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement11 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLIFrameElement11

    +

    <test name='HTMLIFrameElement11' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLIFrameElement11</title> +
              <creator>NIST</creator> +
              <description> + Retrieve the contentDocument attribute of the second IFRAME element + and examine its title. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-07-03</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-67133006'/> +
    </metadata>
         <var name='testNode' type='Element'/>
         <var name='cd' type='Document'/>
         <var name='vtitle' type='DOMString'/>
         <var name='doc' type='Document'/>
         <load var='doc' href='iframe2' willBeModified='false'/>
         <getElementById interface='Document' obj='doc' var='testNode' elementId='"Iframe2"'/>
         <contentDocument interface='HTMLIFrameElement' obj='testNode' var='cd'/>
         <title interface='HTMLDocument' obj='cd' var='vtitle'/>
         <assertEquals actual='vtitle' expected='"NIST DOM HTML Test - FRAME"' id='titleLink' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement01.html new file mode 100644 index 0000000000..187152d5a6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement01

    +

    <test name='HTMLImageElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement02.html new file mode 100644 index 0000000000..73fdaa3a84 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement02.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement02

    +

    <test name='HTMLImageElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement03.html new file mode 100644 index 0000000000..cb1c741426 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement03.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement03

    +

    <test name='HTMLImageElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement04.html new file mode 100644 index 0000000000..704a4baeaf --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement04.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement04

    +

    <test name='HTMLImageElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement05.html new file mode 100644 index 0000000000..f67477065f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement05.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement05

    +

    <test name='HTMLImageElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLImageElement05</title> +
              <creator>NIST</creator> +
              <description> + The height attribute overrides the natural "height" of the image. + + Retrieve the height attribute and examine it's value. +</description> +
              <contributor>Mary Brady</contributor> +
              <date qualifier='created'>2001-12-26</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-91561496'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='vheight' type='int'/>
         <var name='doc' type='Node'/>
         <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'/>
         <height interface='HTMLImageElement' obj='testNode' var='vheight'/>
         <assertEquals actual='vheight' expected='47' id='heightLink' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement06.html new file mode 100644 index 0000000000..0f977f2932 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement06.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement06

    +

    <test name='HTMLImageElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <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 it's value. +</description> +
              <contributor>Mary Brady</contributor> +
              <date qualifier='created'>2001-12-26</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-53675471'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='vhspace' type='int'/>
         <var name='doc' type='Node'/>
         <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'/>
         <hspace interface='HTMLImageElement' obj='testNode' var='vhspace'/>
         <assertEquals actual='vhspace' expected='4' id='hspaceLink' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement07.html new file mode 100644 index 0000000000..60d513edeb --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement07.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement07

    +

    <test name='HTMLImageElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement08.html new file mode 100644 index 0000000000..2f12bac200 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement08.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement08

    +

    <test name='HTMLImageElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement09.html new file mode 100644 index 0000000000..f3a648d680 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement09.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement09

    +

    <test name='HTMLImageElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement10.html b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement10.html new file mode 100644 index 0000000000..b1b64db783 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement10.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement10

    +

    <test name='HTMLImageElement10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement11.html b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement11.html new file mode 100644 index 0000000000..56b654d7ab --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement11.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement11 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement11

    +

    <test name='HTMLImageElement11' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <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 it's value. +</description> +
              <contributor>Mary Brady</contributor> +
              <date qualifier='created'>2001-12-26</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-85374897'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='vvspace' type='int'/>
         <var name='doc' type='Node'/>
         <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'/>
         <vspace interface='HTMLImageElement' obj='testNode' var='vvspace'/>
         <assertEquals actual='vvspace' expected='10' id='vspaceLink' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement12.html b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement12.html new file mode 100644 index 0000000000..0861258fc2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLImageElement12.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement12 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLImageElement12

    +

    <test name='HTMLImageElement12' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLImageElement12</title> +
              <creator>NIST</creator> +
              <description> + The width attribute overrides the natural "width" of the image. + + Retrieve the width attribute and examine it's value. +</description> +
              <contributor>Mary Brady</contributor> +
              <date qualifier='created'>2001-12-07</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-13839076'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='vwidth' type='int'/>
         <var name='doc' type='Node'/>
         <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'/>
         <width interface='HTMLImageElement' obj='testNode' var='vwidth'/>
         <assertEquals actual='vwidth' expected='115' id='widthLink' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement01.html new file mode 100644 index 0000000000..98919e5427 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement01.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement01

    +

    <test name='HTMLInputElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement02.html new file mode 100644 index 0000000000..12fda82550 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement02.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement02

    +

    <test name='HTMLInputElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement03.html new file mode 100644 index 0000000000..94b46e3d19 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement03.html @@ -0,0 +1,138 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement03

    +

    <test name='HTMLInputElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement04.html new file mode 100644 index 0000000000..e74f1547ca --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement04.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement04

    +

    <test name='HTMLInputElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement05.html new file mode 100644 index 0000000000..369add7bd0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement05.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement05

    +

    <test name='HTMLInputElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement06.html new file mode 100644 index 0000000000..354c90cee2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement06.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement06

    +

    <test name='HTMLInputElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement07.html new file mode 100644 index 0000000000..37068e9d64 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement07.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement07

    +

    <test name='HTMLInputElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement08.html new file mode 100644 index 0000000000..0147f10ec1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement08.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement08

    +

    <test name='HTMLInputElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement09.html new file mode 100644 index 0000000000..fbc9383e41 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement09.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement09

    +

    <test name='HTMLInputElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement10.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement10.html new file mode 100644 index 0000000000..545c5a3bf6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement10.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement10

    +

    <test name='HTMLInputElement10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement11.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement11.html new file mode 100644 index 0000000000..384fc3f42b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement11.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement11 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement11

    +

    <test name='HTMLInputElement11' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement12.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement12.html new file mode 100644 index 0000000000..7045d724c2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement12.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement12 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement12

    +

    <test name='HTMLInputElement12' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement13.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement13.html new file mode 100644 index 0000000000..643d392553 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement13.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement13 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement13

    +

    <test name='HTMLInputElement13' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <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. +</description> +
              <contributor>Mary Brady</contributor> +
              <date qualifier='created'>2001-12-26</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-79659438'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='vsize' type='int'/>
         <var name='doc' type='Node'/>
         <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'/>
         <size interface='HTMLInputElement' obj='testNode' var='vsize'/>
         <assertEquals actual='vsize' expected='25' id='size' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement14.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement14.html new file mode 100644 index 0000000000..ebc2c0402a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement14.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement14 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement14

    +

    <test name='HTMLInputElement14' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement15.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement15.html new file mode 100644 index 0000000000..51ce20e629 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement15.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement15 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement15

    +

    <test name='HTMLInputElement15' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement16.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement16.html new file mode 100644 index 0000000000..c88e2497d7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement16.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement16 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement16

    +

    <test name='HTMLInputElement16' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement17.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement17.html new file mode 100644 index 0000000000..924a3b7a1b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement17.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement17 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement17

    +

    <test name='HTMLInputElement17' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement18.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement18.html new file mode 100644 index 0000000000..d95f9845c4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement18.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement18 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement18

    +

    <test name='HTMLInputElement18' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement19.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement19.html new file mode 100644 index 0000000000..75436630a8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement19.html @@ -0,0 +1,126 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement19 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement19

    +

    <test name='HTMLInputElement19' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement20.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement20.html new file mode 100644 index 0000000000..81345a94f7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement20.html @@ -0,0 +1,126 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement20 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement20

    +

    <test name='HTMLInputElement20' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement21.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement21.html new file mode 100644 index 0000000000..6e2d0ac5da --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement21.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement21 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement21

    +

    <test name='HTMLInputElement21' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement22.html b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement22.html new file mode 100644 index 0000000000..68da44c48c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLInputElement22.html @@ -0,0 +1,127 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement22 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLInputElement22

    +

    <test name='HTMLInputElement22' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLIElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLIElement01.html new file mode 100644 index 0000000000..c4cbcf4fba --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLIElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLIElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLIElement01

    +

    <test name='HTMLLIElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLIElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLIElement02.html new file mode 100644 index 0000000000..d4a1fb7ad0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLIElement02.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLIElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLIElement02

    +

    <test name='HTMLLIElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLabelElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLabelElement01.html new file mode 100644 index 0000000000..769273fd2c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLabelElement01.html @@ -0,0 +1,138 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLabelElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLabelElement01

    +

    <test name='HTMLLabelElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLabelElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLabelElement02.html new file mode 100644 index 0000000000..bbeb70fc05 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLabelElement02.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLabelElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLabelElement02

    +

    <test name='HTMLLabelElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLabelElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLabelElement03.html new file mode 100644 index 0000000000..b6adb084c2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLabelElement03.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLabelElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLabelElement03

    +

    <test name='HTMLLabelElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLabelElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLabelElement04.html new file mode 100644 index 0000000000..52b287f56f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLabelElement04.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLabelElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLabelElement04

    +

    <test name='HTMLLabelElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLegendElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLegendElement01.html new file mode 100644 index 0000000000..fe5dca94f2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLegendElement01.html @@ -0,0 +1,140 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLegendElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLegendElement01

    +

    <test name='HTMLLegendElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLegendElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLegendElement02.html new file mode 100644 index 0000000000..5d7895685b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLegendElement02.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLegendElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLegendElement02

    +

    <test name='HTMLLegendElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLegendElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLegendElement03.html new file mode 100644 index 0000000000..50694fc20a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLegendElement03.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLegendElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLegendElement03

    +

    <test name='HTMLLegendElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLegendElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLegendElement04.html new file mode 100644 index 0000000000..a1fae91dce --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLegendElement04.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLegendElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLegendElement04

    +

    <test name='HTMLLegendElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement01.html new file mode 100644 index 0000000000..646f0c0de2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement01

    +

    <test name='HTMLLinkElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement02.html new file mode 100644 index 0000000000..f2563cdfa2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement02.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement02

    +

    <test name='HTMLLinkElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement03.html new file mode 100644 index 0000000000..6abc60f5d6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement03.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement03

    +

    <test name='HTMLLinkElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement04.html new file mode 100644 index 0000000000..9589ded343 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement04.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement04

    +

    <test name='HTMLLinkElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement05.html new file mode 100644 index 0000000000..f5e21e3f1e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement05.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement05

    +

    <test name='HTMLLinkElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement06.html new file mode 100644 index 0000000000..151fcd50c5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement06.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement06

    +

    <test name='HTMLLinkElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement07.html new file mode 100644 index 0000000000..28b2f7794a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement07.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement07

    +

    <test name='HTMLLinkElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement08.html new file mode 100644 index 0000000000..fe8373ad84 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement08.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement08

    +

    <test name='HTMLLinkElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement09.html new file mode 100644 index 0000000000..9e1f95129e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLLinkElement09.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement09

    +

    <test name='HTMLLinkElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLMapElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLMapElement01.html new file mode 100644 index 0000000000..1ced2c0995 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLMapElement01.html @@ -0,0 +1,138 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLMapElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLMapElement01

    +

    <test name='HTMLMapElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLMapElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLMapElement02.html new file mode 100644 index 0000000000..d65deb3956 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLMapElement02.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLMapElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLMapElement02

    +

    <test name='HTMLMapElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLMenuElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLMenuElement01.html new file mode 100644 index 0000000000..0f37aff79c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLMenuElement01.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLMenuElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLMenuElement01

    +

    <test name='HTMLMenuElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLMetaElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLMetaElement01.html new file mode 100644 index 0000000000..bc84b775b1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLMetaElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLMetaElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLMetaElement01

    +

    <test name='HTMLMetaElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLMetaElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLMetaElement02.html new file mode 100644 index 0000000000..dbea6bcf10 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLMetaElement02.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLMetaElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLMetaElement02

    +

    <test name='HTMLMetaElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLMetaElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLMetaElement03.html new file mode 100644 index 0000000000..12925a90ac --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLMetaElement03.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLMetaElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLMetaElement03

    +

    <test name='HTMLMetaElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLMetaElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLMetaElement04.html new file mode 100644 index 0000000000..23f0f286e3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLMetaElement04.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLMetaElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLMetaElement04

    +

    <test name='HTMLMetaElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLModElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLModElement01.html new file mode 100644 index 0000000000..cbe1693e45 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLModElement01.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLModElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLModElement01

    +

    <test name='HTMLModElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLModElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLModElement02.html new file mode 100644 index 0000000000..5d4a7213f5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLModElement02.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLModElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLModElement02

    +

    <test name='HTMLModElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLModElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLModElement03.html new file mode 100644 index 0000000000..35dcdd3376 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLModElement03.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLModElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLModElement03

    +

    <test name='HTMLModElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLModElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLModElement04.html new file mode 100644 index 0000000000..c5eb3ac39e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLModElement04.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLModElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLModElement04

    +

    <test name='HTMLModElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOListElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOListElement01.html new file mode 100644 index 0000000000..f3cef3fec0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOListElement01.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOListElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOListElement01

    +

    <test name='HTMLOListElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOListElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOListElement02.html new file mode 100644 index 0000000000..6dee163987 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOListElement02.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOListElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOListElement02

    +

    <test name='HTMLOListElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOListElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOListElement03.html new file mode 100644 index 0000000000..4fb9f4fda5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOListElement03.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOListElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOListElement03

    +

    <test name='HTMLOListElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement01.html new file mode 100644 index 0000000000..4c4f3eee04 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement01.html @@ -0,0 +1,138 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement01

    +

    <test name='HTMLObjectElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement02.html new file mode 100644 index 0000000000..371b72bc78 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement02.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement02

    +

    <test name='HTMLObjectElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement03.html new file mode 100644 index 0000000000..57f9cb397f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement03.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement03

    +

    <test name='HTMLObjectElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement04.html new file mode 100644 index 0000000000..e453aa6d6d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement04.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement04

    +

    <test name='HTMLObjectElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement05.html new file mode 100644 index 0000000000..1201d96652 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement05.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement05

    +

    <test name='HTMLObjectElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement06.html new file mode 100644 index 0000000000..eccc553d57 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement06.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement06

    +

    <test name='HTMLObjectElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement07.html new file mode 100644 index 0000000000..80f88e5125 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement07.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement07

    +

    <test name='HTMLObjectElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement08.html new file mode 100644 index 0000000000..c02fdbe664 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement08.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement08

    +

    <test name='HTMLObjectElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement09.html new file mode 100644 index 0000000000..f73724ed54 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement09.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement09

    +

    <test name='HTMLObjectElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement10.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement10.html new file mode 100644 index 0000000000..1d29317784 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement10.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement10

    +

    <test name='HTMLObjectElement10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement11.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement11.html new file mode 100644 index 0000000000..13f6d5903a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement11.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement11 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement11

    +

    <test name='HTMLObjectElement11' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <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 + it's value. +</description> +
              <contributor>Mary Brady</contributor> +
              <date qualifier='created'>2002-01-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-17085376'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='vhspace' 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'/>
         <hspace interface='HTMLObjectElement' obj='testNode' var='vhspace'/>
         <assertEquals actual='vhspace' expected='0' id='hspaceLink' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement12.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement12.html new file mode 100644 index 0000000000..536cf8e0c0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement12.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement12 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement12

    +

    <test name='HTMLObjectElement12' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement13.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement13.html new file mode 100644 index 0000000000..c0ef4ff6cd --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement13.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement13 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement13

    +

    <test name='HTMLObjectElement13' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement14.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement14.html new file mode 100644 index 0000000000..e29e05f06e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement14.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement14 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement14

    +

    <test name='HTMLObjectElement14' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement15.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement15.html new file mode 100644 index 0000000000..ce452d6b01 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement15.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement15 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement15

    +

    <test name='HTMLObjectElement15' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement16.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement16.html new file mode 100644 index 0000000000..2f2739b6e9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement16.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement16 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement16

    +

    <test name='HTMLObjectElement16' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <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 + it's value. +</description> +
              <contributor>Mary Brady</contributor> +
              <date qualifier='created'>2002-01-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-8682483'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='vvspace' 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'/>
         <vspace interface='HTMLObjectElement' obj='testNode' var='vvspace'/>
         <assertEquals actual='vvspace' expected='0' id='vspaceLink' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement17.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement17.html new file mode 100644 index 0000000000..f0a8ff1707 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement17.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement17 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement17

    +

    <test name='HTMLObjectElement17' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement18.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement18.html new file mode 100644 index 0000000000..eaac546f83 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement18.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement18 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement18

    +

    <test name='HTMLObjectElement18' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement19.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement19.html new file mode 100644 index 0000000000..1ca95e5223 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement19.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement19 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement19

    +

    <test name='HTMLObjectElement19' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement20.html b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement20.html new file mode 100644 index 0000000000..aca8fe3cc5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLObjectElement20.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement20 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLObjectElement20

    +

    <test name='HTMLObjectElement20' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLObjectElement20</title> +
              <creator>NIST</creator> +
              <description> + The contentDocument attribute specifies the document this object contains, + if there is any and it is available, or null otherwise. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-07-03</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-38538621'/> +
    </metadata>
         <var name='testNode' type='Element'/>
         <var name='cd' type='Document'/>
         <var name='vtitle' type='DOMString'/>
         <var name='doc' type='Document'/>
         <var name='nodeList' type='NodeList'/>
         <load var='doc' href='object2' willBeModified='false'/>
         <getElementsByTagName var='nodeList' obj='doc' interface='Document' tagname='"object"'/>
         <item var='testNode' obj='nodeList' index='1' interface='NodeList'/>
         <contentDocument interface='HTMLObjectElement' obj='testNode' var='cd'/>
         <assertNull actual='cd' id='noContentDocument'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptGroupElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptGroupElement01.html new file mode 100644 index 0000000000..a009cf9044 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptGroupElement01.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptGroupElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptGroupElement01

    +

    <test name='HTMLOptGroupElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptGroupElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptGroupElement02.html new file mode 100644 index 0000000000..f1dc5e2c33 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptGroupElement02.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptGroupElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptGroupElement02

    +

    <test name='HTMLOptGroupElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement01.html new file mode 100644 index 0000000000..a5bfd416f7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement01.html @@ -0,0 +1,140 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement01

    +

    <test name='HTMLOptionElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement02.html new file mode 100644 index 0000000000..d5b9c605ed --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement02.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement02

    +

    <test name='HTMLOptionElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement03.html new file mode 100644 index 0000000000..45e90fe106 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement03.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement03

    +

    <test name='HTMLOptionElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement04.html new file mode 100644 index 0000000000..e85f2aced9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement04.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement04

    +

    <test name='HTMLOptionElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement05.html new file mode 100644 index 0000000000..4ddfab2f72 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement05.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement05

    +

    <test name='HTMLOptionElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement06.html new file mode 100644 index 0000000000..2e27c7dc71 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement06.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement06

    +

    <test name='HTMLOptionElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement07.html new file mode 100644 index 0000000000..0d85407a62 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement07.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement07

    +

    <test name='HTMLOptionElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement08.html new file mode 100644 index 0000000000..8d82008f85 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement08.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement08

    +

    <test name='HTMLOptionElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement09.html new file mode 100644 index 0000000000..692da1686f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionElement09.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionElement09

    +

    <test name='HTMLOptionElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection01.html new file mode 100644 index 0000000000..01fd99e8ae --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection01.html @@ -0,0 +1,144 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionsCollection01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionsCollection01

    +

    <test name='HTMLOptionsCollection01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLOptionsCollection01</title> +
              <creator>NIST</creator> +
              <description> + An HTMLOptionsCollection is a list of nodes representing HTML option + element. + The length attribute specifies the length or size of the list. + + Retrieve the first SELECT element and create a HTMLOptionsCollection + of the OPTION elements. Check the size of the length of OPTION elements. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-08-01</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#HTMLOptionsCollection-length'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='optionsList' type='HTMLOptionsCollection'/>
         <var name='vlength' type='int'/>
         <var name='doc' type='Document'/>
         <load var='doc' href='optionscollection' willBeModified='false'/>
         <getElementsByTagName interface='Document' obj='doc' var='nodeList' tagname='"select"'/>
         <assertSize collection='nodeList' size='2' id='Asize'/>
         <item interface='NodeList' obj='nodeList' var='testNode' index='0'/>
         <options interface='HTMLSelectElement' obj='testNode' var='optionsList'/>
         <length interface='HTMLOptionsCollection' obj='optionsList' var='vlength'/>
         <assertEquals actual='vlength' expected='5' id='lengthLink' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection02.html new file mode 100644 index 0000000000..c08d936743 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection02.html @@ -0,0 +1,157 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionsCollection02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionsCollection02

    +

    <test name='HTMLOptionsCollection02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLOptionsCollection02</title> +
              <creator>NIST</creator> +
              <description> + An HTMLOptionsCollection is a list of nodes representing HTML option + element. + An individual node may be accessed by either ordinal index, the node's + name or id attributes. (Test ordinal index=3). + The item() method retrieves a node specified by ordinal index. + Nodes are numbered in tree order. The index origin is 0. + + Retrieve the first SELECT element. Create a HTMLOptionsCollection. + Retrieve the fourth item in the list and examine its firstChild's + nodeValue. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-08-01</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#HTMLOptionsCollection-item'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='optionsNode' type='Node'/>
         <var name='optionsValueNode' type='Node'/>
         <var name='optionsList' type='HTMLOptionsCollection'/>
         <var name='vvalue' type='DOMString'/>
         <var name='doc' type='Document'/>
         <load var='doc' href='optionscollection' willBeModified='false'/>
         <getElementsByTagName interface='Document' obj='doc' var='nodeList' tagname='"select"'/>
         <assertSize collection='nodeList' size='2' id='Asize'/>
         <item interface='NodeList' obj='nodeList' var='testNode' index='0'/>
         <options interface='HTMLSelectElement' obj='testNode' var='optionsList'/>
         <item interface='HTMLOptionsCollection' obj='optionsList' var='optionsNode' index='3'/>
         <firstChild interface='Node' obj='optionsNode' var='optionsValueNode'/>
         <nodeValue obj='optionsValueNode' var='vvalue'/>
         <assertEquals actual='vvalue' expected='"EMP10004"' id='valueIndexLink' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection03.html new file mode 100644 index 0000000000..5796b4878f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection03.html @@ -0,0 +1,158 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionsCollection03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionsCollection03

    +

    <test name='HTMLOptionsCollection03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLOptionsCollection03</title> +
              <creator>NIST</creator> +
              <description> + An HTMLOptionsCollection is a list of nodes representing HTML option + element. + An individual node may be accessed by either ordinal index, the node's + name or id attributes. (Test node name). + The namedItem method retrieves a Node using a name. It first searches + for a node with a matching id attribute. If it doesn't find one, it + then searches for a Node with a matching name attribute, but only + those elements that are allowed a name attribute. + + Retrieve the first FORM element. Create a HTMLCollection of the elements. + Search for an element that has select1 as the value for the name attribute. + Get the nodeName of that element. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-08-01</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#HTMLOptionsCollection-namedItem'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='optionsNode' type='Node'/>
         <var name='formsnodeList' type='HTMLCollection'/>
         <var name='vname' type='DOMString'/>
         <var name='doc' type='Document'/>
         <load var='doc' href='optionscollection' 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 interface='HTMLOptionsCollection' obj='formsnodeList' var='optionsNode' name='"select1"'/>
         <nodeName obj='optionsNode' var='vname'/>
         <assertEquals actual='vname' expected='"select"' id='nameIndexLink' ignoreCase='auto'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection04.html new file mode 100644 index 0000000000..a759055091 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection04.html @@ -0,0 +1,158 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionsCollection04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionsCollection04

    +

    <test name='HTMLOptionsCollection04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLOptionsCollection04</title> +
              <creator>NIST</creator> +
              <description> + An HTMLOptionsCollection is a list of nodes representing HTML option + element. + An individual node may be accessed by either ordinal index, the node's + name or id attributes. (Test node name). + The namedItem method retrieves a Node using a name. It first searches + for a node with a matching id attribute. If it doesn't find one, it + then searches for a Node with a matching name attribute, but only + those elements that are allowed a name attribute. + + Retrieve the first FORM element. Create a HTMLCollection of the elements. + Search for an element that has selectId as the value for the id attribute. + Get the nodeName of that element. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-08-01</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#HTMLOptionsCollection-namedItem'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='optionsNode' type='Node'/>
         <var name='formsnodeList' type='HTMLCollection'/>
         <var name='vname' type='DOMString'/>
         <var name='doc' type='Document'/>
         <load var='doc' href='optionscollection' 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 interface='HTMLOptionsCollection' obj='formsnodeList' var='optionsNode' name='"selectId"'/>
         <nodeName obj='optionsNode' var='vname'/>
         <assertEquals actual='vname' expected='"select"' id='nameIndexLink' ignoreCase='auto'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection05.html new file mode 100644 index 0000000000..46922420f9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection05.html @@ -0,0 +1,160 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionsCollection05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionsCollection05

    +

    <test name='HTMLOptionsCollection05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLOptionsCollection05</title> +
              <creator>NIST</creator> +
              <description> + An HTMLOptionsCollection is a list of nodes representing HTML option + element. + An individual node may be accessed by either ordinal index, the node's + name or id attributes. (Test node name). + The namedItem method retrieves a Node using a name. It first searches + for a node with a matching id attribute. If it doesn't find one, it + then searches for a Node with a matching name attribute, but only + those elements that are allowed a name attribute. Upon failure(e.q., no + node with this name exists), returns null. + + Retrieve the first FORM element. Create a HTMLCollection of the elements. + Search for an element that has select9 as the value for the name attribute. + Null should be returned since there is not any name or id attribute with + select9 as a value. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-08-01</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#HTMLOptionsCollection-namedItem'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='optionsNode' type='Node'/>
         <var name='formsnodeList' type='HTMLCollection'/>
         <var name='vname' type='DOMString'/>
         <var name='doc' type='Document'/>
         <load var='doc' href='optionscollection' 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 interface='HTMLOptionsCollection' obj='formsnodeList' var='optionsNode' name='"select9"'/>
         <assertNull actual='optionsNode' id='nameIndexLink'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection06.html new file mode 100644 index 0000000000..d3638d4d00 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection06.html @@ -0,0 +1,153 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionsCollection06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionsCollection06

    +

    <test name='HTMLOptionsCollection06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLOptionsCollection06</title> +
              <creator>NIST</creator> +
              <description> + An HTMLOptionsCollection is a list of nodes representing HTML option + element. + An individual node may be accessed by either ordinal index, the node's + name or id attributes. (Test ordinal index). + The item() method retrieves a node specified by ordinal index. + A value of null is returned if the index is out of range. + + Retrieve the first SELECT element. Create a HTMLOptionsCollection. + Retrieve the tenth item in the list - null should be returned since + there are not 10 items in the list. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-08-01</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#HTMLOptionsCollection-item'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='optionsNode' type='Node'/>
         <var name='optionsValueNode' type='Node'/>
         <var name='optionsList' type='HTMLOptionsCollection'/>
         <var name='vvalue' type='DOMString'/>
         <var name='doc' type='Document'/>
         <load var='doc' href='optionscollection' willBeModified='false'/>
         <getElementsByTagName interface='Document' obj='doc' var='nodeList' tagname='"select"'/>
         <assertSize collection='nodeList' size='2' id='Asize'/>
         <item interface='NodeList' obj='nodeList' var='testNode' index='0'/>
         <options interface='HTMLSelectElement' obj='testNode' var='optionsList'/>
         <item interface='HTMLOptionsCollection' obj='optionsList' var='optionsNode' index='10'/>
         <assertNull actual='optionsNode' id='optionsIndexLink'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection07.html new file mode 100644 index 0000000000..b41c12c6b9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLOptionsCollection07.html @@ -0,0 +1,157 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionsCollection07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLOptionsCollection07

    +

    <test name='HTMLOptionsCollection07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLOptionsCollection07</title> +
              <creator>NIST</creator> +
              <description> + An HTMLOptionsCollection is a list of nodes representing HTML option + element. + An individual node may be accessed by either ordinal index, the node's + name or id attributes. (Test ordinal index=0). + The item() method retrieves a node specified by ordinal index. Nodes + are numbered in tree order. The index origin is 0. + + Retrieve the first SELECT element. Create a HTMLOptionsCollection. + Retrieve the first item in the list and examine its firstChild's + nodeValue. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-08-01</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#HTMLOptionsCollection-item'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='optionsNode' type='Node'/>
         <var name='optionsValueNode' type='Node'/>
         <var name='optionsList' type='HTMLOptionsCollection'/>
         <var name='vvalue' type='DOMString'/>
         <var name='doc' type='Document'/>
         <load var='doc' href='optionscollection' willBeModified='false'/>
         <getElementsByTagName interface='Document' obj='doc' var='nodeList' tagname='"select"'/>
         <assertSize collection='nodeList' size='2' id='Asize'/>
         <item interface='NodeList' obj='nodeList' var='testNode' index='0'/>
         <options interface='HTMLSelectElement' obj='testNode' var='optionsList'/>
         <item interface='HTMLOptionsCollection' obj='optionsList' var='optionsNode' index='0'/>
         <firstChild interface='Node' obj='optionsNode' var='optionsValueNode'/>
         <nodeValue obj='optionsValueNode' var='vvalue'/>
         <assertEquals actual='vvalue' expected='"EMP10001"' id='valueIndexLink' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLParagraphElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLParagraphElement01.html new file mode 100644 index 0000000000..3c47050e96 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLParagraphElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLParagraphElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLParagraphElement01

    +

    <test name='HTMLParagraphElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLParamElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLParamElement01.html new file mode 100644 index 0000000000..ba01514f72 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLParamElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLParamElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLParamElement01

    +

    <test name='HTMLParamElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLParamElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLParamElement02.html new file mode 100644 index 0000000000..c79cac1946 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLParamElement02.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLParamElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLParamElement02

    +

    <test name='HTMLParamElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLParamElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLParamElement03.html new file mode 100644 index 0000000000..5a65288e1f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLParamElement03.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLParamElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLParamElement03

    +

    <test name='HTMLParamElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLParamElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLParamElement04.html new file mode 100644 index 0000000000..a22a8f6982 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLParamElement04.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLParamElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLParamElement04

    +

    <test name='HTMLParamElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLPreElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLPreElement01.html new file mode 100644 index 0000000000..806a0b4544 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLPreElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLPreElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLPreElement01

    +

    <test name='HTMLPreElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLQuoteElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLQuoteElement01.html new file mode 100644 index 0000000000..7a18ed3b89 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLQuoteElement01.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLQuoteElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLQuoteElement01

    +

    <test name='HTMLQuoteElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLQuoteElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLQuoteElement02.html new file mode 100644 index 0000000000..d26872b8f8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLQuoteElement02.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLQuoteElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLQuoteElement02

    +

    <test name='HTMLQuoteElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement01.html new file mode 100644 index 0000000000..43e488f372 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLScriptElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLScriptElement01

    +

    <test name='HTMLScriptElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement02.html new file mode 100644 index 0000000000..45613a60f0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement02.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLScriptElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLScriptElement02

    +

    <test name='HTMLScriptElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement03.html new file mode 100644 index 0000000000..db02ff8e4e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement03.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLScriptElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLScriptElement03

    +

    <test name='HTMLScriptElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement04.html new file mode 100644 index 0000000000..5d509e4982 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement04.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLScriptElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLScriptElement04

    +

    <test name='HTMLScriptElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement05.html new file mode 100644 index 0000000000..a36529b3e1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement05.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLScriptElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLScriptElement05

    +

    <test name='HTMLScriptElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement06.html new file mode 100644 index 0000000000..9609977cbc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement06.html @@ -0,0 +1,128 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLScriptElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLScriptElement06

    +

    <test name='HTMLScriptElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement07.html new file mode 100644 index 0000000000..6fad56b2f0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLScriptElement07.html @@ -0,0 +1,128 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLScriptElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLScriptElement07

    +

    <test name='HTMLScriptElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement01.html new file mode 100644 index 0000000000..3c2d78628e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement01.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement01

    +

    <test name='HTMLSelectElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement02.html new file mode 100644 index 0000000000..ca1d52fc03 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement02.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement02

    +

    <test name='HTMLSelectElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement03.html new file mode 100644 index 0000000000..3fed838e63 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement03.html @@ -0,0 +1,146 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement03

    +

    <test name='HTMLSelectElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement04.html new file mode 100644 index 0000000000..6300196dd9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement04.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement04

    +

    <test name='HTMLSelectElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement05.html new file mode 100644 index 0000000000..a81c6bca81 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement05.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement05

    +

    <test name='HTMLSelectElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement06.html new file mode 100644 index 0000000000..bf90e3aa10 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement06.html @@ -0,0 +1,140 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement06

    +

    <test name='HTMLSelectElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement07.html new file mode 100644 index 0000000000..0bcaef7c5b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement07.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement07

    +

    <test name='HTMLSelectElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement08.html new file mode 100644 index 0000000000..05d58530ef --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement08.html @@ -0,0 +1,158 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement08

    +

    <test name='HTMLSelectElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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/>
              <member/>
              <member/>
              <member/>
              <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement09.html new file mode 100644 index 0000000000..268628c7f0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement09.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement09

    +

    <test name='HTMLSelectElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement10.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement10.html new file mode 100644 index 0000000000..875bed5983 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement10.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement10

    +

    <test name='HTMLSelectElement10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement11.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement11.html new file mode 100644 index 0000000000..7594a3bb72 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement11.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement11 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement11

    +

    <test name='HTMLSelectElement11' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement12.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement12.html new file mode 100644 index 0000000000..803b7953d7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement12.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement12 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement12

    +

    <test name='HTMLSelectElement12' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement13.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement13.html new file mode 100644 index 0000000000..7e79e15d11 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement13.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement13 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement13

    +

    <test name='HTMLSelectElement13' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement14.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement14.html new file mode 100644 index 0000000000..cf63a9f0c4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement14.html @@ -0,0 +1,126 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement14 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement14

    +

    <test name='HTMLSelectElement14' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement15.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement15.html new file mode 100644 index 0000000000..ada148e6d7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement15.html @@ -0,0 +1,126 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement15 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement15

    +

    <test name='HTMLSelectElement15' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement16.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement16.html new file mode 100644 index 0000000000..f829270ce0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement16.html @@ -0,0 +1,134 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement16 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement16

    +

    <test name='HTMLSelectElement16' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement17.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement17.html new file mode 100644 index 0000000000..8090af6a93 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement17.html @@ -0,0 +1,134 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement17 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement17

    +

    <test name='HTMLSelectElement17' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement18.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement18.html new file mode 100644 index 0000000000..c5839fcfa9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement18.html @@ -0,0 +1,152 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement18 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement18

    +

    <test name='HTMLSelectElement18' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement19.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement19.html new file mode 100644 index 0000000000..ea8b546d84 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement19.html @@ -0,0 +1,156 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement19 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement19

    +

    <test name='HTMLSelectElement19' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement20.html b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement20.html new file mode 100644 index 0000000000..328319679d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLSelectElement20.html @@ -0,0 +1,153 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement20 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLSelectElement20

    +

    <test name='HTMLSelectElement20' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLSelectElement20</title> +
              <creator>Curt Arnold</creator> +
              <description> +Attempting to add an new option using HTMLSelectElement.add before a node that is not a child of the select +element should raise a NOT_FOUND_ERR. +</description> +
              <date qualifier='created'>2004-03-18</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/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='retNode' type='Node'/>
         <var name='options' type='HTMLCollection'/>
         <var name='otherSelect' type='Element'/>
         <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'/>
         <item interface='NodeList' obj='nodeList' var='otherSelect' index='1'/>
         <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='otherSelect'/>
         <item var='selectedNode' obj='options' index='0' interface='HTMLCollection'/>
         <assertDOMException id='throw_NOT_FOUND_ERR'>
              <NOT_FOUND_ERR>
                   <add interface='HTMLSelectElement' obj='testNode' element='newOpt' before='selectedNode'/>
              </NOT_FOUND_ERR>
         </assertDOMException>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLStyleElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLStyleElement01.html new file mode 100644 index 0000000000..d7d0299df3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLStyleElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLStyleElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLStyleElement01

    +

    <test name='HTMLStyleElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLStyleElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLStyleElement02.html new file mode 100644 index 0000000000..2d3836e30a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLStyleElement02.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLStyleElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLStyleElement02

    +

    <test name='HTMLStyleElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLStyleElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLStyleElement03.html new file mode 100644 index 0000000000..085162e8a2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLStyleElement03.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLStyleElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLStyleElement03

    +

    <test name='HTMLStyleElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCaptionElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCaptionElement01.html new file mode 100644 index 0000000000..1c14c4efe7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCaptionElement01.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCaptionElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCaptionElement01

    +

    <test name='HTMLTableCaptionElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement01.html new file mode 100644 index 0000000000..6ba550abcb --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement01.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement01

    +

    <test name='HTMLTableCellElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement02.html new file mode 100644 index 0000000000..ae0f5cc064 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement02.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement02

    +

    <test name='HTMLTableCellElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement03.html new file mode 100644 index 0000000000..f4f4ecacbe --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement03.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement03

    +

    <test name='HTMLTableCellElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement04.html new file mode 100644 index 0000000000..0a4bc172a3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement04.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement04

    +

    <test name='HTMLTableCellElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement05.html new file mode 100644 index 0000000000..2bc8733184 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement05.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement05

    +

    <test name='HTMLTableCellElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement06.html new file mode 100644 index 0000000000..bca537692b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement06.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement06

    +

    <test name='HTMLTableCellElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement07.html new file mode 100644 index 0000000000..56ff764300 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement07.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement07

    +

    <test name='HTMLTableCellElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement08.html new file mode 100644 index 0000000000..d8ef6e2c7b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement08.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement08

    +

    <test name='HTMLTableCellElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement09.html new file mode 100644 index 0000000000..8e1f04a6b8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement09.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement09

    +

    <test name='HTMLTableCellElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement10.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement10.html new file mode 100644 index 0000000000..032bdb4877 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement10.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement10

    +

    <test name='HTMLTableCellElement10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement11.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement11.html new file mode 100644 index 0000000000..f2ebe30902 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement11.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement11 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement11

    +

    <test name='HTMLTableCellElement11' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement12.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement12.html new file mode 100644 index 0000000000..7b72839190 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement12.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement12 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement12

    +

    <test name='HTMLTableCellElement12' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement13.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement13.html new file mode 100644 index 0000000000..89bee078a6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement13.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement13 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement13

    +

    <test name='HTMLTableCellElement13' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement14.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement14.html new file mode 100644 index 0000000000..96e0286baf --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement14.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement14 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement14

    +

    <test name='HTMLTableCellElement14' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement15.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement15.html new file mode 100644 index 0000000000..278bb4d8f4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement15.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement15 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement15

    +

    <test name='HTMLTableCellElement15' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement16.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement16.html new file mode 100644 index 0000000000..935cb0300e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement16.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement16 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement16

    +

    <test name='HTMLTableCellElement16' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement17.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement17.html new file mode 100644 index 0000000000..67d5ac17b8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement17.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement17 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement17

    +

    <test name='HTMLTableCellElement17' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement18.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement18.html new file mode 100644 index 0000000000..8e61c56593 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement18.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement18 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement18

    +

    <test name='HTMLTableCellElement18' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement19.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement19.html new file mode 100644 index 0000000000..7d13255cd0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement19.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement19 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement19

    +

    <test name='HTMLTableCellElement19' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement20.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement20.html new file mode 100644 index 0000000000..249c18aba1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement20.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement20 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement20

    +

    <test name='HTMLTableCellElement20' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement21.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement21.html new file mode 100644 index 0000000000..639ff2218a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement21.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement21 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement21

    +

    <test name='HTMLTableCellElement21' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement22.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement22.html new file mode 100644 index 0000000000..fb390e2968 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement22.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement22 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement22

    +

    <test name='HTMLTableCellElement22' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement23.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement23.html new file mode 100644 index 0000000000..7c885c712e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement23.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement23 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement23

    +

    <test name='HTMLTableCellElement23' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement24.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement24.html new file mode 100644 index 0000000000..1031269e79 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement24.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement24 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement24

    +

    <test name='HTMLTableCellElement24' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement25.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement25.html new file mode 100644 index 0000000000..b32dec2f73 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement25.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement25 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement25

    +

    <test name='HTMLTableCellElement25' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement26.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement26.html new file mode 100644 index 0000000000..4d1f179aee --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement26.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement26 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement26

    +

    <test name='HTMLTableCellElement26' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement27.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement27.html new file mode 100644 index 0000000000..4eae8b05cd --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement27.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement27 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement27

    +

    <test name='HTMLTableCellElement27' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement28.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement28.html new file mode 100644 index 0000000000..d017964239 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement28.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement28 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement28

    +

    <test name='HTMLTableCellElement28' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement29.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement29.html new file mode 100644 index 0000000000..22d5db0034 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement29.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement29 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement29

    +

    <test name='HTMLTableCellElement29' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement30.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement30.html new file mode 100644 index 0000000000..834a3c4f3f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableCellElement30.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement30 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableCellElement30

    +

    <test name='HTMLTableCellElement30' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement01.html new file mode 100644 index 0000000000..917fc4f830 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement01.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement01

    +

    <test name='HTMLTableColElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement02.html new file mode 100644 index 0000000000..e6795a2ec3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement02.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement02

    +

    <test name='HTMLTableColElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement03.html new file mode 100644 index 0000000000..b1e692809e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement03.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement03

    +

    <test name='HTMLTableColElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement04.html new file mode 100644 index 0000000000..45d6f725b1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement04.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement04

    +

    <test name='HTMLTableColElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement05.html new file mode 100644 index 0000000000..737760b5ba --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement05.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement05

    +

    <test name='HTMLTableColElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement06.html new file mode 100644 index 0000000000..c485b5f797 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement06.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement06

    +

    <test name='HTMLTableColElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement07.html new file mode 100644 index 0000000000..090fb95a7c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement07.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement07

    +

    <test name='HTMLTableColElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement08.html new file mode 100644 index 0000000000..1ab84ef4b0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement08.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement08

    +

    <test name='HTMLTableColElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement09.html new file mode 100644 index 0000000000..9c5294b9ba --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement09.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement09

    +

    <test name='HTMLTableColElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement10.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement10.html new file mode 100644 index 0000000000..1d0dbf023d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement10.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement10

    +

    <test name='HTMLTableColElement10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement11.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement11.html new file mode 100644 index 0000000000..f4e07af382 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement11.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement11 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement11

    +

    <test name='HTMLTableColElement11' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement12.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement12.html new file mode 100644 index 0000000000..685a037ca7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableColElement12.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement12 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableColElement12

    +

    <test name='HTMLTableColElement12' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement01.html new file mode 100644 index 0000000000..7f3f16605c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement01.html @@ -0,0 +1,140 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement01

    +

    <test name='HTMLTableElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement02.html new file mode 100644 index 0000000000..8a888ce495 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement02.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement02

    +

    <test name='HTMLTableElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement03.html new file mode 100644 index 0000000000..9ddb9ee6b5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement03.html @@ -0,0 +1,140 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement03

    +

    <test name='HTMLTableElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement04.html new file mode 100644 index 0000000000..4d2ec31874 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement04.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement04

    +

    <test name='HTMLTableElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement05.html new file mode 100644 index 0000000000..98c07400f8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement05.html @@ -0,0 +1,140 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement05

    +

    <test name='HTMLTableElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement06.html new file mode 100644 index 0000000000..d78abe3fa8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement06.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement06

    +

    <test name='HTMLTableElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement07.html new file mode 100644 index 0000000000..d8d352c141 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement07.html @@ -0,0 +1,156 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement07

    +

    <test name='HTMLTableElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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/>
              <member/>
              <member/>
              <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement08.html new file mode 100644 index 0000000000..4863f471f3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement08.html @@ -0,0 +1,153 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement08

    +

    <test name='HTMLTableElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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/>
         </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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement09.html new file mode 100644 index 0000000000..3a971c920d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement09.html @@ -0,0 +1,157 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement09

    +

    <test name='HTMLTableElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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/>
              <member/>
              <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement10.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement10.html new file mode 100644 index 0000000000..b070679933 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement10.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement10

    +

    <test name='HTMLTableElement10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement11.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement11.html new file mode 100644 index 0000000000..08dcfb0cc8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement11.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement11 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement11

    +

    <test name='HTMLTableElement11' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement12.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement12.html new file mode 100644 index 0000000000..773d84d638 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement12.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement12 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement12

    +

    <test name='HTMLTableElement12' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement13.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement13.html new file mode 100644 index 0000000000..68c78c1389 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement13.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement13 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement13

    +

    <test name='HTMLTableElement13' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement14.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement14.html new file mode 100644 index 0000000000..c63ba0faea --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement14.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement14 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement14

    +

    <test name='HTMLTableElement14' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement15.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement15.html new file mode 100644 index 0000000000..8d1b2f7604 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement15.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement15 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement15

    +

    <test name='HTMLTableElement15' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement16.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement16.html new file mode 100644 index 0000000000..872086b3e2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement16.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement16 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement16

    +

    <test name='HTMLTableElement16' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement17.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement17.html new file mode 100644 index 0000000000..afb9bd3f75 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement17.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement17 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement17

    +

    <test name='HTMLTableElement17' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement18.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement18.html new file mode 100644 index 0000000000..47825f49b8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement18.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement18 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement18

    +

    <test name='HTMLTableElement18' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement19.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement19.html new file mode 100644 index 0000000000..572d2b963c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement19.html @@ -0,0 +1,149 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement19 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement19

    +

    <test name='HTMLTableElement19' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement20.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement20.html new file mode 100644 index 0000000000..ba10424562 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement20.html @@ -0,0 +1,148 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement20 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement20

    +

    <test name='HTMLTableElement20' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement21.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement21.html new file mode 100644 index 0000000000..a10acbf56e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement21.html @@ -0,0 +1,164 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement21 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement21

    +

    <test name='HTMLTableElement21' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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/>
              <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement22.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement22.html new file mode 100644 index 0000000000..234280236a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement22.html @@ -0,0 +1,149 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement22 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement22

    +

    <test name='HTMLTableElement22' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement23.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement23.html new file mode 100644 index 0000000000..773012256e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement23.html @@ -0,0 +1,148 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement23 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement23

    +

    <test name='HTMLTableElement23' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement24.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement24.html new file mode 100644 index 0000000000..c87461a1ab --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement24.html @@ -0,0 +1,164 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement24 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement24

    +

    <test name='HTMLTableElement24' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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/>
              <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement25.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement25.html new file mode 100644 index 0000000000..5b0c03ee2e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement25.html @@ -0,0 +1,145 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement25 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement25

    +

    <test name='HTMLTableElement25' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement26.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement26.html new file mode 100644 index 0000000000..68807e72aa --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement26.html @@ -0,0 +1,150 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement26 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement26

    +

    <test name='HTMLTableElement26' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement27.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement27.html new file mode 100644 index 0000000000..33a09d04c2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement27.html @@ -0,0 +1,141 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement27 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement27

    +

    <test name='HTMLTableElement27' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement28.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement28.html new file mode 100644 index 0000000000..5be023fcad --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement28.html @@ -0,0 +1,159 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement28 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement28

    +

    <test name='HTMLTableElement28' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement29.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement29.html new file mode 100644 index 0000000000..7dc54e90e3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement29.html @@ -0,0 +1,163 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement29 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement29

    +

    <test name='HTMLTableElement29' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement30.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement30.html new file mode 100644 index 0000000000..5dd3835ae3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement30.html @@ -0,0 +1,171 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement30 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement30

    +

    <test name='HTMLTableElement30' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement31.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement31.html new file mode 100644 index 0000000000..6d6138c774 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement31.html @@ -0,0 +1,169 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement31 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement31

    +

    <test name='HTMLTableElement31' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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'/> +
              <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement32.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement32.html new file mode 100644 index 0000000000..5368c9788b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement32.html @@ -0,0 +1,150 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement32 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement32

    +

    <test name='HTMLTableElement32' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement33.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement33.html new file mode 100644 index 0000000000..b418ededb7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement33.html @@ -0,0 +1,148 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement33 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement33

    +

    <test name='HTMLTableElement33' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement34.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement34.html new file mode 100644 index 0000000000..e43e8e8236 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement34.html @@ -0,0 +1,151 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement34 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement34

    +

    <test name='HTMLTableElement34' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableElement34</title> +
              <creator>NIST</creator> +
              <description> + The insertRow() method throws a INDEX_SIZE_ERR DOMException + if the specified index is greater than the number of rows. + + Retrieve the second TABLE element which has four rows. Try + to insert a new row using an index of five. This should throw + a INDEX_SIZE_ERR DOMException since there are only four rows. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-05-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-39872903'/> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#xpointer(id('ID-39872903')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='newRow' 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='1'/>
         <assertDOMException id='HTMLTableElement34'>
              <INDEX_SIZE_ERR>
                   <insertRow interface='HTMLTableElement' obj='testNode' var='newRow' index='5'/>
              </INDEX_SIZE_ERR>
         </assertDOMException>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement35.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement35.html new file mode 100644 index 0000000000..b1a942ca5e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement35.html @@ -0,0 +1,151 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement35 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement35

    +

    <test name='HTMLTableElement35' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableElement35</title> +
              <creator>NIST</creator> +
              <description> + The insertRow() method throws a INDEX_SIZE_ERR DOMException + if the specified index is negative. + + Retrieve the second TABLE element which has four rows. Try + to insert a new row using an index of negative five. This should throw + a INDEX_SIZE_ERR DOMException since the index is negative. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-05-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-39872903'/> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#xpointer(id('ID-39872903')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='newRow' 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='1'/>
         <assertDOMException id='HTMLTableElement35'>
              <INDEX_SIZE_ERR>
                   <insertRow interface='HTMLTableElement' obj='testNode' var='newRow' index='-5'/>
              </INDEX_SIZE_ERR>
         </assertDOMException>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement36.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement36.html new file mode 100644 index 0000000000..8cd5111f86 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement36.html @@ -0,0 +1,150 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement36 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement36

    +

    <test name='HTMLTableElement36' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableElement36</title> +
              <creator>NIST</creator> +
              <description> + The deleteRow() method throws a INDEX_SIZE_ERR DOMException + if the specified index is greater than the number of rows. + + Retrieve the second TABLE element which has four rows. Try + to delete a new row using an index of five. This should throw + a INDEX_SIZE_ERR DOMException since there are only four rows. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-05-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-13114938'/> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#xpointer(id('ID-13114938')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <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'/>
         <assertDOMException id='HTMLTableElement36'>
              <INDEX_SIZE_ERR>
                   <deleteRow interface='HTMLTableElement' obj='testNode' index='5'/>
              </INDEX_SIZE_ERR>
         </assertDOMException>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement37.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement37.html new file mode 100644 index 0000000000..896786dfb2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement37.html @@ -0,0 +1,152 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement37 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement37

    +

    <test name='HTMLTableElement37' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableElement37</title> +
              <creator>NIST</creator> +
              <description> + The deleteRow() method throws a INDEX_SIZE_ERR DOMException + if the specified index is equal the number of rows. + + Retrieve the second TABLE element which has four rows. Try + to delete a new row using an index of four. This should throw + a INDEX_SIZE_ERR DOMException since the index is equal to the + number of rows. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-05-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-13114938'/> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#xpointer(id('ID-13114938')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <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'/>
         <assertDOMException id='HTMLTableElement37'>
              <INDEX_SIZE_ERR>
                   <deleteRow interface='HTMLTableElement' obj='testNode' index='4'/>
              </INDEX_SIZE_ERR>
         </assertDOMException>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement38.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement38.html new file mode 100644 index 0000000000..0b7db508f5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement38.html @@ -0,0 +1,150 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement38 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement38

    +

    <test name='HTMLTableElement38' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableElement38</title> +
              <creator>NIST</creator> +
              <description> + The deleteRow() method throws a INDEX_SIZE_ERR DOMException + if the specified index is negative. + + Retrieve the second TABLE element which has four rows. Try + to delete a new row using an index of negative five. This should throw + a INDEX_SIZE_ERR DOMException since the index is negative. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-05-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-13114938'/> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#xpointer(id('ID-13114938')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <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'/>
         <assertDOMException id='HTMLTableElement38'>
              <INDEX_SIZE_ERR>
                   <deleteRow interface='HTMLTableElement' obj='testNode' index='-5'/>
              </INDEX_SIZE_ERR>
         </assertDOMException>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement39.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement39.html new file mode 100644 index 0000000000..61fabe6308 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement39.html @@ -0,0 +1,177 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement39 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement39

    +

    <test name='HTMLTableElement39' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableElement39</title> +
              <creator>NIST</creator> +
              <description> + The insertRow() method inserts a new empty table row. + If index is -1 or equal to the number of rows, the new row + is appended. + + Retrieve the second TABLE element and invoke the insertRow() method + with an index of negative one. + The number of rows in the TBODY section before insertion with an index + of negative one is two. After the new row is inserted the number + of rows in the TBODY section is three. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-11-07</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/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='-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='3' id='rowsLink2' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement40.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement40.html new file mode 100644 index 0000000000..f2b3344003 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableElement40.html @@ -0,0 +1,150 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement40 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableElement40

    +

    <test name='HTMLTableElement40' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableElement40</title> +
              <creator>NIST</creator> +
              <description> + The deleteRow() method deletes a table row. If the index is -1 + the last row of the table is deleted. + + Retrieve the second TABLE element and invoke the deleteRow() method + with an index of negative one. Currently there are four rows in the + table. The deleteRow() method is called and now there should be three. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-11-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/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='-1'/>
         <rows interface='HTMLTableSectionElement' obj='testNode' var='rowsnodeList'/>
         <length interface='HTMLCollection' obj='rowsnodeList' var='vrows'/>
         <assertEquals actual='vrows' expected='3' id='rowsLink2' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement01.html new file mode 100644 index 0000000000..2364932865 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement01.html @@ -0,0 +1,143 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement01

    +

    <test name='HTMLTableRowElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement02.html new file mode 100644 index 0000000000..d97296143f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement02.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement02

    +

    <test name='HTMLTableRowElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement03.html new file mode 100644 index 0000000000..94e1b4cb23 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement03.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement03

    +

    <test name='HTMLTableRowElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement04.html new file mode 100644 index 0000000000..00cde3b3a4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement04.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement04

    +

    <test name='HTMLTableRowElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement05.html new file mode 100644 index 0000000000..4a41966ed2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement05.html @@ -0,0 +1,140 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement05

    +

    <test name='HTMLTableRowElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement06.html new file mode 100644 index 0000000000..31c48480a2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement06.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement06

    +

    <test name='HTMLTableRowElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement07.html new file mode 100644 index 0000000000..0ad342c73f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement07.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement07

    +

    <test name='HTMLTableRowElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement08.html new file mode 100644 index 0000000000..851c288de6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement08.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement08

    +

    <test name='HTMLTableRowElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement09.html new file mode 100644 index 0000000000..8e4cd60f95 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement09.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement09

    +

    <test name='HTMLTableRowElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement10.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement10.html new file mode 100644 index 0000000000..9cbaee53f7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement10.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement10

    +

    <test name='HTMLTableRowElement10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement11.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement11.html new file mode 100644 index 0000000000..c938cb0125 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement11.html @@ -0,0 +1,173 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement11 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement11

    +

    <test name='HTMLTableRowElement11' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement12.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement12.html new file mode 100644 index 0000000000..3f208f88a3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement12.html @@ -0,0 +1,171 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement12 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement12

    +

    <test name='HTMLTableRowElement12' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement13.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement13.html new file mode 100644 index 0000000000..56f71638a4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement13.html @@ -0,0 +1,172 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement13 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement13

    +

    <test name='HTMLTableRowElement13' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement14.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement14.html new file mode 100644 index 0000000000..4faad2ce5c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement14.html @@ -0,0 +1,172 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement14 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement14

    +

    <test name='HTMLTableRowElement14' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement15.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement15.html new file mode 100644 index 0000000000..3cf3ed2819 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement15.html @@ -0,0 +1,151 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement15 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement15

    +

    <test name='HTMLTableRowElement15' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableRowElement15</title> +
              <creator>NIST</creator> +
              <description> + The insertCell() method throws a INDEX_SIZE_ERR DOMException + if the specified index is greater than the number of cells. + + Retrieve the fourth TR element which has six cells. Try + to insert a cell using an index of seven. This should throw + a INDEX_SIZE_ERR DOMException since there are only six cells. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-05-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-68927016'/> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#xpointer(id('ID-68927016')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='newCell' type='HTMLElement'/>
         <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'/>
         <assertDOMException id='HTMLTableRowElement15'>
              <INDEX_SIZE_ERR>
                   <insertCell interface='HTMLTableRowElement' obj='testNode' var='newCell' index='7'/>
              </INDEX_SIZE_ERR>
         </assertDOMException>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement16.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement16.html new file mode 100644 index 0000000000..fc63764ef1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement16.html @@ -0,0 +1,151 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement16 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement16

    +

    <test name='HTMLTableRowElement16' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableRowElement16</title> +
              <creator>NIST</creator> +
              <description> + The insertCell() method throws a INDEX_SIZE_ERR DOMException + if the specified index is negative. + + Retrieve the fourth TR element which has six cells. Try + to insert a cell using an index of negative seven. This should throw + a INDEX_SIZE_ERR DOMException since the index is negative. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-05-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-68927016'/> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#xpointer(id('ID-68927016')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='newCell' type='HTMLElement'/>
         <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'/>
         <assertDOMException id='HTMLTableRowElement16'>
              <INDEX_SIZE_ERR>
                   <insertCell interface='HTMLTableRowElement' obj='testNode' var='newCell' index='-7'/>
              </INDEX_SIZE_ERR>
         </assertDOMException>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement17.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement17.html new file mode 100644 index 0000000000..9321704af8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement17.html @@ -0,0 +1,150 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement17 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement17

    +

    <test name='HTMLTableRowElement17' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableRowElement17</title> +
              <creator>NIST</creator> +
              <description> + The deleteCell() method throws a INDEX_SIZE_ERR DOMException + if the specified index is greater than the number of cells. + + Retrieve the fourth TR element which has six cells. Try + to delete a cell using an index of seven. This should throw + a INDEX_SIZE_ERR DOMException since there are only six cells. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-05-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-11738598'/> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#xpointer(id('ID-11738598')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <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'/>
         <assertDOMException id='HTMLTableRowElement17'>
              <INDEX_SIZE_ERR>
                   <deleteCell interface='HTMLTableRowElement' obj='testNode' index='7'/>
              </INDEX_SIZE_ERR>
         </assertDOMException>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement18.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement18.html new file mode 100644 index 0000000000..ec7bb985f4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement18.html @@ -0,0 +1,150 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement18 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement18

    +

    <test name='HTMLTableRowElement18' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableRowElement18</title> +
              <creator>NIST</creator> +
              <description> + The deleteCell() method throws a INDEX_SIZE_ERR DOMException + if the specified index is equal to the number of cells. + + Retrieve the fourth TR element which has six cells. Try + to delete a cell using an index of six. This should throw + a INDEX_SIZE_ERR DOMException since there are only six cells. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-05-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-11738598'/> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#xpointer(id('ID-11738598')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <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'/>
         <assertDOMException id='HTMLTableRowElement18'>
              <INDEX_SIZE_ERR>
                   <deleteCell interface='HTMLTableRowElement' obj='testNode' index='6'/>
              </INDEX_SIZE_ERR>
         </assertDOMException>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement19.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement19.html new file mode 100644 index 0000000000..6d277d373d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement19.html @@ -0,0 +1,150 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement19 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement19

    +

    <test name='HTMLTableRowElement19' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableRowElement19</title> +
              <creator>NIST</creator> +
              <description> + The deleteCell() method throws a INDEX_SIZE_ERR DOMException + if the specified index is negative. + + Retrieve the fourth TR element which has six cells. Try + to delete a cell using an index of negative six. This should throw + a INDEX_SIZE_ERR DOMException since the index is negative. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-05-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-11738598'/> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#xpointer(id('ID-11738598')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <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'/>
         <assertDOMException id='HTMLTableRowElement19'>
              <INDEX_SIZE_ERR>
                   <deleteCell interface='HTMLTableRowElement' obj='testNode' index='-6'/>
              </INDEX_SIZE_ERR>
         </assertDOMException>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement20.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement20.html new file mode 100644 index 0000000000..672b3f2033 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement20.html @@ -0,0 +1,177 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement20 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement20

    +

    <test name='HTMLTableRowElement20' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableRowElement20</title> +
              <creator>NIST</creator> +
              <description> + The insertCell() method inserts an empty TD cell into this row. + If index is -1 or equal to the number of cells, the new cell is + appended. + + + Retrieve the fourth TR element and examine the value of + the cells length attribute which should be set to six. + Check the value of the last TD element. Invoke the + insertCell() with an index of negative one + which will append the empty cell to the end of the list. + Check the value of the newly created cell and make sure it is null + and also the numbers of cells should now be seven. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-11-07</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/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='-1'/>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement21.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement21.html new file mode 100644 index 0000000000..65e859bd0a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableRowElement21.html @@ -0,0 +1,176 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement21 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableRowElement21

    +

    <test name='HTMLTableRowElement21' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableRowElement21</title> +
              <creator>NIST</creator> +
              <description> + The deleteCell() method deletes a cell from the currtent row. If + the index is -1 the last cell in the row is deleted. + + + Retrieve the fourth TR element and examine the value of + the cells length attribute which should be set to six. + Check the value of the last TD element. Invoke the + deleteCell() with an index of negative one + which will delete the last cell in the row. + Check the value of the of the last cell + and also the numbers of cells should now be five. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-11-07</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/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='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'/>
         <deleteCell interface='HTMLTableRowElement' obj='testNode' index='-1'/>
         <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='4'/>
         <firstChild interface='Node' obj='trNode' var='cellNode'/>
         <nodeValue obj='cellNode' var='value'/>
         <assertEquals actual='value' expected='"Female"' id='value2Link' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement01.html new file mode 100644 index 0000000000..e0cbd5d1d3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement01.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement01

    +

    <test name='HTMLTableSectionElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement02.html new file mode 100644 index 0000000000..c55881bfcd --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement02.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement02

    +

    <test name='HTMLTableSectionElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement03.html new file mode 100644 index 0000000000..787e25b046 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement03.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement03

    +

    <test name='HTMLTableSectionElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement04.html new file mode 100644 index 0000000000..b0fb6a4bf8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement04.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement04

    +

    <test name='HTMLTableSectionElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement05.html new file mode 100644 index 0000000000..a185d0aea1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement05.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement05

    +

    <test name='HTMLTableSectionElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement06.html new file mode 100644 index 0000000000..110bfacf50 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement06.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement06

    +

    <test name='HTMLTableSectionElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement07.html new file mode 100644 index 0000000000..c7f63a5b25 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement07.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement07

    +

    <test name='HTMLTableSectionElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement08.html new file mode 100644 index 0000000000..6adfbdc0f7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement08.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement08

    +

    <test name='HTMLTableSectionElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement09.html new file mode 100644 index 0000000000..20db3cd3d9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement09.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement09

    +

    <test name='HTMLTableSectionElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement10.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement10.html new file mode 100644 index 0000000000..756fa15fba --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement10.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement10

    +

    <test name='HTMLTableSectionElement10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement11.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement11.html new file mode 100644 index 0000000000..a42b1adea9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement11.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement11 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement11

    +

    <test name='HTMLTableSectionElement11' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement12.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement12.html new file mode 100644 index 0000000000..e14140aa1e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement12.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement12 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement12

    +

    <test name='HTMLTableSectionElement12' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement13.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement13.html new file mode 100644 index 0000000000..ea72e4f4c9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement13.html @@ -0,0 +1,140 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement13 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement13

    +

    <test name='HTMLTableSectionElement13' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement14.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement14.html new file mode 100644 index 0000000000..71955d803e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement14.html @@ -0,0 +1,140 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement14 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement14

    +

    <test name='HTMLTableSectionElement14' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement15.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement15.html new file mode 100644 index 0000000000..464e10219e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement15.html @@ -0,0 +1,140 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement15 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement15

    +

    <test name='HTMLTableSectionElement15' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement16.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement16.html new file mode 100644 index 0000000000..7845ad66f4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement16.html @@ -0,0 +1,151 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement16 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement16

    +

    <test name='HTMLTableSectionElement16' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement17.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement17.html new file mode 100644 index 0000000000..51cb27c421 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement17.html @@ -0,0 +1,151 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement17 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement17

    +

    <test name='HTMLTableSectionElement17' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement18.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement18.html new file mode 100644 index 0000000000..b4fffa75b2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement18.html @@ -0,0 +1,151 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement18 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement18

    +

    <test name='HTMLTableSectionElement18' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement19.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement19.html new file mode 100644 index 0000000000..cdc90cd894 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement19.html @@ -0,0 +1,153 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement19 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement19

    +

    <test name='HTMLTableSectionElement19' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement20.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement20.html new file mode 100644 index 0000000000..4992bf58f5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement20.html @@ -0,0 +1,153 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement20 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement20

    +

    <test name='HTMLTableSectionElement20' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement21.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement21.html new file mode 100644 index 0000000000..b75311295f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement21.html @@ -0,0 +1,155 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement21 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement21

    +

    <test name='HTMLTableSectionElement21' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement22.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement22.html new file mode 100644 index 0000000000..08d024c80b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement22.html @@ -0,0 +1,150 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement22 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement22

    +

    <test name='HTMLTableSectionElement22' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement23.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement23.html new file mode 100644 index 0000000000..18e65d2921 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement23.html @@ -0,0 +1,150 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement23 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement23

    +

    <test name='HTMLTableSectionElement23' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement24.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement24.html new file mode 100644 index 0000000000..fc6c22bdb1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement24.html @@ -0,0 +1,150 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement24 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement24

    +

    <test name='HTMLTableSectionElement24' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement25.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement25.html new file mode 100644 index 0000000000..b83549acbd --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement25.html @@ -0,0 +1,151 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement25 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement25

    +

    <test name='HTMLTableSectionElement25' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableSectionElement25</title> +
              <creator>NIST</creator> +
              <description> + The insertRow() method throws a INDEX_SIZE_ERR DOMException + if the specified index is greater than the number of rows. + + Retrieve the first THEAD element which has one row. Try + to insert a new row using an index of two. This should throw + a INDEX_SIZE_ERR DOMException since there is only one row. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-05-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-93995626'/> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#xpointer(id('ID-93995626')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='newRow' type='HTMLElement'/>
         <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'/>
         <assertDOMException id='HTMLTableSectionElement25'>
              <INDEX_SIZE_ERR>
                   <insertRow interface='HTMLTableSectionElement' obj='testNode' var='newRow' index='2'/>
              </INDEX_SIZE_ERR>
         </assertDOMException>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement26.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement26.html new file mode 100644 index 0000000000..6937d9840f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement26.html @@ -0,0 +1,151 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement26 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement26

    +

    <test name='HTMLTableSectionElement26' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableSectionElement26</title> +
              <creator>NIST</creator> +
              <description> + The insertRow() method throws a INDEX_SIZE_ERR DOMException + if the specified index is negative. + + Retrieve the first THEAD element which has one row. Try + to insert a new row using an index of negative two. This should throw + a INDEX_SIZE_ERR DOMException since the index is negative. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-05-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-93995626'/> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#xpointer(id('ID-93995626')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='newRow' type='HTMLElement'/>
         <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'/>
         <assertDOMException id='HTMLTableSectionElement26'>
              <INDEX_SIZE_ERR>
                   <insertRow interface='HTMLTableSectionElement' obj='testNode' var='newRow' index='-2'/>
              </INDEX_SIZE_ERR>
         </assertDOMException>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement27.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement27.html new file mode 100644 index 0000000000..ecf41f818c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement27.html @@ -0,0 +1,152 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement27 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement27

    +

    <test name='HTMLTableSectionElement27' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableSectionElement27</title> +
              <creator>NIST</creator> +
              <description> + The deleteRow() method throws a INDEX_SIZE_ERR DOMException + if the specified index is greater than the number of rows. + + Retrieve the first THEAD element which has one row. Try + to delete a row using an index of two. This should throw + a INDEX_SIZE_ERR DOMException since the index is greater than the + number of rows. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-05-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-5625626'/> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#xpointer(id('ID-5625626')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <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'/>
         <assertDOMException id='HTMLTableSectionElement27'>
              <INDEX_SIZE_ERR>
                   <deleteRow interface='HTMLTableSectionElement' obj='testNode' index='2'/>
              </INDEX_SIZE_ERR>
         </assertDOMException>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement28.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement28.html new file mode 100644 index 0000000000..aee22a0d75 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement28.html @@ -0,0 +1,152 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement28 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement28

    +

    <test name='HTMLTableSectionElement28' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableSectionElement28</title> +
              <creator>NIST</creator> +
              <description> + The deleteRow() method throws a INDEX_SIZE_ERR DOMException + if the specified index is equal to the number of rows. + + Retrieve the first THEAD element which has one row. Try + to delete a row using an index of 1. This should throw + a INDEX_SIZE_ERR DOMException since the index is equal to the + number of rows. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-05-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-5625626'/> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#xpointer(id('ID-5625626')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <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'/>
         <assertDOMException id='HTMLTableSectionElement28'>
              <INDEX_SIZE_ERR>
                   <deleteRow interface='HTMLTableSectionElement' obj='testNode' index='1'/>
              </INDEX_SIZE_ERR>
         </assertDOMException>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement29.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement29.html new file mode 100644 index 0000000000..8339ee5c7b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement29.html @@ -0,0 +1,150 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement29 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement29

    +

    <test name='HTMLTableSectionElement29' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableSectionElement29</title> +
              <creator>NIST</creator> +
              <description> + The deleteRow() method throws a INDEX_SIZE_ERR DOMException + if the specified index is negative. + + Retrieve the first THEAD element which has one row. Try + to delete a row using an index of negative two. This should throw + a INDEX_SIZE_ERR DOMException since the index is negative. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-05-02</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-5625626'/> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#xpointer(id('ID-5625626')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <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'/>
         <assertDOMException id='HTMLTableSectionElement29'>
              <INDEX_SIZE_ERR>
                   <deleteRow interface='HTMLTableSectionElement' obj='testNode' index='-2'/>
              </INDEX_SIZE_ERR>
         </assertDOMException>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement30.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement30.html new file mode 100644 index 0000000000..2790c58f31 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement30.html @@ -0,0 +1,159 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement30 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement30

    +

    <test name='HTMLTableSectionElement30' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableSectionElement30</title> +
              <creator>NIST</creator> +
              <description> + The insertRow() method inserts a new empty table row. The new + row is inserted immediately before the current indexth row in this + section. If index is -1 or equal to the number of rows in this section, + the new row is appended. + + Retrieve the first THEAD element and invoke the insertRow() method + with an index of negative one. Since the index is negative one the + new row is appended. + After the new row is appended the number of rows in the THEAD + section is two. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-11-07</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement31.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement31.html new file mode 100644 index 0000000000..e43feb2d07 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTableSectionElement31.html @@ -0,0 +1,156 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement31 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTableSectionElement31

    +

    <test name='HTMLTableSectionElement31' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>HTMLTableSectionElement31</title> +
              <creator>NIST</creator> +
              <description> + The deleteRow() method deletes a row from this section. The index + starts from 0 and is relative only to the rows contained inside + this section, not all the rows in the table. If the index is -1 + the last row will be deleted. + + Retrieve the second TBODY element and invoke the deleteRow() method + with an index of -1. The nuber of rows in the THEAD section before + the deletion of the row is two. After the row is deleted the number + of rows in the TBODY section is one. +</description> +
              <contributor>Rick Rivello</contributor> +
              <date qualifier='created'>2002-11-07</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/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='-1'/>
         <rows interface='HTMLTableSectionElement' obj='testNode' var='rowsnodeList'/>
         <length interface='HTMLCollection' obj='rowsnodeList' var='vrows'/>
         <assertEquals actual='vrows' expected='1' id='rowsLink2' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement01.html new file mode 100644 index 0000000000..dd0a7504e5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement01.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement01

    +

    <test name='HTMLTextAreaElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement02.html new file mode 100644 index 0000000000..af9f31a9e3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement02.html @@ -0,0 +1,140 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement02

    +

    <test name='HTMLTextAreaElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement03.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement03.html new file mode 100644 index 0000000000..13c9df10ec --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement03.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement03

    +

    <test name='HTMLTextAreaElement03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement04.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement04.html new file mode 100644 index 0000000000..08d3f82673 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement04.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement04

    +

    <test name='HTMLTextAreaElement04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement05.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement05.html new file mode 100644 index 0000000000..4acdbf740b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement05.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement05

    +

    <test name='HTMLTextAreaElement05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement06.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement06.html new file mode 100644 index 0000000000..3049fd2d12 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement06.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement06

    +

    <test name='HTMLTextAreaElement06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement07.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement07.html new file mode 100644 index 0000000000..ae49b1668d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement07.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement07

    +

    <test name='HTMLTextAreaElement07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement08.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement08.html new file mode 100644 index 0000000000..615758b6d8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement08.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement08

    +

    <test name='HTMLTextAreaElement08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement09.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement09.html new file mode 100644 index 0000000000..e15e92d010 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement09.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement09

    +

    <test name='HTMLTextAreaElement09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement10.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement10.html new file mode 100644 index 0000000000..e747e55045 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement10.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement10

    +

    <test name='HTMLTextAreaElement10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement11.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement11.html new file mode 100644 index 0000000000..4c0f067b09 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement11.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement11 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement11

    +

    <test name='HTMLTextAreaElement11' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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> +
              <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement12.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement12.html new file mode 100644 index 0000000000..9f3684e80d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement12.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement12 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement12

    +

    <test name='HTMLTextAreaElement12' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement13.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement13.html new file mode 100644 index 0000000000..d1d32f2af1 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement13.html @@ -0,0 +1,126 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement13 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement13

    +

    <test name='HTMLTextAreaElement13' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement14.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement14.html new file mode 100644 index 0000000000..548028cd66 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement14.html @@ -0,0 +1,126 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement14 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement14

    +

    <test name='HTMLTextAreaElement14' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement15.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement15.html new file mode 100644 index 0000000000..879b6208ef --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTextAreaElement15.html @@ -0,0 +1,126 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement15 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTextAreaElement15

    +

    <test name='HTMLTextAreaElement15' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLTitleElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLTitleElement01.html new file mode 100644 index 0000000000..f71ce5975c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLTitleElement01.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTitleElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLTitleElement01

    +

    <test name='HTMLTitleElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLUListElement01.html b/dom/tests/mochitest/dom-level2-html/test_HTMLUListElement01.html new file mode 100644 index 0000000000..a3913a0e23 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLUListElement01.html @@ -0,0 +1,137 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLUListElement01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLUListElement01

    +

    <test name='HTMLUListElement01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_HTMLUListElement02.html b/dom/tests/mochitest/dom-level2-html/test_HTMLUListElement02.html new file mode 100644 index 0000000000..0ab6be828a --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_HTMLUListElement02.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLUListElement02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLUListElement02

    +

    <test name='HTMLUListElement02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_alltests.html b/dom/tests/mochitest/dom-level2-html/test_alltests.html new file mode 100644 index 0000000000..2ad21a3fcd --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_alltests.html @@ -0,0 +1,3933 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/alltests + + + + + + + +

    DOM Level 2 HTML Test Suite

    +
    + + + + + + + +
    + + + + +
    Test:
    +
    + + + + + + + +
    ImplementationConfigurationContent Type
    iframe
    + DOM 3 Load/Save
    + Features: +
    + Mozilla XML
    + MSXML 3.0
    + MSXML 4.0
    + SVG Plugin
    +
    Asynchronous
    + Expanding Entities
    + Ignoring whitespace
    + Validating
    + Coalescing
    + Namespace aware
    + Ignoring comments
    + Skip incompatible tests
    + Autorun
    + Submit results
    + Acceptor: http:// +
    + Result ID: +
    +
    XML
    +HTML
    +XHTML
    +
    +
    +
    +

    + 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.

    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_anchor01.html b/dom/tests/mochitest/dom-level2-html/test_anchor01.html new file mode 100644 index 0000000000..60bc37a436 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_anchor01.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/anchor01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/anchor01

    +

    <test name='anchor01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_anchor02.html b/dom/tests/mochitest/dom-level2-html/test_anchor02.html new file mode 100644 index 0000000000..90a5f26f4e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_anchor02.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/anchor02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/anchor02

    +

    <test name='anchor02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_anchor03.html b/dom/tests/mochitest/dom-level2-html/test_anchor03.html new file mode 100644 index 0000000000..764561b853 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_anchor03.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/anchor03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/anchor03

    +

    <test name='anchor03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_anchor04.html b/dom/tests/mochitest/dom-level2-html/test_anchor04.html new file mode 100644 index 0000000000..8f6fdf5df4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_anchor04.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/anchor04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/anchor04

    +

    <test name='anchor04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_anchor05.html b/dom/tests/mochitest/dom-level2-html/test_anchor05.html new file mode 100644 index 0000000000..d62a04253c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_anchor05.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/anchor05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/anchor05

    +

    <test name='anchor05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_anchor06.html b/dom/tests/mochitest/dom-level2-html/test_anchor06.html new file mode 100644 index 0000000000..1be5b39431 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_anchor06.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/anchor06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/anchor06

    +

    <test name='anchor06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_area01.html b/dom/tests/mochitest/dom-level2-html/test_area01.html new file mode 100644 index 0000000000..6d86909f6d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_area01.html @@ -0,0 +1,131 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/area01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/area01

    +

    <test name='area01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_area02.html b/dom/tests/mochitest/dom-level2-html/test_area02.html new file mode 100644 index 0000000000..fb9db8319b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_area02.html @@ -0,0 +1,131 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/area02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/area02

    +

    <test name='area02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_area03.html b/dom/tests/mochitest/dom-level2-html/test_area03.html new file mode 100644 index 0000000000..98dd3e521e --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_area03.html @@ -0,0 +1,131 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/area03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/area03

    +

    <test name='area03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_area04.html b/dom/tests/mochitest/dom-level2-html/test_area04.html new file mode 100644 index 0000000000..0c91403e0c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_area04.html @@ -0,0 +1,131 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/area04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/area04

    +

    <test name='area04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_body01.html b/dom/tests/mochitest/dom-level2-html/test_body01.html new file mode 100644 index 0000000000..417329e475 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_body01.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/body01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/body01

    +

    <test name='body01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_button01.html b/dom/tests/mochitest/dom-level2-html/test_button01.html new file mode 100644 index 0000000000..cd3bb8f8cc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_button01.html @@ -0,0 +1,131 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/button01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/button01

    +

    <test name='button01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_button02.html b/dom/tests/mochitest/dom-level2-html/test_button02.html new file mode 100644 index 0000000000..a4cae627d3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_button02.html @@ -0,0 +1,136 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/button02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/button02

    +

    <test name='button02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_button03.html b/dom/tests/mochitest/dom-level2-html/test_button03.html new file mode 100644 index 0000000000..3e81c10024 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_button03.html @@ -0,0 +1,138 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/button03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/button03

    +

    <test name='button03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_button04.html b/dom/tests/mochitest/dom-level2-html/test_button04.html new file mode 100644 index 0000000000..b34171f23c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_button04.html @@ -0,0 +1,136 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/button04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/button04

    +

    <test name='button04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_button05.html b/dom/tests/mochitest/dom-level2-html/test_button05.html new file mode 100644 index 0000000000..2d6b6d7dbc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_button05.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/button05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/button05

    +

    <test name='button05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_button06.html b/dom/tests/mochitest/dom-level2-html/test_button06.html new file mode 100644 index 0000000000..8d11cd16e4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_button06.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/button06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/button06

    +

    <test name='button06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_button07.html b/dom/tests/mochitest/dom-level2-html/test_button07.html new file mode 100644 index 0000000000..aaae8e6922 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_button07.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/button07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/button07

    +

    <test name='button07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_button08.html b/dom/tests/mochitest/dom-level2-html/test_button08.html new file mode 100644 index 0000000000..a7a48caa42 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_button08.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/button08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/button08

    +

    <test name='button08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_button09.html b/dom/tests/mochitest/dom-level2-html/test_button09.html new file mode 100644 index 0000000000..4917f7f78f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_button09.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/button09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/button09

    +

    <test name='button09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_dlist01.html b/dom/tests/mochitest/dom-level2-html/test_dlist01.html new file mode 100644 index 0000000000..3e756c4ec2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_dlist01.html @@ -0,0 +1,131 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/dlist01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/dlist01

    +

    <test name='dlist01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_doc01.html b/dom/tests/mochitest/dom-level2-html/test_doc01.html new file mode 100644 index 0000000000..8e2a0c0eb6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_doc01.html @@ -0,0 +1,126 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/doc01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/doc01

    +

    <test name='doc01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_hasFeature01.html b/dom/tests/mochitest/dom-level2-html/test_hasFeature01.html new file mode 100644 index 0000000000..fa936ddb04 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_hasFeature01.html @@ -0,0 +1,113 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/hasFeature01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/hasFeature01

    +

    <test name='hasFeature01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_hasFeature02.html b/dom/tests/mochitest/dom-level2-html/test_hasFeature02.html new file mode 100644 index 0000000000..6a58ca2818 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_hasFeature02.html @@ -0,0 +1,112 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/hasFeature02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/hasFeature02

    +

    <test name='hasFeature02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>hasFeature02</title> +
              <creator>Curt Arnold</creator> +
              <description> +hasFeature("hTmL", "2.0") should return true. +</description> +
              <date qualifier='created'>2004-03-18</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-Core/core#ID-5CED94D7'/> +
    </metadata>
         <var name='doc' type='Document'/>
         <var name='domImpl' type='DOMImplementation'/>
         <var name='version' type='DOMString' value='"2.0"'/>
         <var name='state' type='boolean'/>
         <implementation var='domImpl'/>
         <hasFeature obj='domImpl' var='state' feature='"hTmL"' version='version'/>
         <assertTrue actual='state' id='hasHTML2'/>
    </test>
    +

    +

    + 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.

    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_hasFeature03.html b/dom/tests/mochitest/dom-level2-html/test_hasFeature03.html new file mode 100644 index 0000000000..25a0cfd8fe --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_hasFeature03.html @@ -0,0 +1,115 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/hasFeature03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/hasFeature03

    +

    <test name='hasFeature03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>hasFeature03</title> +
              <creator>Curt Arnold</creator> +
              <description> +hasFeature("xhTmL", null) should return true if hasFeature("XML", null) returns true. +</description> +
              <date qualifier='created'>2004-03-18</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-Core/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'/>
         <var name='hasXML' type='boolean'/>
         <implementation var='domImpl'/>
         <hasFeature obj='domImpl' var='hasXML' feature='"XML"' version='version'/>
         <hasFeature obj='domImpl' var='state' feature='"xhTmL"' version='version'/>
         <assertEquals actual='state' expected='hasXML' ignoreCase='false' id='hasXHTML'/>
    </test>
    +

    +

    + 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.

    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_hasFeature04.html b/dom/tests/mochitest/dom-level2-html/test_hasFeature04.html new file mode 100644 index 0000000000..773b999aa7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_hasFeature04.html @@ -0,0 +1,114 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/hasFeature04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/hasFeature04

    +

    <test name='hasFeature04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>hasFeature04</title> +
              <creator>Curt Arnold</creator> +
              <description> +hasFeature("xhTmL", "2.0") should return true if hasFeature("XML", "2.0") returns true. +</description> +
              <date qualifier='created'>2004-03-18</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-Core/core#ID-5CED94D7'/> +
    </metadata>
         <var name='doc' type='Document'/>
         <var name='domImpl' type='DOMImplementation'/>
         <var name='version' type='DOMString' value='"2.0"'/>
         <var name='state' type='boolean'/>
         <var name='hasXML' type='boolean'/>
         <implementation var='domImpl'/>
         <hasFeature obj='domImpl' var='hasXML' feature='"XML"' version='version'/>
         <hasFeature obj='domImpl' var='state' feature='"xhTmL"' version='version'/>
         <assertEquals actual='state' expected='hasXML' ignoreCase='false' id='hasXHTML'/>
    </test>
    +

    +

    + 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.

    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_hasFeature05.html b/dom/tests/mochitest/dom-level2-html/test_hasFeature05.html new file mode 100644 index 0000000000..e765457cf6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_hasFeature05.html @@ -0,0 +1,113 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/hasFeature05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/hasFeature05

    +

    <test name='hasFeature05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>hasFeature05</title> +
              <creator>Curt Arnold</creator> +
              <description> +hasFeature("cOrE", null) should return true. +</description> +
              <date qualifier='created'>2004-03-18</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-Core/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='"cOrE"' version='version'/>
         <assertTrue actual='state' id='hasCore'/>
    </test>
    +

    +

    + 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.

    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_hasFeature06.html b/dom/tests/mochitest/dom-level2-html/test_hasFeature06.html new file mode 100644 index 0000000000..596d8e3fff --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_hasFeature06.html @@ -0,0 +1,112 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/hasFeature06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/hasFeature06

    +

    <test name='hasFeature06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <metadata>
              <title>hasFeature06</title> +
              <creator>Curt Arnold</creator> +
              <description> +hasFeature("cOrE", "2.0") should return true. +</description> +
              <date qualifier='created'>2004-03-18</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-Core/core#ID-5CED94D7'/> +
    </metadata>
         <var name='doc' type='Document'/>
         <var name='domImpl' type='DOMImplementation'/>
         <var name='version' type='DOMString' value='"2.0"'/>
         <var name='state' type='boolean'/>
         <implementation var='domImpl'/>
         <hasFeature obj='domImpl' var='state' feature='"cOrE"' version='version'/>
         <assertTrue actual='state' id='hasCore'/>
    </test>
    +

    +

    + 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.

    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_object01.html b/dom/tests/mochitest/dom-level2-html/test_object01.html new file mode 100644 index 0000000000..e3bea15712 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_object01.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/object01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/object01

    +

    <test name='object01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_object02.html b/dom/tests/mochitest/dom-level2-html/test_object02.html new file mode 100644 index 0000000000..4cc91da2d2 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_object02.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/object02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/object02

    +

    <test name='object02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_object03.html b/dom/tests/mochitest/dom-level2-html/test_object03.html new file mode 100644 index 0000000000..f3523bcf38 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_object03.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/object03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/object03

    +

    <test name='object03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_object04.html b/dom/tests/mochitest/dom-level2-html/test_object04.html new file mode 100644 index 0000000000..0749cf7b4b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_object04.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/object04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/object04

    +

    <test name='object04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_object05.html b/dom/tests/mochitest/dom-level2-html/test_object05.html new file mode 100644 index 0000000000..02638b8391 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_object05.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/object05 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/object05

    +

    <test name='object05' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_object06.html b/dom/tests/mochitest/dom-level2-html/test_object06.html new file mode 100644 index 0000000000..ba9c065122 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_object06.html @@ -0,0 +1,134 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/object06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/object06

    +

    <test name='object06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_object07.html b/dom/tests/mochitest/dom-level2-html/test_object07.html new file mode 100644 index 0000000000..74698fa288 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_object07.html @@ -0,0 +1,131 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/object07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/object07

    +

    <test name='object07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_object08.html b/dom/tests/mochitest/dom-level2-html/test_object08.html new file mode 100644 index 0000000000..f9196d7efa --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_object08.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/object08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/object08

    +

    <test name='object08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <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. +</description> +
              <contributor>Sivakiran Tummala</contributor> +
              <date qualifier='created'>2002-02-15</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-17085376'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='vhspace' 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'/>
         <hspace interface='HTMLObjectElement' obj='testNode' var='vhspace'/>
         <assertEquals actual='vhspace' expected='0' id='hspaceLink' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_object09.html b/dom/tests/mochitest/dom-level2-html/test_object09.html new file mode 100644 index 0000000000..8f969113f5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_object09.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/object09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/object09

    +

    <test name='object09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_object10.html b/dom/tests/mochitest/dom-level2-html/test_object10.html new file mode 100644 index 0000000000..c22a7f6991 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_object10.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/object10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/object10

    +

    <test name='object10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_object11.html b/dom/tests/mochitest/dom-level2-html/test_object11.html new file mode 100644 index 0000000000..a50bba9e59 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_object11.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/object11 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/object11

    +

    <test name='object11' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_object12.html b/dom/tests/mochitest/dom-level2-html/test_object12.html new file mode 100644 index 0000000000..9617273351 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_object12.html @@ -0,0 +1,131 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/object12 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/object12

    +

    <test name='object12' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_object13.html b/dom/tests/mochitest/dom-level2-html/test_object13.html new file mode 100644 index 0000000000..93b5a79372 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_object13.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/object13 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/object13

    +

    <test name='object13' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-2 dom2.xsd'>
         <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. +</description> +
              <contributor>Sivakiran Tummala</contributor> +
              <date qualifier='created'>2002-02-15</date> +
              <subject resource='http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-8682483'/> +
    </metadata>
         <var name='nodeList' type='NodeList'/>
         <var name='testNode' type='Node'/>
         <var name='vvspace' 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'/>
         <vspace interface='HTMLObjectElement' obj='testNode' var='vvspace'/>
         <assertEquals actual='vvspace' expected='0' id='vspaceLink' ignoreCase='false'/>
    </test>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_object14.html b/dom/tests/mochitest/dom-level2-html/test_object14.html new file mode 100644 index 0000000000..888a48e123 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_object14.html @@ -0,0 +1,131 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/object14 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/object14

    +

    <test name='object14' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_object15.html b/dom/tests/mochitest/dom-level2-html/test_object15.html new file mode 100644 index 0000000000..0e3bb673e4 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_object15.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/object15 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/object15

    +

    <test name='object15' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table01.html b/dom/tests/mochitest/dom-level2-html/test_table01.html new file mode 100644 index 0000000000..bbc83b2d81 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table01.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table01 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table01

    +

    <test name='table01' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table02.html b/dom/tests/mochitest/dom-level2-html/test_table02.html new file mode 100644 index 0000000000..a9e34590c0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table02.html @@ -0,0 +1,136 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table02 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table02

    +

    <test name='table02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table03.html b/dom/tests/mochitest/dom-level2-html/test_table03.html new file mode 100644 index 0000000000..f7ad75f43d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table03.html @@ -0,0 +1,136 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table03 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table03

    +

    <test name='table03' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table04.html b/dom/tests/mochitest/dom-level2-html/test_table04.html new file mode 100644 index 0000000000..464b901b23 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table04.html @@ -0,0 +1,136 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table04 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table04

    +

    <test name='table04' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table06.html b/dom/tests/mochitest/dom-level2-html/test_table06.html new file mode 100644 index 0000000000..d0d9bff3ae --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table06.html @@ -0,0 +1,136 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table06 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table06

    +

    <test name='table06' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table07.html b/dom/tests/mochitest/dom-level2-html/test_table07.html new file mode 100644 index 0000000000..e81ac9e402 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table07.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table07 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table07

    +

    <test name='table07' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table08.html b/dom/tests/mochitest/dom-level2-html/test_table08.html new file mode 100644 index 0000000000..9d13c84819 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table08.html @@ -0,0 +1,136 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table08 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table08

    +

    <test name='table08' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table09.html b/dom/tests/mochitest/dom-level2-html/test_table09.html new file mode 100644 index 0000000000..1812d575fb --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table09.html @@ -0,0 +1,136 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table09 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table09

    +

    <test name='table09' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table10.html b/dom/tests/mochitest/dom-level2-html/test_table10.html new file mode 100644 index 0000000000..63981731dc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table10.html @@ -0,0 +1,136 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table10 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table10

    +

    <test name='table10' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table12.html b/dom/tests/mochitest/dom-level2-html/test_table12.html new file mode 100644 index 0000000000..862d52b080 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table12.html @@ -0,0 +1,136 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table12 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table12

    +

    <test name='table12' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table15.html b/dom/tests/mochitest/dom-level2-html/test_table15.html new file mode 100644 index 0000000000..ee40383e13 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table15.html @@ -0,0 +1,139 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table15 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table15

    +

    <test name='table15' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table17.html b/dom/tests/mochitest/dom-level2-html/test_table17.html new file mode 100644 index 0000000000..0fb4d56159 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table17.html @@ -0,0 +1,136 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table17 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table17

    +

    <test name='table17' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table18.html b/dom/tests/mochitest/dom-level2-html/test_table18.html new file mode 100644 index 0000000000..43d735d1d7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table18.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table18 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table18

    +

    <test name='table18' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table19.html b/dom/tests/mochitest/dom-level2-html/test_table19.html new file mode 100644 index 0000000000..70b1973baf --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table19.html @@ -0,0 +1,135 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table19 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table19

    +

    <test name='table19' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table20.html b/dom/tests/mochitest/dom-level2-html/test_table20.html new file mode 100644 index 0000000000..0ee499ec4d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table20.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table20 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table20

    +

    <test name='table20' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table21.html b/dom/tests/mochitest/dom-level2-html/test_table21.html new file mode 100644 index 0000000000..47bc008009 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table21.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table21 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table21

    +

    <test name='table21' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table22.html b/dom/tests/mochitest/dom-level2-html/test_table22.html new file mode 100644 index 0000000000..8b7a7885d5 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table22.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table22 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table22

    +

    <test name='table22' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table23.html b/dom/tests/mochitest/dom-level2-html/test_table23.html new file mode 100644 index 0000000000..691659797f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table23.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table23 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table23

    +

    <test name='table23' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table24.html b/dom/tests/mochitest/dom-level2-html/test_table24.html new file mode 100644 index 0000000000..6397a803ad --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table24.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table24 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table24

    +

    <test name='table24' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table25.html b/dom/tests/mochitest/dom-level2-html/test_table25.html new file mode 100644 index 0000000000..107f652213 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table25.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table25 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table25

    +

    <test name='table25' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table26.html b/dom/tests/mochitest/dom-level2-html/test_table26.html new file mode 100644 index 0000000000..aa9b94df7f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table26.html @@ -0,0 +1,131 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table26 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table26

    +

    <test name='table26' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table27.html b/dom/tests/mochitest/dom-level2-html/test_table27.html new file mode 100644 index 0000000000..ccb05c251b --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table27.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table27 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table27

    +

    <test name='table27' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table28.html b/dom/tests/mochitest/dom-level2-html/test_table28.html new file mode 100644 index 0000000000..719ffa42cc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table28.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table28 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table28

    +

    <test name='table28' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table29.html b/dom/tests/mochitest/dom-level2-html/test_table29.html new file mode 100644 index 0000000000..b3ba2a4cde --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table29.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table29 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table29

    +

    <test name='table29' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table30.html b/dom/tests/mochitest/dom-level2-html/test_table30.html new file mode 100644 index 0000000000..20dd16e84d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table30.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table30 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table30

    +

    <test name='table30' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table31.html b/dom/tests/mochitest/dom-level2-html/test_table31.html new file mode 100644 index 0000000000..4384ea0cfb --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table31.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table31 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table31

    +

    <test name='table31' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table32.html b/dom/tests/mochitest/dom-level2-html/test_table32.html new file mode 100644 index 0000000000..9c3f26440d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table32.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table32 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table32

    +

    <test name='table32' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table33.html b/dom/tests/mochitest/dom-level2-html/test_table33.html new file mode 100644 index 0000000000..23ca0f415f --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table33.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table33 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table33

    +

    <test name='table33' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table34.html b/dom/tests/mochitest/dom-level2-html/test_table34.html new file mode 100644 index 0000000000..941683d8f6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table34.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table34 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table34

    +

    <test name='table34' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table35.html b/dom/tests/mochitest/dom-level2-html/test_table35.html new file mode 100644 index 0000000000..b62ed83751 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table35.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table35 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table35

    +

    <test name='table35' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table36.html b/dom/tests/mochitest/dom-level2-html/test_table36.html new file mode 100644 index 0000000000..fecd64ea7c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table36.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table36 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table36

    +

    <test name='table36' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table37.html b/dom/tests/mochitest/dom-level2-html/test_table37.html new file mode 100644 index 0000000000..ac1370db8d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table37.html @@ -0,0 +1,131 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table37 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table37

    +

    <test name='table37' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table38.html b/dom/tests/mochitest/dom-level2-html/test_table38.html new file mode 100644 index 0000000000..2808b6ffac --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table38.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table38 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table38

    +

    <test name='table38' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table39.html b/dom/tests/mochitest/dom-level2-html/test_table39.html new file mode 100644 index 0000000000..0e44add03c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table39.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table39 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table39

    +

    <test name='table39' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table40.html b/dom/tests/mochitest/dom-level2-html/test_table40.html new file mode 100644 index 0000000000..7bd7104fb8 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table40.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table40 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table40

    +

    <test name='table40' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table41.html b/dom/tests/mochitest/dom-level2-html/test_table41.html new file mode 100644 index 0000000000..4ef3a6cde6 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table41.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table41 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table41

    +

    <test name='table41' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table42.html b/dom/tests/mochitest/dom-level2-html/test_table42.html new file mode 100644 index 0000000000..c834b83b4c --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table42.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table42 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table42

    +

    <test name='table42' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table43.html b/dom/tests/mochitest/dom-level2-html/test_table43.html new file mode 100644 index 0000000000..4c41700ab9 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table43.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table43 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table43

    +

    <test name='table43' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table44.html b/dom/tests/mochitest/dom-level2-html/test_table44.html new file mode 100644 index 0000000000..b4cc70d7ad --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table44.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table44 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table44

    +

    <test name='table44' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table45.html b/dom/tests/mochitest/dom-level2-html/test_table45.html new file mode 100644 index 0000000000..ef7b8352b3 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table45.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table45 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table45

    +

    <test name='table45' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table46.html b/dom/tests/mochitest/dom-level2-html/test_table46.html new file mode 100644 index 0000000000..46b1f81d73 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table46.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table46 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table46

    +

    <test name='table46' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table47.html b/dom/tests/mochitest/dom-level2-html/test_table47.html new file mode 100644 index 0000000000..9c2ee518b7 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table47.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table47 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table47

    +

    <test name='table47' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table48.html b/dom/tests/mochitest/dom-level2-html/test_table48.html new file mode 100644 index 0000000000..1fadc4b913 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table48.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table48 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table48

    +

    <test name='table48' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table49.html b/dom/tests/mochitest/dom-level2-html/test_table49.html new file mode 100644 index 0000000000..3d0e51e1d0 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table49.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table49 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table49

    +

    <test name='table49' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table50.html b/dom/tests/mochitest/dom-level2-html/test_table50.html new file mode 100644 index 0000000000..42a24f385d --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table50.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table50 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table50

    +

    <test name='table50' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table51.html b/dom/tests/mochitest/dom-level2-html/test_table51.html new file mode 100644 index 0000000000..095ff6f191 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table51.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table51 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table51

    +

    <test name='table51' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table52.html b/dom/tests/mochitest/dom-level2-html/test_table52.html new file mode 100644 index 0000000000..f8724c73bc --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table52.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table52 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table52

    +

    <test name='table52' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + diff --git a/dom/tests/mochitest/dom-level2-html/test_table53.html b/dom/tests/mochitest/dom-level2-html/test_table53.html new file mode 100644 index 0000000000..5442287b17 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-html/test_table53.html @@ -0,0 +1,133 @@ + + + + + +http://www.w3.org/2001/DOM-Test-Suite/level2/html/table53 + + + + + + +

    Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/table53

    +

    <test name='table53' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-1 dom1.xsd'>
         <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>
    +

    +

    + 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.

    + +
    + + -- cgit v1.2.3