• R/O
  • HTTP
  • SSH
  • HTTPS

sie: コミット

ブラウザでSVGを表示するSIEの開発 (SIE - to display SVG on legacy browsers)


コミットメタ情報

リビジョン53fa85c0276badc12565c2bb6b33ee05c2e16bde (tree)
日時2016-06-26 21:34:01
作者dhrname <dhrname@user...>
コミッターdhrname

ログメッセージ

Modify the object

変更サマリ

差分

--- a/org/w3c/dom/smil.js
+++ b/org/w3c/dom/smil.js
@@ -340,8 +340,7 @@ base("$frame").mix ( {
340340 },
341341
342342 /*関数型の呼び出しメソッド
343- * base.jsのofメソッドを活用して、関数型っぽい処理をする
344- * 以下では、活動継続時間を算出
343+ * base.jsのofメソッドを活用して活動継続時間を算出
345344 * 計算方法はSMILアニメーション 3.3.4節を参照
346345 * http://www.w3.org/TR/smil-animation/#ComputingActiveDur
347346 */
@@ -360,6 +359,11 @@ base("$frame").mix ( {
360359 max = (this.max === ind) ? null : Math.floor(this.offset(this.max) * this.fpms),
361360 s;
362361 if (indef()) {
362+ /*注意点として、活動継続時間が不定かつ、min属性とmax属性が指定されたときの記述が仕様にないため、
363+ * W3Cのテストスイート(animate-elem-66-t.svg)に従い、max属性の値を返す*/
364+ if (max) {
365+ return max;
366+ }
363367 return null;
364368 }
365369 if (isDur && this.repeatCount && !isIndefRepeatCount) {
旧リポジトリブラウザで表示