From 9a8bb5af3bcb7370196254c9a711ea77bb08595d Mon Sep 17 00:00:00 2001 From: dhrname Date: Mon, 9 Jan 2012 19:59:16 +0900 Subject: [PATCH] =?utf8?q?SVGAnimateElement=E3=81=AEvar=E6=96=87=E3=82=92?= =?utf8?q?=E6=95=B4=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- org/w3c/dom/svg.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/org/w3c/dom/svg.js b/org/w3c/dom/svg.js index 712b8b5..e6b124d 100644 --- a/org/w3c/dom/svg.js +++ b/org/w3c/dom/svg.js @@ -5543,7 +5543,9 @@ function SVGAnimateElement(){ var attrName = tar.getAttributeNS(null, "attributeName"), newAttr = tar.targetElement.attributes.getNamedItemNS(null, attrName); var ttr = tar.targetElement, tta = ttr[attrName]; tar._frame = function() { - var d = tar.getSimpleDuration() * 0.8, n = tar._valueList.length-1, tg = tar.getCurrentTime(); + var d = tar.getSimpleDuration() * 0.8, + n = tar._valueList.length-1, + tg = tar.getCurrentTime(); if ((n !== -1) && (d !== 0) && (tg <= d)) { if (tar._isDiscrete) { ++n; //discreteモードは他のモードに比べて、分割数が多いことに注意 -- 2.11.0