W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2010

2002/css-validator/scripts w3c-validator.js,1.2,1.3

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 27 Sep 2010 21:02:56 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1P0Kqe-00059N-K2@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/scripts
In directory hutz:/tmp/cvs-serv19760/scripts

Modified Files:
	w3c-validator.js 
Log Message:
fixed: legend elements do not have child elements

Index: w3c-validator.js
===================================================================
RCS file: /sources/public/2002/css-validator/scripts/w3c-validator.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- w3c-validator.js	27 Sep 2010 20:11:56 -0000	1.2
+++ w3c-validator.js	27 Sep 2010 21:02:54 -0000	1.3
@@ -54,7 +54,7 @@
 			var pid = W3C.Sections[i].id.replace(/-/g, '_');
 			var opt = '+with_options';
 			var option = W3C.Options[i];
-			var link = legend.getFirst();
+			var link = legend;
 			link.addEvent('click', function(event){
 			  option.setStyle('display', 'block'); // before any slide effect, set display:block
 				var block = (option.getStyle('margin-top').toInt() == 0);
Received on Monday, 27 September 2010 21:02:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:44 UTC