From 6085b5c8db5c452a6a9e6111d453cee5f636822a Mon Sep 17 00:00:00 2001 From: dhrname Date: Sat, 25 Jan 2014 23:22:44 +0900 Subject: [PATCH] =?utf8?q?=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88=E3=81=AE?= =?utf8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- org/w3c/dom/svg.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org/w3c/dom/svg.js b/org/w3c/dom/svg.js index 4da4313..3aac048 100644 --- a/org/w3c/dom/svg.js +++ b/org/w3c/dom/svg.js @@ -4294,6 +4294,7 @@ SVGTextPositioningElement.prototype._texto = function(evt) { } var num = 0, //文字数 searchChild = function(ttp, ti) { + /*要素の探索関数*/ while (ti) { if (ti.length && (ti.nodeType === /*Node.TEXT_NODE*/ 3)) { tstylefunc(ttp, ti, num); @@ -4314,6 +4315,7 @@ SVGTextPositioningElement.prototype._texto = function(evt) { }, isMore = false, //xやy属性の値が複数の数値のときは真 tstylefunc = function(ttp, textNode, pos) { + /*div要素を作って、位置を決めていく関数*/ var divs =textNode._tars, isYokogaki = tar._isYokogaki, div, sty; -- 2.11.0