From 592698f90540027c350d9c45f1298182d04fecd4 Mon Sep 17 00:00:00 2001 From: dhrname Date: Fri, 17 Apr 2015 20:59:56 +0900 Subject: [PATCH] Modify the setValues method --- org/w3c/dom/smil.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/org/w3c/dom/smil.js b/org/w3c/dom/smil.js index a1a90eb..42a6199 100644 --- a/org/w3c/dom/smil.js +++ b/org/w3c/dom/smil.js @@ -738,7 +738,11 @@ base("$calcMode").up("$attribute").mix( { * values属性やfrom属性やto属性を処理するためのメソッド * valuesは配列、それ以外の引数は文字列*/ setValues: function(values, from, to, by) { - var s = this.up(); + var s = this.up().mix( { + to: base("$from").$to.up().mix( { + from: base("$from").up() + } ) + } ); if (values && values.length) { /*values属性が指定された場合、他の属性は無視される * W3C仕様 SMIL アニメーション 3.2.2. アニメーション関数の値*/ -- 2.11.0