W3C home > Mailing lists > Public > www-dom-ts@w3.org > September 2002

Fix for HTMLTableCellElement16/HTMLTableCellElement24

From: David Faure <david@mandrakesoft.com>
Date: Tue, 24 Sep 2002 12:56:15 +0200 (CEST)
To: <www-dom-ts@w3.org>
Message-ID: <Pine.LNX.4.33L2.0209241240350.12160-100000@smtp.mandrakesoft.com>

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.
Received on Tuesday, 24 September 2002 06:53:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:47 GMT