svnno****@sourc*****
svnno****@sourc*****
2010年 12月 27日 (月) 23:37:15 JST
Revision: 2257
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2257
Author: dhrname
Date: 2010-12-27 23:37:15 +0900 (Mon, 27 Dec 2010)
Log Message:
-----------
Test Suite:text-intro-04-tで起きるバグ「glyph要素がfont要素内にないときの対処ができない」を修正。
Modified Paths:
--------------
branches/06x/067/org/w3c/dom/svg.js
Modified: branches/06x/067/org/w3c/dom/svg.js
===================================================================
--- branches/06x/067/org/w3c/dom/svg.js 2010-12-27 14:25:31 UTC (rev 2256)
+++ branches/06x/067/org/w3c/dom/svg.js 2010-12-27 14:37:15 UTC (rev 2257)
@@ -5478,6 +5478,9 @@
}
if (ds){
while(node) {
+ if (!glyphs) {
+ break;
+ }
data = node.data;
if (data !== void 0) { //dataがある場合
var advanceX = [], glyphData = [];
@@ -5549,7 +5552,7 @@
ti.setAttributeNS(null, "opacity", "0");
}
}
- data = isTategaki = horizOrVert = em = advX = dx = dy = fontSize = style = svgns = null;
+ data = isTategaki = horizOrVert = em = advX = dx = dy = fontSize = style = svgns = node = null;
};
/*以下は、getComputedStyleメソッドで使うために、CSS2Propertiesの_listプロパティに、