svnno****@sourc*****
svnno****@sourc*****
2010年 11月 25日 (木) 20:35:16 JST
Revision: 2181
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2181
Author: dhrname
Date: 2010-11-25 20:35:16 +0900 (Thu, 25 Nov 2010)
Log Message:
-----------
チケット #21136
「画像の幅と高さが特定の条件を満たしたときに、画像が途切れる」を修正
Ticket Links:
:-----------
http://sourceforge.jp/projects/sie/tracker/detail/21136
Modified Paths:
--------------
branches/06x/065/org/w3c/dom/svg.js
Modified: branches/06x/065/org/w3c/dom/svg.js
===================================================================
--- branches/06x/065/org/w3c/dom/svg.js 2010-11-24 14:14:30 UTC (rev 2180)
+++ branches/06x/065/org/w3c/dom/svg.js 2010-11-25 11:35:16 UTC (rev 2181)
@@ -1560,6 +1560,9 @@
tar.viewport.left = 0;
tar.viewport.width = objei.clientWidth;
tar.viewport.height = objei.clientHeight;
+ if (tar.viewport.height < 24) { //IEの標準モードではclientHeightプロパティの値が小さくなることがある
+ tar.viewport.height = screen.width;
+ }
var objw = objei.getAttribute("width"), objh = objei.getAttribute("height");
if (objw) {
tar.setAttributeNS(null, "width", objw);