Ticket #13587

width → svgwidth の変換の改良
Open Date: 2008-09-30 00:39 Last Update: 2008-11-19 20:01

Reporter:
Owner:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
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
  • Resolution Update from None to Accepted
  • Owner Update from (None) to dhrname
  • Priority Update from 5 - Medium to 6
Comment
Logged In: YES
user_id=32883

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

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

Attachment File List

Edit

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