svnno****@sourc*****
svnno****@sourc*****
2010年 6月 17日 (木) 23:46:08 JST
Revision: 1899
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1899
Author: dhrname
Date: 2010-06-17 23:46:08 +0900 (Thu, 17 Jun 2010)
Log Message:
-----------
SVGAnimatedLengthのデフォルトをSVGLengthとして設定
Modified Paths:
--------------
branches/06x/061/org/w3c/dom/svg.js
Modified: branches/06x/061/org/w3c/dom/svg.js
===================================================================
--- branches/06x/061/org/w3c/dom/svg.js 2010-06-17 14:38:53 UTC (rev 1898)
+++ branches/06x/061/org/w3c/dom/svg.js 2010-06-17 14:46:08 UTC (rev 1899)
@@ -250,9 +250,6 @@
if (!!tar[name]) {
var tea = tar[name], tod = tar.ownerDocument.documentElement;
if (tea instanceof SVGAnimatedLength) {
- if (evt.attrChange === MutationEvent.ADDITION) {
- tea.baseVal = tod.createSVGLength();
- }
var n = evt.newValue.match(/\D+$/), type = SVGLength.SVG_LENGTHTYPE_NUMBER;
if (!!n) {
n = n[0];
@@ -535,7 +532,7 @@
function SVGAnimatedLength() {
/*readonly SVGLength*/ this.animVal;
- this.baseVal;
+ this.baseVal = new SVGLength();
return this;
};
function SVGLengthList() {