W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2009

2002/css-validator/autotest/client checktests.js,1.3,1.4

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 03 Mar 2009 21:43:53 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1LecP3-00023m-KN@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/autotest/client
In directory hutz:/tmp/cvs-serv7900

Modified Files:
	checktests.js 
Log Message:
...


Index: checktests.js
===================================================================
RCS file: /sources/public/2002/css-validator/autotest/client/checktests.js,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- checktests.js	3 Mar 2009 21:41:08 -0000	1.3
+++ checktests.js	3 Mar 2009 21:43:51 -0000	1.4
@@ -88,8 +88,8 @@
 	    } else {
 		var allTds = allTests[i].getElementsByTagName("td")
 		for (var j=0; j< allTds.length; j++) {
-		    if (allTds[i].hasAttribute("class")) {
-			allTds[i].removeAttribute("class");
+		    if (allTds[j].hasAttribute("class")) {
+			allTds[j].removeAttribute("class");
 		    }
 		}
 	    }
Received on Tuesday, 3 March 2009 21:44:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:34 UTC