W3C home > Mailing lists > Public > public-dap-commits@w3.org > September 2011

2009/dap/ReSpec.js/js respec.js,1.166,1.167

From: Robin Berjon via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 14 Sep 2011 15:03:47 +0000
To: public-dap-commits@w3.org
Message-Id: <E1R3r07-0006UG-6h@lionel-hutz.w3.org>
Update of /sources/public/2009/dap/ReSpec.js/js
In directory hutz:/tmp/cvs-serv24909/js

Modified Files:
	respec.js 
Log Message:
inserting a p at such locations is invalid and breaks pubrules

Index: respec.js
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -d -r1.166 -r1.167
--- respec.js	13 Sep 2011 11:03:55 -0000	1.166
+++ respec.js	14 Sep 2011 15:03:45 -0000	1.167
@@ -2350,7 +2350,7 @@
                         var idlInterface = document.querySelector("#idl-def-" + obj.refId),
                             idlDictionary = document.querySelector("#idl-def-" + obj.merge[i]);
                         idlDictionary.parentNode.parentNode.removeChild(idlDictionary.parentNode);
-                        idlInterface.appendChild(document.createElement("p"));
+                        idlInterface.appendChild(document.createElement("br"));
                         idlInterface.appendChild(idlDictionary);
                     }
                 }, 0);
Received on Wednesday, 14 September 2011 15:03:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 14 September 2011 15:03:48 GMT