svnno****@sourc*****
svnno****@sourc*****
2011年 8月 25日 (木) 20:48:00 JST
Revision: 2894 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2894 Author: dhrname Date: 2011-08-25 20:48:00 +0900 (Thu, 25 Aug 2011) Log Message: ----------- 前回の修正に関して、use要素でバグが起きたので、SVGUseElementインターフェースを修正して、バグを解決 Modified Paths: -------------- branches/08x/084/org/w3c/dom/svg.js Modified: branches/08x/084/org/w3c/dom/svg.js =================================================================== --- branches/08x/084/org/w3c/dom/svg.js 2011-08-25 11:40:02 UTC (rev 2893) +++ branches/08x/084/org/w3c/dom/svg.js 2011-08-25 11:48:00 UTC (rev 2894) @@ -1036,7 +1036,7 @@ doc = tar.ownerDocument; ele = doc.getElementById(id); tar._instance = ele; - ev = tod.createEvent("SVGEvents"); + ev = doc.createEvent("SVGEvents"); ev.initEvent("S_Load", false, false); tar.dispatchEvent(ev); tar = xmlhttp = null; @@ -1083,7 +1083,7 @@ } else if (!!tar._tar) { tar._tar.src = uri; } - ev = tod.createEvent("SVGEvents"); + ev = tar.ownerDocument.createEvent("SVGEvents"); ev.initEvent("S_Load", false, false); tar.dispatchEvent(ev); tar.ownerDocument.documentElement._svgload_limited--;