Gitweb links:
...log
http://git.netsurf-browser.org/libdom.git/shortlog/f9bfe2c42e3e259cd2f659...
...commit
http://git.netsurf-browser.org/libdom.git/commit/f9bfe2c42e3e259cd2f65932...
...tree
http://git.netsurf-browser.org/libdom.git/tree/f9bfe2c42e3e259cd2f65932bf...
The branch, rupindersingh/libdom has been updated
discards 34e346c9c343b7df22b8c378ae83d705b2d8448b (commit)
discards ab11dff6a1ff27c1afc8a15bcfcc23470d64cc48 (commit)
via f9bfe2c42e3e259cd2f65932bffa52f49e0238ca (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (34e346c9c343b7df22b8c378ae83d705b2d8448b)
\
N -- N -- N (f9bfe2c42e3e259cd2f65932bffa52f49e0238ca)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/libdom.git/commit/?id=f9bfe2c42e3e259cd2f6...
commit f9bfe2c42e3e259cd2f65932bffa52f49e0238ca
Author: rsk1994 <rsk1coder99(a)gmail.com>
Commit: rsk1994 <rsk1coder99(a)gmail.com>
TEST generator bug fix
Adding Test Cases & DOMTSHandler fix
diff --git a/test/DOMTSHandler.pm b/test/DOMTSHandler.pm
index 8953047..47dcf75 100644
--- a/test/DOMTSHandler.pm
+++ b/test/DOMTSHandler.pm
@@ -728,7 +728,7 @@ sub generate_method {
$method = to_cmethod($ats{'interface'}, $en);
my $cast = to_attribute_cast($ats{'interface'});
my $get_attribute = $node->getAttribute("name");
- my $cast_get_attribute = to_get_attribute_cast($get_attribute);
+ my $cast_get_attribute = to_get_attribute_cast($get_attribute,
$ats{'interface'});
my $ns = $dd->find("parameters/param", $node);
my $params = "${cast}$ats{'obj'}";
for ($count = 1; $count <= $ns->size; $count++) {
@@ -857,7 +857,7 @@ sub generate_attribute_fetcher {
my $fetcher = to_attribute_fetcher($ats{'interface'}, "$en");
my $cast = to_attribute_cast($ats{'interface'});
my $get_attribute = $node->getAttribute("name");
- my $cast_get_attribute = to_get_attribute_cast($get_attribute);
+ my $cast_get_attribute = to_get_attribute_cast($get_attribute,
$ats{'interface'});
my $unref = 0;
my $temp_node = 0;
# Deal with the situation like
@@ -1476,7 +1476,8 @@ sub get_prefix {
}
sub to_get_attribute_cast {
my $type = shift;
- my $ret = get_get_attribute_prefix($type);
+ my $interface = shift;
+ my $ret = get_get_attribute_prefix($type, $interface);
if($ret eq "") {
return $ret;
}
@@ -1486,12 +1487,15 @@ sub to_get_attribute_cast {
sub get_get_attribute_prefix {
my $type = shift;
-
- if (exists $special_prefix{$type}) {
+ my $interface = shift;
+ if ((($interface eq "HTMLCollection") or ($interface eq
"HTMLSelectElement")) and ($type eq "length")) {
+ $prefix = "uint32_t ";
+ } elsif (exists $special_prefix{$type}) {
$prefix = $special_prefix{$type};
} else {
$prefix = "";
}
+
return $prefix;
}
# This function remain unsed
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement05.xml
b/test/testcases/tests/level1/html/HTMLSelectElement05.xml
new file mode 100644
index 0000000..16c78e1
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLSelectElement05.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLSelectElement05">
+<metadata>
+<title>HTMLSelectElement05</title>
+<creator>NIST</creator>
+<description>
+ The length attribute specifies the number of options in this select.
+
+ Retrieve the length attribute from the first SELECT element and
+ examine its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vlength" type="int"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="select"
willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"select"'/>
+<assertSize collection="nodeList" size="3"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
+<length interface="HTMLSelectElement" obj="testNode"
var="vlength"/>
+<assertEquals actual="vlength" expected="5"
id="lengthLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement05.xml.int-broken
b/test/testcases/tests/level1/html/HTMLSelectElement05.xml.int-broken
deleted file mode 100644
index 16c78e1..0000000
--- a/test/testcases/tests/level1/html/HTMLSelectElement05.xml.int-broken
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLSelectElement05">
-<metadata>
-<title>HTMLSelectElement05</title>
-<creator>NIST</creator>
-<description>
- The length attribute specifies the number of options in this select.
-
- Retrieve the length attribute from the first SELECT element and
- examine its value.
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2002-02-22</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="vlength" type="int"/>
-<var name="doc" type="Document"/>
-<load var="doc" href="select"
willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"select"'/>
-<assertSize collection="nodeList" size="3"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
-<length interface="HTMLSelectElement" obj="testNode"
var="vlength"/>
-<assertEquals actual="vlength" expected="5"
id="lengthLink" ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement16.xml
b/test/testcases/tests/level1/html/HTMLSelectElement16.xml
new file mode 100644
index 0000000..a5e9422
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLSelectElement16.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLSelectElement16">
+<metadata>
+<title>HTMLSelectElement16</title>
+<creator>Curt Arnold</creator>
+<description>
+Removes an option using HTMLSelectElement.remove.
+</description>
+<date qualifier="created">2004-03-18</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="doc" type="Document"/>
+<var name="optLength" type="int"/>
+<var name="selected" type="int"/>
+<load var="doc" href="select"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"select"'/>
+<assertSize collection="nodeList" size="3"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
+<remove interface="HTMLSelectElement" obj="testNode"
index="0"/>
+<length interface="HTMLSelectElement" obj="testNode"
var="optLength"/>
+<assertEquals actual="optLength" expected="4"
id="optLength" ignoreCase="false"/>
+<selectedIndex interface="HTMLSelectElement" obj="testNode"
var="selected"/>
+<assertEquals actual="selected" expected="-1"
id="selected" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement16.xml.kfail
b/test/testcases/tests/level1/html/HTMLSelectElement16.xml.kfail
deleted file mode 100644
index a5e9422..0000000
--- a/test/testcases/tests/level1/html/HTMLSelectElement16.xml.kfail
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLSelectElement16">
-<metadata>
-<title>HTMLSelectElement16</title>
-<creator>Curt Arnold</creator>
-<description>
-Removes an option using HTMLSelectElement.remove.
-</description>
-<date qualifier="created">2004-03-18</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="doc" type="Document"/>
-<var name="optLength" type="int"/>
-<var name="selected" type="int"/>
-<load var="doc" href="select"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"select"'/>
-<assertSize collection="nodeList" size="3"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
-<remove interface="HTMLSelectElement" obj="testNode"
index="0"/>
-<length interface="HTMLSelectElement" obj="testNode"
var="optLength"/>
-<assertEquals actual="optLength" expected="4"
id="optLength" ignoreCase="false"/>
-<selectedIndex interface="HTMLSelectElement" obj="testNode"
var="selected"/>
-<assertEquals actual="selected" expected="-1"
id="selected" ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement17.xml
b/test/testcases/tests/level1/html/HTMLSelectElement17.xml
new file mode 100644
index 0000000..03549ff
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLSelectElement17.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLSelectElement17">
+<metadata>
+<title>HTMLSelectElement17</title>
+<creator>Curt Arnold</creator>
+<description>
+Removes a non-existant option using HTMLSelectElement.remove.
+</description>
+<date qualifier="created">2004-03-18</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="doc" type="Document"/>
+<var name="optLength" type="int"/>
+<var name="selected" type="int"/>
+<load var="doc" href="select"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"select"'/>
+<assertSize collection="nodeList" size="3"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
+<remove interface="HTMLSelectElement" obj="testNode"
index="6"/>
+<length interface="HTMLSelectElement" obj="testNode"
var="optLength"/>
+<assertEquals actual="optLength" expected="5"
id="optLength" ignoreCase="false"/>
+<selectedIndex interface="HTMLSelectElement" obj="testNode"
var="selected"/>
+<assertEquals actual="selected" expected="0"
id="selected" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement17.xml.kfail
b/test/testcases/tests/level1/html/HTMLSelectElement17.xml.kfail
deleted file mode 100644
index 03549ff..0000000
--- a/test/testcases/tests/level1/html/HTMLSelectElement17.xml.kfail
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLSelectElement17">
-<metadata>
-<title>HTMLSelectElement17</title>
-<creator>Curt Arnold</creator>
-<description>
-Removes a non-existant option using HTMLSelectElement.remove.
-</description>
-<date qualifier="created">2004-03-18</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="doc" type="Document"/>
-<var name="optLength" type="int"/>
-<var name="selected" type="int"/>
-<load var="doc" href="select"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"select"'/>
-<assertSize collection="nodeList" size="3"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
-<remove interface="HTMLSelectElement" obj="testNode"
index="6"/>
-<length interface="HTMLSelectElement" obj="testNode"
var="optLength"/>
-<assertEquals actual="optLength" expected="5"
id="optLength" ignoreCase="false"/>
-<selectedIndex interface="HTMLSelectElement" obj="testNode"
var="selected"/>
-<assertEquals actual="selected" expected="0"
id="selected" ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement18.xml
b/test/testcases/tests/level1/html/HTMLSelectElement18.xml
new file mode 100644
index 0000000..aff29d9
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLSelectElement18.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLSelectElement18">
+<metadata>
+<title>HTMLSelectElement18</title>
+<creator>Curt Arnold</creator>
+<description>
+Add a new option at the end of an select using HTMLSelectElement.add.
+</description>
+<date qualifier="created">2004-03-18</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="doc" type="Document"/>
+<var name="optLength" type="int"/>
+<var name="selected" type="int"/>
+<var name="newOpt" type="Element"/>
+<var name="newOptText" type="Text"/>
+<var name="opt" type="Element"/>
+<var name="optText" type="Text"/>
+<var name="optValue" type="DOMString"/>
+<var name="retNode" type="Node"/>
+<var name="nullNode" type="Node" isNull="true"/>
+<load var="doc" href="select"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"select"'/>
+<assertSize collection="nodeList" size="3"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
+<createElement var="newOpt" obj="doc"
tagName='"option"'/>
+<createTextNode var="newOptText" obj="doc"
data='"EMP31415"'/>
+<appendChild var="retNode" obj="newOpt"
newChild="newOptText"/>
+<add interface="HTMLSelectElement" obj="testNode"
element="newOpt" before="nullNode"/>
+<length interface="HTMLSelectElement" obj="testNode"
var="optLength"/>
+<assertEquals actual="optLength" expected="6"
id="optLength" ignoreCase="false"/>
+<selectedIndex interface="HTMLSelectElement" obj="testNode"
var="selected"/>
+<assertEquals actual="selected" expected="0"
id="selected" ignoreCase="false"/>
+<lastChild var="opt" obj="testNode"
interface="Node"/>
+<firstChild var="optText" obj="opt"
interface="Node"/>
+<nodeValue var="optValue" obj="optText"/>
+<assertEquals actual="optValue" expected='"EMP31415"'
id="lastValue" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement18.xml.kfail
b/test/testcases/tests/level1/html/HTMLSelectElement18.xml.kfail
deleted file mode 100644
index aff29d9..0000000
--- a/test/testcases/tests/level1/html/HTMLSelectElement18.xml.kfail
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLSelectElement18">
-<metadata>
-<title>HTMLSelectElement18</title>
-<creator>Curt Arnold</creator>
-<description>
-Add a new option at the end of an select using HTMLSelectElement.add.
-</description>
-<date qualifier="created">2004-03-18</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="doc" type="Document"/>
-<var name="optLength" type="int"/>
-<var name="selected" type="int"/>
-<var name="newOpt" type="Element"/>
-<var name="newOptText" type="Text"/>
-<var name="opt" type="Element"/>
-<var name="optText" type="Text"/>
-<var name="optValue" type="DOMString"/>
-<var name="retNode" type="Node"/>
-<var name="nullNode" type="Node" isNull="true"/>
-<load var="doc" href="select"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"select"'/>
-<assertSize collection="nodeList" size="3"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
-<createElement var="newOpt" obj="doc"
tagName='"option"'/>
-<createTextNode var="newOptText" obj="doc"
data='"EMP31415"'/>
-<appendChild var="retNode" obj="newOpt"
newChild="newOptText"/>
-<add interface="HTMLSelectElement" obj="testNode"
element="newOpt" before="nullNode"/>
-<length interface="HTMLSelectElement" obj="testNode"
var="optLength"/>
-<assertEquals actual="optLength" expected="6"
id="optLength" ignoreCase="false"/>
-<selectedIndex interface="HTMLSelectElement" obj="testNode"
var="selected"/>
-<assertEquals actual="selected" expected="0"
id="selected" ignoreCase="false"/>
-<lastChild var="opt" obj="testNode"
interface="Node"/>
-<firstChild var="optText" obj="opt"
interface="Node"/>
-<nodeValue var="optValue" obj="optText"/>
-<assertEquals actual="optValue" expected='"EMP31415"'
id="lastValue" ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement19.xml
b/test/testcases/tests/level1/html/HTMLSelectElement19.xml
new file mode 100644
index 0000000..5d06fe1
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLSelectElement19.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLSelectElement19">
+<metadata>
+<title>HTMLSelectElement19</title>
+<creator>Curt Arnold</creator>
+<description>
+Add a new option before the selected node using HTMLSelectElement.add.
+</description>
+<date qualifier="created">2004-03-18</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</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="Node"/>
+<var name="optText" type="Text"/>
+<var name="optValue" type="DOMString"/>
+<var name="retNode" type="Node"/>
+<var name="options" type="HTMLCollection"/>
+<var name="selectedNode" type="Node"/>
+<load var="doc" href="select"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"select"'/>
+<assertSize collection="nodeList" size="3"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
+<createElement var="newOpt" obj="doc"
tagName='"option"'/>
+<createTextNode var="newOptText" obj="doc"
data='"EMP31415"'/>
+<appendChild var="retNode" obj="newOpt"
newChild="newOptText"/>
+<options var="options" obj="testNode"/>
+<item var="selectedNode" obj="options" index="0"
interface="HTMLCollection"/>
+<add interface="HTMLSelectElement" obj="testNode"
element="newOpt" before="selectedNode"/>
+<length interface="HTMLSelectElement" obj="testNode"
var="optLength"/>
+<assertEquals actual="optLength" expected="6"
id="optLength" ignoreCase="false"/>
+<selectedIndex interface="HTMLSelectElement" obj="testNode"
var="selected"/>
+<assertEquals actual="selected" expected="1"
id="selected" ignoreCase="false"/>
+<options var="options" obj="testNode"/>
+<item var="opt" obj="options" index="0"
interface="HTMLCollection"/>
+<firstChild var="optText" obj="opt"
interface="Node"/>
+<nodeValue var="optValue" obj="optText"/>
+<assertEquals actual="optValue" expected='"EMP31415"'
id="lastValue" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLSelectElement19.xml.kfail
b/test/testcases/tests/level1/html/HTMLSelectElement19.xml.kfail
deleted file mode 100644
index 5d06fe1..0000000
--- a/test/testcases/tests/level1/html/HTMLSelectElement19.xml.kfail
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLSelectElement19">
-<metadata>
-<title>HTMLSelectElement19</title>
-<creator>Curt Arnold</creator>
-<description>
-Add a new option before the selected node using HTMLSelectElement.add.
-</description>
-<date qualifier="created">2004-03-18</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</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="Node"/>
-<var name="optText" type="Text"/>
-<var name="optValue" type="DOMString"/>
-<var name="retNode" type="Node"/>
-<var name="options" type="HTMLCollection"/>
-<var name="selectedNode" type="Node"/>
-<load var="doc" href="select"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"select"'/>
-<assertSize collection="nodeList" size="3"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
-<createElement var="newOpt" obj="doc"
tagName='"option"'/>
-<createTextNode var="newOptText" obj="doc"
data='"EMP31415"'/>
-<appendChild var="retNode" obj="newOpt"
newChild="newOptText"/>
-<options var="options" obj="testNode"/>
-<item var="selectedNode" obj="options" index="0"
interface="HTMLCollection"/>
-<add interface="HTMLSelectElement" obj="testNode"
element="newOpt" before="selectedNode"/>
-<length interface="HTMLSelectElement" obj="testNode"
var="optLength"/>
-<assertEquals actual="optLength" expected="6"
id="optLength" ignoreCase="false"/>
-<selectedIndex interface="HTMLSelectElement" obj="testNode"
var="selected"/>
-<assertEquals actual="selected" expected="1"
id="selected" ignoreCase="false"/>
-<options var="options" obj="testNode"/>
-<item var="opt" obj="options" index="0"
interface="HTMLCollection"/>
-<firstChild var="optText" obj="opt"
interface="Node"/>
-<nodeValue var="optValue" obj="optText"/>
-<assertEquals actual="optValue" expected='"EMP31415"'
id="lastValue" ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement21.xml
b/test/testcases/tests/level1/html/HTMLTableElement21.xml
new file mode 100644
index 0000000..b50a007
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableElement21.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableElement21">
+<metadata>
+<title>HTMLTableElement21</title>
+<creator>NIST</creator>
+<description>
+ The deleteTHead() method deletes the header from the table.
+
+ The deleteTHead() method will delete the THEAD Element from the
+ second TABLE element. First make sure that the THEAD element exists
+ and then count the number of rows. After the THEAD element is
+ deleted there should be one less row.
+</description>
+<contributor>Rick Rivello</contributor>
+<date qualifier="created">2002-05-02</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="testNode" type="Node"/>
+<var name="vsection1" type="HTMLTableSectionElement" />
+<var name="vsection2" type="HTMLTableSectionElement" />
+<var name="vrows" type="int"/>
+<var name="doc" type="Document"/>
+<var name="result" type="List"/>
+<var name="expectedResult" type="List">
+<member>4</member>
+<member>3</member>
+</var>
+<load var="doc" href="table" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
+<tHead interface="HTMLTableElement" obj="testNode"
var="vsection1"/>
+<assertNotNull actual="vsection1" id="vsection1Id"/>
+<rows interface="HTMLTableElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<append collection="result" item="vrows"/>
+<deleteTHead obj="testNode" interface="HTMLTableElement"/>
+<tHead interface="HTMLTableElement" obj="testNode"
var="vsection2"/>
+<rows interface="HTMLTableElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<append collection="result" item="vrows"/>
+<assertEquals actual="result" expected="expectedResult"
id="rowsLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement21.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableElement21.xml.kfail
deleted file mode 100644
index b50a007..0000000
--- a/test/testcases/tests/level1/html/HTMLTableElement21.xml.kfail
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableElement21">
-<metadata>
-<title>HTMLTableElement21</title>
-<creator>NIST</creator>
-<description>
- The deleteTHead() method deletes the header from the table.
-
- The deleteTHead() method will delete the THEAD Element from the
- second TABLE element. First make sure that the THEAD element exists
- and then count the number of rows. After the THEAD element is
- deleted there should be one less row.
-</description>
-<contributor>Rick Rivello</contributor>
-<date qualifier="created">2002-05-02</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="rowsnodeList" type="HTMLCollection"/>
-<var name="testNode" type="Node"/>
-<var name="vsection1" type="HTMLTableSectionElement" />
-<var name="vsection2" type="HTMLTableSectionElement" />
-<var name="vrows" type="int"/>
-<var name="doc" type="Document"/>
-<var name="result" type="List"/>
-<var name="expectedResult" type="List">
-<member>4</member>
-<member>3</member>
-</var>
-<load var="doc" href="table" willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"table"'/>
-<assertSize collection="nodeList" size="3"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
-<tHead interface="HTMLTableElement" obj="testNode"
var="vsection1"/>
-<assertNotNull actual="vsection1" id="vsection1Id"/>
-<rows interface="HTMLTableElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<append collection="result" item="vrows"/>
-<deleteTHead obj="testNode" interface="HTMLTableElement"/>
-<tHead interface="HTMLTableElement" obj="testNode"
var="vsection2"/>
-<rows interface="HTMLTableElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<append collection="result" item="vrows"/>
-<assertEquals actual="result" expected="expectedResult"
id="rowsLink" ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement24.xml
b/test/testcases/tests/level1/html/HTMLTableElement24.xml
new file mode 100644
index 0000000..58af66e
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableElement24.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableElement24">
+<metadata>
+<title>HTMLTableElement24</title>
+<creator>NIST</creator>
+<description>
+ The deleteTFoot() method deletes the footer from the table.
+
+ The deleteTFoot() method will delete the TFOOT Element from the
+ second TABLE element. First make sure that the TFOOT element exists
+ and then count the number of rows. After the TFOOT element is
+ deleted there should be one less row.
+</description>
+<contributor>Rick Rivello</contributor>
+<date qualifier="created">2002-05-02</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="testNode" type="Node"/>
+<var name="vsection1" type="HTMLTableSectionElement" />
+<var name="vsection2" type="HTMLTableSectionElement" />
+<var name="vrows" type="int"/>
+<var name="doc" type="Document"/>
+<var name="result" type="List"/>
+<var name="expectedResult" type="List">
+<member>4</member>
+<member>3</member>
+</var>
+<load var="doc" href="table" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="3"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
+<tFoot interface="HTMLTableElement" obj="testNode"
var="vsection1"/>
+<assertNotNull actual="vsection1" id="vsection1Id"/>
+<rows interface="HTMLTableElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<append collection="result" item="vrows"/>
+<deleteTFoot obj="testNode" interface="HTMLTableElement"/>
+<tFoot interface="HTMLTableElement" obj="testNode"
var="vsection2"/>
+<rows interface="HTMLTableElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<append collection="result" item="vrows"/>
+<assertEquals actual="result" expected="expectedResult"
id="rowsLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableElement24.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableElement24.xml.kfail
deleted file mode 100644
index 58af66e..0000000
--- a/test/testcases/tests/level1/html/HTMLTableElement24.xml.kfail
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableElement24">
-<metadata>
-<title>HTMLTableElement24</title>
-<creator>NIST</creator>
-<description>
- The deleteTFoot() method deletes the footer from the table.
-
- The deleteTFoot() method will delete the TFOOT Element from the
- second TABLE element. First make sure that the TFOOT element exists
- and then count the number of rows. After the TFOOT element is
- deleted there should be one less row.
-</description>
-<contributor>Rick Rivello</contributor>
-<date qualifier="created">2002-05-02</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="rowsnodeList" type="HTMLCollection"/>
-<var name="testNode" type="Node"/>
-<var name="vsection1" type="HTMLTableSectionElement" />
-<var name="vsection2" type="HTMLTableSectionElement" />
-<var name="vrows" type="int"/>
-<var name="doc" type="Document"/>
-<var name="result" type="List"/>
-<var name="expectedResult" type="List">
-<member>4</member>
-<member>3</member>
-</var>
-<load var="doc" href="table" willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"table"'/>
-<assertSize collection="nodeList" size="3"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
-<tFoot interface="HTMLTableElement" obj="testNode"
var="vsection1"/>
-<assertNotNull actual="vsection1" id="vsection1Id"/>
-<rows interface="HTMLTableElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<append collection="result" item="vrows"/>
-<deleteTFoot obj="testNode" interface="HTMLTableElement"/>
-<tFoot interface="HTMLTableElement" obj="testNode"
var="vsection2"/>
-<rows interface="HTMLTableElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<append collection="result" item="vrows"/>
-<assertEquals actual="result" expected="expectedResult"
id="rowsLink" ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement11.xml
b/test/testcases/tests/level1/html/HTMLTableRowElement11.xml
new file mode 100644
index 0000000..f284090
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableRowElement11.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableRowElement11">
+<metadata>
+<title>HTMLTableRowElement11</title>
+<creator>NIST</creator>
+<description>
+ The insertCell() method inserts an empty TD cell into this row.
+
+
+ Retrieve the fourth TR element and examine the value of
+ the cells length attribute which should be set to six.
+ Check the value of the first TD element. Invoke the
+ insertCell() which will create an empty TD cell at the
+ zero index position. Check the value of the newly created
+ cell and make sure it is null and also the numbers of cells
+ should now be seven.
+</description>
+<contributor>Rick Rivello</contributor>
+<date qualifier="created">2002-05-06</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="cellsnodeList" type="HTMLCollection"/>
+<var name="testNode" type="Node"/>
+<var name="trNode" type="Node"/>
+<var name="cellNode" type="Node"/>
+<var name="value" type="DOMString"/>
+<var name="newCell" type="HTMLElement"/>
+<var name="vcells" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablerow"
willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tr"'/>
+<assertSize collection="nodeList" size="5"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="3"/>
+<cells interface="HTMLTableRowElement" obj="testNode"
var="cellsnodeList"/>
+<length interface="HTMLCollection" obj="cellsnodeList"
var="vcells"/>
+<assertEquals actual="vcells" expected="6"
id="cellsLink1" ignoreCase="false"/>
+<item interface="HTMLCollection" obj="cellsnodeList"
var="trNode" index="0"/>
+<firstChild interface="Node" obj="trNode"
var="cellNode"/>
+<nodeValue obj="cellNode" var="value"/>
+<assertEquals actual="value" expected='"EMP0001"'
id="value1Link" ignoreCase="false"/>
+<insertCell interface="HTMLTableRowElement" obj="testNode"
var="newCell" index="0"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="3"/>
+<cells interface="HTMLTableRowElement" obj="testNode"
var="cellsnodeList"/>
+<length interface="HTMLCollection" obj="cellsnodeList"
var="vcells"/>
+<assertEquals actual="vcells" expected="7"
id="cellsLink2" ignoreCase="false"/>
+<item interface="HTMLCollection" obj="cellsnodeList"
var="trNode" index="0"/>
+<firstChild interface="Node" obj="trNode"
var="cellNode"/>
+<assertNull actual="cellNode" id="value2Link"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement11.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableRowElement11.xml.kfail
deleted file mode 100644
index f284090..0000000
--- a/test/testcases/tests/level1/html/HTMLTableRowElement11.xml.kfail
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableRowElement11">
-<metadata>
-<title>HTMLTableRowElement11</title>
-<creator>NIST</creator>
-<description>
- The insertCell() method inserts an empty TD cell into this row.
-
-
- Retrieve the fourth TR element and examine the value of
- the cells length attribute which should be set to six.
- Check the value of the first TD element. Invoke the
- insertCell() which will create an empty TD cell at the
- zero index position. Check the value of the newly created
- cell and make sure it is null and also the numbers of cells
- should now be seven.
-</description>
-<contributor>Rick Rivello</contributor>
-<date qualifier="created">2002-05-06</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="cellsnodeList" type="HTMLCollection"/>
-<var name="testNode" type="Node"/>
-<var name="trNode" type="Node"/>
-<var name="cellNode" type="Node"/>
-<var name="value" type="DOMString"/>
-<var name="newCell" type="HTMLElement"/>
-<var name="vcells" type="int" />
-<var name="doc" type="Document"/>
-<load var="doc" href="tablerow"
willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tr"'/>
-<assertSize collection="nodeList" size="5"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="3"/>
-<cells interface="HTMLTableRowElement" obj="testNode"
var="cellsnodeList"/>
-<length interface="HTMLCollection" obj="cellsnodeList"
var="vcells"/>
-<assertEquals actual="vcells" expected="6"
id="cellsLink1" ignoreCase="false"/>
-<item interface="HTMLCollection" obj="cellsnodeList"
var="trNode" index="0"/>
-<firstChild interface="Node" obj="trNode"
var="cellNode"/>
-<nodeValue obj="cellNode" var="value"/>
-<assertEquals actual="value" expected='"EMP0001"'
id="value1Link" ignoreCase="false"/>
-<insertCell interface="HTMLTableRowElement" obj="testNode"
var="newCell" index="0"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="3"/>
-<cells interface="HTMLTableRowElement" obj="testNode"
var="cellsnodeList"/>
-<length interface="HTMLCollection" obj="cellsnodeList"
var="vcells"/>
-<assertEquals actual="vcells" expected="7"
id="cellsLink2" ignoreCase="false"/>
-<item interface="HTMLCollection" obj="cellsnodeList"
var="trNode" index="0"/>
-<firstChild interface="Node" obj="trNode"
var="cellNode"/>
-<assertNull actual="cellNode" id="value2Link"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement12.xml
b/test/testcases/tests/level1/html/HTMLTableRowElement12.xml
new file mode 100644
index 0000000..121954c
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableRowElement12.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableRowElement12">
+<metadata>
+<title>HTMLTableRowElement12</title>
+<creator>NIST</creator>
+<description>
+ The insertCell() method inserts an empty TD cell into this row.
+
+
+ Retrieve the fourth TR element and examine the value of
+ the cells length attribute which should be set to six.
+ Check the value of the last TD element. Invoke the
+ insertCell() which will append the empty cell to the end of the list.
+ Check the value of the newly created cell and make sure it is null
+ and also the numbers of cells should now be seven.
+</description>
+<contributor>Rick Rivello</contributor>
+<date qualifier="created">2002-05-06</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="cellsnodeList" type="HTMLCollection"/>
+<var name="testNode" type="Node"/>
+<var name="trNode" type="Node"/>
+<var name="cellNode" type="Node"/>
+<var name="value" type="DOMString"/>
+<var name="newCell" type="HTMLElement"/>
+<var name="vcells" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablerow"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tr"'/>
+<assertSize collection="nodeList" size="5"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="3"/>
+<cells interface="HTMLTableRowElement" obj="testNode"
var="cellsnodeList"/>
+<length interface="HTMLCollection" obj="cellsnodeList"
var="vcells"/>
+<assertEquals actual="vcells" expected="6"
id="cellsLink1" ignoreCase="false"/>
+<item interface="HTMLCollection" obj="cellsnodeList"
var="trNode" index="5"/>
+<firstChild interface="Node" obj="trNode"
var="cellNode"/>
+<nodeValue obj="cellNode" var="value"/>
+<assertEquals actual="value" expected='"1230 North Ave. Dallas,
Texas 98551"' id="value1Link" ignoreCase="false"/>
+<insertCell interface="HTMLTableRowElement" obj="testNode"
var="newCell" index="6"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="3"/>
+<cells interface="HTMLTableRowElement" obj="testNode"
var="cellsnodeList"/>
+<length interface="HTMLCollection" obj="cellsnodeList"
var="vcells"/>
+<assertEquals actual="vcells" expected="7"
id="cellsLink2" ignoreCase="false"/>
+<item interface="HTMLCollection" obj="cellsnodeList"
var="trNode" index="6"/>
+<firstChild interface="Node" obj="trNode"
var="cellNode"/>
+<assertNull actual="cellNode" id="value2Link"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement12.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableRowElement12.xml.kfail
deleted file mode 100644
index 121954c..0000000
--- a/test/testcases/tests/level1/html/HTMLTableRowElement12.xml.kfail
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableRowElement12">
-<metadata>
-<title>HTMLTableRowElement12</title>
-<creator>NIST</creator>
-<description>
- The insertCell() method inserts an empty TD cell into this row.
-
-
- Retrieve the fourth TR element and examine the value of
- the cells length attribute which should be set to six.
- Check the value of the last TD element. Invoke the
- insertCell() which will append the empty cell to the end of the list.
- Check the value of the newly created cell and make sure it is null
- and also the numbers of cells should now be seven.
-</description>
-<contributor>Rick Rivello</contributor>
-<date qualifier="created">2002-05-06</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="cellsnodeList" type="HTMLCollection"/>
-<var name="testNode" type="Node"/>
-<var name="trNode" type="Node"/>
-<var name="cellNode" type="Node"/>
-<var name="value" type="DOMString"/>
-<var name="newCell" type="HTMLElement"/>
-<var name="vcells" type="int" />
-<var name="doc" type="Document"/>
-<load var="doc" href="tablerow"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tr"'/>
-<assertSize collection="nodeList" size="5"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="3"/>
-<cells interface="HTMLTableRowElement" obj="testNode"
var="cellsnodeList"/>
-<length interface="HTMLCollection" obj="cellsnodeList"
var="vcells"/>
-<assertEquals actual="vcells" expected="6"
id="cellsLink1" ignoreCase="false"/>
-<item interface="HTMLCollection" obj="cellsnodeList"
var="trNode" index="5"/>
-<firstChild interface="Node" obj="trNode"
var="cellNode"/>
-<nodeValue obj="cellNode" var="value"/>
-<assertEquals actual="value" expected='"1230 North Ave. Dallas,
Texas 98551"' id="value1Link" ignoreCase="false"/>
-<insertCell interface="HTMLTableRowElement" obj="testNode"
var="newCell" index="6"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="3"/>
-<cells interface="HTMLTableRowElement" obj="testNode"
var="cellsnodeList"/>
-<length interface="HTMLCollection" obj="cellsnodeList"
var="vcells"/>
-<assertEquals actual="vcells" expected="7"
id="cellsLink2" ignoreCase="false"/>
-<item interface="HTMLCollection" obj="cellsnodeList"
var="trNode" index="6"/>
-<firstChild interface="Node" obj="trNode"
var="cellNode"/>
-<assertNull actual="cellNode" id="value2Link"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement13.xml
b/test/testcases/tests/level1/html/HTMLTableRowElement13.xml
new file mode 100644
index 0000000..a90f596
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableRowElement13.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableRowElement13">
+<metadata>
+<title>HTMLTableRowElement13</title>
+<creator>NIST</creator>
+<description>
+ The deleteCell() method deletes a cell from the current row.
+
+
+ Retrieve the fourth TR element and examine the value of
+ the cells length attribute which should be set to six.
+ Check the value of the first TD element. Invoke the
+ deleteCell() method which will delete a cell from the current row.
+ Check the value of the cell at the zero index and also check
+ the number of cells which should now be five.
+</description>
+<contributor>Rick Rivello</contributor>
+<date qualifier="created">2002-05-06</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="cellsnodeList" type="HTMLCollection"/>
+<var name="testNode" type="Node"/>
+<var name="trNode" type="Node"/>
+<var name="cellNode" type="Node"/>
+<var name="value" type="DOMString"/>
+<var name="vcells" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablerow"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tr"'/>
+<assertSize collection="nodeList" size="5"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="3"/>
+<cells interface="HTMLTableRowElement" obj="testNode"
var="cellsnodeList"/>
+<length interface="HTMLCollection" obj="cellsnodeList"
var="vcells"/>
+<assertEquals actual="vcells" expected="6"
id="cellsLink1" ignoreCase="false"/>
+<item interface="HTMLCollection" obj="cellsnodeList"
var="trNode" index="0"/>
+<firstChild interface="Node" obj="trNode"
var="cellNode"/>
+<nodeValue obj="cellNode" var="value"/>
+<assertEquals actual="value" expected='"EMP0001"'
id="value1Link" ignoreCase="false"/>
+<deleteCell interface="HTMLTableRowElement" obj="testNode"
index="0"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="3"/>
+<cells interface="HTMLTableRowElement" obj="testNode"
var="cellsnodeList"/>
+<length interface="HTMLCollection" obj="cellsnodeList"
var="vcells"/>
+<assertEquals actual="vcells" expected="5"
id="cellsLink2" ignoreCase="false"/>
+<item interface="HTMLCollection" obj="cellsnodeList"
var="trNode" index="0"/>
+<firstChild interface="Node" obj="trNode"
var="cellNode"/>
+<nodeValue obj="cellNode" var="value"/>
+<assertEquals actual="value" expected='"Margaret Martin"'
id="value2Link" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement13.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableRowElement13.xml.kfail
deleted file mode 100644
index a90f596..0000000
--- a/test/testcases/tests/level1/html/HTMLTableRowElement13.xml.kfail
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableRowElement13">
-<metadata>
-<title>HTMLTableRowElement13</title>
-<creator>NIST</creator>
-<description>
- The deleteCell() method deletes a cell from the current row.
-
-
- Retrieve the fourth TR element and examine the value of
- the cells length attribute which should be set to six.
- Check the value of the first TD element. Invoke the
- deleteCell() method which will delete a cell from the current row.
- Check the value of the cell at the zero index and also check
- the number of cells which should now be five.
-</description>
-<contributor>Rick Rivello</contributor>
-<date qualifier="created">2002-05-06</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="cellsnodeList" type="HTMLCollection"/>
-<var name="testNode" type="Node"/>
-<var name="trNode" type="Node"/>
-<var name="cellNode" type="Node"/>
-<var name="value" type="DOMString"/>
-<var name="vcells" type="int" />
-<var name="doc" type="Document"/>
-<load var="doc" href="tablerow"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tr"'/>
-<assertSize collection="nodeList" size="5"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="3"/>
-<cells interface="HTMLTableRowElement" obj="testNode"
var="cellsnodeList"/>
-<length interface="HTMLCollection" obj="cellsnodeList"
var="vcells"/>
-<assertEquals actual="vcells" expected="6"
id="cellsLink1" ignoreCase="false"/>
-<item interface="HTMLCollection" obj="cellsnodeList"
var="trNode" index="0"/>
-<firstChild interface="Node" obj="trNode"
var="cellNode"/>
-<nodeValue obj="cellNode" var="value"/>
-<assertEquals actual="value" expected='"EMP0001"'
id="value1Link" ignoreCase="false"/>
-<deleteCell interface="HTMLTableRowElement" obj="testNode"
index="0"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="3"/>
-<cells interface="HTMLTableRowElement" obj="testNode"
var="cellsnodeList"/>
-<length interface="HTMLCollection" obj="cellsnodeList"
var="vcells"/>
-<assertEquals actual="vcells" expected="5"
id="cellsLink2" ignoreCase="false"/>
-<item interface="HTMLCollection" obj="cellsnodeList"
var="trNode" index="0"/>
-<firstChild interface="Node" obj="trNode"
var="cellNode"/>
-<nodeValue obj="cellNode" var="value"/>
-<assertEquals actual="value" expected='"Margaret Martin"'
id="value2Link" ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement14.xml
b/test/testcases/tests/level1/html/HTMLTableRowElement14.xml
new file mode 100644
index 0000000..27af8e2
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableRowElement14.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableRowElement14">
+<metadata>
+<title>HTMLTableRowElement14</title>
+<creator>NIST</creator>
+<description>
+ The deleteCell() method deletes a cell from the current row.
+
+
+ Retrieve the fourth TR element and examine the value of
+ the cells length attribute which should be set to six.
+ Check the value of the third(index 2) TD element. Invoke the
+ deleteCell() method which will delete a cell from the current row.
+ Check the value of the third cell(index 2) and also check
+ the number of cells which should now be five.
+</description>
+<contributor>Rick Rivello</contributor>
+<date qualifier="created">2002-05-06</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="cellsnodeList" type="HTMLCollection"/>
+<var name="testNode" type="Node"/>
+<var name="trNode" type="Node"/>
+<var name="cellNode" type="Node"/>
+<var name="value" type="DOMString"/>
+<var name="vcells" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablerow"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tr"'/>
+<assertSize collection="nodeList" size="5"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="3"/>
+<cells interface="HTMLTableRowElement" obj="testNode"
var="cellsnodeList"/>
+<length interface="HTMLCollection" obj="cellsnodeList"
var="vcells"/>
+<assertEquals actual="vcells" expected="6"
id="cellsLink1" ignoreCase="false"/>
+<item interface="HTMLCollection" obj="cellsnodeList"
var="trNode" index="2"/>
+<firstChild interface="Node" obj="trNode"
var="cellNode"/>
+<nodeValue obj="cellNode" var="value"/>
+<assertEquals actual="value" expected='"Accountant"'
id="value1Link" ignoreCase="false"/>
+<deleteCell interface="HTMLTableRowElement" obj="testNode"
index="2"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="3"/>
+<cells interface="HTMLTableRowElement" obj="testNode"
var="cellsnodeList"/>
+<length interface="HTMLCollection" obj="cellsnodeList"
var="vcells"/>
+<assertEquals actual="vcells" expected="5"
id="cellsLink2" ignoreCase="false"/>
+<item interface="HTMLCollection" obj="cellsnodeList"
var="trNode" index="2"/>
+<firstChild interface="Node" obj="trNode"
var="cellNode"/>
+<nodeValue obj="cellNode" var="value"/>
+<assertEquals actual="value" expected='"56,000"'
id="value2Link" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableRowElement14.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableRowElement14.xml.kfail
deleted file mode 100644
index 27af8e2..0000000
--- a/test/testcases/tests/level1/html/HTMLTableRowElement14.xml.kfail
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableRowElement14">
-<metadata>
-<title>HTMLTableRowElement14</title>
-<creator>NIST</creator>
-<description>
- The deleteCell() method deletes a cell from the current row.
-
-
- Retrieve the fourth TR element and examine the value of
- the cells length attribute which should be set to six.
- Check the value of the third(index 2) TD element. Invoke the
- deleteCell() method which will delete a cell from the current row.
- Check the value of the third cell(index 2) and also check
- the number of cells which should now be five.
-</description>
-<contributor>Rick Rivello</contributor>
-<date qualifier="created">2002-05-06</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="cellsnodeList" type="HTMLCollection"/>
-<var name="testNode" type="Node"/>
-<var name="trNode" type="Node"/>
-<var name="cellNode" type="Node"/>
-<var name="value" type="DOMString"/>
-<var name="vcells" type="int" />
-<var name="doc" type="Document"/>
-<load var="doc" href="tablerow"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tr"'/>
-<assertSize collection="nodeList" size="5"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="3"/>
-<cells interface="HTMLTableRowElement" obj="testNode"
var="cellsnodeList"/>
-<length interface="HTMLCollection" obj="cellsnodeList"
var="vcells"/>
-<assertEquals actual="vcells" expected="6"
id="cellsLink1" ignoreCase="false"/>
-<item interface="HTMLCollection" obj="cellsnodeList"
var="trNode" index="2"/>
-<firstChild interface="Node" obj="trNode"
var="cellNode"/>
-<nodeValue obj="cellNode" var="value"/>
-<assertEquals actual="value" expected='"Accountant"'
id="value1Link" ignoreCase="false"/>
-<deleteCell interface="HTMLTableRowElement" obj="testNode"
index="2"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="3"/>
-<cells interface="HTMLTableRowElement" obj="testNode"
var="cellsnodeList"/>
-<length interface="HTMLCollection" obj="cellsnodeList"
var="vcells"/>
-<assertEquals actual="vcells" expected="5"
id="cellsLink2" ignoreCase="false"/>
-<item interface="HTMLCollection" obj="cellsnodeList"
var="trNode" index="2"/>
-<firstChild interface="Node" obj="trNode"
var="cellNode"/>
-<nodeValue obj="cellNode" var="value"/>
-<assertEquals actual="value" expected='"56,000"'
id="value2Link" ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement13.xml
b/test/testcases/tests/level1/html/HTMLTableSectionElement13.xml
new file mode 100644
index 0000000..1110c65
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableSectionElement13.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement13">
+<metadata>
+<title>HTMLTableSectionElement13</title>
+<creator>NIST</creator>
+<description>
+ The rows attribute specifies the collection of rows in this table section.
+
+ Retrieve the first THEAD element and examine the value of
+ the rows length attribute.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="testNode" type="Node"/>
+<var name="vrows" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection"
willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"thead"'/>
+<assertSize collection="nodeList" size="1"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="1" id="rowsLink"
ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement13.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableSectionElement13.xml.kfail
deleted file mode 100644
index 1110c65..0000000
--- a/test/testcases/tests/level1/html/HTMLTableSectionElement13.xml.kfail
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement13">
-<metadata>
-<title>HTMLTableSectionElement13</title>
-<creator>NIST</creator>
-<description>
- The rows attribute specifies the collection of rows in this table section.
-
- Retrieve the first THEAD element and examine the value of
- the rows length attribute.
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2002-02-22</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="rowsnodeList" type="HTMLCollection"/>
-<var name="testNode" type="Node"/>
-<var name="vrows" type="int" />
-<var name="doc" type="Document"/>
-<load var="doc" href="tablesection"
willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"thead"'/>
-<assertSize collection="nodeList" size="1"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="1" id="rowsLink"
ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement14.xml
b/test/testcases/tests/level1/html/HTMLTableSectionElement14.xml
new file mode 100644
index 0000000..83c90c0
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableSectionElement14.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement14">
+<metadata>
+<title>HTMLTableSectionElement14</title>
+<creator>NIST</creator>
+<description>
+ The rows attribute specifies the collection of rows in this table section.
+
+ Retrieve the first TFOOT element and examine the value of
+ the rows length attribute.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="testNode" type="Node"/>
+<var name="vrows" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection"
willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tfoot"'/>
+<assertSize collection="nodeList" size="1"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="1" id="rowsLink"
ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement14.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableSectionElement14.xml.kfail
deleted file mode 100644
index 83c90c0..0000000
--- a/test/testcases/tests/level1/html/HTMLTableSectionElement14.xml.kfail
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement14">
-<metadata>
-<title>HTMLTableSectionElement14</title>
-<creator>NIST</creator>
-<description>
- The rows attribute specifies the collection of rows in this table section.
-
- Retrieve the first TFOOT element and examine the value of
- the rows length attribute.
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2002-02-22</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="rowsnodeList" type="HTMLCollection"/>
-<var name="testNode" type="Node"/>
-<var name="vrows" type="int" />
-<var name="doc" type="Document"/>
-<load var="doc" href="tablesection"
willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tfoot"'/>
-<assertSize collection="nodeList" size="1"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="1" id="rowsLink"
ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement15.xml
b/test/testcases/tests/level1/html/HTMLTableSectionElement15.xml
new file mode 100644
index 0000000..6c8f0dd
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableSectionElement15.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement15">
+<metadata>
+<title>HTMLTableSectionElement15</title>
+<creator>NIST</creator>
+<description>
+ The rows attribute specifies the collection of rows in this table section.
+
+ Retrieve the first TBODY element and examine the value of
+ the rows length attribute.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2002-02-22</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="testNode" type="Node"/>
+<var name="vrows" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection"
willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tbody"'/>
+<assertSize collection="nodeList" size="2"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="2" id="rowsLink"
ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement15.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableSectionElement15.xml.kfail
deleted file mode 100644
index 6c8f0dd..0000000
--- a/test/testcases/tests/level1/html/HTMLTableSectionElement15.xml.kfail
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement15">
-<metadata>
-<title>HTMLTableSectionElement15</title>
-<creator>NIST</creator>
-<description>
- The rows attribute specifies the collection of rows in this table section.
-
- Retrieve the first TBODY element and examine the value of
- the rows length attribute.
-</description>
-<contributor>Mary Brady</contributor>
-<date qualifier="created">2002-02-22</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="rowsnodeList" type="HTMLCollection"/>
-<var name="testNode" type="Node"/>
-<var name="vrows" type="int" />
-<var name="doc" type="Document"/>
-<load var="doc" href="tablesection"
willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tbody"'/>
-<assertSize collection="nodeList" size="2"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="2" id="rowsLink"
ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement16.xml
b/test/testcases/tests/level1/html/HTMLTableSectionElement16.xml
new file mode 100644
index 0000000..567d86b
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableSectionElement16.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement16">
+<metadata>
+<title>HTMLTableSectionElement16</title>
+<creator>NIST</creator>
+<description>
+ The insertRow() method inserts a new empty table row.
+
+ Retrieve the first THEAD element and invoke the insertRow() method
+ with an index of 0. The nuber of rows in the THEAD section before
+ insertion of the new row is one. After the new row is inserted the number
+ of rows in the THEAD section is two.
+</description>
+<contributor>Rick Rivello</contributor>
+<date qualifier="created">2002-05-02</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="newRow" type="HTMLElement"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="vrows" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"thead"'/>
+<assertSize collection="nodeList" size="1"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="1" id="rowsLink1"
ignoreCase="false"/>
+<insertRow interface="HTMLTableSectionElement" obj="testNode"
var="newRow" index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="2" id="rowsLink2"
ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement16.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableSectionElement16.xml.kfail
deleted file mode 100644
index 567d86b..0000000
--- a/test/testcases/tests/level1/html/HTMLTableSectionElement16.xml.kfail
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement16">
-<metadata>
-<title>HTMLTableSectionElement16</title>
-<creator>NIST</creator>
-<description>
- The insertRow() method inserts a new empty table row.
-
- Retrieve the first THEAD element and invoke the insertRow() method
- with an index of 0. The nuber of rows in the THEAD section before
- insertion of the new row is one. After the new row is inserted the number
- of rows in the THEAD section is two.
-</description>
-<contributor>Rick Rivello</contributor>
-<date qualifier="created">2002-05-02</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="newRow" type="HTMLElement"/>
-<var name="rowsnodeList" type="HTMLCollection"/>
-<var name="vrows" type="int" />
-<var name="doc" type="Document"/>
-<load var="doc" href="tablesection"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"thead"'/>
-<assertSize collection="nodeList" size="1"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="1" id="rowsLink1"
ignoreCase="false"/>
-<insertRow interface="HTMLTableSectionElement" obj="testNode"
var="newRow" index="0"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="2" id="rowsLink2"
ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement17.xml
b/test/testcases/tests/level1/html/HTMLTableSectionElement17.xml
new file mode 100644
index 0000000..4a3e283
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableSectionElement17.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement17">
+<metadata>
+<title>HTMLTableSectionElement17</title>
+<creator>NIST</creator>
+<description>
+ The insertRow() method inserts a new empty table row.
+
+ Retrieve the first TFOOT element and invoke the insertRow() method
+ with an index of 0. The nuber of rows in the TFOOT section before
+ insertion of the new row is one. After the new row is inserted the number
+ of rows in the TFOOT section is two.
+</description>
+<contributor>Rick Rivello</contributor>
+<date qualifier="created">2002-05-02</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="newRow" type="HTMLElement"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="vrows" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tfoot"'/>
+<assertSize collection="nodeList" size="1"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="1" id="rowsLink1"
ignoreCase="false"/>
+<insertRow interface="HTMLTableSectionElement" obj="testNode"
var="newRow" index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="2" id="rowsLink2"
ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement17.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableSectionElement17.xml.kfail
deleted file mode 100644
index 4a3e283..0000000
--- a/test/testcases/tests/level1/html/HTMLTableSectionElement17.xml.kfail
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement17">
-<metadata>
-<title>HTMLTableSectionElement17</title>
-<creator>NIST</creator>
-<description>
- The insertRow() method inserts a new empty table row.
-
- Retrieve the first TFOOT element and invoke the insertRow() method
- with an index of 0. The nuber of rows in the TFOOT section before
- insertion of the new row is one. After the new row is inserted the number
- of rows in the TFOOT section is two.
-</description>
-<contributor>Rick Rivello</contributor>
-<date qualifier="created">2002-05-02</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="newRow" type="HTMLElement"/>
-<var name="rowsnodeList" type="HTMLCollection"/>
-<var name="vrows" type="int" />
-<var name="doc" type="Document"/>
-<load var="doc" href="tablesection"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tfoot"'/>
-<assertSize collection="nodeList" size="1"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="1" id="rowsLink1"
ignoreCase="false"/>
-<insertRow interface="HTMLTableSectionElement" obj="testNode"
var="newRow" index="0"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="2" id="rowsLink2"
ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement18.xml
b/test/testcases/tests/level1/html/HTMLTableSectionElement18.xml
new file mode 100644
index 0000000..e8073be
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableSectionElement18.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement18">
+<metadata>
+<title>HTMLTableSectionElement18</title>
+<creator>NIST</creator>
+<description>
+ The insertRow() method inserts a new empty table row.
+
+ Retrieve the first TBODY element and invoke the insertRow() method
+ with an index of 0. The nuber of rows in the TBODY section before
+ insertion of the new row is two. After the new row is inserted the number
+ of rows in the TBODY section is three.
+</description>
+<contributor>Rick Rivello</contributor>
+<date qualifier="created">2002-05-02</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="newRow" type="HTMLElement"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="vrows" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tbody"'/>
+<assertSize collection="nodeList" size="2"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="2" id="rowsLink1"
ignoreCase="false"/>
+<insertRow interface="HTMLTableSectionElement" obj="testNode"
var="newRow" index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="3" id="rowsLink2"
ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement18.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableSectionElement18.xml.kfail
deleted file mode 100644
index e8073be..0000000
--- a/test/testcases/tests/level1/html/HTMLTableSectionElement18.xml.kfail
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement18">
-<metadata>
-<title>HTMLTableSectionElement18</title>
-<creator>NIST</creator>
-<description>
- The insertRow() method inserts a new empty table row.
-
- Retrieve the first TBODY element and invoke the insertRow() method
- with an index of 0. The nuber of rows in the TBODY section before
- insertion of the new row is two. After the new row is inserted the number
- of rows in the TBODY section is three.
-</description>
-<contributor>Rick Rivello</contributor>
-<date qualifier="created">2002-05-02</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="newRow" type="HTMLElement"/>
-<var name="rowsnodeList" type="HTMLCollection"/>
-<var name="vrows" type="int" />
-<var name="doc" type="Document"/>
-<load var="doc" href="tablesection"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tbody"'/>
-<assertSize collection="nodeList" size="2"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="2" id="rowsLink1"
ignoreCase="false"/>
-<insertRow interface="HTMLTableSectionElement" obj="testNode"
var="newRow" index="0"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="3" id="rowsLink2"
ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement19.xml
b/test/testcases/tests/level1/html/HTMLTableSectionElement19.xml
new file mode 100644
index 0000000..f8d7933
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableSectionElement19.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement19">
+<metadata>
+<title>HTMLTableSectionElement19</title>
+<creator>NIST</creator>
+<description>
+ The insertRow() method inserts a new empty table row.
+
+ Retrieve the first THEAD element and invoke the insertRow() method
+ with an index of 1. The nuber of rows in the THEAD section before
+ insertion of the new row is one therefore the new row is appended.
+ After the new row is inserted the number of rows in the THEAD
+ section is two.
+</description>
+<contributor>Rick Rivello</contributor>
+<date qualifier="created">2002-05-02</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="newRow" type="HTMLElement"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="vrows" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"thead"'/>
+<assertSize collection="nodeList" size="1"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="1" id="rowsLink1"
ignoreCase="false"/>
+<insertRow interface="HTMLTableSectionElement" obj="testNode"
var="newRow" index="1"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="2" id="rowsLink2"
ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement19.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableSectionElement19.xml.kfail
deleted file mode 100644
index f8d7933..0000000
--- a/test/testcases/tests/level1/html/HTMLTableSectionElement19.xml.kfail
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement19">
-<metadata>
-<title>HTMLTableSectionElement19</title>
-<creator>NIST</creator>
-<description>
- The insertRow() method inserts a new empty table row.
-
- Retrieve the first THEAD element and invoke the insertRow() method
- with an index of 1. The nuber of rows in the THEAD section before
- insertion of the new row is one therefore the new row is appended.
- After the new row is inserted the number of rows in the THEAD
- section is two.
-</description>
-<contributor>Rick Rivello</contributor>
-<date qualifier="created">2002-05-02</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="newRow" type="HTMLElement"/>
-<var name="rowsnodeList" type="HTMLCollection"/>
-<var name="vrows" type="int" />
-<var name="doc" type="Document"/>
-<load var="doc" href="tablesection"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"thead"'/>
-<assertSize collection="nodeList" size="1"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="1" id="rowsLink1"
ignoreCase="false"/>
-<insertRow interface="HTMLTableSectionElement" obj="testNode"
var="newRow" index="1"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="2" id="rowsLink2"
ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement20.xml
b/test/testcases/tests/level1/html/HTMLTableSectionElement20.xml
new file mode 100644
index 0000000..99452e7
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableSectionElement20.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement20">
+<metadata>
+<title>HTMLTableSectionElement20</title>
+<creator>NIST</creator>
+<description>
+ The insertRow() method inserts a new empty table row.
+
+ Retrieve the first TFOOT element and invoke the insertRow() method
+ with an index of one. The nuber of rows in the TFOOT section before
+ insertion of the new row is one therefore the new row is appended.
+ After the new row is inserted the number of rows in the TFOOT section
+ is two.
+</description>
+<contributor>Rick Rivello</contributor>
+<date qualifier="created">2002-05-02</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="newRow" type="HTMLElement"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="vrows" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tfoot"'/>
+<assertSize collection="nodeList" size="1"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="1" id="rowsLink1"
ignoreCase="false"/>
+<insertRow interface="HTMLTableSectionElement" obj="testNode"
var="newRow" index="1"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="2" id="rowsLink2"
ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement20.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableSectionElement20.xml.kfail
deleted file mode 100644
index 99452e7..0000000
--- a/test/testcases/tests/level1/html/HTMLTableSectionElement20.xml.kfail
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement20">
-<metadata>
-<title>HTMLTableSectionElement20</title>
-<creator>NIST</creator>
-<description>
- The insertRow() method inserts a new empty table row.
-
- Retrieve the first TFOOT element and invoke the insertRow() method
- with an index of one. The nuber of rows in the TFOOT section before
- insertion of the new row is one therefore the new row is appended.
- After the new row is inserted the number of rows in the TFOOT section
- is two.
-</description>
-<contributor>Rick Rivello</contributor>
-<date qualifier="created">2002-05-02</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="newRow" type="HTMLElement"/>
-<var name="rowsnodeList" type="HTMLCollection"/>
-<var name="vrows" type="int" />
-<var name="doc" type="Document"/>
-<load var="doc" href="tablesection"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tfoot"'/>
-<assertSize collection="nodeList" size="1"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="1" id="rowsLink1"
ignoreCase="false"/>
-<insertRow interface="HTMLTableSectionElement" obj="testNode"
var="newRow" index="1"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="2" id="rowsLink2"
ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement21.xml
b/test/testcases/tests/level1/html/HTMLTableSectionElement21.xml
new file mode 100644
index 0000000..05d7ef8
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableSectionElement21.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement21">
+<metadata>
+<title>HTMLTableSectionElement21</title>
+<creator>NIST</creator>
+<description>
+ The insertRow() method inserts a new empty table row.
+
+ Retrieve the first TBODY element and invoke the insertRow() method
+ with an index of two. The number of rows in the TBODY section before
+ insertion of the new row is two therefore the row is appended.
+ After the new row is inserted the number of rows in the TBODY section is
+ three.
+</description>
+<contributor>Rick Rivello</contributor>
+<date qualifier="created">2002-05-02</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+<subject
resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=502"/>
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="newRow" type="HTMLElement"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="vrows" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tbody"'/>
+<assertSize collection="nodeList" size="2"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="2" id="rowsLink1"
ignoreCase="false"/>
+<insertRow interface="HTMLTableSectionElement" obj="testNode"
var="newRow" index="2"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="3" id="rowsLink2"
ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement21.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableSectionElement21.xml.kfail
deleted file mode 100644
index 05d7ef8..0000000
--- a/test/testcases/tests/level1/html/HTMLTableSectionElement21.xml.kfail
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement21">
-<metadata>
-<title>HTMLTableSectionElement21</title>
-<creator>NIST</creator>
-<description>
- The insertRow() method inserts a new empty table row.
-
- Retrieve the first TBODY element and invoke the insertRow() method
- with an index of two. The number of rows in the TBODY section before
- insertion of the new row is two therefore the row is appended.
- After the new row is inserted the number of rows in the TBODY section is
- three.
-</description>
-<contributor>Rick Rivello</contributor>
-<date qualifier="created">2002-05-02</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-<subject
resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=502"/>
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="newRow" type="HTMLElement"/>
-<var name="rowsnodeList" type="HTMLCollection"/>
-<var name="vrows" type="int" />
-<var name="doc" type="Document"/>
-<load var="doc" href="tablesection"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tbody"'/>
-<assertSize collection="nodeList" size="2"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="2" id="rowsLink1"
ignoreCase="false"/>
-<insertRow interface="HTMLTableSectionElement" obj="testNode"
var="newRow" index="2"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="3" id="rowsLink2"
ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement22.xml
b/test/testcases/tests/level1/html/HTMLTableSectionElement22.xml
new file mode 100644
index 0000000..5d8bef4
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableSectionElement22.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement22">
+<metadata>
+<title>HTMLTableSectionElement22</title>
+<creator>NIST</creator>
+<description>
+ The deleteRow() method deletes a row from this section.
+
+ Retrieve the first THEAD element and invoke the deleteRow() method
+ with an index of 0. The nuber of rows in the THEAD section before
+ the deletion of the row is one. After the row is deleted the number
+ of rows in the THEAD section is zero.
+</description>
+<contributor>Rick Rivello</contributor>
+<date qualifier="created">2002-05-02</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="vrows" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"thead"'/>
+<assertSize collection="nodeList" size="1"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="1" id="rowsLink1"
ignoreCase="false"/>
+<deleteRow interface="HTMLTableSectionElement" obj="testNode"
index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="0" id="rowsLink2"
ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement22.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableSectionElement22.xml.kfail
deleted file mode 100644
index 5d8bef4..0000000
--- a/test/testcases/tests/level1/html/HTMLTableSectionElement22.xml.kfail
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement22">
-<metadata>
-<title>HTMLTableSectionElement22</title>
-<creator>NIST</creator>
-<description>
- The deleteRow() method deletes a row from this section.
-
- Retrieve the first THEAD element and invoke the deleteRow() method
- with an index of 0. The nuber of rows in the THEAD section before
- the deletion of the row is one. After the row is deleted the number
- of rows in the THEAD section is zero.
-</description>
-<contributor>Rick Rivello</contributor>
-<date qualifier="created">2002-05-02</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="rowsnodeList" type="HTMLCollection"/>
-<var name="vrows" type="int" />
-<var name="doc" type="Document"/>
-<load var="doc" href="tablesection"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"thead"'/>
-<assertSize collection="nodeList" size="1"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="1" id="rowsLink1"
ignoreCase="false"/>
-<deleteRow interface="HTMLTableSectionElement" obj="testNode"
index="0"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="0" id="rowsLink2"
ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement23.xml
b/test/testcases/tests/level1/html/HTMLTableSectionElement23.xml
new file mode 100644
index 0000000..eb3f972
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableSectionElement23.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement23">
+<metadata>
+<title>HTMLTableSectionElement23</title>
+<creator>NIST</creator>
+<description>
+ The deleteRow() method deletes a row from this section.
+
+ Retrieve the first TFOOT element and invoke the deleteRow() method
+ with an index of 0. The nuber of rows in the TFOOT section before
+ the deletion of the row is one. After the row is deleted the number
+ of rows in the TFOOT section is zero.
+</description>
+<contributor>Rick Rivello</contributor>
+<date qualifier="created">2002-05-02</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="vrows" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tfoot"'/>
+<assertSize collection="nodeList" size="1"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="1" id="rowsLink1"
ignoreCase="false"/>
+<deleteRow interface="HTMLTableSectionElement" obj="testNode"
index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="0" id="rowsLink2"
ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement23.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableSectionElement23.xml.kfail
deleted file mode 100644
index eb3f972..0000000
--- a/test/testcases/tests/level1/html/HTMLTableSectionElement23.xml.kfail
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement23">
-<metadata>
-<title>HTMLTableSectionElement23</title>
-<creator>NIST</creator>
-<description>
- The deleteRow() method deletes a row from this section.
-
- Retrieve the first TFOOT element and invoke the deleteRow() method
- with an index of 0. The nuber of rows in the TFOOT section before
- the deletion of the row is one. After the row is deleted the number
- of rows in the TFOOT section is zero.
-</description>
-<contributor>Rick Rivello</contributor>
-<date qualifier="created">2002-05-02</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="rowsnodeList" type="HTMLCollection"/>
-<var name="vrows" type="int" />
-<var name="doc" type="Document"/>
-<load var="doc" href="tablesection"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tfoot"'/>
-<assertSize collection="nodeList" size="1"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="1" id="rowsLink1"
ignoreCase="false"/>
-<deleteRow interface="HTMLTableSectionElement" obj="testNode"
index="0"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="0" id="rowsLink2"
ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement24.xml
b/test/testcases/tests/level1/html/HTMLTableSectionElement24.xml
new file mode 100644
index 0000000..39896e1
--- /dev/null
+++ b/test/testcases/tests/level1/html/HTMLTableSectionElement24.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement24">
+<metadata>
+<title>HTMLTableSectionElement24</title>
+<creator>NIST</creator>
+<description>
+ The deleteRow() method deletes a row from this section.
+
+ Retrieve the first TBODY element and invoke the deleteRow() method
+ with an index of 0. The nuber of rows in the TBODY section before
+ the deletion of the row is two. After the row is deleted the number
+ of rows in the TBODY section is one.
+</description>
+<contributor>Rick Rivello</contributor>
+<date qualifier="created">2002-05-02</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="vrows" type="int" />
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tbody"'/>
+<assertSize collection="nodeList" size="2"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="2" id="rowsLink1"
ignoreCase="false"/>
+<deleteRow interface="HTMLTableSectionElement" obj="testNode"
index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="1" id="rowsLink2"
ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/HTMLTableSectionElement24.xml.kfail
b/test/testcases/tests/level1/html/HTMLTableSectionElement24.xml.kfail
deleted file mode 100644
index 39896e1..0000000
--- a/test/testcases/tests/level1/html/HTMLTableSectionElement24.xml.kfail
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="test-to-html.xml" type="text/xml"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="HTMLTableSectionElement24">
-<metadata>
-<title>HTMLTableSectionElement24</title>
-<creator>NIST</creator>
-<description>
- The deleteRow() method deletes a row from this section.
-
- Retrieve the first TBODY element and invoke the deleteRow() method
- with an index of 0. The nuber of rows in the TBODY section before
- the deletion of the row is two. After the row is deleted the number
- of rows in the TBODY section is one.
-</description>
-<contributor>Rick Rivello</contributor>
-<date qualifier="created">2002-05-02</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="rowsnodeList" type="HTMLCollection"/>
-<var name="vrows" type="int" />
-<var name="doc" type="Document"/>
-<load var="doc" href="tablesection"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"tbody"'/>
-<assertSize collection="nodeList" size="2"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="2" id="rowsLink1"
ignoreCase="false"/>
-<deleteRow interface="HTMLTableSectionElement" obj="testNode"
index="0"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="1" id="rowsLink2"
ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/table06.xml
b/test/testcases/tests/level1/html/table06.xml
new file mode 100644
index 0000000..3d461f6
--- /dev/null
+++ b/test/testcases/tests/level1/html/table06.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="table06">
+<metadata>
+<title>table06</title>
+<creator>Netscape</creator>
+<description>
+Vertical alignment of data in cells.
+The value of attribute valign of the tablesection element is read and checked against the
expected value.
+</description>
+<contributor>Sivakiran Tummala</contributor>
+<date qualifier="created">2002-02-15</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsection" type="HTMLTableSectionElement" />
+<var name="vvAlign" type="DOMString" />
+<var name="doc" type="Node"/>
+<load var="doc" href="tablesection"
willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="2"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
+<tFoot interface="HTMLTableElement" obj="testNode"
var="vsection"/>
+<vAlign interface="HTMLTableSectionElement" obj="vsection"
var="vvAlign"/>
+<assertEquals actual="vvAlign" expected='"middle"'
id="vAlignLink" ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/table06.xml.kfail
b/test/testcases/tests/level1/html/table06.xml.kfail
deleted file mode 100644
index 3d461f6..0000000
--- a/test/testcases/tests/level1/html/table06.xml.kfail
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-
-Copyright (c) 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="table06">
-<metadata>
-<title>table06</title>
-<creator>Netscape</creator>
-<description>
-Vertical alignment of data in cells.
-The value of attribute valign of the tablesection element is read and checked against the
expected value.
-</description>
-<contributor>Sivakiran Tummala</contributor>
-<date qualifier="created">2002-02-15</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="vsection" type="HTMLTableSectionElement" />
-<var name="vvAlign" type="DOMString" />
-<var name="doc" type="Node"/>
-<load var="doc" href="tablesection"
willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"table"'/>
-<assertSize collection="nodeList" size="2"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
-<tFoot interface="HTMLTableElement" obj="testNode"
var="vsection"/>
-<vAlign interface="HTMLTableSectionElement" obj="vsection"
var="vvAlign"/>
-<assertEquals actual="vvAlign" expected='"middle"'
id="vAlignLink" ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/table07.xml
b/test/testcases/tests/level1/html/table07.xml
new file mode 100644
index 0000000..4a04d77
--- /dev/null
+++ b/test/testcases/tests/level1/html/table07.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="table07">
+<metadata>
+<title>table07</title>
+<creator>Netscape</creator>
+<description>
+The collection of rows in this table section.
+The value of attribute rows of the tablesection element is read and checked against the
expected value.
+</description>
+<contributor>Sivakiran Tummala</contributor>
+<date qualifier="created">2002-02-15</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsection" type="HTMLTableSectionElement" />
+<var name="vcollection" type="HTMLCollection" />
+<var name="vrows" type="int" />
+<var name="doc" type="Node"/>
+<load var="doc" href="tablesection"
willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="2"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
+<tFoot interface="HTMLTableElement" obj="testNode"
var="vsection"/>
+<rows interface="HTMLTableSectionElement" obj="vsection"
var="vcollection"/>
+<length interface="HTMLCollection" obj="vcollection"
var="vrows" />
+<assertEquals actual="vrows" expected="1" id="vrowsLink"
ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/table07.xml.kfail
b/test/testcases/tests/level1/html/table07.xml.kfail
deleted file mode 100644
index 4a04d77..0000000
--- a/test/testcases/tests/level1/html/table07.xml.kfail
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-
-Copyright (c) 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="table07">
-<metadata>
-<title>table07</title>
-<creator>Netscape</creator>
-<description>
-The collection of rows in this table section.
-The value of attribute rows of the tablesection element is read and checked against the
expected value.
-</description>
-<contributor>Sivakiran Tummala</contributor>
-<date qualifier="created">2002-02-15</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="vsection" type="HTMLTableSectionElement" />
-<var name="vcollection" type="HTMLCollection" />
-<var name="vrows" type="int" />
-<var name="doc" type="Node"/>
-<load var="doc" href="tablesection"
willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"table"'/>
-<assertSize collection="nodeList" size="2"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
-<tFoot interface="HTMLTableElement" obj="testNode"
var="vsection"/>
-<rows interface="HTMLTableSectionElement" obj="vsection"
var="vcollection"/>
-<length interface="HTMLCollection" obj="vcollection"
var="vrows" />
-<assertEquals actual="vrows" expected="1" id="vrowsLink"
ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level1/html/table15.xml
b/test/testcases/tests/level1/html/table15.xml
new file mode 100644
index 0000000..89455c3
--- /dev/null
+++ b/test/testcases/tests/level1/html/table15.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom1.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="table15">
+<metadata>
+<title>table15</title>
+<creator>Netscape</creator>
+<description>
+The collection of rows in this table section.
+The value of attribute rows of the tablesection element is read and checked against the
expected value.
+</description>
+<contributor>Sivakiran Tummala</contributor>
+<date qualifier="created">2002-02-15</date>
+<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="vsection" type="HTMLTableSectionElement" />
+<var name="vcollection" type="HTMLCollection" />
+<var name="vrows" type="int" />
+<var name="doc" type="Node"/>
+<load var="doc" href="tablesection"
willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"table"'/>
+<assertSize collection="nodeList" size="2"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
+<tHead interface="HTMLTableElement" obj="testNode"
var="vsection"/>
+<rows interface="HTMLTableSectionElement" obj="vsection"
var="vcollection"/>
+<length interface="HTMLCollection" obj="vcollection"
var="vrows" />
+<assertEquals actual="vrows" expected="1" id="vrowsLink"
ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level1/html/table15.xml.kfail
b/test/testcases/tests/level1/html/table15.xml.kfail
deleted file mode 100644
index 89455c3..0000000
--- a/test/testcases/tests/level1/html/table15.xml.kfail
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-
-Copyright (c) 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom1.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
name="table15">
-<metadata>
-<title>table15</title>
-<creator>Netscape</creator>
-<description>
-The collection of rows in this table section.
-The value of attribute rows of the tablesection element is read and checked against the
expected value.
-</description>
-<contributor>Sivakiran Tummala</contributor>
-<date qualifier="created">2002-02-15</date>
-<subject
resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-o...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="vsection" type="HTMLTableSectionElement" />
-<var name="vcollection" type="HTMLCollection" />
-<var name="vrows" type="int" />
-<var name="doc" type="Node"/>
-<load var="doc" href="tablesection"
willBeModified="false"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname='"table"'/>
-<assertSize collection="nodeList" size="2"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="1"/>
-<tHead interface="HTMLTableElement" obj="testNode"
var="vsection"/>
-<rows interface="HTMLTableSectionElement" obj="vsection"
var="vcollection"/>
-<length interface="HTMLCollection" obj="vcollection"
var="vrows" />
-<assertEquals actual="vrows" expected="1" id="vrowsLink"
ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level2/html/HTMLTableElement40.xml
b/test/testcases/tests/level2/html/HTMLTableElement40.xml
new file mode 100644
index 0000000..154b348
--- /dev/null
+++ b/test/testcases/tests/level2/html/HTMLTableElement40.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom2.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2"
name="HTMLTableElement40">
+<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&quo...
+</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>
diff --git a/test/testcases/tests/level2/html/HTMLTableElement40.xml.kfail
b/test/testcases/tests/level2/html/HTMLTableElement40.xml.kfail
deleted file mode 100644
index 154b348..0000000
--- a/test/testcases/tests/level2/html/HTMLTableElement40.xml.kfail
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom2.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2"
name="HTMLTableElement40">
-<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&quo...
-</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>
diff --git a/test/testcases/tests/level2/html/HTMLTableRowElement20.xml
b/test/testcases/tests/level2/html/HTMLTableRowElement20.xml
new file mode 100644
index 0000000..a879e13
--- /dev/null
+++ b/test/testcases/tests/level2/html/HTMLTableRowElement20.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom2.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2"
name="HTMLTableRowElement20">
+<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&quo...
+</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>
diff --git a/test/testcases/tests/level2/html/HTMLTableRowElement20.xml.kfail
b/test/testcases/tests/level2/html/HTMLTableRowElement20.xml.kfail
deleted file mode 100644
index a879e13..0000000
--- a/test/testcases/tests/level2/html/HTMLTableRowElement20.xml.kfail
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom2.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2"
name="HTMLTableRowElement20">
-<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&quo...
-</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>
diff --git a/test/testcases/tests/level2/html/HTMLTableRowElement21.xml
b/test/testcases/tests/level2/html/HTMLTableRowElement21.xml
new file mode 100644
index 0000000..9d5a598
--- /dev/null
+++ b/test/testcases/tests/level2/html/HTMLTableRowElement21.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom2.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2"
name="HTMLTableRowElement21">
+<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&quo...
+</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>
diff --git a/test/testcases/tests/level2/html/HTMLTableRowElement21.xml.kfail
b/test/testcases/tests/level2/html/HTMLTableRowElement21.xml.kfail
deleted file mode 100644
index 9d5a598..0000000
--- a/test/testcases/tests/level2/html/HTMLTableRowElement21.xml.kfail
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom2.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2"
name="HTMLTableRowElement21">
-<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&quo...
-</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>
diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement30.xml
b/test/testcases/tests/level2/html/HTMLTableSectionElement30.xml
new file mode 100644
index 0000000..8fd17c2
--- /dev/null
+++ b/test/testcases/tests/level2/html/HTMLTableSectionElement30.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom2.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2"
name="HTMLTableSectionElement30">
+<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&quo...
+</metadata>
+<var name="nodeList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="newRow" type="HTMLElement"/>
+<var name="rowsnodeList" type="HTMLCollection"/>
+<var name="vrows" type="int"/>
+<var name="doc" type="Document"/>
+<load var="doc" href="tablesection"
willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname=""thead""/>
+<assertSize collection="nodeList" size="1"
id="Asize"/>
+<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="1" id="rowsLink1"
ignoreCase="false"/>
+<insertRow interface="HTMLTableSectionElement" obj="testNode"
var="newRow" index="-1"/>
+<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
+<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
+<assertEquals actual="vrows" expected="2" id="rowsLink2"
ignoreCase="false"/>
+</test>
diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement30.xml.kfail
b/test/testcases/tests/level2/html/HTMLTableSectionElement30.xml.kfail
deleted file mode 100644
index 8fd17c2..0000000
--- a/test/testcases/tests/level2/html/HTMLTableSectionElement30.xml.kfail
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom2.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2"
name="HTMLTableSectionElement30">
-<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&quo...
-</metadata>
-<var name="nodeList" type="NodeList"/>
-<var name="testNode" type="Node"/>
-<var name="newRow" type="HTMLElement"/>
-<var name="rowsnodeList" type="HTMLCollection"/>
-<var name="vrows" type="int"/>
-<var name="doc" type="Document"/>
-<load var="doc" href="tablesection"
willBeModified="true"/>
-<getElementsByTagName interface="Document" obj="doc"
var="nodeList" tagname=""thead""/>
-<assertSize collection="nodeList" size="1"
id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode"
index="0"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="1" id="rowsLink1"
ignoreCase="false"/>
-<insertRow interface="HTMLTableSectionElement" obj="testNode"
var="newRow" index="-1"/>
-<rows interface="HTMLTableSectionElement" obj="testNode"
var="rowsnodeList"/>
-<length interface="HTMLCollection" obj="rowsnodeList"
var="vrows"/>
-<assertEquals actual="vrows" expected="2" id="rowsLink2"
ignoreCase="false"/>
-</test>
diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement31.xml
b/test/testcases/tests/level2/html/HTMLTableSectionElement31.xml
new file mode 100644
index 0000000..55464e2
--- /dev/null
+++ b/test/testcases/tests/level2/html/HTMLTableSectionElement31.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+<!DOCTYPE test SYSTEM "dom2.dtd">
+<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2"
name="HTMLTableSectionElement31">
+<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>
diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement31.xml.kfail
b/test/testcases/tests/level2/html/HTMLTableSectionElement31.xml.kfail
deleted file mode 100644
index 55464e2..0000000
--- a/test/testcases/tests/level2/html/HTMLTableSectionElement31.xml.kfail
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-
-See W3C License
http://www.w3.org/Consortium/Legal/ for more details.
-
--->
-<!DOCTYPE test SYSTEM "dom2.dtd">
-<test
xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2"
name="HTMLTableSectionElement31">
-<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>
-----------------------------------------------------------------------
Summary of changes:
--
Document Object Model library