svnno****@sourc*****
svnno****@sourc*****
2011年 2月 24日 (木) 22:37:16 JST
Revision: 2429 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2429 Author: dhrname Date: 2011-02-24 22:37:15 +0900 (Thu, 24 Feb 2011) Log Message: ----------- チケット #23828「animate要素のfill属性を設定しても、動きが止まらない」を修正 Ticket Links: :----------- http://sourceforge.jp/projects/sie/tracker/detail/23828 Modified Paths: -------------- branches/07x/071/org/w3c/dom/svg.js Modified: branches/07x/071/org/w3c/dom/svg.js =================================================================== --- branches/07x/071/org/w3c/dom/svg.js 2011-02-23 14:04:36 UTC (rev 2428) +++ branches/07x/071/org/w3c/dom/svg.js 2011-02-24 13:37:15 UTC (rev 2429) @@ -4832,15 +4832,15 @@ } nci._currentFrame++; } - if (nci._end) { - if (nci._end <= s && nci.getCurrentTime() !== 0) { - nci.endElement(); - nci._currentFrame = 0; - delete nci._begin; - nci._end = null; + if (nci._end && (nci._end <= s) && (nci.getCurrentTime() !== 0)) { + nci.endElement(); + if (!!nci._frame) { + nci._frame(); } - } - if (!!nci._frame) { + nci._currentFrame = 0; + delete nci._begin; + nci._end = null; + } else if (!!nci._frame) { nci._frame(); } }