svnno****@sourc*****
svnno****@sourc*****
2010年 6月 26日 (土) 23:58:40 JST
Revision: 1911 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1911 Author: dhrname Date: 2010-06-26 23:58:40 +0900 (Sat, 26 Jun 2010) Log Message: ----------- Modified Paths: -------------- branches/06x/061/org/w3c/dom/svg.js Modified: branches/06x/061/org/w3c/dom/svg.js =================================================================== --- branches/06x/061/org/w3c/dom/svg.js 2010-06-22 13:29:37 UTC (rev 1910) +++ branches/06x/061/org/w3c/dom/svg.js 2010-06-26 14:58:40 UTC (rev 1911) @@ -3749,7 +3749,16 @@ function SVGAnimationElement() { SVGElement.apply(this, arguments); /*readonly SVGElement*/ this.targetElement; + this._currentTime = 0; //smil::ElementTimeControl; + var s = new ElementTimeControl(this); + /*以下は関数のコピー + *これによって、ElementTimeControlの多重継承を模擬する + */ + this.beginElement = s.beginElement; + this.endElement = s.endElement; + this.beginElementAt = s.beginElementAt; + this.endElementAt = s.endElementAt; return this; }; SVGAnimationElement.constructor = SVGElement; @@ -3758,6 +3767,7 @@ /*float*/ SVGAnimationElement.prototype.getStartTime = function(){ }; /*float*/ SVGAnimationElement.prototype.getCurrentTime = function(){ + return (this._currentTime); }; /*float*/ SVGAnimationElement.prototype.getSimpleDuration = function(){ };