OSDN Git Service

Add a comment about the simple duration
authordhrname <dhrname@users.sourceforge.jp>
Fri, 11 Sep 2015 12:55:02 +0000 (21:55 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Fri, 11 Sep 2015 12:55:02 +0000 (21:55 +0900)
document/index.en.html
document/index.html
org/w3c/dom/smil.js

index 6f884b3..572bd67 100644 (file)
@@ -1,5 +1,4 @@
-<!xml version="1.0" encoding="utf-8"!>\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
+<html xmlns="http://www.w3.org/1999/xhtml">\r
 <head>\r
 <title>SIE - SVG JavaScript library</title>\r
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r
@@ -17,8 +16,8 @@
  <li><a href="http://en.osdn.jp/projects/sie/">Getting involved</a></li>\r
 </ol>\r
 <h1>SIE - SVG JavaScript library</h1>\r
-<h2 class="title">Download SIE 18</h2>\r
-<p><a href="http://osdn.jp/projects/sie/downloads/62352/sie18.zip/">sie18.zip</a> (ZIP 336.8 KB)</p>\r
+<h2 class="title">Download SIE 19</h2>\r
+<p><a href="https://osdn.jp/projects/sie/downloads/63588/sie19.zip/">sie19.zip</a> (ZIP 496.7 KB)</p>\r
 <h3>Requirements</h3>\r
 <p>Internet Explorer8+, Mozilla Firefox10+, Opera10.0+, Safari3.0+ or Google Chrome3.0+</p>\r
 <p>A HTTP Server Soft</p>\r
index f9e59b2..b0ab0e9 100644 (file)
@@ -1,5 +1,4 @@
-<!xml version="1.0" encoding="utf-8"!>\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
+<html xmlns="http://www.w3.org/1999/xhtml">\r
 <head>\r
 <title>SIE - SVG形式の画像を表示できるJavaScriptライブラリ</title>\r
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>\r
@@ -17,8 +16,8 @@
 </ol>\r
 <p><object data="sie-logo.svg" type="image/svg+xml" width="100%" height="90"></object></p>\r
 <h1>SIE - SVG形式の画像を表示できるJavaScriptライブラリ</h1>\r
-<h2 class="title">SIE 18 を無料ダウンロード</h2>\r
-<p><a href="http://osdn.jp/projects/sie/downloads/62352/sie18.zip/">sie18.zip</a> (ZIP形式 336.8 KB)</p>\r
+<h2 class="title">SIE 19 を無料ダウンロード</h2>\r
+<p><a href="https://osdn.jp/projects/sie/downloads/63588/sie19.zip/">sie19.zip</a> (ZIP形式 496.7 KB)</p>\r
 <p>あらかじめ、圧縮ファイル(ZIP形式)をダウンロードしてから、解凍してください。sie.jsを手に入れることができます。</p>\r
 <h3>動作環境</h3>\r
 <p>Internet Explorer8+、Firefox10+、Opera10.0+、Safari3.0+、Google Chrome3.0+</p>\r
index 45f5486..33347d8 100644 (file)
@@ -1071,12 +1071,15 @@ base("$calcMode").up("$attribute").mix( {
   \r
   _setFrame: function(currentTime) {\r
     /*durationは単純継続時間\r
-     *advanceは継続時間内での、進捗率 (単純継続時間が設定されていなければ、不定とみなして0とする)\r
+     *advanceは継続時間内での、進捗率\r
      *  仕様を参照 http://www.w3.org/TR/smil-animation/#AnimFuncValues\r
      *進捗率advanceは、durationと進捗フレーム数とを割った余り(REMAINDER)で算出する\r
      * 仕様を参照 SMIL Animation 3.6.2 Interval timing\r
      * http://www.w3.org/TR/2001/REC-smil-animation-20010904/#IntervalTiming*/\r
     var duration = this.simpleDuration,\r
+        /*単純継続時間が不定の場合、補間はせずに初期値が採用されるため、advanceは0となる\r
+         * 仕様を参照 SMIL Animation 3.2.2. Animation function values のInterpolation and indefinite simple durations\r
+         * http://www.w3.org/TR/2001/REC-smil-animation-20010904/#AnimFuncValues*/\r
         advance = duration ? ( (currentTime - this.begin) % duration ) / duration\r
                     : 0;\r
     this.element.setAttributeNS(this.attrNameSpace, this.attrName, this._tocall(advance));\r