svnno****@sourc*****
svnno****@sourc*****
2010年 6月 2日 (水) 23:40:02 JST
Revision: 1875
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1875
Author: dhrname
Date: 2010-06-02 23:40:02 +0900 (Wed, 02 Jun 2010)
Log Message:
-----------
Modified Paths:
--------------
branches/06x/061/org/w3c/core.js
Modified: branches/06x/061/org/w3c/core.js
===================================================================
--- branches/06x/061/org/w3c/core.js 2010-06-02 12:47:29 UTC (rev 1874)
+++ branches/06x/061/org/w3c/core.js 2010-06-02 14:40:02 UTC (rev 1875)
@@ -797,7 +797,7 @@
*/
/*Comment*/ Document.prototype.createComment = function( /*string*/ data) {
var s = new Comment();
- s.nodeValue = data;
+ s.data = s.nodeValue = data;
s.ownerDocument = this;
return s;
};
@@ -806,7 +806,7 @@
*/
/*CDATASection*/ Document.prototype.createCDATASection = function( /*string*/ data) {
var s = new CDATASection();
- s.nodeValue = data;
+ s.data = s.nodeValue = data;
s.ownerDocument = this;
return s;
};