svnno****@sourc*****
svnno****@sourc*****
2011年 7月 3日 (日) 00:45:52 JST
Revision: 2810 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2810 Author: dhrname Date: 2011-07-03 00:45:52 +0900 (Sun, 03 Jul 2011) Log Message: ----------- フレーム経由に変更したので、a要素のtarget属性に関する修正をした Modified Paths: -------------- branches/08x/081/org/w3c/dom/svg.js Modified: branches/08x/081/org/w3c/dom/svg.js =================================================================== --- branches/08x/081/org/w3c/dom/svg.js 2011-07-01 14:23:34 UTC (rev 2809) +++ branches/08x/081/org/w3c/dom/svg.js 2011-07-02 15:45:52 UTC (rev 2810) @@ -4750,6 +4750,7 @@ this._tar = _doc.createElement("a"); _doc = null; /*readonly SVGAnimatedString*/ this.target = new SVGAnimatedString(); + this.target.baseVal = "_self"; this.addEventListener("DOMAttrModified", function(evt){ var tar = evt.target; if (evt.eventPhase === /*Event.BUBBLING_PHASE*/ 3) { @@ -4814,6 +4815,11 @@ tar = evt = null; return; //強制終了させる }, true); + this.addEventListener("DOMNodeInsertedIntoDocument", function(evt){ + var tar = evt.target; + tar._tar.setAttribute("target", tar.target.baseVal); + tar = null; + }, false); SVGURIReference.apply(this, arguments); return this; };