Incidencia #13587

width → svgwidth の変換の改良
Abrir Fecha: 2008-09-30 00:39 Última actualización: 2008-11-19 20:01

Informador:
Propietario:
Estado:
Cerrado
Componente:
(Ninguno)
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
1

Details

stroke-width → strokesvgwidth に変換されてしまうのが気持ち
悪かったので、正規表現で書き換えている部分を少し変更しました。

・stroke- → stroke の変換を先に持ってくる

・width の前の文字が英数字の時は width → svgwidth の変換を
しないようにする

これで、NAIBU.PaintColor のところで strokesvgwidth という
のを特別扱いする必要が無くなります。

そもそも width → svgwidth の変換は必要なのか、というのも試し
てみましたが、これは絶対に必要でした。
属性名が width のままだと、element.getAttribute("width")
でも element.attributes["width"].nodeValue でも値が取れま
せんでした。

Ticket History (3/6 Histories)

2008-09-30 00:39 Updated by: revulo
  • File 3489: sie_strokesvgwidth.patch is attached
2008-09-30 20:08 Updated by: dhrname
  • Resolución Update from Ninguno to Accepted
  • Propietario Update from (Ninguno) to dhrname
  • Prioridad Update from 5 - Medium to 6
Comentario
Logged In: YES
user_id=32883

ありがとうございました。早速当ててみましょう。
2008-09-30 21:00 Updated by: dhrname
Comentario
Logged In: YES
user_id=32883

リビジョン522で適用しました。
2008-10-13 19:29 Updated by: dhrname
  • Prioridad Update from 6 to 4
  • Resolución Update from Accepted to Fixed
2008-10-14 19:59 Updated by: dhrname
  • Prioridad Update from 4 to 2
2008-11-19 20:01 Updated by: dhrname
  • Estado Update from Open to Cerrado
  • Prioridad Update from 2 to 5 - Medium
  • Ticket Close date is changed to 2008-11-19 20:01

Attachment File List

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Entrar