svnno****@sourc*****
svnno****@sourc*****
2011年 6月 17日 (金) 23:53:47 JST
Revision: 2779 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2779 Author: dhrname Date: 2011-06-17 23:53:47 +0900 (Fri, 17 Jun 2011) Log Message: ----------- SVGAnimateMotionElementのbeginEventの際、transformのanimValが不正なのを修正 Modified Paths: -------------- branches/08x/080/org/w3c/dom/svg.js Modified: branches/08x/080/org/w3c/dom/svg.js =================================================================== --- branches/08x/080/org/w3c/dom/svg.js 2011-06-17 14:44:32 UTC (rev 2778) +++ branches/08x/080/org/w3c/dom/svg.js 2011-06-17 14:53:47 UTC (rev 2779) @@ -5461,9 +5461,11 @@ */ trans.animVal = new SVGTransformList(); if (trans.baseVal.numberOfItems !== 0) { + trans.baseVal.consolidate(); trans.animVal.initialize(trans.baseVal.createSVGTransformFromMatrix(trans.baseVal.getItem(0).matrix)); - } - trans.animVal.appendItem(tar.ownerDocument.documentElement.createSVGTransform()); + } else { + trans.animVal.appendItem(tar.ownerDocument.documentElement.createSVGTransform()); + } tar._frame = function() { var _tar = tar, tpn = _tar._path,