svnno****@sourc*****
svnno****@sourc*****
2010年 10月 19日 (火) 23:11:45 JST
Revision: 2067
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2067
Author: dhrname
Date: 2010-10-19 23:11:45 +0900 (Tue, 19 Oct 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-10-19 14:11:00 UTC (rev 2066)
+++ branches/06x/061/org/w3c/core.js 2010-10-19 14:11:45 UTC (rev 2067)
@@ -581,6 +581,7 @@
};
/*void*/ Element.prototype.setAttributeNS = function( /*string*/ namespaceURI, /*string*/ qualifiedName, /*string*/ value) {
var atn = this.ownerDocument.createAttributeNS(namespaceURI, qualifiedName);
+ /*元来、string型以外の型を許容すべきではないが、他のブラウザ(FirefoxやOpera)でエラーが出ないため許容する*/
atn.nodeValue = value+"";
atn.value = value+"";
this.setAttributeNodeNS(atn);