svnno****@sourc*****
svnno****@sourc*****
2011年 8月 9日 (火) 21:02:19 JST
Revision: 2853 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2853 Author: dhrname Date: 2011-08-09 21:02:19 +0900 (Tue, 09 Aug 2011) Log Message: ----------- 全体画像の位置が下へ2px、左へ2pxずれていたので、div要素のmarginプロパティを使って調整した Modified Paths: -------------- branches/08x/083/org/w3c/dom/svg.js Modified: branches/08x/083/org/w3c/dom/svg.js =================================================================== --- branches/08x/083/org/w3c/dom/svg.js 2011-08-09 11:49:12 UTC (rev 2852) +++ branches/08x/083/org/w3c/dom/svg.js 2011-08-09 12:02:19 UTC (rev 2853) @@ -1728,6 +1728,7 @@ oba = _doc.createElement("div"); //obaはradialGradient要素で使う oba.setAttribute("id","_NAIBU_outline"); _doc.body.appendChild(oba); + sp.style.margin = "-2px,-0px,0px,-2px" if (ifr.contentWindow) { _doc.body.style.backgroundColor = objei.parentNode.currentStyle.backgroundColor; } @@ -4213,7 +4214,7 @@ sty.top = p.y + "px"; sty.width = "0px"; sty.height = "0px"; - sty.marginTop = tar._isYokogaki ? -n-7+ "px" : "-7px"; + sty.marginTop = tar._isYokogaki ? -n-5+ "px" : "-5px"; sty.lineHeight = n+10+ "px"; ttp.appendChild(ti._tars[ij]); sty = p = null;