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:
a658af0
)
Add a comment to the object
author
dhrname
<dhrname@users.sourceforge.jp>
Thu, 30 Apr 2015 13:48:15 +0000
(22:48 +0900)
committer
dhrname
<dhrname@users.sourceforge.jp>
Thu, 30 Apr 2015 13:48:15 +0000
(22:48 +0900)
org/w3c/dom/smil.js
patch
|
blob
|
history
diff --git
a/org/w3c/dom/smil.js
b/org/w3c/dom/smil.js
index
fe81475
..
96cb377
100644
(file)
--- a/
org/w3c/dom/smil.js
+++ b/
org/w3c/dom/smil.js
@@
-732,6
+732,10
@@
base("$calcMode").up("$attribute").mix( {
}
\r
/*属性を取得するためのインライン関数*/
\r
function getAttr(name) {
\r
+ /*DOM Level2やIE11では、getAttributeNSメソッドは空文字を返す。他のブラウザではnullを返すことが多い
\r
+ *
\r
+ * >the empty string if that attribute does not have a specified or default value
\r
+ * http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-ElGetAttrNS*/
\r
return (ele.getAttributeNS(null, name) || null);
\r
};
\r
getAttr = begin = ele = void 0;
\r