Fix for HTMLTableCellElement16/HTMLTableCellElement24

David Faure <[email protected]>
Newsgroups gmane.comp.web.dom.test-suites.general
Message-ID <[email protected]>
It says it's looking for the 2nd TD element, but it looks at the first
one. The fix is below.

Index: 2001/DOM-Test-Suite/tests/level1/html/HTMLTableCellElement16.xml
===================================================================
RCS file:
/sources/public/2001/DOM-Test-Suite/tests/level1/html/HTMLTableCellElement16.xml,v
retrieving revision 1.3
diff -u -p -r1.3 HTMLTableCellElement16.xml
--- HTMLTableCellElement16.xml  2002/04/23 11:40:49     1.3
+++ HTMLTableCellElement16.xml  2002/09/24 10:50:55
@@ -38,7 +38,7 @@ See W3C License http://www.w3.org/Consor
 <load var="doc" href="tablecell" willBeModified="false"/>
 <getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/>
 <assertSize collection="nodeList" size="4" id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
 <colSpan interface="HTMLTableCellElement" obj="testNode" var="vcolspan"/>
 <assertEquals actual="vcolspan" expected="1" id="colSpanLink" ignoreCase="false"/>
 </test>

Index: 2001/DOM-Test-Suite/tests/level1/html/HTMLTableCellElement24.xml
===================================================================
RCS file:
/sources/public/2001/DOM-Test-Suite/tests/level1/html/HTMLTableCellElement24.xml,v
retrieving revision 1.3
diff -u -p -r1.3 HTMLTableCellElement24.xml
--- HTMLTableCellElement24.xml  2002/04/23 11:40:49     1.3
+++ HTMLTableCellElement24.xml  2002/09/24 10:52:11
@@ -38,7 +38,7 @@ See W3C License http://www.w3.org/Consor
 <load var="doc" href="tablecell" willBeModified="false"/>
 <getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"td"'/>
 <assertSize collection="nodeList" size="4" id="Asize"/>
-<item interface="NodeList" obj="nodeList" var="testNode" index="0"/>
+<item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
 <rowSpan interface="HTMLTableCellElement" obj="testNode" var="vrowspan"/>
 <assertEquals actual="vrowspan" expected="1" id="rowSpanLink" ignoreCase="false"/>
 </test>

David.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.