• R/O
  • HTTP
  • SSH
  • HTTPS

sie: コミット

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


コミットメタ情報

リビジョンd19776067c1c439128423eaeab1d64fd2be0395c (tree)
日時2015-09-13 20:20:44
作者dhrname <dhrname@user...>
コミッターdhrname

ログメッセージ

Modify the listener method of the object

変更サマリ

差分

--- a/org/w3c/dom/smil.js
+++ b/org/w3c/dom/smil.js
@@ -321,7 +321,7 @@ base("$frame").mix ( {
321321 this.begin = this.eventOffset + this.$frame.currentFrame - Math.floor( (Date.now() - evt.timeStamp) * this.fpms );
322322 var s = this.$activate;
323323 s.begin = this.begin;
324- this.activeTime = s.call();
324+ this.activeTime = s.call() || Number.MAX_VALUE;
325325 this.simpleDuration = s.simpleDur;
326326 s = void 0;
327327 this.$frame.addLine(this);
@@ -1009,6 +1009,9 @@ base("$calcMode").up("$attribute").mix( {
10091009 /*アニメーションの呈示値を呼び出す関数*/
10101010 _tocall: function() {},
10111011
1012+ /*set要素かどうか*/
1013+ isSetElement: true,
1014+
10121015 init: function(ele) {
10131016 var line = this.push(ele);
10141017 if (ele && ele.getAttributeNS) {
@@ -1052,6 +1055,9 @@ base("$calcMode").up("$attribute").mix( {
10521055 /*アニメ関数の配列*/
10531056 funcs: [],
10541057
1058+ /*set要素かどうか*/
1059+ isSetElement: false,
1060+
10551061 /*進捗率advanceから、呈示値を求める*/
10561062 _tocall: function(advance) {
10571063 var tf = this.funcs;
旧リポジトリブラウザで表示