svnno****@sourc*****
svnno****@sourc*****
2009年 10月 3日 (土) 23:15:04 JST
Revision: 1310 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1310 Author: dhrname Date: 2009-10-03 23:15:04 +0900 (Sat, 03 Oct 2009) Log Message: ----------- getPropertyValueメソッドのキャメル記法の修正 Modified Paths: -------------- branches/DOM/org/w3c/dom/css.js Modified: branches/DOM/org/w3c/dom/css.js =================================================================== --- branches/DOM/org/w3c/dom/css.js 2009-10-03 14:06:24 UTC (rev 1309) +++ branches/DOM/org/w3c/dom/css.js 2009-10-03 14:15:04 UTC (rev 1310) @@ -193,7 +193,7 @@ /*string*/ getPropertyValue : function( /*string*/ propertyName) { var tg = this.getPropertyCSSValue(propertyName); if (tg) { //見つかった場合 - return (tg[propertyName]); + return (tg[propertyName.replace(/\-[a-z]/g, (function(s){return s.toUpperCase();}))]); } else { return ""; }