OSDN Git Service
(root)
/
sie
/
sie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b17a83
)
Modify the calcMode object
author
dhrname
<dhrname@users.sourceforge.jp>
Thu, 19 Mar 2015 14:18:12 +0000
(23:18 +0900)
committer
dhrname
<dhrname@users.sourceforge.jp>
Thu, 19 Mar 2015 14:18:12 +0000
(23:18 +0900)
org/w3c/dom/smil.js
patch
|
blob
|
history
diff --git
a/org/w3c/dom/smil.js
b/org/w3c/dom/smil.js
index
2397f97
..
dc74da7
100644
(file)
--- a/
org/w3c/dom/smil.js
+++ b/
org/w3c/dom/smil.js
@@
-567,10
+567,10
@@
base("$from").of( {
var f = function (t) {
\r
/*tは進捗率*/
\r
var tkey = this.keyTime;
\r
- if (!tkey || !isFinite(tkey) ) {
\r
- return this.string;
\r
- } else if (tkey === 0) {
\r
+ if ( (tkey === 0) && t) {
\r
t = 0;
\r
+ } else if (!tkey || !isFinite(tkey) ) {
\r
+ return this.string;
\r
} else {
\r
t = t / tkey;
\r
}
\r