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:
32217b1
)
Modify the font-size proplem
author
dhrname
<dhrname@users.sourceforge.jp>
Thu, 16 Mar 2017 13:56:52 +0000
(22:56 +0900)
committer
dhrname
<dhrname@users.sourceforge.jp>
Thu, 16 Mar 2017 13:56:52 +0000
(22:56 +0900)
org/w3c/dom/smil.js
patch
|
blob
|
history
diff --git
a/org/w3c/dom/smil.js
b/org/w3c/dom/smil.js
index
a5c639a
..
a934516
100644
(file)
--- a/
org/w3c/dom/smil.js
+++ b/
org/w3c/dom/smil.js
@@
-1471,6
+1471,10
@@
base("$calcMode").up("$attribute").mix( {
this._ele = ele;
\r
this.to = this.getAttr("to", "");
\r
this.fill = this.getAttr("fill", "remove");
\r
+ if ( (this.getAttr("attributeName", "") === "font-size")
\r
+ && /\d\s*$/.test(this.to) ) {
\r
+ this.to += "px";
\r
+ }
\r
}
\r
var thisele = this.element;
\r
if (line && thisele) {
\r